UNPKG

@angular-jz/jz

Version:

jim jz

30 lines 4.54 kB
/** * @fileoverview This file was generated by the Angular template compiler. Do not edit. * * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} * tslint:disable */ import * as i0 from "@angular/core"; import * as i1 from "ng2-file-upload/file-upload/file-select.directive"; import * as i2 from "@angular/common"; import * as i3 from "@angular/forms"; import * as i4 from "./jz-file-uploader.component"; var styles_JZFileUploaderComponent = []; var RenderType_JZFileUploaderComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_JZFileUploaderComponent, data: {} }); export { RenderType_JZFileUploaderComponent as RenderType_JZFileUploaderComponent }; function View_JZFileUploaderComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [[1, 0], ["fileinput", 1]], null, 1, "input", [["class", "form-control"], ["ng2FileSelect", ""], ["style", "display:none;"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) { var ad = true; if (("change" === en)) { var pd_0 = (i0.ɵnov(_v, 1).onChange() !== false); ad = (pd_0 && ad); } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i1.FileSelectDirective, [i0.ElementRef], { uploader: [0, "uploader"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.uploader; _ck(_v, 1, 0, currVal_0); }, null); } function View_JZFileUploaderComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [[1, 0], ["fileinput", 1]], null, 1, "input", [["class", "form-control"], ["multiple", ""], ["ng2FileSelect", ""], ["style", "display:none;"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) { var ad = true; if (("change" === en)) { var pd_0 = (i0.ɵnov(_v, 1).onChange() !== false); ad = (pd_0 && ad); } return ad; }, null, null)), i0.ɵdid(1, 16384, null, 0, i1.FileSelectDirective, [i0.ElementRef], { uploader: [0, "uploader"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.uploader; _ck(_v, 1, 0, currVal_0); }, null); } export function View_JZFileUploaderComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { fileinput: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 13, "div", [["class", "fileinput fileinput-new"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(3, 0, null, null, 10, "span", [["class", "btn btn-default btn-file"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.click($event) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(5, 0, null, null, 1, "span", [["class", "fileinput-new"]], null, null, null, null, null)), (_l()(), i0.ɵted(6, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_JZFileUploaderComponent_1)), i0.ɵdid(9, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_JZFileUploaderComponent_2)), i0.ɵdid(12, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n"])), (_l()(), i0.ɵted(-1, null, [" "]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.maxCount == 1); _ck(_v, 9, 0, currVal_1); var currVal_2 = (_co.maxCount > 1); _ck(_v, 12, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.text; _ck(_v, 6, 0, currVal_0); }); } export function View_JZFileUploaderComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "jz-file-uploader", [], null, null, null, View_JZFileUploaderComponent_0, RenderType_JZFileUploaderComponent)), i0.ɵprd(5120, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.JZFileUploaderComponent]), i0.ɵdid(2, 4440064, null, 0, i4.JZFileUploaderComponent, [], null, null)], function (_ck, _v) { _ck(_v, 2, 0); }, null); } var JZFileUploaderComponentNgFactory = i0.ɵccf("jz-file-uploader", i4.JZFileUploaderComponent, View_JZFileUploaderComponent_Host_0, { text: "text", maxCount: "maxCount", _value: "_value" }, {}, []); export { JZFileUploaderComponentNgFactory as JZFileUploaderComponentNgFactory }; //# sourceMappingURL=jz-file-uploader.component.ngfactory.js.map