/**
 *
 * carbon-angular v0.0.0 | dropdown.component.ngfactory.js
 *
 * Copyright 2014, 2020 IBM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/**
 * @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 "@angular/common";
import * as i2 from "@carbon/icons-angular/lib/warning--filled/16";
import * as i3 from "../../../node_modules/@carbon/icons-angular/lib/chevron--down/16.ngfactory";
import * as i4 from "@carbon/icons-angular/lib/chevron--down/16";
import * as i5 from "@angular/forms";
import * as i6 from "./dropdown.component";
import * as i7 from "../i18n/i18n.service";
import * as i8 from "./dropdown.service";
import * as i9 from "../utils/element.service";
var styles_Dropdown = [];
var RenderType_Dropdown = i0.ɵcrt({ encapsulation: 2, styles: styles_Dropdown, data: {} });
export { RenderType_Dropdown as RenderType_Dropdown };
function View_Dropdown_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, null, null, null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.label; _ck(_v, 1, 0, currVal_0); }); }
function View_Dropdown_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_Dropdown_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_4)), i0.ɵdid(1, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.label; _ck(_v, 1, 0, currVal_0); }, null); }
function View_Dropdown_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "label", [["class", "bx--label"]], [[8, "htmlFor", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_2)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_3)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.isTemplate(_co.label); _ck(_v, 2, 0, currVal_1); var currVal_2 = _co.isTemplate(_co.label); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.id; _ck(_v, 0, 0, currVal_0); }); }
function View_Dropdown_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, null, null, null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.helperText; _ck(_v, 1, 0, currVal_0); }); }
function View_Dropdown_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_Dropdown_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_8)), i0.ɵdid(1, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.helperText; _ck(_v, 1, 0, currVal_0); }, null); }
function View_Dropdown_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [["class", "bx--form__helper-text"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_6)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_7)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isTemplate(_co.helperText); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isTemplate(_co.helperText); _ck(_v, 4, 0, currVal_1); }, null); }
function View_Dropdown_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "div", [["class", "bx--list-box__selection--multi"]], [[8, "title", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.clearSelected() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i0.ɵted(1, null, [" ", " "])), (_l()(), i0.ɵeld(2, 0, null, null, 1, ":svg:svg", [["aria-hidden", "true"], ["focusable", "false"], ["height", "16"], ["preserveAspectRatio", "xMidYMid meet"], ["role", "img"], ["style", "will-change: transform;"], ["viewBox", "0 0 16 16"], ["width", "16"], ["xmlns", "http://www.w3.org/2000/svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 0, ":svg:path", [["d", "M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.clearText; _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.getSelectedCount(); _ck(_v, 1, 0, currVal_1); }); }
function View_Dropdown_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "span", [["class", "bx--list-box__label"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""])), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_co.getDisplayStringValue())); _ck(_v, 1, 0, currVal_0); }); }
function View_Dropdown_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_Dropdown_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_12)), i0.ɵdid(1, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutletContext: [0, "ngTemplateOutletContext"], ngTemplateOutlet: [1, "ngTemplateOutlet"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getRenderTemplateContext(); var currVal_1 = _co.displayValue; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
function View_Dropdown_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, ":svg:svg", [["class", "bx--dropdown__invalid-icon"], ["ibmIconWarningFilled16", ""]], null, null, null, null, null)), i0.ɵdid(1, 4210688, null, 0, i2.WarningFilled16Directive, [i0.ElementRef], null, null)], null, null); }
function View_Dropdown_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "ibm-icon-chevron-down16", [["class", "bx--list-box__menu-icon"]], [[1, "aria-label", 0]], null, null, i3.View_ChevronDown16_0, i3.RenderType_ChevronDown16)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(2, { "bx--list-box__menu-icon--open": 0 }), i0.ɵdid(3, 49152, null, 0, i4.ChevronDown16, [], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = "bx--list-box__menu-icon"; var currVal_2 = _ck(_v, 2, 0, !_co.menuIsClosed); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.menuButtonLabel; _ck(_v, 0, 0, currVal_0); }); }
function View_Dropdown_15(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0), (_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_Dropdown_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["class", "bx--form-requirement"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.invalidText; _ck(_v, 1, 0, currVal_0); }); }
export function View_Dropdown_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { dropdownButton: 0 }), i0.ɵqud(402653184, 2, { dropdownMenu: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_1)), i0.ɵdid(3, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_5)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 20, "div", [["class", "bx--dropdown bx--list-box"]], [[8, "id", 0]], null, null, null, null)), i0.ɵdid(7, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(8, { "bx--dropdown--light": 0, "bx--list-box--inline": 1, "bx--skeleton": 2, "bx--dropdown--disabled bx--list-box--disabled": 3, "bx--dropdown--invalid": 4 }), (_l()(), i0.ɵeld(9, 0, [[1, 0], ["dropdownButton", 1]], null, 12, "div", [["class", "bx--list-box__field"], ["type", "button"]], [[1, "aria-expanded", 0], [1, "aria-disabled", 0], [1, "disabled", 0], [8, "tabIndex", 0]], [[null, "click"], [null, "blur"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = ((_co.disabled ? $event.stopPropagation() : _co.toggleMenu()) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (_co.onBlur() !== false);
        ad = (pd_1 && ad);
    } return ad; }, null, null)), i0.ɵdid(10, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(11, { "a": 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_9)), i0.ɵdid(13, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_10)), i0.ɵdid(15, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_11)), i0.ɵdid(17, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_13)), i0.ɵdid(19, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_14)), i0.ɵdid(21, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(22, 0, [[2, 0], ["dropdownMenu", 1]], null, 4, "div", [], null, null, null, null, null)), i0.ɵdid(23, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, "ngClass"] }, null), i0.ɵpod(24, { "drop-up": 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_15)), i0.ɵdid(26, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Dropdown_16)), i0.ɵdid(28, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.label; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.helperText; _ck(_v, 5, 0, currVal_1); var currVal_3 = "bx--dropdown bx--list-box"; var currVal_4 = _ck(_v, 8, 0, (_co.theme === "light"), _co.inline, _co.skeleton, _co.disabled, _co.invalid); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_9 = "bx--list-box__field"; var currVal_10 = _ck(_v, 11, 0, !_co.menuIsClosed); _ck(_v, 10, 0, currVal_9, currVal_10); var currVal_11 = ((_co.type === "multi") && (_co.getSelectedCount() > 0)); _ck(_v, 13, 0, currVal_11); var currVal_12 = _co.isRenderString(); _ck(_v, 15, 0, currVal_12); var currVal_13 = !_co.isRenderString(); _ck(_v, 17, 0, currVal_13); var currVal_14 = _co.invalid; _ck(_v, 19, 0, currVal_14); var currVal_15 = !_co.skeleton; _ck(_v, 21, 0, currVal_15); var currVal_16 = _ck(_v, 24, 0, _co.dropUp); _ck(_v, 23, 0, currVal_16); var currVal_17 = !_co.menuIsClosed; _ck(_v, 26, 0, currVal_17); var currVal_18 = _co.invalid; _ck(_v, 28, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.id; _ck(_v, 6, 0, currVal_2); var currVal_5 = !_co.menuIsClosed; var currVal_6 = _co.disabled; var currVal_7 = (_co.disabled ? true : null); var currVal_8 = (_co.disabled ? (0 - 1) : 0); _ck(_v, 9, 0, currVal_5, currVal_6, currVal_7, currVal_8); }); }
export function View_Dropdown_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "ibm-dropdown", [], [[2, "bx--dropdown__wrapper", null]], [[null, "keydown"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
        var pd_0 = (i0.ɵnov(_v, 2).onKeyDown($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, View_Dropdown_0, RenderType_Dropdown)), i0.ɵprd(5120, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i6.Dropdown]), i0.ɵdid(2, 1294336, null, 1, i6.Dropdown, [i0.ElementRef, i7.I18n, i8.DropdownService, i0.ApplicationRef, i9.ElementService], null, null), i0.ɵqud(335544320, 1, { view: 0 })], function (_ck, _v) { _ck(_v, 2, 0); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).hostClass; _ck(_v, 0, 0, currVal_0); }); }
var DropdownNgFactory = i0.ɵccf("ibm-dropdown", i6.Dropdown, View_Dropdown_Host_0, { id: "id", label: "label", helperText: "helperText", placeholder: "placeholder", displayValue: "displayValue", clearText: "clearText", size: "size", type: "type", theme: "theme", disabled: "disabled", skeleton: "skeleton", inline: "inline", disableArrowKeys: "disableArrowKeys", invalid: "invalid", invalidText: "invalidText", appendToBody: "appendToBody", appendInline: "appendInline", scrollableContainer: "scrollableContainer", value: "value", menuButtonLabel: "menuButtonLabel", selectedLabel: "selectedLabel" }, { selected: "selected", onClose: "onClose", close: "close" }, ["*"]);
export { DropdownNgFactory as DropdownNgFactory };
//# sourceMappingURL=dropdown.component.ngfactory.js.map