/**
 * @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 "./dropdown.component.scss.ngstyle";
import * as i1 from "@angular/core";
import * as i2 from "@angular/common";
import * as i3 from "../icon/icon.component.ngfactory";
import * as i4 from "../icon/icon.component";
import * as i5 from "../../services/svg-register.service";
import * as i6 from "../dropdown-body/dropdown-body.component.ngfactory";
import * as i7 from "../dropdown-body/dropdown-body.component";
import * as i8 from "./dropdown.component";
var styles_DropdownComponent = [i0.styles];
var RenderType_DropdownComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_DropdownComponent, data: {} });
export { RenderType_DropdownComponent as RenderType_DropdownComponent };
function View_DropdownComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, "div", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.toggleDropdown() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 1, null, null, null, null, null, null, null)), i1.ɵdid(2, 540672, null, 0, i2.NgTemplateOutlet, [i1.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.togglerTemplate; _ck(_v, 2, 0, currVal_0); }, null); }
function View_DropdownComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, "div", [["class", "toggler"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.toggleDropdown() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), i1.ɵdid(1, 278528, null, 0, i2.NgClass, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i1.ɵpod(2, { "toggler_opened": 0, "toggler_closed": 1 }), i1.ɵncd(null, 0), (_l()(), i1.ɵeld(4, 0, null, null, 1, "app-icon", [["class", "chevron"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(5, 49152, null, 0, i4.IconComponent, [i5.SvgRegisterService], { icon: [0, "icon"], type: [1, "type"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "toggler"; var currVal_1 = _ck(_v, 2, 0, i1.ɵnov(_v.parent, 7).isOpened, !i1.ɵnov(_v.parent, 7).isOpened); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = (_co.open ? _co.iconType.chevronUp : _co.iconType.chevronDown); var currVal_3 = (_co.open ? "light" : "primary"); _ck(_v, 5, 0, currVal_2, currVal_3); }, null); }
export function View_DropdownComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { dropdownBody: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 6, "div", [["class", "dropdown"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DropdownComponent_1)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DropdownComponent_2)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 1, "app-dropdown-body", [], null, null, null, i6.View_DropdownBodyComponent_0, i6.RenderType_DropdownBodyComponent)), i1.ɵdid(7, 49152, [[1, 4], ["dropdownBody", 4]], 0, i7.DropdownBodyComponent, [], { itemsConfig: [0, "itemsConfig"], width: [1, "width"], defaultItemHeight: [2, "defaultItemHeight"], options: [3, "options"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.togglerTemplate; _ck(_v, 3, 0, currVal_0); var currVal_1 = !_co.togglerTemplate; _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.itemsConfig; var currVal_3 = _co.bodyWidth; var currVal_4 = _co.defaultItemHeight; var currVal_5 = _co.dropdownBodyOptions; _ck(_v, 7, 0, currVal_2, currVal_3, currVal_4, currVal_5); }, null); }
export function View_DropdownComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, "app-dropdown", [], null, [["document", "click"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("document:click" === en)) {
        var pd_0 = (i1.ɵnov(_v, 1).clickOutside($event) !== false);
        ad = (pd_0 && ad);
    } if (("click" === en)) {
        var pd_1 = (i1.ɵnov(_v, 1).clickInside() !== false);
        ad = (pd_1 && ad);
    } return ad; }, View_DropdownComponent_0, RenderType_DropdownComponent)), i1.ɵdid(1, 49152, null, 0, i8.DropdownComponent, [i1.ElementRef], null, null)], null, null); }
var DropdownComponentNgFactory = i1.ɵccf("app-dropdown", i8.DropdownComponent, View_DropdownComponent_Host_0, { togglerTemplate: "togglerTemplate", itemsConfig: "itemsConfig", bodyWidth: "bodyWidth", defaultItemHeight: "defaultItemHeight", open: "open", options: "options" }, { openChange: "openChange" }, ["*"]);
export { DropdownComponentNgFactory as DropdownComponentNgFactory };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uY29tcG9uZW50Lm5nZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BtZWRyZWNvcmQvdWktY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9zaGFyZWQvY29tcG9uZW50cy9kcm9wZG93bi9kcm9wZG93bi5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwibGliL3No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