[59329aa] | 1 | import { ElementRef, OnDestroy, EventEmitter, QueryList, TemplateRef, OnInit, OnChanges, AfterContentChecked, SimpleChanges, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
---|
| 2 | import { PrimeNGConfig } from 'primeng/api';
|
---|
| 3 | import { AnimationEvent } from '@angular/animations';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | import * as i2 from "primeng/api";
|
---|
| 7 | import * as i3 from "primeng/ripple";
|
---|
| 8 | export declare class Galleria implements OnChanges, OnDestroy {
|
---|
| 9 | element: ElementRef;
|
---|
| 10 | cd: ChangeDetectorRef;
|
---|
| 11 | config: PrimeNGConfig;
|
---|
| 12 | get activeIndex(): number;
|
---|
| 13 | set activeIndex(activeIndex: number);
|
---|
| 14 | fullScreen: boolean;
|
---|
| 15 | id: string;
|
---|
| 16 | value: any[];
|
---|
| 17 | numVisible: number;
|
---|
| 18 | responsiveOptions: any[];
|
---|
| 19 | showItemNavigators: boolean;
|
---|
| 20 | showThumbnailNavigators: boolean;
|
---|
| 21 | showItemNavigatorsOnHover: boolean;
|
---|
| 22 | changeItemOnIndicatorHover: boolean;
|
---|
| 23 | circular: boolean;
|
---|
| 24 | autoPlay: boolean;
|
---|
| 25 | transitionInterval: number;
|
---|
| 26 | showThumbnails: boolean;
|
---|
| 27 | thumbnailsPosition: string;
|
---|
| 28 | verticalThumbnailViewPortHeight: string;
|
---|
| 29 | showIndicators: boolean;
|
---|
| 30 | showIndicatorsOnItem: boolean;
|
---|
| 31 | indicatorsPosition: string;
|
---|
| 32 | baseZIndex: number;
|
---|
| 33 | maskClass: string;
|
---|
| 34 | containerClass: string;
|
---|
| 35 | containerStyle: any;
|
---|
| 36 | showTransitionOptions: string;
|
---|
| 37 | hideTransitionOptions: string;
|
---|
| 38 | mask: ElementRef;
|
---|
| 39 | get visible(): boolean;
|
---|
| 40 | set visible(visible: boolean);
|
---|
| 41 | activeIndexChange: EventEmitter<any>;
|
---|
| 42 | visibleChange: EventEmitter<any>;
|
---|
| 43 | templates: QueryList<any>;
|
---|
| 44 | _visible: boolean;
|
---|
| 45 | _activeIndex: number;
|
---|
| 46 | headerFacet: any;
|
---|
| 47 | footerFacet: any;
|
---|
| 48 | indicatorFacet: any;
|
---|
| 49 | captionFacet: any;
|
---|
| 50 | maskVisible: boolean;
|
---|
| 51 | constructor(element: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig);
|
---|
| 52 | ngAfterContentInit(): void;
|
---|
| 53 | ngOnChanges(simpleChanges: SimpleChanges): void;
|
---|
| 54 | onMaskHide(): void;
|
---|
| 55 | onActiveItemChange(index: any): void;
|
---|
| 56 | onAnimationStart(event: AnimationEvent): void;
|
---|
| 57 | onAnimationEnd(event: AnimationEvent): void;
|
---|
| 58 | enableModality(): void;
|
---|
| 59 | disableModality(): void;
|
---|
| 60 | ngOnDestroy(): void;
|
---|
| 61 | static ɵfac: i0.ɵɵFactoryDeclaration<Galleria, never>;
|
---|
| 62 | static ɵcmp: i0.ɵɵComponentDeclaration<Galleria, "p-galleria", never, { "activeIndex": "activeIndex"; "fullScreen": "fullScreen"; "id": "id"; "value": "value"; "numVisible": "numVisible"; "responsiveOptions": "responsiveOptions"; "showItemNavigators": "showItemNavigators"; "showThumbnailNavigators": "showThumbnailNavigators"; "showItemNavigatorsOnHover": "showItemNavigatorsOnHover"; "changeItemOnIndicatorHover": "changeItemOnIndicatorHover"; "circular": "circular"; "autoPlay": "autoPlay"; "transitionInterval": "transitionInterval"; "showThumbnails": "showThumbnails"; "thumbnailsPosition": "thumbnailsPosition"; "verticalThumbnailViewPortHeight": "verticalThumbnailViewPortHeight"; "showIndicators": "showIndicators"; "showIndicatorsOnItem": "showIndicatorsOnItem"; "indicatorsPosition": "indicatorsPosition"; "baseZIndex": "baseZIndex"; "maskClass": "maskClass"; "containerClass": "containerClass"; "containerStyle": "containerStyle"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; "visible": "visible"; }, { "activeIndexChange": "activeIndexChange"; "visibleChange": "visibleChange"; }, ["templates"], never>;
|
---|
| 63 | }
|
---|
| 64 | export declare class GalleriaContent {
|
---|
| 65 | galleria: Galleria;
|
---|
| 66 | cd: ChangeDetectorRef;
|
---|
| 67 | get activeIndex(): number;
|
---|
| 68 | set activeIndex(activeIndex: number);
|
---|
| 69 | value: any[];
|
---|
| 70 | numVisible: number;
|
---|
| 71 | maskHide: EventEmitter<any>;
|
---|
| 72 | activeItemChange: EventEmitter<any>;
|
---|
| 73 | id: string;
|
---|
| 74 | slideShowActicve: boolean;
|
---|
| 75 | _activeIndex: number;
|
---|
| 76 | slideShowActive: boolean;
|
---|
| 77 | interval: any;
|
---|
| 78 | styleClass: string;
|
---|
| 79 | constructor(galleria: Galleria, cd: ChangeDetectorRef);
|
---|
| 80 | galleriaClass(): string;
|
---|
| 81 | startSlideShow(): void;
|
---|
| 82 | stopSlideShow(): void;
|
---|
| 83 | getPositionClass(preClassName: any, position: any): string;
|
---|
| 84 | isVertical(): boolean;
|
---|
| 85 | onActiveIndexChange(index: any): void;
|
---|
| 86 | static ɵfac: i0.ɵɵFactoryDeclaration<GalleriaContent, never>;
|
---|
| 87 | static ɵcmp: i0.ɵɵComponentDeclaration<GalleriaContent, "p-galleriaContent", never, { "activeIndex": "activeIndex"; "value": "value"; "numVisible": "numVisible"; }, { "maskHide": "maskHide"; "activeItemChange": "activeItemChange"; }, never, never>;
|
---|
| 88 | }
|
---|
| 89 | export declare class GalleriaItemSlot {
|
---|
| 90 | templates: QueryList<any>;
|
---|
| 91 | index: number;
|
---|
| 92 | get item(): any;
|
---|
| 93 | set item(item: any);
|
---|
| 94 | type: string;
|
---|
| 95 | contentTemplate: TemplateRef<any>;
|
---|
| 96 | context: any;
|
---|
| 97 | _item: any;
|
---|
| 98 | ngAfterContentInit(): void;
|
---|
| 99 | static ɵfac: i0.ɵɵFactoryDeclaration<GalleriaItemSlot, never>;
|
---|
| 100 | static ɵcmp: i0.ɵɵComponentDeclaration<GalleriaItemSlot, "p-galleriaItemSlot", never, { "templates": "templates"; "index": "index"; "item": "item"; "type": "type"; }, {}, never, never>;
|
---|
| 101 | }
|
---|
| 102 | export declare class GalleriaItem implements OnInit {
|
---|
| 103 | circular: boolean;
|
---|
| 104 | value: any[];
|
---|
| 105 | showItemNavigators: boolean;
|
---|
| 106 | showIndicators: boolean;
|
---|
| 107 | slideShowActive: boolean;
|
---|
| 108 | changeItemOnIndicatorHover: boolean;
|
---|
| 109 | autoPlay: boolean;
|
---|
| 110 | templates: QueryList<any>;
|
---|
| 111 | indicatorFacet: any;
|
---|
| 112 | captionFacet: any;
|
---|
| 113 | startSlideShow: EventEmitter<any>;
|
---|
| 114 | stopSlideShow: EventEmitter<any>;
|
---|
| 115 | onActiveIndexChange: EventEmitter<any>;
|
---|
| 116 | get activeIndex(): number;
|
---|
| 117 | set activeIndex(activeIndex: number);
|
---|
| 118 | _activeIndex: number;
|
---|
| 119 | activeItem: any;
|
---|
| 120 | ngOnInit(): void;
|
---|
| 121 | next(): void;
|
---|
| 122 | prev(): void;
|
---|
| 123 | stopTheSlideShow(): void;
|
---|
| 124 | navForward(e: any): void;
|
---|
| 125 | navBackward(e: any): void;
|
---|
| 126 | onIndicatorClick(index: any): void;
|
---|
| 127 | onIndicatorMouseEnter(index: any): void;
|
---|
| 128 | onIndicatorKeyDown(index: any): void;
|
---|
| 129 | isNavForwardDisabled(): boolean;
|
---|
| 130 | isNavBackwardDisabled(): boolean;
|
---|
| 131 | isIndicatorItemActive(index: any): boolean;
|
---|
| 132 | static ɵfac: i0.ɵɵFactoryDeclaration<GalleriaItem, never>;
|
---|
| 133 | static ɵcmp: i0.ɵɵComponentDeclaration<GalleriaItem, "p-galleriaItem", never, { "circular": "circular"; "value": "value"; "showItemNavigators": "showItemNavigators"; "showIndicators": "showIndicators"; "slideShowActive": "slideShowActive"; "changeItemOnIndicatorHover": "changeItemOnIndicatorHover"; "autoPlay": "autoPlay"; "templates": "templates"; "indicatorFacet": "indicatorFacet"; "captionFacet": "captionFacet"; "activeIndex": "activeIndex"; }, { "startSlideShow": "startSlideShow"; "stopSlideShow": "stopSlideShow"; "onActiveIndexChange": "onActiveIndexChange"; }, never, never>;
|
---|
| 134 | }
|
---|
| 135 | export declare class GalleriaThumbnails implements OnInit, AfterContentChecked, AfterViewInit, OnDestroy {
|
---|
| 136 | private cd;
|
---|
| 137 | containerId: string;
|
---|
| 138 | value: any[];
|
---|
| 139 | isVertical: boolean;
|
---|
| 140 | slideShowActive: boolean;
|
---|
| 141 | circular: boolean;
|
---|
| 142 | responsiveOptions: any[];
|
---|
| 143 | contentHeight: string;
|
---|
| 144 | showThumbnailNavigators: boolean;
|
---|
| 145 | templates: QueryList<any>;
|
---|
| 146 | onActiveIndexChange: EventEmitter<any>;
|
---|
| 147 | stopSlideShow: EventEmitter<any>;
|
---|
| 148 | itemsContainer: ElementRef;
|
---|
| 149 | get numVisible(): number;
|
---|
| 150 | set numVisible(numVisible: number);
|
---|
| 151 | get activeIndex(): number;
|
---|
| 152 | set activeIndex(activeIndex: number);
|
---|
| 153 | index: number;
|
---|
| 154 | startPos: any;
|
---|
| 155 | thumbnailsStyle: any;
|
---|
| 156 | sortedResponsiveOptions: any;
|
---|
| 157 | totalShiftedItems: number;
|
---|
| 158 | page: number;
|
---|
| 159 | documentResizeListener: any;
|
---|
| 160 | _numVisible: number;
|
---|
| 161 | d_numVisible: number;
|
---|
| 162 | _oldNumVisible: number;
|
---|
| 163 | _activeIndex: number;
|
---|
| 164 | _oldactiveIndex: number;
|
---|
| 165 | constructor(cd: ChangeDetectorRef);
|
---|
| 166 | ngOnInit(): void;
|
---|
| 167 | ngAfterContentChecked(): void;
|
---|
| 168 | ngAfterViewInit(): void;
|
---|
| 169 | createStyle(): void;
|
---|
| 170 | calculatePosition(): void;
|
---|
| 171 | getTabIndex(index: any): number;
|
---|
| 172 | navForward(e: any): void;
|
---|
| 173 | navBackward(e: any): void;
|
---|
| 174 | onItemClick(index: any): void;
|
---|
| 175 | step(dir: any): void;
|
---|
| 176 | stopTheSlideShow(): void;
|
---|
| 177 | changePageOnTouch(e: any, diff: any): void;
|
---|
| 178 | getTotalPageNumber(): number;
|
---|
| 179 | getMedianItemIndex(): number;
|
---|
| 180 | onTransitionEnd(): void;
|
---|
| 181 | onTouchEnd(e: any): void;
|
---|
| 182 | onTouchMove(e: any): void;
|
---|
| 183 | onTouchStart(e: any): void;
|
---|
| 184 | isNavBackwardDisabled(): boolean;
|
---|
| 185 | isNavForwardDisabled(): boolean;
|
---|
| 186 | firstItemAciveIndex(): number;
|
---|
| 187 | lastItemActiveIndex(): number;
|
---|
| 188 | isItemActive(index: any): boolean;
|
---|
| 189 | bindDocumentListeners(): void;
|
---|
| 190 | unbindDocumentListeners(): void;
|
---|
| 191 | ngOnDestroy(): void;
|
---|
| 192 | static ɵfac: i0.ɵɵFactoryDeclaration<GalleriaThumbnails, never>;
|
---|
| 193 | static ɵcmp: i0.ɵɵComponentDeclaration<GalleriaThumbnails, "p-galleriaThumbnails", never, { "containerId": "containerId"; "value": "value"; "isVertical": "isVertical"; "slideShowActive": "slideShowActive"; "circular": "circular"; "responsiveOptions": "responsiveOptions"; "contentHeight": "contentHeight"; "showThumbnailNavigators": "showThumbnailNavigators"; "templates": "templates"; "numVisible": "numVisible"; "activeIndex": "activeIndex"; }, { "onActiveIndexChange": "onActiveIndexChange"; "stopSlideShow": "stopSlideShow"; }, never, never>;
|
---|
| 194 | }
|
---|
| 195 | export declare class GalleriaModule {
|
---|
| 196 | static ɵfac: i0.ɵɵFactoryDeclaration<GalleriaModule, never>;
|
---|
| 197 | static ɵmod: i0.ɵɵNgModuleDeclaration<GalleriaModule, [typeof Galleria, typeof GalleriaContent, typeof GalleriaItemSlot, typeof GalleriaItem, typeof GalleriaThumbnails], [typeof i1.CommonModule, typeof i2.SharedModule, typeof i3.RippleModule], [typeof i1.CommonModule, typeof Galleria, typeof GalleriaContent, typeof GalleriaItemSlot, typeof GalleriaItem, typeof GalleriaThumbnails, typeof i2.SharedModule]>;
|
---|
| 198 | static ɵinj: i0.ɵɵInjectorDeclaration<GalleriaModule>;
|
---|
| 199 | }
|
---|