[59329aa] | 1 | import { ElementRef, AfterContentInit, TemplateRef, QueryList, NgZone, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
---|
| 2 | import * as i0 from "@angular/core";
|
---|
| 3 | import * as i1 from "@angular/common";
|
---|
| 4 | import * as i2 from "primeng/api";
|
---|
| 5 | import * as i3 from "primeng/ripple";
|
---|
| 6 | export declare class Carousel implements AfterContentInit {
|
---|
| 7 | el: ElementRef;
|
---|
| 8 | zone: NgZone;
|
---|
| 9 | cd: ChangeDetectorRef;
|
---|
| 10 | get page(): number;
|
---|
| 11 | set page(val: number);
|
---|
| 12 | get numVisible(): number;
|
---|
| 13 | set numVisible(val: number);
|
---|
| 14 | get numScroll(): number;
|
---|
| 15 | set numScroll(val: number);
|
---|
| 16 | responsiveOptions: any[];
|
---|
| 17 | orientation: string;
|
---|
| 18 | verticalViewPortHeight: string;
|
---|
| 19 | contentClass: string;
|
---|
| 20 | indicatorsContentClass: string;
|
---|
| 21 | indicatorsContentStyle: any;
|
---|
| 22 | indicatorStyleClass: string;
|
---|
| 23 | indicatorStyle: any;
|
---|
| 24 | get value(): any[];
|
---|
| 25 | set value(val: any[]);
|
---|
| 26 | circular: boolean;
|
---|
| 27 | showIndicators: boolean;
|
---|
| 28 | showNavigators: boolean;
|
---|
| 29 | autoplayInterval: number;
|
---|
| 30 | style: any;
|
---|
| 31 | styleClass: string;
|
---|
| 32 | onPage: EventEmitter<any>;
|
---|
| 33 | itemsContainer: ElementRef;
|
---|
| 34 | headerFacet: any;
|
---|
| 35 | footerFacet: any;
|
---|
| 36 | templates: QueryList<any>;
|
---|
| 37 | _numVisible: number;
|
---|
| 38 | _numScroll: number;
|
---|
| 39 | _oldNumScroll: number;
|
---|
| 40 | prevState: any;
|
---|
| 41 | defaultNumScroll: number;
|
---|
| 42 | defaultNumVisible: number;
|
---|
| 43 | _page: number;
|
---|
| 44 | _value: any[];
|
---|
| 45 | carouselStyle: any;
|
---|
| 46 | id: string;
|
---|
| 47 | totalShiftedItems: any;
|
---|
| 48 | isRemainingItemsAdded: boolean;
|
---|
| 49 | animationTimeout: any;
|
---|
| 50 | translateTimeout: any;
|
---|
| 51 | remainingItems: number;
|
---|
| 52 | _items: any[];
|
---|
| 53 | startPos: any;
|
---|
| 54 | documentResizeListener: any;
|
---|
| 55 | clonedItemsForStarting: any[];
|
---|
| 56 | clonedItemsForFinishing: any[];
|
---|
| 57 | allowAutoplay: boolean;
|
---|
| 58 | interval: any;
|
---|
| 59 | isCreated: boolean;
|
---|
| 60 | swipeThreshold: number;
|
---|
| 61 | itemTemplate: TemplateRef<any>;
|
---|
| 62 | headerTemplate: TemplateRef<any>;
|
---|
| 63 | footerTemplate: TemplateRef<any>;
|
---|
| 64 | constructor(el: ElementRef, zone: NgZone, cd: ChangeDetectorRef);
|
---|
| 65 | ngOnChanges(simpleChange: SimpleChanges): void;
|
---|
| 66 | ngAfterContentInit(): void;
|
---|
| 67 | ngAfterContentChecked(): void;
|
---|
| 68 | createStyle(): void;
|
---|
| 69 | calculatePosition(): void;
|
---|
| 70 | setCloneItems(): void;
|
---|
| 71 | firstIndex(): number;
|
---|
| 72 | lastIndex(): number;
|
---|
| 73 | totalDots(): number;
|
---|
| 74 | totalDotsArray(): any[];
|
---|
| 75 | isVertical(): boolean;
|
---|
| 76 | isCircular(): boolean;
|
---|
| 77 | isAutoplay(): boolean;
|
---|
| 78 | isForwardNavDisabled(): boolean;
|
---|
| 79 | isBackwardNavDisabled(): boolean;
|
---|
| 80 | isEmpty(): boolean;
|
---|
| 81 | navForward(e: any, index?: any): void;
|
---|
| 82 | navBackward(e: any, index?: any): void;
|
---|
| 83 | onDotClick(e: any, index: any): void;
|
---|
| 84 | step(dir: any, page: any): void;
|
---|
| 85 | startAutoplay(): void;
|
---|
| 86 | stopAutoplay(): void;
|
---|
| 87 | onTransitionEnd(): void;
|
---|
| 88 | onTouchStart(e: any): void;
|
---|
| 89 | onTouchMove(e: any): void;
|
---|
| 90 | onTouchEnd(e: any): void;
|
---|
| 91 | changePageOnTouch(e: any, diff: any): void;
|
---|
| 92 | bindDocumentListeners(): void;
|
---|
| 93 | unbindDocumentListeners(): void;
|
---|
| 94 | ngOnDestroy(): void;
|
---|
| 95 | static ɵfac: i0.ɵɵFactoryDeclaration<Carousel, never>;
|
---|
| 96 | static ɵcmp: i0.ɵɵComponentDeclaration<Carousel, "p-carousel", never, { "page": "page"; "numVisible": "numVisible"; "numScroll": "numScroll"; "responsiveOptions": "responsiveOptions"; "orientation": "orientation"; "verticalViewPortHeight": "verticalViewPortHeight"; "contentClass": "contentClass"; "indicatorsContentClass": "indicatorsContentClass"; "indicatorsContentStyle": "indicatorsContentStyle"; "indicatorStyleClass": "indicatorStyleClass"; "indicatorStyle": "indicatorStyle"; "value": "value"; "circular": "circular"; "showIndicators": "showIndicators"; "showNavigators": "showNavigators"; "autoplayInterval": "autoplayInterval"; "style": "style"; "styleClass": "styleClass"; }, { "onPage": "onPage"; }, ["headerFacet", "footerFacet", "templates"], ["p-header", "p-footer"]>;
|
---|
| 97 | }
|
---|
| 98 | export declare class CarouselModule {
|
---|
| 99 | static ɵfac: i0.ɵɵFactoryDeclaration<CarouselModule, never>;
|
---|
| 100 | static ɵmod: i0.ɵɵNgModuleDeclaration<CarouselModule, [typeof Carousel], [typeof i1.CommonModule, typeof i2.SharedModule, typeof i3.RippleModule], [typeof i1.CommonModule, typeof Carousel, typeof i2.SharedModule]>;
|
---|
| 101 | static ɵinj: i0.ɵɵInjectorDeclaration<CarouselModule>;
|
---|
| 102 | }
|
---|