/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * This file is part of the MedSafe application which is commercial software created by MedVision360 B.V.
 * The source code is proprietary and confidential.
 *
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 *
 * Copyright (c) by MedVision360 B.V. All rights reserved.
 *
 * For the application name: io.medrecord.medsafe

 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
 * tslint:disable
 */ 
import * as i0 from "./avatar.component.scss.shim.ngstyle";
import * as i1 from "@angular/core";
import * as i2 from "../../../../../../../../../node_modules/angular-svg-icon/angular-svg-icon.ngfactory";
import * as i3 from "angular-svg-icon";
import * as i4 from "../../../button/button.component.ngfactory";
import * as i5 from "../../../button/button.component";
import * as i6 from "../../../../services/svg-register.service";
import * as i7 from "@angular/common";
import * as i8 from "../../../round-image/round-image.component.ngfactory";
import * as i9 from "../../../round-image/round-image.component";
import * as i10 from "./avatar.component";
import * as i11 from "@angular/platform-browser";
var styles_AvatarComponent = [i0.styles];
var RenderType_AvatarComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AvatarComponent, data: {} });
export { RenderType_AvatarComponent as RenderType_AvatarComponent };
function View_AvatarComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "label", [], [[8, "htmlFor", 0]], null, null, null, null)), (_l()(), i1.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inputId; _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.label; _ck(_v, 1, 0, currVal_1); }); }
function View_AvatarComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "svg-icon", [], null, null, null, i2.View_SvgIconComponent_0, i2.RenderType_SvgIconComponent)), i1.ɵdid(1, 1032192, null, 0, i3.SvgIconComponent, [i1.ElementRef, i1.KeyValueDiffers, i1.Renderer2, i3.SvgIconRegistryService, i1.ChangeDetectorRef], { name: [0, "name"] }, null)], function (_ck, _v) { var currVal_0 = "empty-avatar"; _ck(_v, 1, 0, currVal_0); }, null); }
function View_AvatarComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, "img", [["alt", "avatar"], ["draggable", "false"]], [[8, "src", 4]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.preparedFileBase64; _ck(_v, 0, 0, currVal_0); }); }
function View_AvatarComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, "app-button", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.uploadButtonClick() !== false);
        ad = (pd_0 && ad);
    } return ad; }, i4.View_ButtonComponent_0, i4.RenderType_ButtonComponent)), i1.ɵdid(2, 49152, null, 0, i5.ButtonComponent, [i6.SvgRegisterService], { options: [0, "options"] }, null), (_l()(), i1.ɵted(3, 0, ["", ""])), (_l()(), i1.ɵeld(4, 0, null, null, 1, "div", [["class", "description"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, ["", ""]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.uploadButtonOptions; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.uploadButtonText; _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.maxSizeText; _ck(_v, 5, 0, currVal_2); }); }
function View_AvatarComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "app-button", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.removeButtonClick() !== false);
        ad = (pd_0 && ad);
    } return ad; }, i4.View_ButtonComponent_0, i4.RenderType_ButtonComponent)), i1.ɵdid(1, 49152, null, 0, i5.ButtonComponent, [i6.SvgRegisterService], { options: [0, "options"] }, null), (_l()(), i1.ɵted(2, 0, ["", ""]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.removeButtonOptions; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.removeButtonText; _ck(_v, 2, 0, currVal_1); }); }
export function View_AvatarComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { fileRef: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AvatarComponent_1)), i1.ɵdid(2, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 13, "div", [["class", "body"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, "div", [["class", "image-wrap"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, "app-rounded-block", [["class", "pointer"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.uploadButtonClick() !== false);
        ad = (pd_0 && ad);
    } return ad; }, i8.View_RoundImageComponent_0, i8.RenderType_RoundImageComponent)), i1.ɵdid(6, 49152, null, 0, i9.RoundImageComponent, [], null, null), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_AvatarComponent_2)), i1.ɵdid(8, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_AvatarComponent_3)), i1.ɵdid(10, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 5, "div", [["class", "controls-wrap"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AvatarComponent_4)), i1.ɵdid(13, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(14, 0, [[1, 0], ["file", 1]], null, 0, "input", [["class", "file"], ["type", "file"]], [[8, "accept", 0]], [[null, "change"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("change" === en)) {
        var pd_0 = (_co.onFileChange($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AvatarComponent_5)), i1.ɵdid(16, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.preparedFileBase64; _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.preparedFileBase64; _ck(_v, 10, 0, currVal_2); var currVal_3 = !_co.preparedFileBase64; _ck(_v, 13, 0, currVal_3); var currVal_5 = _co.preparedFileBase64; _ck(_v, 16, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = _co.allowedMimeTypes; _ck(_v, 14, 0, currVal_4); }); }
export function View_AvatarComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-avatar-form-control", [], null, null, null, View_AvatarComponent_0, RenderType_AvatarComponent)), i1.ɵdid(1, 49152, null, 0, i10.AvatarComponent, [[8, null], i1.ChangeDetectorRef, i11.DomSanitizer], null, null)], null, null); }
var AvatarComponentNgFactory = i1.ɵccf("app-avatar-form-control", i10.AvatarComponent, View_AvatarComponent_Host_0, { label: "label", uploadButtonText: "uploadButtonText", maxSizeText: "maxSizeText", removeButtonText: "removeButtonText", maxSizeInBytes: "maxSizeInBytes", allowedMimeTypes: "allowedMimeTypes" }, { maxSizeError: "maxSizeError", wrongMimeTypeError: "wrongMimeTypeError" }, []);
export { AvatarComponentNgFactory as AvatarComponentNgFactory };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvb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