/*!
 *
 * carbon-angular v0.0.7 | search.component.ngfactory.js
 *
 * Copyright 2014, 2019 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 "../../../node_modules/@rocketsoftware/icons-angular/lib/search/16.ngfactory";
import * as i2 from "@rocketsoftware/icons-angular/lib/search/16";
import * as i3 from "@angular/common";
import * as i4 from "../../../node_modules/@rocketsoftware/icons-angular/lib/close/16.ngfactory";
import * as i5 from "@rocketsoftware/icons-angular/lib/close/16";
import * as i6 from "@angular/forms";
import * as i7 from "./search.component";
import * as i8 from "../i18n/i18n.service";
var styles_Search = [];
var RenderType_Search = i0.ɵcrt({ encapsulation: 2, styles: styles_Search, data: {} });
export { RenderType_Search as RenderType_Search };
function View_Search_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "div", [["class", "bx--search-input"]], null, null, null, null, null))], null, null); }
function View_Search_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [[1, 0], ["input", 1]], null, 0, "input", [["class", "bx--search-input"], ["role", "search"]], [[8, "type", 0], [8, "id", 0], [8, "value", 0], [8, "autocomplete", 0], [8, "placeholder", 0], [8, "disabled", 0], [8, "required", 0]], [[null, "input"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
        var pd_0 = (_co.onSearch($event.target.value) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.tableSearch || !_co.toolbar) ? "text" : "search"); var currVal_1 = _co.id; var currVal_2 = _co.value; var currVal_3 = _co.autocomplete; var currVal_4 = _co.placeholder; var currVal_5 = _co.disabled; var currVal_6 = _co.required; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }
function View_Search_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "button", [["class", "bx--toolbar-search__btn"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.openSearch() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, "ibm-icon-search16", [["class", "bx--search-magnifier"]], null, null, null, i1.View_Search16_0, i1.RenderType_Search16)), i0.ɵdid(2, 49152, null, 0, i2.Search16, [], null, null)], null, null); }
function View_Search_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-icon-search16", [["class", "bx--search-magnifier"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.openSearch() !== false);
        ad = (pd_0 && ad);
    } return ad; }, i1.View_Search16_0, i1.RenderType_Search16)), i0.ɵdid(1, 49152, null, 0, i2.Search16, [], null, null)], null, null); }
function View_Search_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_Search_3)), i0.ɵdid(1, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Search_4)), i0.ɵdid(3, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Search_5)), i0.ɵdid(5, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((!_co.toolbar || _co.active) || (_co.value !== "")); _ck(_v, 1, 0, currVal_0); var currVal_1 = (!_co.tableSearch && _co.toolbar); _ck(_v, 3, 0, currVal_1); var currVal_2 = (_co.tableSearch || !_co.toolbar); _ck(_v, 5, 0, currVal_2); }, null); }
function View_Search_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "button", [["class", "bx--search-close"]], [[8, "title", 0], [1, "aria-label", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.clearSearch() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i3.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(2, { "bx--search-close--hidden": 0 }), (_l()(), i0.ɵeld(3, 0, null, null, 1, "ibm-icon-close16", [], null, null, null, i4.View_Close16_0, i4.RenderType_Close16)), i0.ɵdid(4, 49152, null, 0, i5.Close16, [], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = "bx--search-close"; var currVal_3 = _ck(_v, 2, 0, (!_co.value || (_co.value.length === 0))); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.clearButtonTitle; var currVal_1 = _co.clearButtonTitle; _ck(_v, 0, 0, currVal_0, currVal_1); }); }
export function View_Search_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { inputRef: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 9, "div", [["class", "bx--search"], ["role", "search"]], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i3.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(3, { "bx--search--sm": 0, "bx--search--xl": 1, "bx--search--light": 2, "bx--skeleton": 3, "bx--toolbar-search": 4, "bx--toolbar-search--active": 5 }), (_l()(), i0.ɵeld(4, 0, null, null, 1, "label", [["class", "bx--label"]], [[8, "htmlFor", 0]], null, null, null, null)), (_l()(), i0.ɵted(5, null, ["", ""])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Search_1)), i0.ɵdid(7, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), (_l()(), i0.ɵand(0, [["enableInput", 2]], null, 0, null, View_Search_2)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Search_6)), i0.ɵdid(10, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "bx--search"; var currVal_1 = _ck(_v, 3, 0, (_co.size === "sm"), (_co.size === "xl"), (_co.theme === "light"), _co.skeleton, _co.toolbar, (_co.toolbar && _co.active)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_4 = _co.skeleton; var currVal_5 = i0.ɵnov(_v, 8); _ck(_v, 7, 0, currVal_4, currVal_5); var currVal_6 = (_co.tableSearch || !_co.toolbar); _ck(_v, 10, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.id; _ck(_v, 4, 0, currVal_2); var currVal_3 = _co.label; _ck(_v, 5, 0, currVal_3); }); }
export function View_Search_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-search", [], [[2, "bx--form-item", null]], [[null, "keydown"], [null, "focusout"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
        var pd_0 = (i0.ɵnov(_v, 2).keyDown($event) !== false);
        ad = (pd_0 && ad);
    } if (("focusout" === en)) {
        var pd_1 = (i0.ɵnov(_v, 2).focusOut($event) !== false);
        ad = (pd_1 && ad);
    } return ad; }, View_Search_0, RenderType_Search)), i0.ɵprd(5120, null, i6.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.Search]), i0.ɵdid(2, 49152, null, 0, i7.Search, [i0.ElementRef, i8.I18n], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).containerClass; _ck(_v, 0, 0, currVal_0); }); }
var SearchNgFactory = i0.ɵccf("ibm-search", i7.Search, View_Search_Host_0, { theme: "theme", size: "size", disabled: "disabled", toolbar: "toolbar", skeleton: "skeleton", active: "active", tableSearch: "tableSearch", name: "name", id: "id", required: "required", value: "value", autocomplete: "autocomplete", label: "label", placeholder: "placeholder", clearButtonTitle: "clearButtonTitle" }, { change: "change", valueChange: "valueChange", clear: "clear" }, []);
export { SearchNgFactory as SearchNgFactory };
//# sourceMappingURL=search.component.ngfactory.js.map