@elxjs/ui 0.0.252 → 0.0.254
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/fesm2022/elxjs-ui.mjs +101 -3
- package/fesm2022/elxjs-ui.mjs.map +1 -1
- package/index.d.ts +10 -1
- package/package.json +1 -1
package/fesm2022/elxjs-ui.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { CommonModule, isPlatformBrowser } from '@angular/common';
|
|
|
5
5
|
import { ReactiveFormsModule, NgControl, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
6
|
import * as i1$1 from '@angular/router';
|
|
7
7
|
import { RouterModule, RouterLink } from '@angular/router';
|
|
8
|
-
import { Subject, debounceTime, Subscription } from 'rxjs';
|
|
8
|
+
import { Subject, debounceTime, interval, Subscription } from 'rxjs';
|
|
9
9
|
import * as i1$2 from '@angular/platform-browser';
|
|
10
10
|
|
|
11
11
|
class EluxIcon {
|
|
@@ -1579,6 +1579,8 @@ class EluxCarouselComponent {
|
|
|
1579
1579
|
this.gap = 16;
|
|
1580
1580
|
this.title = '';
|
|
1581
1581
|
this.theme = 'theme1';
|
|
1582
|
+
this.autoplay = false;
|
|
1583
|
+
this.autoplayInterval = 10000;
|
|
1582
1584
|
this.previousClickEventEmitter = new EventEmitter();
|
|
1583
1585
|
this.nextClickEventEmitter = new EventEmitter();
|
|
1584
1586
|
this.dotClickEventEmitter = new EventEmitter();
|
|
@@ -1599,12 +1601,15 @@ class EluxCarouselComponent {
|
|
|
1599
1601
|
this.pointerStartX = 0;
|
|
1600
1602
|
this.pointerStartY = 0;
|
|
1601
1603
|
this.pointerDownType = 'mouse';
|
|
1604
|
+
this.isHovered = false;
|
|
1602
1605
|
this.activePointerId = null;
|
|
1603
1606
|
this.pointerCaptured = false;
|
|
1604
1607
|
this.isVerticalScroll = false;
|
|
1605
1608
|
this.clicksDisabled = false;
|
|
1606
1609
|
this.clickListeners = [];
|
|
1607
1610
|
this.itemsChangesSubscription = null;
|
|
1611
|
+
this.autoplaySubscription = null;
|
|
1612
|
+
this.finishAutoplayWrap = null;
|
|
1608
1613
|
this.hasDragged = false;
|
|
1609
1614
|
this.resizeHandler = () => this.onResize();
|
|
1610
1615
|
this.windowPointerUpHandler = (event) => this.onWindowPointerUp(event);
|
|
@@ -1620,10 +1625,28 @@ class EluxCarouselComponent {
|
|
|
1620
1625
|
this.momentumThreshold = 0.3;
|
|
1621
1626
|
this.edgeResistance = 0.3;
|
|
1622
1627
|
}
|
|
1628
|
+
configureAutoplay() {
|
|
1629
|
+
this.autoplaySubscription?.unsubscribe();
|
|
1630
|
+
this.autoplaySubscription = null;
|
|
1631
|
+
if (!this.autoplay || this.isHovered)
|
|
1632
|
+
return;
|
|
1633
|
+
this.autoplaySubscription = interval(this.autoplayInterval).subscribe(() => {
|
|
1634
|
+
if (this.getTotalSteps() <= 1 || this.finishAutoplayWrap || this.isDragging)
|
|
1635
|
+
return;
|
|
1636
|
+
if (this.canGoNext()) {
|
|
1637
|
+
this.nextSlide();
|
|
1638
|
+
}
|
|
1639
|
+
else {
|
|
1640
|
+
this.wrapAutoplay();
|
|
1641
|
+
}
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1623
1644
|
ngAfterContentInit() {
|
|
1624
1645
|
this.refreshLayout();
|
|
1646
|
+
this.configureAutoplay();
|
|
1625
1647
|
this.setupClickPrevention();
|
|
1626
1648
|
this.itemsChangesSubscription = this.items.changes.subscribe(() => {
|
|
1649
|
+
this.finishAutoplayWrap?.();
|
|
1627
1650
|
this.refreshLayout();
|
|
1628
1651
|
this.goToFirstSlide();
|
|
1629
1652
|
this.setupClickPrevention();
|
|
@@ -1632,12 +1655,14 @@ class EluxCarouselComponent {
|
|
|
1632
1655
|
window.addEventListener('resize', this.resizeHandler);
|
|
1633
1656
|
}
|
|
1634
1657
|
ngOnDestroy() {
|
|
1658
|
+
this.finishAutoplayWrap?.();
|
|
1635
1659
|
this.itemsChangesSubscription?.unsubscribe();
|
|
1636
1660
|
this.itemsChangesSubscription = null;
|
|
1637
1661
|
this.removeWindowPointerListeners();
|
|
1638
1662
|
// Clean up click listeners
|
|
1639
1663
|
this.clickListeners.forEach(unlisten => unlisten());
|
|
1640
1664
|
this.clickListeners = [];
|
|
1665
|
+
this.autoplaySubscription?.unsubscribe();
|
|
1641
1666
|
window.removeEventListener('resize', this.resizeHandler);
|
|
1642
1667
|
}
|
|
1643
1668
|
refreshLayout() {
|
|
@@ -1670,6 +1695,7 @@ class EluxCarouselComponent {
|
|
|
1670
1695
|
return this.currentStepIndex > 0;
|
|
1671
1696
|
}
|
|
1672
1697
|
onResize() {
|
|
1698
|
+
this.finishAutoplayWrap?.();
|
|
1673
1699
|
this.calculateDimensions();
|
|
1674
1700
|
this.updateOffset();
|
|
1675
1701
|
}
|
|
@@ -1682,7 +1708,21 @@ class EluxCarouselComponent {
|
|
|
1682
1708
|
this.renderer.setStyle(item.nativeElement, 'flex', `0 0 ${basis}`);
|
|
1683
1709
|
});
|
|
1684
1710
|
}
|
|
1711
|
+
onPointerEnter(event) {
|
|
1712
|
+
if (event.pointerType !== 'mouse')
|
|
1713
|
+
return;
|
|
1714
|
+
this.isHovered = true;
|
|
1715
|
+
this.configureAutoplay();
|
|
1716
|
+
}
|
|
1717
|
+
onPointerLeave(event) {
|
|
1718
|
+
if (event.pointerType !== 'mouse')
|
|
1719
|
+
return;
|
|
1720
|
+
this.isHovered = false;
|
|
1721
|
+
this.configureAutoplay();
|
|
1722
|
+
}
|
|
1685
1723
|
onPointerDown(event) {
|
|
1724
|
+
if (this.finishAutoplayWrap)
|
|
1725
|
+
return;
|
|
1686
1726
|
if (event.pointerType === 'mouse' && event.button !== 0)
|
|
1687
1727
|
return;
|
|
1688
1728
|
this.activePointerId = event.pointerId;
|
|
@@ -1942,12 +1982,16 @@ class EluxCarouselComponent {
|
|
|
1942
1982
|
this.scrollActiveDotIntoView(0);
|
|
1943
1983
|
}
|
|
1944
1984
|
goToSlide(index) {
|
|
1985
|
+
if (this.finishAutoplayWrap)
|
|
1986
|
+
return;
|
|
1945
1987
|
this.currentStepIndex = index;
|
|
1946
1988
|
this.updateOffset();
|
|
1947
1989
|
this.scrollActiveDotIntoView(index);
|
|
1948
1990
|
this.dotClickEventEmitter.emit();
|
|
1949
1991
|
}
|
|
1950
1992
|
prevSlide() {
|
|
1993
|
+
if (this.finishAutoplayWrap)
|
|
1994
|
+
return;
|
|
1951
1995
|
if (!this.canGoPrevious())
|
|
1952
1996
|
return;
|
|
1953
1997
|
this.currentStepIndex--;
|
|
@@ -1956,6 +2000,8 @@ class EluxCarouselComponent {
|
|
|
1956
2000
|
this.previousClickEventEmitter.emit();
|
|
1957
2001
|
}
|
|
1958
2002
|
nextSlide() {
|
|
2003
|
+
if (this.finishAutoplayWrap)
|
|
2004
|
+
return;
|
|
1959
2005
|
if (!this.canGoNext())
|
|
1960
2006
|
return;
|
|
1961
2007
|
this.currentStepIndex++;
|
|
@@ -1969,6 +2015,54 @@ class EluxCarouselComponent {
|
|
|
1969
2015
|
this.renderer.setStyle(this.slidesContainer.nativeElement, 'transform', `translateX(${this.offset}%)`);
|
|
1970
2016
|
}
|
|
1971
2017
|
}
|
|
2018
|
+
wrapAutoplay() {
|
|
2019
|
+
const slides = this.slidesContainer.nativeElement;
|
|
2020
|
+
const viewport = slides.parentElement;
|
|
2021
|
+
if (!viewport)
|
|
2022
|
+
throw new Error('Carousel slides have no container');
|
|
2023
|
+
const clone = this.renderer.createElement('div');
|
|
2024
|
+
const previousPosition = slides.style.position;
|
|
2025
|
+
const previousTransition = slides.style.transition;
|
|
2026
|
+
const previousOverflow = viewport.style.overflow;
|
|
2027
|
+
const steps = this.getTotalSteps();
|
|
2028
|
+
this.renderer.setAttribute(clone, 'aria-hidden', 'true');
|
|
2029
|
+
this.renderer.setAttribute(clone, 'inert', '');
|
|
2030
|
+
this.renderer.setStyle(clone, 'display', 'flex');
|
|
2031
|
+
this.renderer.setStyle(clone, 'position', 'absolute');
|
|
2032
|
+
this.renderer.setStyle(clone, 'left', `calc(${steps * 100}% + ${steps * this.gap}px)`);
|
|
2033
|
+
this.renderer.setStyle(clone, 'top', '0');
|
|
2034
|
+
this.renderer.setStyle(clone, 'width', '100%');
|
|
2035
|
+
this.renderer.setStyle(clone, 'gap', `${this.gap}px`);
|
|
2036
|
+
this.items.toArray().slice(0, this.itemsPerSlide).forEach((item) => {
|
|
2037
|
+
const copy = item.nativeElement.cloneNode(true);
|
|
2038
|
+
copy.removeAttribute('id');
|
|
2039
|
+
copy.querySelectorAll('[id]').forEach((element) => element.removeAttribute('id'));
|
|
2040
|
+
this.renderer.appendChild(clone, copy);
|
|
2041
|
+
});
|
|
2042
|
+
this.renderer.setStyle(slides, 'position', 'relative');
|
|
2043
|
+
this.renderer.setStyle(viewport, 'overflow', 'hidden');
|
|
2044
|
+
this.renderer.appendChild(slides, clone);
|
|
2045
|
+
const finish = () => {
|
|
2046
|
+
slides.removeEventListener('transitionend', onTransitionEnd);
|
|
2047
|
+
clearTimeout(timeout);
|
|
2048
|
+
this.renderer.setStyle(slides, 'transition', 'none');
|
|
2049
|
+
this.goToFirstSlide();
|
|
2050
|
+
void slides.offsetWidth;
|
|
2051
|
+
this.renderer.setStyle(slides, 'transition', previousTransition);
|
|
2052
|
+
this.renderer.setStyle(slides, 'position', previousPosition);
|
|
2053
|
+
this.renderer.setStyle(viewport, 'overflow', previousOverflow);
|
|
2054
|
+
this.renderer.removeChild(slides, clone);
|
|
2055
|
+
this.finishAutoplayWrap = null;
|
|
2056
|
+
};
|
|
2057
|
+
const onTransitionEnd = (event) => {
|
|
2058
|
+
if (event.target === slides && event.propertyName === 'transform')
|
|
2059
|
+
finish();
|
|
2060
|
+
};
|
|
2061
|
+
const timeout = setTimeout(finish, 600);
|
|
2062
|
+
this.finishAutoplayWrap = finish;
|
|
2063
|
+
slides.addEventListener('transitionend', onTransitionEnd);
|
|
2064
|
+
this.renderer.setStyle(slides, 'transform', `translateX(-${steps * this.getPageWidthPercent()}%)`);
|
|
2065
|
+
}
|
|
1972
2066
|
scrollActiveDotIntoView(index) {
|
|
1973
2067
|
setTimeout(() => {
|
|
1974
2068
|
const dotsContainer = this.dotsContainer?.nativeElement;
|
|
@@ -1988,11 +2082,11 @@ class EluxCarouselComponent {
|
|
|
1988
2082
|
});
|
|
1989
2083
|
}
|
|
1990
2084
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: EluxCarouselComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1991
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.35", type: EluxCarouselComponent, isStandalone: true, selector: "lib-elux-carousel", inputs: { itemsPerSlide: "itemsPerSlide", gap: "gap", title: "title", theme: "theme" }, outputs: { previousClickEventEmitter: "previousClickEventEmitter", nextClickEventEmitter: "nextClickEventEmitter", dotClickEventEmitter: "dotClickEventEmitter" }, queries: [{ propertyName: "items", predicate: ["carouselItem"], read: ElementRef }], viewQueries: [{ propertyName: "dotsContainer", first: true, predicate: ["dotsContainer"], descendants: true }, { propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }], ngImport: i0, template: "<div\n class=\"c-carousel-container\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"Slide anterior\"\n aria-label=\"Slide anterior\"\n (click)=\"prevSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo slide\"\n aria-label=\"Pr\u00F3ximo slide\"\n (click)=\"nextSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-header\">\n <div class=\"c-carousel-header-inner\">\n <div class=\"c-carousel-title\">{{ title }}</div>\n <div class=\"c-carousel-controls\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n <div \n class=\"c-carousel-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + offset + '%)'\" \n [style.gap.px]=\"gap\"\n (dragstart)=\"onNativeDragStart($event)\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"c-carousel-footer\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-dots-container\">\n <div class=\"c-carousel-dots\" #dotsContainer>\n <span\n role=\"button\"\n class=\"dot\"\n *ngFor=\"let index of getStepIndexCount()\"\n (click)=\"goToSlide(index)\"\n (keyup)=\"goToSlide(index)\"\n [class.active]=\"index === getCurrentStepIndex()\"\n [attr.aria-disabled]=\"true\"\n [attr.aria-label]=\"'pagina' + (index + 1)\"\n >\n </span>\n </div>\n </div>\n\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width:768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.c-carousel-container{position:relative;width:100%;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-container.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-controls{display:flex;align-items:center;gap:12px}.c-carousel-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-nav:disabled:hover{transform:none}.c-carousel-nav ::ng-deep span{display:block}.c-carousel-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-header{margin-bottom:40px}}.c-carousel-header .c-carousel-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:32px;line-height:35px}}.c-carousel-slides{display:flex;transition:transform .4s ease-out;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform}.c-carousel-slides:active{cursor:grabbing}.c-carousel-item{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:16px;height:150px;margin:6px;border:1px solid #dee7ea;border-radius:2px;cursor:pointer;pointer-events:auto}.c-carousel-item .c-span{font-weight:400;font-size:18px;color:#011e41}.c-carousel-footer{width:min-content;margin:32px auto 0;display:flex;align-items:center;justify-content:space-between;padding:0}@media(min-width:992px){.c-carousel-footer{margin:40px auto 0}}.c-carousel-footer .c-carousel-dots-container{display:flex;align-items:center;background-color:#fff;border-radius:16px;margin:0 12px}.c-carousel-footer .c-carousel-dots{padding:6px;display:flex;align-items:center;text-align:center;max-width:120px;overflow:hidden;position:relative}@media(max-width:768px){.c-carousel-footer .c-carousel-dots{margin:0 12px;max-width:100px}}.c-carousel-footer .dot{height:7px;width:7px;margin:0 5px;background-color:var(--carousel-dot-inactive);border-radius:50%;display:inline-block;cursor:pointer;transition:all ease-in-out .2s;flex-shrink:0}.c-carousel-footer .dot:hover{background-color:#011e41}.c-carousel-footer .dot.active{width:10px;height:10px;background-color:var(--carousel-dot-active)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2085
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.35", type: EluxCarouselComponent, isStandalone: true, selector: "lib-elux-carousel", inputs: { itemsPerSlide: "itemsPerSlide", gap: "gap", title: "title", theme: "theme", autoplay: "autoplay", autoplayInterval: "autoplayInterval" }, outputs: { previousClickEventEmitter: "previousClickEventEmitter", nextClickEventEmitter: "nextClickEventEmitter", dotClickEventEmitter: "dotClickEventEmitter" }, queries: [{ propertyName: "items", predicate: ["carouselItem"], read: ElementRef }], viewQueries: [{ propertyName: "dotsContainer", first: true, predicate: ["dotsContainer"], descendants: true }, { propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }], ngImport: i0, template: "<div\n class=\"c-carousel-container\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"Slide anterior\"\n aria-label=\"Slide anterior\"\n (click)=\"prevSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo slide\"\n aria-label=\"Pr\u00F3ximo slide\"\n (click)=\"nextSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-header\">\n <div class=\"c-carousel-header-inner\">\n <div class=\"c-carousel-title\">{{ title }}</div>\n <div class=\"c-carousel-controls\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n <div \n class=\"c-carousel-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + offset + '%)'\" \n [style.gap.px]=\"gap\"\n (dragstart)=\"onNativeDragStart($event)\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"c-carousel-footer\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-dots-container\">\n <div class=\"c-carousel-dots\" #dotsContainer>\n <span\n role=\"button\"\n class=\"dot\"\n *ngFor=\"let index of getStepIndexCount()\"\n (click)=\"goToSlide(index)\"\n (keyup)=\"goToSlide(index)\"\n [class.active]=\"index === getCurrentStepIndex()\"\n [attr.aria-disabled]=\"true\"\n [attr.aria-label]=\"'pagina' + (index + 1)\"\n >\n </span>\n </div>\n </div>\n\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width:768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.c-carousel-container{position:relative;width:100%;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-container.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-controls{display:flex;align-items:center;gap:12px}.c-carousel-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-nav:disabled:hover{transform:none}.c-carousel-nav ::ng-deep span{display:block}.c-carousel-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-header{margin-bottom:40px}}.c-carousel-header .c-carousel-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:32px;line-height:35px}}.c-carousel-slides{display:flex;transition:transform .4s ease-out;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform}.c-carousel-slides:active{cursor:grabbing}.c-carousel-item{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:16px;height:150px;margin:6px;border:1px solid #dee7ea;border-radius:2px;cursor:pointer;pointer-events:auto}.c-carousel-item .c-span{font-weight:400;font-size:18px;color:#011e41}.c-carousel-footer{width:min-content;margin:32px auto 0;display:flex;align-items:center;justify-content:space-between;padding:0}@media(min-width:992px){.c-carousel-footer{margin:40px auto 0}}.c-carousel-footer .c-carousel-dots-container{display:flex;align-items:center;background-color:#fff;border-radius:16px;margin:0 12px}.c-carousel-footer .c-carousel-dots{padding:6px;display:flex;align-items:center;text-align:center;max-width:120px;overflow:hidden;position:relative}@media(max-width:768px){.c-carousel-footer .c-carousel-dots{margin:0 12px;max-width:100px}}.c-carousel-footer .dot{height:7px;width:7px;margin:0 5px;background-color:var(--carousel-dot-inactive);border-radius:50%;display:inline-block;cursor:pointer;transition:all ease-in-out .2s;flex-shrink:0}.c-carousel-footer .dot:hover{background-color:#011e41}.c-carousel-footer .dot.active{width:10px;height:10px;background-color:var(--carousel-dot-active)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1992
2086
|
}
|
|
1993
2087
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: EluxCarouselComponent, decorators: [{
|
|
1994
2088
|
type: Component,
|
|
1995
|
-
args: [{ selector: 'lib-elux-carousel', imports: [CommonModule, EluxIcon], template: "<div\n class=\"c-carousel-container\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"Slide anterior\"\n aria-label=\"Slide anterior\"\n (click)=\"prevSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo slide\"\n aria-label=\"Pr\u00F3ximo slide\"\n (click)=\"nextSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-header\">\n <div class=\"c-carousel-header-inner\">\n <div class=\"c-carousel-title\">{{ title }}</div>\n <div class=\"c-carousel-controls\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n <div \n class=\"c-carousel-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + offset + '%)'\" \n [style.gap.px]=\"gap\"\n (dragstart)=\"onNativeDragStart($event)\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"c-carousel-footer\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-dots-container\">\n <div class=\"c-carousel-dots\" #dotsContainer>\n <span\n role=\"button\"\n class=\"dot\"\n *ngFor=\"let index of getStepIndexCount()\"\n (click)=\"goToSlide(index)\"\n (keyup)=\"goToSlide(index)\"\n [class.active]=\"index === getCurrentStepIndex()\"\n [attr.aria-disabled]=\"true\"\n [attr.aria-label]=\"'pagina' + (index + 1)\"\n >\n </span>\n </div>\n </div>\n\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width:768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.c-carousel-container{position:relative;width:100%;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-container.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-controls{display:flex;align-items:center;gap:12px}.c-carousel-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-nav:disabled:hover{transform:none}.c-carousel-nav ::ng-deep span{display:block}.c-carousel-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-header{margin-bottom:40px}}.c-carousel-header .c-carousel-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:32px;line-height:35px}}.c-carousel-slides{display:flex;transition:transform .4s ease-out;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform}.c-carousel-slides:active{cursor:grabbing}.c-carousel-item{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:16px;height:150px;margin:6px;border:1px solid #dee7ea;border-radius:2px;cursor:pointer;pointer-events:auto}.c-carousel-item .c-span{font-weight:400;font-size:18px;color:#011e41}.c-carousel-footer{width:min-content;margin:32px auto 0;display:flex;align-items:center;justify-content:space-between;padding:0}@media(min-width:992px){.c-carousel-footer{margin:40px auto 0}}.c-carousel-footer .c-carousel-dots-container{display:flex;align-items:center;background-color:#fff;border-radius:16px;margin:0 12px}.c-carousel-footer .c-carousel-dots{padding:6px;display:flex;align-items:center;text-align:center;max-width:120px;overflow:hidden;position:relative}@media(max-width:768px){.c-carousel-footer .c-carousel-dots{margin:0 12px;max-width:100px}}.c-carousel-footer .dot{height:7px;width:7px;margin:0 5px;background-color:var(--carousel-dot-inactive);border-radius:50%;display:inline-block;cursor:pointer;transition:all ease-in-out .2s;flex-shrink:0}.c-carousel-footer .dot:hover{background-color:#011e41}.c-carousel-footer .dot.active{width:10px;height:10px;background-color:var(--carousel-dot-active)}\n"] }]
|
|
2089
|
+
args: [{ selector: 'lib-elux-carousel', imports: [CommonModule, EluxIcon], template: "<div\n class=\"c-carousel-container\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"Slide anterior\"\n aria-label=\"Slide anterior\"\n (click)=\"prevSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo slide\"\n aria-label=\"Pr\u00F3ximo slide\"\n (click)=\"nextSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-header\">\n <div class=\"c-carousel-header-inner\">\n <div class=\"c-carousel-title\">{{ title }}</div>\n <div class=\"c-carousel-controls\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n <div \n class=\"c-carousel-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + offset + '%)'\" \n [style.gap.px]=\"gap\"\n (dragstart)=\"onNativeDragStart($event)\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"c-carousel-footer\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-dots-container\">\n <div class=\"c-carousel-dots\" #dotsContainer>\n <span\n role=\"button\"\n class=\"dot\"\n *ngFor=\"let index of getStepIndexCount()\"\n (click)=\"goToSlide(index)\"\n (keyup)=\"goToSlide(index)\"\n [class.active]=\"index === getCurrentStepIndex()\"\n [attr.aria-disabled]=\"true\"\n [attr.aria-label]=\"'pagina' + (index + 1)\"\n >\n </span>\n </div>\n </div>\n\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width:768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.c-carousel-container{position:relative;width:100%;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-container.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-controls{display:flex;align-items:center;gap:12px}.c-carousel-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-nav:disabled:hover{transform:none}.c-carousel-nav ::ng-deep span{display:block}.c-carousel-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-header{margin-bottom:40px}}.c-carousel-header .c-carousel-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:32px;line-height:35px}}.c-carousel-slides{display:flex;transition:transform .4s ease-out;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform}.c-carousel-slides:active{cursor:grabbing}.c-carousel-item{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:16px;height:150px;margin:6px;border:1px solid #dee7ea;border-radius:2px;cursor:pointer;pointer-events:auto}.c-carousel-item .c-span{font-weight:400;font-size:18px;color:#011e41}.c-carousel-footer{width:min-content;margin:32px auto 0;display:flex;align-items:center;justify-content:space-between;padding:0}@media(min-width:992px){.c-carousel-footer{margin:40px auto 0}}.c-carousel-footer .c-carousel-dots-container{display:flex;align-items:center;background-color:#fff;border-radius:16px;margin:0 12px}.c-carousel-footer .c-carousel-dots{padding:6px;display:flex;align-items:center;text-align:center;max-width:120px;overflow:hidden;position:relative}@media(max-width:768px){.c-carousel-footer .c-carousel-dots{margin:0 12px;max-width:100px}}.c-carousel-footer .dot{height:7px;width:7px;margin:0 5px;background-color:var(--carousel-dot-inactive);border-radius:50%;display:inline-block;cursor:pointer;transition:all ease-in-out .2s;flex-shrink:0}.c-carousel-footer .dot:hover{background-color:#011e41}.c-carousel-footer .dot.active{width:10px;height:10px;background-color:var(--carousel-dot-active)}\n"] }]
|
|
1996
2090
|
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { items: [{
|
|
1997
2091
|
type: ContentChildren,
|
|
1998
2092
|
args: ['carouselItem', { read: ElementRef }]
|
|
@@ -2010,6 +2104,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImpo
|
|
|
2010
2104
|
type: Input
|
|
2011
2105
|
}], theme: [{
|
|
2012
2106
|
type: Input
|
|
2107
|
+
}], autoplay: [{
|
|
2108
|
+
type: Input
|
|
2109
|
+
}], autoplayInterval: [{
|
|
2110
|
+
type: Input
|
|
2013
2111
|
}], previousClickEventEmitter: [{
|
|
2014
2112
|
type: Output
|
|
2015
2113
|
}], nextClickEventEmitter: [{
|