/**
 *
 * carbon-angular v0.0.0 | combobox.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 "../../../node_modules/@carbon/icons-angular/lib/warning--filled/16.ngfactory";
import * as i3 from "@carbon/icons-angular/lib/warning--filled/16";
import * as i4 from "../../../node_modules/@carbon/icons-angular/lib/close/16.ngfactory";
import * as i5 from "@carbon/icons-angular/lib/close/16";
import * as i6 from "../../../node_modules/@carbon/icons-angular/lib/chevron--down/16.ngfactory";
import * as i7 from "@carbon/icons-angular/lib/chevron--down/16";
import * as i8 from "@angular/forms";
import * as i9 from "./combobox.component";
var styles_ComboBox = [];
var RenderType_ComboBox = i0.ɵcrt({ encapsulation: 2, styles: styles_ComboBox, data: {} });
export { RenderType_ComboBox as RenderType_ComboBox };
function View_ComboBox_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_ComboBox_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_ComboBox_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_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_ComboBox_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_ComboBox_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_ComboBox_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_ComboBox_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_ComboBox_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_ComboBox_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_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_ComboBox_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_ComboBox_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_ComboBox_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_ComboBox_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "div", [["class", "bx--list-box__selection bx--list-box__selection--multi"], ["role", "button"], ["title", "Clear all selected items"]], null, [[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.pills.length; _ck(_v, 1, 0, currVal_0); }); }
function View_ComboBox_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-icon-warning-filled16", [["class", "bx--list-box__invalid-icon"]], null, null, null, i2.View_WarningFilled16_0, i2.RenderType_WarningFilled16)), i0.ɵdid(1, 49152, null, 0, i3.WarningFilled16, [], null, null)], null, null); }
function View_ComboBox_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "div", [["aria-label", "Clear Selection"], ["class", "bx--list-box__selection"], ["role", "button"], ["tabindex", "0"], ["title", "Clear selected item"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.clearInput($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, "ibm-icon-close16", [], null, null, null, i4.View_Close16_0, i4.RenderType_Close16)), i0.ɵdid(2, 49152, null, 0, i5.Close16, [], null, null)], null, null); }
function View_ComboBox_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [[1, 0], ["dropdownMenu", 1]], null, 1, "div", [], null, null, null, null, null)), i0.ɵncd(null, 0)], null, null); }
function View_ComboBox_14(_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); }); }
function View_ComboBox_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_ComboBox_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_16)), 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.invalidText; _ck(_v, 1, 0, currVal_0); }, null); }
function View_ComboBox_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_14)), 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_ComboBox_15)), 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.invalidText); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isTemplate(_co.invalidText); _ck(_v, 4, 0, currVal_1); }, null); }
export function View_ComboBox_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { dropdownMenu: 0 }), i0.ɵqud(402653184, 2, { input: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_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_ComboBox_5)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 16, "div", [["class", "bx--combo-box bx--list-box"], ["role", "listbox"]], [[1, "data-invalid", 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--multi-select": 0, "bx--combo-box": 1 }), (_l()(), i0.ɵeld(9, 0, null, null, 11, "div", [["aria-haspopup", "true"], ["aria-label", "close menu"], ["class", "bx--list-box__field"], ["role", "button"], ["tabindex", "-1"], ["type", "button"]], [[1, "aria-expanded", 0]], [[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()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_9)), i0.ɵdid(11, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(12, 0, [[2, 0], ["input", 1]], null, 0, "input", [["aria-haspopup", "true"], ["autocomplete", "off"], ["class", "bx--text-input"], ["role", "searchbox"], ["tabindex", "0"]], [[8, "id", 0], [8, "disabled", 0], [8, "value", 0], [1, "aria-label", 0], [8, "placeholder", 0]], [[null, "keyup"], [null, "keydown.enter"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("keyup" === en)) {
        var pd_0 = (_co.onSearch($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("keydown.enter" === en)) {
        var pd_1 = (_co.onSubmit($event) !== false);
        ad = (pd_1 && ad);
    } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_10)), i0.ɵdid(14, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_11)), i0.ɵdid(16, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 3, "ibm-icon-chevron-down16", [["ariaLabel", "Close menu"], ["class", "bx--list-box__menu-icon"]], null, null, null, i6.View_ChevronDown16_0, i6.RenderType_ChevronDown16)), i0.ɵdid(18, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(19, { "bx--list-box__menu-icon--open": 0 }), i0.ɵdid(20, 49152, null, 0, i7.ChevronDown16, [], { ariaLabel: [0, "ariaLabel"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_12)), i0.ɵdid(22, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ComboBox_13)), i0.ɵdid(24, 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--combo-box bx--list-box"; var currVal_4 = _ck(_v, 8, 0, (_co.type === "multi"), ((_co.type === "single") || !_co.pills.length)); _ck(_v, 7, 0, currVal_3, currVal_4); var currVal_6 = ((_co.type === "multi") && (_co.pills.length > 0)); _ck(_v, 11, 0, currVal_6); var currVal_12 = _co.invalid; _ck(_v, 14, 0, currVal_12); var currVal_13 = _co.showClearButton; _ck(_v, 16, 0, currVal_13); var currVal_14 = "bx--list-box__menu-icon"; var currVal_15 = _ck(_v, 19, 0, _co.open); _ck(_v, 18, 0, currVal_14, currVal_15); var currVal_16 = "Close menu"; _ck(_v, 20, 0, currVal_16); var currVal_17 = _co.open; _ck(_v, 22, 0, currVal_17); var currVal_18 = _co.invalid; _ck(_v, 24, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = (_co.invalid ? true : null); _ck(_v, 6, 0, currVal_2); var currVal_5 = _co.open; _ck(_v, 9, 0, currVal_5); var currVal_7 = _co.id; var currVal_8 = _co.disabled; var currVal_9 = _co.selectedValue; var currVal_10 = _co.label; var currVal_11 = _co.placeholder; _ck(_v, 12, 0, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); }); }
export function View_ComboBox_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "ibm-combo-box", [], [[1, "aria-disabled", 0], [2, "bx--list-box__wrapper", null], [1, "role", 0], [4, "display", null]], [[null, "keydown"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
        var pd_0 = (i0.ɵnov(_v, 2).hostkeys($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, View_ComboBox_0, RenderType_ComboBox)), i0.ɵprd(5120, null, i8.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i9.ComboBox]), i0.ɵdid(2, 5816320, null, 1, i9.ComboBox, [i0.ElementRef], null, null), i0.ɵqud(335544320, 1, { view: 0 })], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).disabled; var currVal_1 = i0.ɵnov(_v, 2).hostClass; var currVal_2 = i0.ɵnov(_v, 2).role; var currVal_3 = i0.ɵnov(_v, 2).display; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }
var ComboBoxNgFactory = i0.ɵccf("ibm-combo-box", i9.ComboBox, View_ComboBox_Host_0, { id: "id", items: "items", placeholder: "placeholder", type: "type", size: "size", label: "label", helperText: "helperText", invalid: "invalid", invalidText: "invalidText", disabled: "disabled" }, { selected: "selected", submit: "submit", close: "close", search: "search" }, ["*"]);
export { ComboBoxNgFactory as ComboBoxNgFactory };
//# sourceMappingURL=combobox.component.ngfactory.js.map