/**
 *
 * carbon-angular v0.0.0 | table-head-cell.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 "../../dialog/dialog.service";
import * as i3 from "../../placeholder/placeholder.service";
import * as i4 from "../../dialog/tooltip/tooltip.directive";
import * as i5 from "./table-head-cell.component";
import * as i6 from "../../i18n/i18n.service";
var styles_TableHeadCell = [];
var RenderType_TableHeadCell = i0.ɵcrt({ encapsulation: 2, styles: styles_TableHeadCell, data: {} });
export { RenderType_TableHeadCell as RenderType_TableHeadCell };
function View_TableHeadCell_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.column.data; _ck(_v, 1, 0, currVal_0); }); }
function View_TableHeadCell_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "span", [["tabindex", "-1"]], [[8, "title", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_3)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.skeleton; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.column.data; _ck(_v, 0, 0, currVal_0); }); }
function View_TableHeadCell_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_TableHeadCell_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 2, null, View_TableHeadCell_5)), i0.ɵdid(1, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutletContext: [0, "ngTemplateOutletContext"], ngTemplateOutlet: [1, "ngTemplateOutlet"] }, null), i0.ɵpod(2, { data: 0 }), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.column.data); var currVal_1 = _co.column.template; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
function View_TableHeadCell_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, ":svg:svg", [["aria-hidden", "true"], ["class", "bx--table-sort__icon"], ["focusable", "false"], ["height", "16"], ["preserveAspectRatio", "xMidYMid meet"], ["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(1, 0, null, null, 0, ":svg:path", [["d", "M12.3 9.3l-3.8 3.8V1h-1v12.1L3.7 9.3 3 10l5 5 5-5z"]], null, null, null, null, null))], null, null); }
function View_TableHeadCell_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, ":svg:svg", [["aria-hidden", "true"], ["class", "bx--table-sort__icon-unsorted"], ["focusable", "false"], ["height", "16"], ["preserveAspectRatio", "xMidYMid meet"], ["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(1, 0, null, null, 0, ":svg:path", [["d", "M13.8 10.3L12 12.1V2h-1v10.1l-1.8-1.8-.7.7 3 3 3-3zM4.5 2l-3 3 .7.7L4 3.9V14h1V3.9l1.8 1.8.7-.7z"]], null, null, null, null, null))], null, null); }
function View_TableHeadCell_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, "button", [["aria-live", "polite"], ["class", "bx--table-sort"]], [[1, "aria-label", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.onClick() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), 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--table-sort--active": 0, "bx--table-sort--ascending": 1 }), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_2)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_4)), i0.ɵdid(7, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_6)), i0.ɵdid(9, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_7)), i0.ɵdid(11, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = "bx--table-sort"; var currVal_2 = _ck(_v, 2, 0, _co.column.sorted, _co.column.ascending); _ck(_v, 1, 0, currVal_1, currVal_2); var currVal_3 = !_co.column.template; _ck(_v, 5, 0, currVal_3); var currVal_4 = !_co.skeleton; _ck(_v, 7, 0, currVal_4); var currVal_5 = !_co.skeleton; _ck(_v, 9, 0, currVal_5); var currVal_6 = !_co.skeleton; _ck(_v, 11, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 3).transform(((_co.column.sorted && _co.column.ascending) ? _co.getSortDescendingLabel() : _co.getSortAscendingLabel()))); _ck(_v, 0, 0, currVal_0); }); }
function View_TableHeadCell_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "span", [], [[8, "title", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.column.data; _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.column.data; _ck(_v, 1, 0, currVal_1); }); }
function View_TableHeadCell_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_TableHeadCell_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, "span", [["class", "bx--table-header-label"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_9)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 2, null, View_TableHeadCell_10)), i0.ɵdid(4, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutletContext: [0, "ngTemplateOutletContext"], ngTemplateOutlet: [1, "ngTemplateOutlet"] }, null), i0.ɵpod(5, { data: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.column.template; _ck(_v, 2, 0, currVal_0); var currVal_1 = _ck(_v, 5, 0, _co.column.data); var currVal_2 = _co.column.template; _ck(_v, 4, 0, currVal_1, currVal_2); }, null); }
function View_TableHeadCell_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [" ", " "]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.column.filterCount; _ck(_v, 1, 0, currVal_0); }); }
function View_TableHeadCell_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 9, "button", [["aria-expanded", "false"], ["aria-haspopup", "true"], ["placement", "bottom,top"], ["trigger", "click"], ["type", "button"]], [[1, "role", 0], [1, "aria-expanded", 0], [1, "aria-haspopup", 0], [1, "aria-owns", 0], [8, "tabIndex", 0], [2, "bx--tooltip__trigger", null], [1, "aria-describedby", 0]], [[null, "touchstart"]], function (_v, en, $event) { var ad = true; if (("touchstart" === en)) {
        var pd_0 = (i0.ɵnov(_v, 4).onTouchStart($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, "ngClass"] }, null), i0.ɵpod(2, { "active": 0 }), i0.ɵprd(131584, null, i2.DialogService, i2.DialogService, [i0.ComponentFactoryResolver, i0.Injector, i3.PlaceholderService]), i0.ɵdid(4, 737280, null, 0, i4.TooltipDirective, [i0.ElementRef, i0.ViewContainerRef, i2.DialogService], { title: [0, "title"], trigger: [1, "trigger"], placement: [2, "placement"], data: [3, "data"], ibmTooltip: [4, "ibmTooltip"] }, null), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 1, ":svg:svg", [["class", "icon--sm"], ["height", "16"], ["viewBox", "0 0 16 16"], ["width", "16"], ["xmlns", "http://www.w3.org/2000/svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 0, ":svg:path", [["d", "M0 0v3l6 8v5h4v-5l6-8V0H0zm9 10.7V15H7v-4.3L1.3 3h13.5L9 10.7z"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_12)), i0.ɵdid(9, 16384, null, 0, i1.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_7 = _ck(_v, 2, 0, (_co.column.filterCount > 0)); _ck(_v, 1, 0, currVal_7); var currVal_8 = i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(_co.getFilterTitle())); var currVal_9 = "click"; var currVal_10 = "bottom,top"; var currVal_11 = _co.column.filterData; var currVal_12 = _co.column.filterTemplate; _ck(_v, 4, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12); var currVal_13 = (_co.column.filterCount > 0); _ck(_v, 9, 0, currVal_13); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4).role; var currVal_1 = i0.ɵnov(_v, 4).expanded; var currVal_2 = i0.ɵnov(_v, 4).hasPopup; var currVal_3 = i0.ɵnov(_v, 4).ariaOwns; var currVal_4 = i0.ɵnov(_v, 4).tabIndex; var currVal_5 = i0.ɵnov(_v, 4).className; var currVal_6 = i0.ɵnov(_v, 4).descriptorId; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }
export function View_TableHeadCell_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_1)), i0.ɵdid(1, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_TableHeadCell_8)), 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_TableHeadCell_11)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.sortable && (_co.sort.observers.length > 0)) && _co.column.sortable); _ck(_v, 1, 0, currVal_0); var currVal_1 = (((!_co.skeleton && (_co.sort.observers.length === 0)) || ((_co.sort.observers.length > 0) && !_co.column.sortable)) || !_co.sortable); _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.column.filterTemplate; _ck(_v, 5, 0, currVal_2); }, null); }
export function View_TableHeadCell_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["ibmTableHeadCell", ""]], [[2, "thead_action", null]], null, null, View_TableHeadCell_0, RenderType_TableHeadCell)), i0.ɵdid(1, 573440, null, 0, i5.TableHeadCell, [i6.I18n], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).theadAction; _ck(_v, 0, 0, currVal_0); }); }
var TableHeadCellNgFactory = i0.ɵccf("[ibmTableHeadCell]", i5.TableHeadCell, View_TableHeadCell_Host_0, { column: "column", skeleton: "skeleton", sortable: "sortable", sortDescendingLabel: "sortDescendingLabel", sortAscendingLabel: "sortAscendingLabel", filterTitle: "filterTitle" }, { sort: "sort" }, []);
export { TableHeadCellNgFactory as TableHeadCellNgFactory };
//# sourceMappingURL=table-head-cell.component.ngfactory.js.map