533 lines
22 KiB
JavaScript
533 lines
22 KiB
JavaScript
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, NgZone, ChangeDetectorRef, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
|
|
import { Header, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
|
|
import { RippleModule } from 'primeng/ripple';
|
|
import { CommonModule } from '@angular/common';
|
|
import { UniqueComponentId } from 'primeng/utils';
|
|
|
|
class Carousel {
|
|
constructor(el, zone, cd) {
|
|
this.el = el;
|
|
this.zone = zone;
|
|
this.cd = cd;
|
|
this.orientation = "horizontal";
|
|
this.verticalViewPortHeight = "300px";
|
|
this.contentClass = "";
|
|
this.indicatorsContentClass = "";
|
|
this.circular = false;
|
|
this.autoplayInterval = 0;
|
|
this.onPage = new EventEmitter();
|
|
this._numVisible = 1;
|
|
this._numScroll = 1;
|
|
this._oldNumScroll = 0;
|
|
this.prevState = {
|
|
numScroll: 0,
|
|
numVisible: 0,
|
|
value: []
|
|
};
|
|
this.defaultNumScroll = 1;
|
|
this.defaultNumVisible = 1;
|
|
this._page = 0;
|
|
this.isRemainingItemsAdded = false;
|
|
this.remainingItems = 0;
|
|
this.swipeThreshold = 20;
|
|
this.totalShiftedItems = this.page * this.numScroll * -1;
|
|
}
|
|
get page() {
|
|
return this._page;
|
|
}
|
|
set page(val) {
|
|
if (this.isCreated && val !== this._page) {
|
|
if (this.autoplayInterval) {
|
|
this.stopAutoplay();
|
|
this.allowAutoplay = false;
|
|
}
|
|
if (val > this._page && val <= (this.totalDots() - 1)) {
|
|
this.step(-1, val);
|
|
}
|
|
else if (val < this._page) {
|
|
this.step(1, val);
|
|
}
|
|
}
|
|
this._page = val;
|
|
}
|
|
get numVisible() {
|
|
return this._numVisible;
|
|
}
|
|
set numVisible(val) {
|
|
this._numVisible = val;
|
|
}
|
|
get numScroll() {
|
|
return this._numVisible;
|
|
}
|
|
set numScroll(val) {
|
|
this._numScroll = val;
|
|
}
|
|
get value() {
|
|
return this._value;
|
|
}
|
|
;
|
|
set value(val) {
|
|
this._value = val;
|
|
if (this.circular && this._value) {
|
|
this.setCloneItems();
|
|
}
|
|
}
|
|
ngAfterContentInit() {
|
|
this.id = UniqueComponentId();
|
|
this.allowAutoplay = !!this.autoplayInterval;
|
|
if (this.circular) {
|
|
this.setCloneItems();
|
|
}
|
|
if (this.responsiveOptions) {
|
|
this.defaultNumScroll = this._numScroll;
|
|
this.defaultNumVisible = this._numVisible;
|
|
}
|
|
this.createStyle();
|
|
this.calculatePosition();
|
|
if (this.responsiveOptions) {
|
|
this.bindDocumentListeners();
|
|
}
|
|
this.templates.forEach((item) => {
|
|
switch (item.getType()) {
|
|
case 'item':
|
|
this.itemTemplate = item.template;
|
|
break;
|
|
case 'header':
|
|
this.headerTemplate = item.template;
|
|
break;
|
|
case 'footer':
|
|
this.footerTemplate = item.template;
|
|
break;
|
|
default:
|
|
this.itemTemplate = item.template;
|
|
break;
|
|
}
|
|
});
|
|
}
|
|
ngAfterContentChecked() {
|
|
const isCircular = this.isCircular();
|
|
let totalShiftedItems = this.totalShiftedItems;
|
|
if (this.value && (this.prevState.numScroll !== this._numScroll || this.prevState.numVisible !== this._numVisible || this.prevState.value.length !== this.value.length)) {
|
|
if (this.autoplayInterval) {
|
|
this.stopAutoplay();
|
|
}
|
|
this.remainingItems = (this.value.length - this._numVisible) % this._numScroll;
|
|
let page = this._page;
|
|
if (this.totalDots() !== 0 && page >= this.totalDots()) {
|
|
page = this.totalDots() - 1;
|
|
this._page = page;
|
|
this.onPage.emit({
|
|
page: this.page
|
|
});
|
|
}
|
|
totalShiftedItems = (page * this._numScroll) * -1;
|
|
if (isCircular) {
|
|
totalShiftedItems -= this._numVisible;
|
|
}
|
|
if (page === (this.totalDots() - 1) && this.remainingItems > 0) {
|
|
totalShiftedItems += (-1 * this.remainingItems) + this._numScroll;
|
|
this.isRemainingItemsAdded = true;
|
|
}
|
|
else {
|
|
this.isRemainingItemsAdded = false;
|
|
}
|
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
this.totalShiftedItems = totalShiftedItems;
|
|
}
|
|
this._oldNumScroll = this._numScroll;
|
|
this.prevState.numScroll = this._numScroll;
|
|
this.prevState.numVisible = this._numVisible;
|
|
this.prevState.value = this._value;
|
|
if (this.totalDots() > 0 && this.itemsContainer && this.itemsContainer.nativeElement) {
|
|
this.itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this._numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this._numVisible)}%, 0, 0)`;
|
|
}
|
|
this.isCreated = true;
|
|
if (this.autoplayInterval && this.isAutoplay()) {
|
|
this.startAutoplay();
|
|
}
|
|
}
|
|
if (isCircular) {
|
|
if (this.page === 0) {
|
|
totalShiftedItems = -1 * this._numVisible;
|
|
}
|
|
else if (totalShiftedItems === 0) {
|
|
totalShiftedItems = -1 * this.value.length;
|
|
if (this.remainingItems > 0) {
|
|
this.isRemainingItemsAdded = true;
|
|
}
|
|
}
|
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
this.totalShiftedItems = totalShiftedItems;
|
|
}
|
|
}
|
|
}
|
|
createStyle() {
|
|
if (!this.carouselStyle) {
|
|
this.carouselStyle = document.createElement('style');
|
|
this.carouselStyle.type = 'text/css';
|
|
document.body.appendChild(this.carouselStyle);
|
|
}
|
|
let innerHTML = `
|
|
#${this.id} .p-carousel-item {
|
|
flex: 1 0 ${(100 / this.numVisible)}%
|
|
}
|
|
`;
|
|
if (this.responsiveOptions) {
|
|
this.responsiveOptions.sort((data1, data2) => {
|
|
const value1 = data1.breakpoint;
|
|
const value2 = data2.breakpoint;
|
|
let result = null;
|
|
if (value1 == null && value2 != null)
|
|
result = -1;
|
|
else if (value1 != null && value2 == null)
|
|
result = 1;
|
|
else if (value1 == null && value2 == null)
|
|
result = 0;
|
|
else if (typeof value1 === 'string' && typeof value2 === 'string')
|
|
result = value1.localeCompare(value2, undefined, { numeric: true });
|
|
else
|
|
result = (value1 < value2) ? -1 : (value1 > value2) ? 1 : 0;
|
|
return -1 * result;
|
|
});
|
|
for (let i = 0; i < this.responsiveOptions.length; i++) {
|
|
let res = this.responsiveOptions[i];
|
|
innerHTML += `
|
|
@media screen and (max-width: ${res.breakpoint}) {
|
|
#${this.id} .p-carousel-item {
|
|
flex: 1 0 ${(100 / res.numVisible)}%
|
|
}
|
|
}
|
|
`;
|
|
}
|
|
}
|
|
this.carouselStyle.innerHTML = innerHTML;
|
|
}
|
|
calculatePosition() {
|
|
if (this.itemsContainer && this.responsiveOptions) {
|
|
let windowWidth = window.innerWidth;
|
|
let matchedResponsiveData = {
|
|
numVisible: this.defaultNumVisible,
|
|
numScroll: this.defaultNumScroll
|
|
};
|
|
for (let i = 0; i < this.responsiveOptions.length; i++) {
|
|
let res = this.responsiveOptions[i];
|
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
matchedResponsiveData = res;
|
|
}
|
|
}
|
|
if (this._numScroll !== matchedResponsiveData.numScroll) {
|
|
let page = this._page;
|
|
page = Math.floor((page * this._numScroll) / matchedResponsiveData.numScroll);
|
|
let totalShiftedItems = (matchedResponsiveData.numScroll * this.page) * -1;
|
|
if (this.isCircular()) {
|
|
totalShiftedItems -= matchedResponsiveData.numVisible;
|
|
}
|
|
this.totalShiftedItems = totalShiftedItems;
|
|
this._numScroll = matchedResponsiveData.numScroll;
|
|
this._page = page;
|
|
this.onPage.emit({
|
|
page: this.page
|
|
});
|
|
}
|
|
if (this._numVisible !== matchedResponsiveData.numVisible) {
|
|
this._numVisible = matchedResponsiveData.numVisible;
|
|
this.setCloneItems();
|
|
}
|
|
this.cd.markForCheck();
|
|
}
|
|
}
|
|
setCloneItems() {
|
|
this.clonedItemsForStarting = [];
|
|
this.clonedItemsForFinishing = [];
|
|
if (this.isCircular()) {
|
|
this.clonedItemsForStarting.push(...this.value.slice(-1 * this._numVisible));
|
|
this.clonedItemsForFinishing.push(...this.value.slice(0, this._numVisible));
|
|
}
|
|
}
|
|
firstIndex() {
|
|
return this.isCircular() ? (-1 * (this.totalShiftedItems + this.numVisible)) : (this.totalShiftedItems * -1);
|
|
}
|
|
lastIndex() {
|
|
return this.firstIndex() + this.numVisible - 1;
|
|
}
|
|
totalDots() {
|
|
return this.value ? Math.ceil((this.value.length - this._numVisible) / this._numScroll) + 1 : 0;
|
|
}
|
|
totalDotsArray() {
|
|
const totalDots = this.totalDots();
|
|
return totalDots <= 0 ? [] : Array(totalDots).fill(0);
|
|
}
|
|
isVertical() {
|
|
return this.orientation === 'vertical';
|
|
}
|
|
isCircular() {
|
|
return this.circular && this.value && this.value.length >= this.numVisible;
|
|
}
|
|
isAutoplay() {
|
|
return this.autoplayInterval && this.allowAutoplay;
|
|
}
|
|
isForwardNavDisabled() {
|
|
return this.isEmpty() || (this._page >= (this.totalDots() - 1) && !this.isCircular());
|
|
}
|
|
isBackwardNavDisabled() {
|
|
return this.isEmpty() || (this._page <= 0 && !this.isCircular());
|
|
}
|
|
isEmpty() {
|
|
return !this.value || this.value.length === 0;
|
|
}
|
|
navForward(e, index) {
|
|
if (this.isCircular() || this._page < (this.totalDots() - 1)) {
|
|
this.step(-1, index);
|
|
}
|
|
if (this.autoplayInterval) {
|
|
this.stopAutoplay();
|
|
this.allowAutoplay = false;
|
|
}
|
|
if (e && e.cancelable) {
|
|
e.preventDefault();
|
|
}
|
|
}
|
|
navBackward(e, index) {
|
|
if (this.isCircular() || this._page !== 0) {
|
|
this.step(1, index);
|
|
}
|
|
if (this.autoplayInterval) {
|
|
this.stopAutoplay();
|
|
this.allowAutoplay = false;
|
|
}
|
|
if (e && e.cancelable) {
|
|
e.preventDefault();
|
|
}
|
|
}
|
|
onDotClick(e, index) {
|
|
let page = this._page;
|
|
if (this.autoplayInterval) {
|
|
this.stopAutoplay();
|
|
this.allowAutoplay = false;
|
|
}
|
|
if (index > page) {
|
|
this.navForward(e, index);
|
|
}
|
|
else if (index < page) {
|
|
this.navBackward(e, index);
|
|
}
|
|
}
|
|
step(dir, page) {
|
|
let totalShiftedItems = this.totalShiftedItems;
|
|
const isCircular = this.isCircular();
|
|
if (page != null) {
|
|
totalShiftedItems = (this._numScroll * page) * -1;
|
|
if (isCircular) {
|
|
totalShiftedItems -= this._numVisible;
|
|
}
|
|
this.isRemainingItemsAdded = false;
|
|
}
|
|
else {
|
|
totalShiftedItems += (this._numScroll * dir);
|
|
if (this.isRemainingItemsAdded) {
|
|
totalShiftedItems += this.remainingItems - (this._numScroll * dir);
|
|
this.isRemainingItemsAdded = false;
|
|
}
|
|
let originalShiftedItems = isCircular ? (totalShiftedItems + this._numVisible) : totalShiftedItems;
|
|
page = Math.abs(Math.floor((originalShiftedItems / this._numScroll)));
|
|
}
|
|
if (isCircular && this.page === (this.totalDots() - 1) && dir === -1) {
|
|
totalShiftedItems = -1 * (this.value.length + this._numVisible);
|
|
page = 0;
|
|
}
|
|
else if (isCircular && this.page === 0 && dir === 1) {
|
|
totalShiftedItems = 0;
|
|
page = (this.totalDots() - 1);
|
|
}
|
|
else if (page === (this.totalDots() - 1) && this.remainingItems > 0) {
|
|
totalShiftedItems += ((this.remainingItems * -1) - (this._numScroll * dir));
|
|
this.isRemainingItemsAdded = true;
|
|
}
|
|
if (this.itemsContainer) {
|
|
this.itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / this._numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / this._numVisible)}%, 0, 0)`;
|
|
this.itemsContainer.nativeElement.style.transition = 'transform 500ms ease 0s';
|
|
}
|
|
this.totalShiftedItems = totalShiftedItems;
|
|
this._page = page;
|
|
this.onPage.emit({
|
|
page: this.page
|
|
});
|
|
}
|
|
startAutoplay() {
|
|
this.interval = setInterval(() => {
|
|
if (this.totalDots() > 0) {
|
|
if (this.page === (this.totalDots() - 1)) {
|
|
this.step(-1, 0);
|
|
}
|
|
else {
|
|
this.step(-1, this.page + 1);
|
|
}
|
|
}
|
|
}, this.autoplayInterval);
|
|
}
|
|
stopAutoplay() {
|
|
if (this.interval) {
|
|
clearInterval(this.interval);
|
|
}
|
|
}
|
|
onTransitionEnd() {
|
|
if (this.itemsContainer) {
|
|
this.itemsContainer.nativeElement.style.transition = '';
|
|
if ((this.page === 0 || this.page === (this.totalDots() - 1)) && this.isCircular()) {
|
|
this.itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${this.totalShiftedItems * (100 / this._numVisible)}%, 0)` : `translate3d(${this.totalShiftedItems * (100 / this._numVisible)}%, 0, 0)`;
|
|
}
|
|
}
|
|
}
|
|
onTouchStart(e) {
|
|
let touchobj = e.changedTouches[0];
|
|
this.startPos = {
|
|
x: touchobj.pageX,
|
|
y: touchobj.pageY
|
|
};
|
|
}
|
|
onTouchMove(e) {
|
|
if (e.cancelable) {
|
|
e.preventDefault();
|
|
}
|
|
}
|
|
onTouchEnd(e) {
|
|
let touchobj = e.changedTouches[0];
|
|
if (this.isVertical()) {
|
|
this.changePageOnTouch(e, (touchobj.pageY - this.startPos.y));
|
|
}
|
|
else {
|
|
this.changePageOnTouch(e, (touchobj.pageX - this.startPos.x));
|
|
}
|
|
}
|
|
changePageOnTouch(e, diff) {
|
|
if (Math.abs(diff) > this.swipeThreshold) {
|
|
if (diff < 0) {
|
|
this.navForward(e);
|
|
}
|
|
else {
|
|
this.navBackward(e);
|
|
}
|
|
}
|
|
}
|
|
bindDocumentListeners() {
|
|
if (!this.documentResizeListener) {
|
|
this.documentResizeListener = (e) => {
|
|
this.calculatePosition();
|
|
};
|
|
window.addEventListener('resize', this.documentResizeListener);
|
|
}
|
|
}
|
|
unbindDocumentListeners() {
|
|
if (this.documentResizeListener) {
|
|
window.removeEventListener('resize', this.documentResizeListener);
|
|
this.documentResizeListener = null;
|
|
}
|
|
}
|
|
ngOnDestroy() {
|
|
if (this.responsiveOptions) {
|
|
this.unbindDocumentListeners();
|
|
}
|
|
if (this.autoplayInterval) {
|
|
this.stopAutoplay();
|
|
}
|
|
}
|
|
}
|
|
Carousel.decorators = [
|
|
{ type: Component, args: [{
|
|
selector: 'p-carousel',
|
|
template: `
|
|
<div [attr.id]="id" [ngClass]="{'p-carousel p-component':true, 'p-carousel-vertical': isVertical(), 'p-carousel-horizontal': !isVertical()}" [ngStyle]="style" [class]="styleClass">
|
|
<div class="p-carousel-header" *ngIf="headerFacet || headerTemplate">
|
|
<ng-content select="p-header"></ng-content>
|
|
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
</div>
|
|
<div [class]="contentClass" [ngClass]="'p-carousel-content'">
|
|
<div class="p-carousel-container">
|
|
<button type="button" [ngClass]="{'p-carousel-prev p-link':true, 'p-disabled': isBackwardNavDisabled()}" [disabled]="isBackwardNavDisabled()" (click)="navBackward($event)" pRipple>
|
|
<span [ngClass]="{'p-carousel-prev-icon pi': true, 'pi-chevron-left': !isVertical(), 'pi-chevron-up': isVertical()}"></span>
|
|
</button>
|
|
<div class="p-carousel-items-content" [ngStyle]="{'height': isVertical() ? verticalViewPortHeight : 'auto'}">
|
|
<div #itemsContainer class="p-carousel-items-container" (transitionend)="onTransitionEnd()" (touchend)="onTouchEnd($event)" (touchstart)="onTouchStart($event)" (touchmove)="onTouchMove($event)">
|
|
<div *ngFor="let item of clonedItemsForStarting; let index = index" [ngClass]= "{'p-carousel-item p-carousel-item-cloned': true,
|
|
'p-carousel-item-active': (totalShiftedItems * -1) === (value.length),
|
|
'p-carousel-item-start': 0 === index,
|
|
'p-carousel-item-end': (clonedItemsForStarting.length - 1) === index}">
|
|
<ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item}"></ng-container>
|
|
</div>
|
|
<div *ngFor="let item of value; let index = index" [ngClass]= "{'p-carousel-item': true,
|
|
'p-carousel-item-active': (firstIndex() <= index && lastIndex() >= index),
|
|
'p-carousel-item-start': firstIndex() === index,
|
|
'p-carousel-item-end': lastIndex() === index}">
|
|
<ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item}"></ng-container>
|
|
</div>
|
|
<div *ngFor="let item of clonedItemsForFinishing; let index = index" [ngClass]= "{'p-carousel-item p-carousel-item-cloned': true,
|
|
'p-carousel-item-active': ((totalShiftedItems *-1) === numVisible),
|
|
'p-carousel-item-start': 0 === index,
|
|
'p-carousel-item-end': (clonedItemsForFinishing.length - 1) === index}">
|
|
<ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item}"></ng-container>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<button type="button" [ngClass]="{'p-carousel-next p-link': true, 'p-disabled': isForwardNavDisabled()}" [disabled]="isForwardNavDisabled()" (click)="navForward($event)" pRipple>
|
|
<span [ngClass]="{'p-carousel-prev-icon pi': true, 'pi-chevron-right': !isVertical(), 'pi-chevron-down': isVertical()}"></span>
|
|
</button>
|
|
</div>
|
|
<ul [ngClass]="'p-carousel-indicators p-reset'" [class]="indicatorsContentClass">
|
|
<li *ngFor="let totalDot of totalDotsArray(); let i = index" [ngClass]="{'p-carousel-indicator':true,'p-highlight': _page === i}">
|
|
<button type="button" class="p-link" (click)="onDotClick($event, i)"></button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="p-carousel-footer" *ngIf="footerFacet || footerTemplate">
|
|
<ng-content select="p-footer"></ng-content>
|
|
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
</div>
|
|
</div>
|
|
`,
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
encapsulation: ViewEncapsulation.None,
|
|
styles: [".p-carousel,.p-carousel-content{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column}.p-carousel-content{overflow:auto}.p-carousel-next,.p-carousel-prev{-ms-flex-align:center;-ms-flex-item-align:center;-ms-flex-negative:0;-ms-flex-pack:center;-ms-flex-positive:0;align-items:center;align-self:center;display:-ms-flexbox;display:flex;flex-grow:0;flex-shrink:0;justify-content:center;overflow:hidden;position:relative}.p-carousel-container{-ms-flex-direction:row;display:-ms-flexbox;display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-indicators,.p-carousel-items-container{-ms-flex-direction:row;display:-ms-flexbox;display:flex;flex-direction:row}.p-carousel-indicators{-ms-flex-pack:center;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center}.p-carousel-indicator>button{-ms-flex-align:center;-ms-flex-pack:center;align-items:center;display:-ms-flexbox;display:flex;justify-content:center}.p-carousel-vertical .p-carousel-container{-ms-flex-direction:column;flex-direction:column}.p-carousel-vertical .p-carousel-items-container{-ms-flex-direction:column;flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}"]
|
|
},] }
|
|
];
|
|
Carousel.ctorParameters = () => [
|
|
{ type: ElementRef },
|
|
{ type: NgZone },
|
|
{ type: ChangeDetectorRef }
|
|
];
|
|
Carousel.propDecorators = {
|
|
page: [{ type: Input }],
|
|
numVisible: [{ type: Input }],
|
|
numScroll: [{ type: Input }],
|
|
responsiveOptions: [{ type: Input }],
|
|
orientation: [{ type: Input }],
|
|
verticalViewPortHeight: [{ type: Input }],
|
|
contentClass: [{ type: Input }],
|
|
indicatorsContentClass: [{ type: Input }],
|
|
value: [{ type: Input }],
|
|
circular: [{ type: Input }],
|
|
autoplayInterval: [{ type: Input }],
|
|
style: [{ type: Input }],
|
|
styleClass: [{ type: Input }],
|
|
onPage: [{ type: Output }],
|
|
itemsContainer: [{ type: ViewChild, args: ['itemsContainer',] }],
|
|
headerFacet: [{ type: ContentChild, args: [Header,] }],
|
|
footerFacet: [{ type: ContentChild, args: [Footer,] }],
|
|
templates: [{ type: ContentChildren, args: [PrimeTemplate,] }]
|
|
};
|
|
class CarouselModule {
|
|
}
|
|
CarouselModule.decorators = [
|
|
{ type: NgModule, args: [{
|
|
imports: [CommonModule, SharedModule, RippleModule],
|
|
exports: [CommonModule, Carousel, SharedModule],
|
|
declarations: [Carousel]
|
|
},] }
|
|
];
|
|
|
|
/**
|
|
* Generated bundle index. Do not edit.
|
|
*/
|
|
|
|
export { Carousel, CarouselModule };
|
|
//# sourceMappingURL=primeng-carousel.js.map
|