carbon-components-angular
Version:
Next generation components
47 lines (44 loc) • 4.68 kB
JavaScript
/*!
*
* Neutrino v0.0.0 | list-group.component.ngfactory.js
*
* Copyright 2014, 2018 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 "./list-group.component";
var styles_ListGroup = [];
var RenderType_ListGroup = i0.ɵcrt({ encapsulation: 2, styles: styles_ListGroup, data: {} });
export { RenderType_ListGroup as RenderType_ListGroup };
function View_ListGroup_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 currVal_0 = _v.parent.context.$implicit.content; _ck(_v, 1, 0, currVal_0); }); }
function View_ListGroup_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }
function View_ListGroup_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 2, null, View_ListGroup_4)), i0.ɵdid(1, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutletContext: [0, "ngTemplateOutletContext"], ngTemplateOutlet: [1, "ngTemplateOutlet"] }, null), i0.ɵpod(2, { item: 0 }), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _v.parent.context.$implicit); var currVal_1 = _co.listTpl; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
function View_ListGroup_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "li", [["role", "option"]], [[8, "tabIndex", 0], [1, "aria-selected", 0], [1, "aria-disabled", 0]], [[null, "click"], [null, "keydown"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.doClick($event, _v.context.$implicit) !== false);
ad = (pd_0 && ad);
} if (("keydown" === en)) {
var pd_1 = (_co.doKeyDown($event, _v.context.$implicit) !== false);
ad = (pd_1 && ad);
} return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ListGroup_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_ListGroup_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_3 = !_co.listTpl; _ck(_v, 2, 0, currVal_3); var currVal_4 = _co.listTpl; _ck(_v, 4, 0, currVal_4); }, function (_ck, _v) { var currVal_0 = (_v.context.$implicit.disabled ? (0 - 1) : 0); var currVal_1 = (_v.context.$implicit.selected ? true : false); var currVal_2 = (_v.context.$implicit.disabled ? "true" : null); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }
export function View_ListGroup_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [["listGroup", 1]], null, 2, "ul", [["class", "list-group"], ["role", "listbox"]], [[1, "aria-multiselectable", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ListGroup_1)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.items; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.checkMark ? true : false); _ck(_v, 0, 0, currVal_0); }); }
export function View_ListGroup_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-list-group", [], null, null, null, View_ListGroup_0, RenderType_ListGroup)), i0.ɵdid(1, 49152, null, 0, i2.ListGroup, [], null, null)], null, null); }
var ListGroupNgFactory = i0.ɵccf("ibm-list-group", i2.ListGroup, View_ListGroup_Host_0, { items: "items", listTpl: "listTpl", checkMark: "checkMark" }, { selected: "selected" }, []);
export { ListGroupNgFactory as ListGroupNgFactory };
//# sourceMappingURL=list-group.component.ngfactory.js.map