custom-lightbox
Version:
custom-lightbox
37 lines • 5.93 kB
JavaScript
"use strict";
/**
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
*
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
* tslint:disable
*/
Object.defineProperty(exports, "__esModule", { value: true });
var i0 = require("@angular/core");
var i1 = require("./lightbox.component");
var i2 = require("./lightbox-event.service");
var i3 = require("@angular/platform-browser");
var styles_LightboxComponent = [];
var RenderType_LightboxComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_LightboxComponent, data: {} });
exports.RenderType_LightboxComponent = RenderType_LightboxComponent;
function View_LightboxComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { _outerContainerElem: 0 }), i0.ɵqud(671088640, 2, { _containerElem: 0 }), i0.ɵqud(671088640, 3, { _leftArrowElem: 0 }), i0.ɵqud(671088640, 4, { _rightArrowElem: 0 }), i0.ɵqud(671088640, 5, { _navArrowElem: 0 }), i0.ɵqud(671088640, 6, { _dataContainerElem: 0 }), i0.ɵqud(671088640, 7, { _imageElem: 0 }), i0.ɵqud(671088640, 8, { _captionElem: 0 }), i0.ɵqud(671088640, 9, { _numberElem: 0 }), (_l()(), i0.ɵeld(9, 0, [[1, 0], ["outerContainer", 1]], null, 7, "div", [["class", "lb-outerContainer transition"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, [[2, 0], ["container", 1]], null, 6, "div", [["class", "lb-container"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, [[7, 0], ["image", 1]], null, 0, "img", [["class", "lb-image animation fadeIn"]], [[8, "src", 4], [8, "hidden", 0]], null, null, null, null)), (_l()(), i0.ɵeld(12, 0, [[5, 0], ["navArrow", 1]], null, 2, "div", [["class", "lb-nav"]], [[8, "hidden", 0]], null, null, null, null)), (_l()(), i0.ɵeld(13, 0, [[3, 0], ["leftArrow", 1]], null, 0, "a", [["class", "lb-prev"]], [[8, "hidden", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.prevImage() !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), (_l()(), i0.ɵeld(14, 0, [[4, 0], ["rightArrow", 1]], null, 0, "a", [["class", "lb-next"]], [[8, "hidden", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.nextImage() !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 1, "div", [["class", "lb-loader"]], [[8, "hidden", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.close($event) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 0, "a", [["class", "lb-cancel"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, [[6, 0], ["dataContainer", 1]], null, 7, "div", [["class", "lb-dataContainer"]], [[8, "hidden", 0]], null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 6, "div", [["class", "lb-data"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 3, "div", [["class", "lb-details"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, [[8, 0], ["caption", 1]], null, 0, "span", [["class", "lb-caption animation fadeIn"]], [[8, "hidden", 0], [8, "innerHTML", 1]], null, null, null, null)), (_l()(), i0.ɵeld(21, 0, [[9, 0], ["number", 1]], null, 1, "span", [["class", "lb-number animation fadeIn"]], [[8, "hidden", 0]], null, null, null, null)), (_l()(), i0.ɵted(22, null, ["", ""])), (_l()(), i0.ɵeld(23, 0, null, null, 1, "div", [["class", "lb-closeContainer"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 0, "a", [["class", "lb-close"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.close($event) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.album[_co.currentImageIndex].src; var currVal_1 = _co.ui.showReloader; _ck(_v, 11, 0, currVal_0, currVal_1); var currVal_2 = !_co.ui.showArrowNav; _ck(_v, 12, 0, currVal_2); var currVal_3 = !_co.ui.showLeftArrow; _ck(_v, 13, 0, currVal_3); var currVal_4 = !_co.ui.showRightArrow; _ck(_v, 14, 0, currVal_4); var currVal_5 = !_co.ui.showReloader; _ck(_v, 15, 0, currVal_5); var currVal_6 = _co.ui.showReloader; _ck(_v, 17, 0, currVal_6); var currVal_7 = !_co.ui.showCaption; var currVal_8 = _co.album[_co.currentImageIndex].caption; _ck(_v, 20, 0, currVal_7, currVal_8); var currVal_9 = !_co.ui.showPageNumber; _ck(_v, 21, 0, currVal_9); var currVal_10 = _co.content.pageNumber; _ck(_v, 22, 0, currVal_10); }); }
exports.View_LightboxComponent_0 = View_LightboxComponent_0;
function View_LightboxComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["lb-content", ""]], [[8, "className", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
var pd_0 = (i0.ɵnov(_v, 1).close($event) !== false);
ad = (pd_0 && ad);
} return ad; }, View_LightboxComponent_0, RenderType_LightboxComponent)), i0.ɵdid(1, 4440064, null, 0, i1.LightboxComponent, [i0.ElementRef, i0.Renderer2, i2.LightboxEvent, i0.ElementRef, i2.LightboxWindowRef, i3.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).ui.classList; _ck(_v, 0, 0, currVal_0); }); }
exports.View_LightboxComponent_Host_0 = View_LightboxComponent_Host_0;
var LightboxComponentNgFactory = i0.ɵccf("[lb-content]", i1.LightboxComponent, View_LightboxComponent_Host_0, { album: "album", currentImageIndex: "currentImageIndex", options: "options", cmpRef: "cmpRef" }, {}, []);
exports.LightboxComponentNgFactory = LightboxComponentNgFactory;
//# sourceMappingURL=lightbox.component.ngfactory.js.map