@pepperi/lib
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.1.
447 lines (439 loc) • 28.6 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/platform-browser/animations'), require('@angular/forms'), require('@angular/material/core'), require('@angular/material/form-field'), require('@angular/material/dialog'), require('@angular/material/icon'), require('@pepperi/lib'), require('@pepperi/lib/field-title'), require('@pepperi/lib/icon'), require('@pepperi/lib/dialog'), require('@ngx-gallery/core'), require('@angular/animations'), require('hammerjs')) :
typeof define === 'function' && define.amd ? define('@pepperi/lib/images-filmstrip', ['exports', '@angular/core', '@angular/common', '@angular/platform-browser/animations', '@angular/forms', '@angular/material/core', '@angular/material/form-field', '@angular/material/dialog', '@angular/material/icon', '@pepperi/lib', '@pepperi/lib/field-title', '@pepperi/lib/icon', '@pepperi/lib/dialog', '@ngx-gallery/core', '@angular/animations', 'hammerjs'], factory) :
(global = global || self, factory((global.pepperi = global.pepperi || {}, global.pepperi.lib = global.pepperi.lib || {}, global.pepperi.lib['images-filmstrip'] = {}), global.ng.core, global.ng.common, global.ng.platformBrowser.animations, global.ng.forms, global.ng.material.core, global.ng.material.formField, global.ng.material.dialog, global.ng.material.icon, global.pepperi.lib, global.pepperi.lib['field-title'], global.pepperi.lib.icon, global.pepperi.lib.dialog, global.gallery, global.ng.animations));
}(this, (function (exports, i0, i6, animations, i4, core, formField, i7, i8, i1, i5, i1$1, i2, i3, animations$1) { 'use strict';
var _c0 = ["arrowRightTemplate"];
var _c1 = ["galleryCont"];
var _c2 = ["galleryDialogTemplate"];
var _c3 = ["galleryDialogCont"];
function PepperiImagesFilmstripComponent_ng_template_6_Template(rf, ctx) {
if (rf & 1) {
var _r7_1 = i0.ɵɵgetCurrentView();
i0.ɵɵelementStart(0, "h2", 8);
i0.ɵɵelementStart(1, "span", 9);
i0.ɵɵtext(2);
i0.ɵɵelementEnd();
i0.ɵɵelementStart(3, "button", 10);
i0.ɵɵelementStart(4, "mat-icon");
i0.ɵɵelement(5, "pep-icon", 11);
i0.ɵɵelementEnd();
i0.ɵɵelementEnd();
i0.ɵɵelementEnd();
i0.ɵɵelementStart(6, "div", 12, 13);
i0.ɵɵelementStart(8, "gallery", 14);
i0.ɵɵlistener("indexChange", function PepperiImagesFilmstripComponent_ng_template_6_Template_gallery_indexChange_8_listener($event) { i0.ɵɵrestoreView(_r7_1); var ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.indexChange($event); })("error", function PepperiImagesFilmstripComponent_ng_template_6_Template_gallery_error_8_listener($event) { i0.ɵɵrestoreView(_r7_1); var ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.onError($event); });
i0.ɵɵelementEnd();
i0.ɵɵelementEnd();
}
if (rf & 2) {
var ctx_r2 = i0.ɵɵnextContext();
var _r3 = i0.ɵɵreference(9);
i0.ɵɵadvance(2);
i0.ɵɵtextInterpolate(ctx_r2.label);
i0.ɵɵadvance(1);
i0.ɵɵproperty("mat-dialog-close", null);
i0.ɵɵadvance(5);
i0.ɵɵstyleProp("height", "auto", "px");
i0.ɵɵpropertyInterpolate2("id", "", ctx_r2.key, "-", ctx_r2.objectId, "-dlgGallery");
i0.ɵɵproperty("itemTemplate", _r3)("autoPlay", false)("counter", false);
}
}
function PepperiImagesFilmstripComponent_ng_template_8_span_0_Template(rf, ctx) {
if (rf & 1) {
i0.ɵɵelementStart(0, "span", 16);
i0.ɵɵtext(1);
i0.ɵɵelementEnd();
}
if (rf & 2) {
var data_r11 = i0.ɵɵnextContext().data;
i0.ɵɵproperty("@slideAnimation", undefined);
i0.ɵɵadvance(1);
i0.ɵɵtextInterpolate1(" ", data_r11 == null ? null : data_r11.title, " ");
}
}
function PepperiImagesFilmstripComponent_ng_template_8_Template(rf, ctx) {
if (rf & 1) {
i0.ɵɵtemplate(0, PepperiImagesFilmstripComponent_ng_template_8_span_0_Template, 2, 2, "span", 15);
}
if (rf & 2) {
var index_r9 = ctx.index;
var type_r10 = ctx.type;
var currIndex_r12 = ctx.currIndex;
i0.ɵɵproperty("ngIf", type_r10 === "image" && index_r9 === currIndex_r12);
}
}
var slideInAnimation = animations$1.trigger('slideAnimation', [
animations$1.state('in', animations$1.style({ transform: 'translateY(0)', opacity: 1 })),
animations$1.transition(':enter', [
animations$1.style({ transform: 'translateY(-100%)', opacity: 0 }),
animations$1.animate(400)
]),
animations$1.transition(':leave', [
animations$1.animate(400, animations$1.style({ transform: 'translateY(-100%)', opacity: 0 }))
])
]);
var PepperiImagesFilmstripComponent = /** @class */ (function () {
function PepperiImagesFilmstripComponent(customizationService, dialogService, layoutService, fileService, gallery, renderer, element, cd) {
this.customizationService = customizationService;
this.dialogService = dialogService;
this.layoutService = layoutService;
this.fileService = fileService;
this.gallery = gallery;
this.renderer = renderer;
this.element = element;
this.cd = cd;
// @ViewChild('ngxViewerImage') ngxViewerImage: any; // TODO: Check if we need to use this??
this.value = '';
this.key = '';
this.label = '';
this.xAlignment = '0';
this.rowSpan = 1;
this.controlType = 'images';
this.form = null;
this.objectId = null;
this.showTitle = false;
this.currIndex = 0;
this.showThumbnails = false;
this.required = false;
this.readonly = false;
this.disabled = false;
this.fieldHeight = '';
this.standAlone = false;
this.galleryWidth = 0;
this.isVertical = false;
this.config = {
// loadingMode: 'indeterminate',
autoPlay: false,
imageSize: 'contain',
loadingStrategy: 'lazy',
gestures: true,
loop: true,
dots: false,
nav: false,
counter: false // Show counter
};
}
PepperiImagesFilmstripComponent.prototype.ngOnInit = function () {
if (this.form === null) {
this.standAlone = true;
this.form = this.customizationService.getDefaultFromGroup(this.key, this.value, this.required, this.readonly, this.disabled);
this.renderer.addClass(this.element.nativeElement, i1.CustomizationService.STAND_ALONE_FIELD_CLASS_NAME);
}
this.fieldHeight = this.customizationService.calculateFieldHeight(this.layoutType, this.rowSpan, this.standAlone);
var imgArr = this.value ? this.value.split(';') : [];
// add No image image when there is no images
if (imgArr.length === 0) {
var noImageSrc = this.fileService.getNoImagePath();
imgArr.push(noImageSrc);
}
this.items = imgArr.map(function (img) { return new i3.ImageItem({ src: img, thumb: img }); });
this.config.dots = this.config.nav = this.items.length > 1;
this.config.thumb = (this.key === 'ItemFilmstripImages' || this.showThumbnails) && this.items.length > 1 ? true : false;
this.config.navIcon = i1$1.pepperiIconArrowRightAlt.data;
this.currIndex =
this.key === 'ItemFilmstripImages' &&
this.currIndex === 0 &&
this.items.length > 1 ?
Math.floor(this.items.length / 2) - 1 : this.currIndex;
this.galleryRef = this.gallery.ref(this.key + '-' + this.objectId + '-gallery');
};
PepperiImagesFilmstripComponent.prototype.ngAfterViewInit = function () {
this.initGalleryStyle(this.galleryCont, this.galleryRef);
};
PepperiImagesFilmstripComponent.prototype.ngOnDestroy = function () {
if (this.galleryRef) {
this.galleryRef.destroy();
}
if (this.dialogGalleryRef) {
this.dialogGalleryRef.destroy();
}
};
PepperiImagesFilmstripComponent.prototype.initGalleryStyle = function (galleryContainer, galleryRef) {
// Set thumbnails position and sliding direction
this.setThumbnailDimension(galleryContainer);
galleryRef.setConfig(this.config);
galleryRef.load(this.items);
var currentIndex = this.currIndex;
if (currentIndex > 0) {
galleryRef.set(currentIndex);
}
};
PepperiImagesFilmstripComponent.prototype.indexChange = function (item) {
this.currIndex = item.currIndex;
// if (this.ngxViewerImage && this.ngxViewerImage.scale) {
// this.ngxViewerImage.scale = 1;
// this.updateStyle();
// }
};
PepperiImagesFilmstripComponent.prototype.onError = function (e) {
var noImageSrc = this.fileService.getNoImagePath();
var noimg = new i3.ImageItem({ src: noImageSrc, thumb: noImageSrc });
this.items.splice(e.itemIndex, 1, noimg);
};
PepperiImagesFilmstripComponent.prototype.enlargeImage = function (event) {
var _this = this;
var dialogRef = this.dialogService.openDialog(this.galleryDialogTemplate);
dialogRef.afterOpened().subscribe(function () {
_this.afterDialogOpened();
});
// Update currentIndex in galleryRef
dialogRef.afterClosed().subscribe(function (value) {
_this.galleryRef.set(_this.currIndex);
});
};
PepperiImagesFilmstripComponent.prototype.afterDialogOpened = function () {
this.dialogGalleryRef = this.gallery.ref(this.key + '-' + this.objectId + '-dlgGallery');
this.initGalleryStyle(this.galleryDialogCont, this.dialogGalleryRef);
};
PepperiImagesFilmstripComponent.prototype.setThumbnailDimension = function (galleryContainer) {
this.galleryWidth = galleryContainer.nativeElement.clientWidth;
this.galleryHeight = galleryContainer.nativeElement.clientHeight;
this.isVertical = this.galleryWidth < this.galleryHeight;
if (this.isVertical) {
var width = (this.galleryWidth - ((this.items.length - 1) * 16)) / this.items.length;
width = Math.min(Math.max(width, 24), 96);
this.config.thumbHeight = width;
this.config.thumbWidth = (width + 16);
}
else {
var height = (this.galleryHeight - ((this.items.length - 1) * 16)) / this.items.length;
height = Math.min(Math.max(height, 24), 96);
this.config.thumbHeight = (height + 16);
this.config.thumbWidth = height;
}
this.config.thumbPosition = this.isVertical ?
i3.ThumbnailsPosition.Bottom : this.layoutService.isRtl() ?
i3.ThumbnailsPosition.Right : i3.ThumbnailsPosition.Left;
this.config.slidingDirection = this.key !== 'ItemFilmstripImages' ? 'horizontal' : this.isVertical ? 'horizontal' : 'vertical';
};
return PepperiImagesFilmstripComponent;
}());
PepperiImagesFilmstripComponent.ɵfac = function PepperiImagesFilmstripComponent_Factory(t) { return new (t || PepperiImagesFilmstripComponent)(i0.ɵɵdirectiveInject(i1.CustomizationService), i0.ɵɵdirectiveInject(i2.DialogService), i0.ɵɵdirectiveInject(i1.LayoutService), i0.ɵɵdirectiveInject(i1.FileService), i0.ɵɵdirectiveInject(i3.Gallery), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
PepperiImagesFilmstripComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PepperiImagesFilmstripComponent, selectors: [["pep-images-filmstrip"]], viewQuery: function PepperiImagesFilmstripComponent_Query(rf, ctx) {
if (rf & 1) {
i0.ɵɵviewQuery(_c0, true);
i0.ɵɵviewQuery(_c1, true);
i0.ɵɵviewQuery(_c2, true, i0.TemplateRef);
i0.ɵɵviewQuery(_c3, true);
}
if (rf & 2) {
var _t;
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.arrowRightTemplate = _t.first);
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.galleryCont = _t.first);
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.galleryDialogTemplate = _t.first);
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.galleryDialogCont = _t.first);
}
}, inputs: { value: "value", key: "key", label: "label", xAlignment: "xAlignment", rowSpan: "rowSpan", form: "form", objectId: "objectId", showTitle: "showTitle", layoutType: "layoutType", currIndex: "currIndex", showThumbnails: "showThumbnails", items: "items" }, decls: 10, vars: 10, consts: [[3, "formGroup"], [1, "images-filmstrip-container"], [3, "label", "xAlignment", "showTitle"], [1, "img-wrapper", 3, "ngClass"], ["galleryCont", ""], [3, "id", "autoPlay", "itemClick", "indexChange", "error"], ["galleryDialogTemplate", ""], ["itemTemplate", ""], ["mat-dialog-title", "", 1, "pepperi-border-bottom"], [1, "pull-left", "flip"], ["mat-button", "", 1, "pepperi-button", "icon-button", "md", "weak", "pull-right", "flip", 3, "mat-dialog-close"], ["name", "system_close"], ["mat-dialog-content", ""], ["galleryDialogCont", ""], [3, "id", "itemTemplate", "autoPlay", "counter", "indexChange", "error"], ["class", "item-text", 4, "ngIf"], [1, "item-text"]], template: function PepperiImagesFilmstripComponent_Template(rf, ctx) {
if (rf & 1) {
i0.ɵɵelementContainerStart(0, 0);
i0.ɵɵelementStart(1, "div", 1);
i0.ɵɵelement(2, "pep-field-title", 2);
i0.ɵɵelementStart(3, "div", 3, 4);
i0.ɵɵelementStart(5, "gallery", 5);
i0.ɵɵlistener("itemClick", function PepperiImagesFilmstripComponent_Template_gallery_itemClick_5_listener($event) { return ctx.enlargeImage($event); })("indexChange", function PepperiImagesFilmstripComponent_Template_gallery_indexChange_5_listener($event) { return ctx.indexChange($event); })("error", function PepperiImagesFilmstripComponent_Template_gallery_error_5_listener($event) { return ctx.onError($event); });
i0.ɵɵelementEnd();
i0.ɵɵelementEnd();
i0.ɵɵelementEnd();
i0.ɵɵelementContainerEnd();
i0.ɵɵtemplate(6, PepperiImagesFilmstripComponent_ng_template_6_Template, 9, 9, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
i0.ɵɵtemplate(8, PepperiImagesFilmstripComponent_ng_template_8_Template, 1, 1, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
}
if (rf & 2) {
i0.ɵɵproperty("formGroup", ctx.form);
i0.ɵɵadvance(2);
i0.ɵɵproperty("label", ctx.label)("xAlignment", ctx.xAlignment)("showTitle", ctx.showTitle);
i0.ɵɵadvance(1);
i0.ɵɵstyleProp("height", ctx.fieldHeight);
i0.ɵɵproperty("ngClass", ctx.isVertical ? "vertical-gallery" : "horizontal-gallery");
i0.ɵɵadvance(2);
i0.ɵɵpropertyInterpolate2("id", "", ctx.key, "-", ctx.objectId, "-gallery");
i0.ɵɵproperty("autoPlay", false);
}
}, directives: [i4.NgControlStatusGroup, i4.FormGroupDirective, i5.PepperiFieldTitleComponent, i6.NgClass, i3.GalleryComponent, i7.MatDialogTitle, i7.MatDialogClose, i8.MatIcon, i1$1.PepperiIconComponent, i7.MatDialogContent, i6.NgIf], styles: ["[_nghost-%COMP%]{display:-ms-grid;display:grid;height:inherit;width:100%}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{-ms-grid-row-align:center;align-self:center}.images-filmstrip-container[_ngcontent-%COMP%]{height:100%}.images-filmstrip-container[_ngcontent-%COMP%] .img-wrapper[_ngcontent-%COMP%], gallery[_ngcontent-%COMP%]{height:calc(100% - 1.5rem)}gallery[_ngcontent-%COMP%]{min-height:calc(100% - 1.5rem)}.mat-dialog-content[_ngcontent-%COMP%]{max-height:80vh;min-height:80vh}.mat-dialog-content[_ngcontent-%COMP%] gallery[_ngcontent-%COMP%]{min-height:calc(100% - 50px);min-width:65vw} gallery-thumbs{margin:0 var(--pep-spacing-lg,1rem) 0 var(--pep-spacing-sm,.5rem)} gallery-thumbs gallery-thumb{border-radius:var(--pep-border-radius-md,.25rem);margin:var(--pep-spacing-sm,.5rem) 0;padding:0!important} gallery-thumbs gallery-thumb .g-image-item{background-size:cover} gallery-item gallery-image .g-image-item{border-radius:var(--pep-border-radius-lg,.5rem)} gallery-item:hover{cursor:pointer} gallery-dots{border-radius:var(--pep-border-radius-md,.25rem);position:absolute!important} gallery-dots.pepperi-button{display:flex!important} .img-container{align-items:center;display:flex} .g-nav-next, .g-nav-prev{border-radius:var(--pep-border-radius-md,.25rem);height:2rem!important;padding:.25rem;width:2rem!important} .g-nav-next .mat-icon, .g-nav-prev .mat-icon{display:inline-block!important} .g-nav-prev{transform:translateY(-50%) perspective(1px) scaleX(-1)!important}.vertical-gallery[_ngcontent-%COMP%] gallery-thumbs{margin:var(--pep-spacing-lg,1rem) 0 var(--pep-spacing-sm,.5rem) 0}.vertical-gallery[_ngcontent-%COMP%] gallery-thumbs gallery-thumb{margin:0 var(--pep-spacing-sm,.5rem)}"], data: { animation: [slideInAnimation] } });
/*@__PURE__*/ (function () {
i0.ɵsetClassMetadata(PepperiImagesFilmstripComponent, [{
type: i0.Component,
args: [{
selector: 'pep-images-filmstrip',
templateUrl: './images-filmstrip.component.html',
styleUrls: ['./images-filmstrip.component.scss'],
animations: [slideInAnimation]
}]
}], function () { return [{ type: i1.CustomizationService }, { type: i2.DialogService }, { type: i1.LayoutService }, { type: i1.FileService }, { type: i3.Gallery }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, { arrowRightTemplate: [{
type: i0.ViewChild,
args: ['arrowRightTemplate']
}], value: [{
type: i0.Input
}], key: [{
type: i0.Input
}], label: [{
type: i0.Input
}], xAlignment: [{
type: i0.Input
}], rowSpan: [{
type: i0.Input
}], form: [{
type: i0.Input
}], objectId: [{
type: i0.Input
}], showTitle: [{
type: i0.Input
}], layoutType: [{
type: i0.Input
}], currIndex: [{
type: i0.Input
}], showThumbnails: [{
type: i0.Input
}], items: [{
type: i0.Input
}], galleryCont: [{
type: i0.ViewChild,
args: ['galleryCont']
}], galleryDialogTemplate: [{
type: i0.ViewChild,
args: ['galleryDialogTemplate', { read: i0.TemplateRef }]
}], galleryDialogCont: [{
type: i0.ViewChild,
args: ['galleryDialogCont']
}] });
})();
var PepperiImagesFilmstripModule = /** @class */ (function () {
function PepperiImagesFilmstripModule(pepperiIconRegistry) {
this.pepperiIconRegistry = pepperiIconRegistry;
this.pepperiIconRegistry.registerIcons([
i1$1.pepperiIconSystemEdit,
i1$1.pepperiIconSystemClose,
i1$1.pepperiIconArrowRightAlt,
i1$1.pepperiIconArrowLeftAlt
]);
}
return PepperiImagesFilmstripModule;
}());
PepperiImagesFilmstripModule.ɵmod = i0.ɵɵdefineNgModule({ type: PepperiImagesFilmstripModule });
PepperiImagesFilmstripModule.ɵinj = i0.ɵɵdefineInjector({ factory: function PepperiImagesFilmstripModule_Factory(t) { return new (t || PepperiImagesFilmstripModule)(i0.ɵɵinject(i1$1.PepperiIconRegistry)); }, imports: [[
i6.CommonModule,
animations.BrowserAnimationsModule,
i4.ReactiveFormsModule,
i4.FormsModule,
// Material modules,
core.MatCommonModule,
formField.MatFormFieldModule,
i7.MatDialogModule,
i8.MatIconModule,
// External modules
i3.GalleryModule,
// ImageViewerModule.forRoot({
// btnClass: 'default', // The CSS class(es) that will apply to the buttons
// zoomFactor: 0.1, // The amount that the scale will be increased by
// containerBackgroundColor: 'transparent', // The color to use for the background. This can provided in hex, or rgb(a).
// wheelZoom: true, // If true, the mouse wheel can be used to zoom in
// allowFullscreen: false, // If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
// btnIcons: {
// // The icon classes that will apply to the buttons. By default, font-awesome is used.
// zoomIn: 'fa fa-plus',
// zoomOut: 'fa fa-minus',
// rotateClockwise: 'fa fa-repeat',
// rotateCounterClockwise: 'fa fa-undo',
// next: 'fa fa-arrow-right',
// prev: 'fa fa-arrow-left',
// fullscreen: 'fa fa-arrows-alt'
// }
// }),
// Pepperi modules
i1.PepperiModule,
i1$1.PepperiIconModule,
i5.PepperiFieldTitleModule,
i2.PepperiDialogModule
]] });
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PepperiImagesFilmstripModule, { declarations: [PepperiImagesFilmstripComponent], imports: [i6.CommonModule,
animations.BrowserAnimationsModule,
i4.ReactiveFormsModule,
i4.FormsModule,
// Material modules,
core.MatCommonModule,
formField.MatFormFieldModule,
i7.MatDialogModule,
i8.MatIconModule,
// External modules
i3.GalleryModule,
// ImageViewerModule.forRoot({
// btnClass: 'default', // The CSS class(es) that will apply to the buttons
// zoomFactor: 0.1, // The amount that the scale will be increased by
// containerBackgroundColor: 'transparent', // The color to use for the background. This can provided in hex, or rgb(a).
// wheelZoom: true, // If true, the mouse wheel can be used to zoom in
// allowFullscreen: false, // If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
// btnIcons: {
// // The icon classes that will apply to the buttons. By default, font-awesome is used.
// zoomIn: 'fa fa-plus',
// zoomOut: 'fa fa-minus',
// rotateClockwise: 'fa fa-repeat',
// rotateCounterClockwise: 'fa fa-undo',
// next: 'fa fa-arrow-right',
// prev: 'fa fa-arrow-left',
// fullscreen: 'fa fa-arrows-alt'
// }
// }),
// Pepperi modules
i1.PepperiModule,
i1$1.PepperiIconModule,
i5.PepperiFieldTitleModule,
i2.PepperiDialogModule], exports: [PepperiImagesFilmstripComponent] });
})();
/*@__PURE__*/ (function () {
i0.ɵsetClassMetadata(PepperiImagesFilmstripModule, [{
type: i0.NgModule,
args: [{
imports: [
i6.CommonModule,
animations.BrowserAnimationsModule,
i4.ReactiveFormsModule,
i4.FormsModule,
// Material modules,
core.MatCommonModule,
formField.MatFormFieldModule,
i7.MatDialogModule,
i8.MatIconModule,
// External modules
i3.GalleryModule,
// ImageViewerModule.forRoot({
// btnClass: 'default', // The CSS class(es) that will apply to the buttons
// zoomFactor: 0.1, // The amount that the scale will be increased by
// containerBackgroundColor: 'transparent', // The color to use for the background. This can provided in hex, or rgb(a).
// wheelZoom: true, // If true, the mouse wheel can be used to zoom in
// allowFullscreen: false, // If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
// btnIcons: {
// // The icon classes that will apply to the buttons. By default, font-awesome is used.
// zoomIn: 'fa fa-plus',
// zoomOut: 'fa fa-minus',
// rotateClockwise: 'fa fa-repeat',
// rotateCounterClockwise: 'fa fa-undo',
// next: 'fa fa-arrow-right',
// prev: 'fa fa-arrow-left',
// fullscreen: 'fa fa-arrows-alt'
// }
// }),
// Pepperi modules
i1.PepperiModule,
i1$1.PepperiIconModule,
i5.PepperiFieldTitleModule,
i2.PepperiDialogModule
],
exports: [PepperiImagesFilmstripComponent],
declarations: [PepperiImagesFilmstripComponent],
}]
}], function () { return [{ type: i1$1.PepperiIconRegistry }]; }, null);
})();
/*
* Public API Surface of pepperi-lib/images-filmstrip
*/
/**
* Generated bundle index. Do not edit.
*/
exports.PepperiImagesFilmstripComponent = PepperiImagesFilmstripComponent;
exports.PepperiImagesFilmstripModule = PepperiImagesFilmstripModule;
exports.slideInAnimation = slideInAnimation;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=pepperi-lib-images-filmstrip.umd.js.map