UNPKG

carbon-components-angular

Version:
43 lines (40 loc) 3.63 kB
/*! * * Neutrino v0.0.0 | checkbox.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/forms"; import * as i2 from "./checkbox.component"; var styles_Checkbox = []; var RenderType_Checkbox = i0.ɵcrt({ encapsulation: 2, styles: styles_Checkbox, data: {} }); export { RenderType_Checkbox as RenderType_Checkbox }; export function View_Checkbox_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { inputCheckbox: 0 }), (_l()(), i0.ɵeld(1, 0, [[1, 0], ["inputCheckbox", 1]], null, 0, "input", [["class", "bx--checkbox"], ["type", "checkbox"]], [[8, "id", 0], [8, "value", 0], [8, "name", 0], [8, "required", 0], [8, "checked", 0], [8, "disabled", 0], [8, "indeterminate", 0], [1, "aria-label", 0], [1, "aria-labelledby", 0], [1, "aria-checked", 0]], [[null, "change"], [null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("change" === en)) { var pd_0 = (_co.onChange($event) !== false); ad = (pd_0 && ad); } if (("click" === en)) { var pd_1 = (_co.onClick($event) !== false); ad = (pd_1 && ad); } return ad; }, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, "label", [["class", "bx--checkbox-label"]], [[8, "htmlFor", 0]], null, null, null, null)), i0.ɵncd(null, 0)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.id; var currVal_1 = _co.value; var currVal_2 = _co.name; var currVal_3 = _co.required; var currVal_4 = _co.checked; var currVal_5 = _co.disabled; var currVal_6 = _co.indeterminate; var currVal_7 = _co.ariaLabel; var currVal_8 = _co.ariaLabelledby; var currVal_9 = (_co.indeterminate ? "mixed" : _co.checked); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_10 = _co.id; _ck(_v, 2, 0, currVal_10); }); } export function View_Checkbox_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-checkbox", [], [[1, "class", 0]], null, null, View_Checkbox_0, RenderType_Checkbox)), i0.ɵprd(5120, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.Checkbox]), i0.ɵdid(2, 4243456, null, 0, i2.Checkbox, [i0.ChangeDetectorRef], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).class; _ck(_v, 0, 0, currVal_0); }); } var CheckboxNgFactory = i0.ɵccf("ibm-checkbox", i2.Checkbox, View_Checkbox_Host_0, { size: "size", inline: "inline", nested: "nested", disabled: "disabled", name: "name", id: "id", required: "required", value: "value", ariaLabel: "aria-label", ariaLabelledby: "aria-labelledby", indeterminate: "indeterminate", checked: "checked" }, { change: "change", indeterminateChange: "indeterminateChange" }, ["*"]); export { CheckboxNgFactory as CheckboxNgFactory }; //# sourceMappingURL=checkbox.component.ngfactory.js.map