@pepperi/lib
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.1.
67 lines (66 loc) • 2.87 kB
TypeScript
import { OnInit, OnDestroy, AfterViewInit, ElementRef, TemplateRef, Renderer2, ChangeDetectorRef } from '@angular/core';
import { Gallery, GalleryConfig, GalleryItem, GalleryRef } from '@ngx-gallery/core';
import { CustomizationService, LAYOUT_TYPE, LayoutService, FileService } from '@pepperi/lib';
import { DialogService } from '@pepperi/lib/dialog';
import { FormGroup } from '@angular/forms';
import 'hammerjs';
import * as i0 from "@angular/core";
export interface ImagesFilmstripDialogData {
key: string;
value: string;
label: string;
currIndex: number;
showThumbnails: boolean;
objectId: string;
}
export declare const slideInAnimation: import("@angular/animations").AnimationTriggerMetadata;
export declare class PepperiImagesFilmstripComponent implements OnInit, AfterViewInit, OnDestroy {
private customizationService;
private dialogService;
private layoutService;
private fileService;
private gallery;
private renderer;
private element;
private cd;
arrowRightTemplate: TemplateRef<any>;
value: string;
key: string;
label: string;
xAlignment: string;
rowSpan: number;
controlType: string;
form: FormGroup;
objectId: any;
showTitle: boolean;
layoutType: LAYOUT_TYPE.PepperiForm;
currIndex: number;
showThumbnails: boolean;
items: GalleryItem[];
galleryCont: ElementRef;
galleryDialogTemplate: TemplateRef<any>;
galleryDialogCont: ElementRef;
config: GalleryConfig;
required: boolean;
readonly: boolean;
disabled: boolean;
fieldHeight: string;
standAlone: boolean;
galleryWidth: number;
galleryHeight: any;
isVertical: boolean;
galleryRef: GalleryRef;
dialogGalleryRef: GalleryRef;
constructor(customizationService: CustomizationService, dialogService: DialogService, layoutService: LayoutService, fileService: FileService, gallery: Gallery, renderer: Renderer2, element: ElementRef, cd: ChangeDetectorRef);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
initGalleryStyle(galleryContainer: any, galleryRef: any): void;
indexChange(item: any): void;
onError(e: any): void;
enlargeImage(event: any): void;
afterDialogOpened(): void;
setThumbnailDimension(galleryContainer: any): void;
static ɵfac: i0.ɵɵFactoryDef<PepperiImagesFilmstripComponent, never>;
static ɵcmp: i0.ɵɵComponentDefWithMeta<PepperiImagesFilmstripComponent, "pep-images-filmstrip", never, { "value": "value"; "key": "key"; "label": "label"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "form": "form"; "objectId": "objectId"; "showTitle": "showTitle"; "layoutType": "layoutType"; "currIndex": "currIndex"; "showThumbnails": "showThumbnails"; "items": "items"; }, {}, never, never>;
}