UNPKG

ws-form-builder

Version:
42 lines 6.89 kB
"use strict"; /** * @fileoverview This file is generated by the Angular template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride} * tslint:disable */ Object.defineProperty(exports, "__esModule", { value: true }); var i0 = require("@angular/core"); var i1 = require("ionic-angular/components/grid/col"); var i2 = require("../../../node_modules/ionic-angular/components/checkbox/checkbox.ngfactory"); var i3 = require("ionic-angular/components/checkbox/checkbox"); var i4 = require("ionic-angular/config/config"); var i5 = require("ionic-angular/util/form"); var i6 = require("ionic-angular/components/item/item"); var i7 = require("@angular/forms"); var i8 = require("ionic-angular/components/icon/icon"); var i9 = require("ionic-angular/components/grid/grid"); var i10 = require("ionic-angular/components/grid/row"); var i11 = require("@angular/common"); var i12 = require("./ws-checkbox-grid"); var i13 = require("../../providers/form-builder/form-builder"); var styles_WsCheckboxGridComponent = [""]; var RenderType_WsCheckboxGridComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsCheckboxGridComponent, data: {} }); exports.RenderType_WsCheckboxGridComponent = RenderType_WsCheckboxGridComponent; function View_WsCheckboxGridComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 21, "ion-col", [["class", "col"], ["col-6", ""]], null, null, null, null, null)), i0.ɵdid(1, 16384, null, 0, i1.Col, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(3, 0, null, null, 17, "div", [["class", "checkbox-card"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t"])), (_l()(), i0.ɵeld(5, 0, null, null, 5, "ion-checkbox", [["class", "card-checkbox-area"]], [[2, "checkbox-disabled", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "ionChange"], [null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (i0.ɵnov(_v, 6)._click($event) !== false); ad = (pd_0 && ad); } if (("ngModelChange" === en)) { var pd_1 = ((_v.context.$implicit.value = $event) !== false); ad = (pd_1 && ad); } if (("ionChange" === en)) { var pd_2 = (_co.selectOption($event, _co.question, _v.context.index, _v.context.$implicit) !== false); ad = (pd_2 && ad); } return ad; }, i2.View_Checkbox_0, i2.RenderType_Checkbox)), i0.ɵdid(6, 1228800, null, 0, i3.Checkbox, [i4.Config, i5.Form, [2, i6.Item], i0.ElementRef, i0.Renderer], null, { ionChange: "ionChange" }), i0.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.Checkbox]), i0.ɵdid(8, 671744, null, 0, i7.NgModel, [[8, null], [8, null], [8, null], [2, i7.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i0.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i0.ɵdid(10, 16384, null, 0, i7.NgControlStatus, [i7.NgControl], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t"])), (_l()(), i0.ɵeld(12, 0, null, null, 7, "div", [["class", "checkbox-card__inner"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t\t"])), (_l()(), i0.ɵeld(14, 0, null, null, 1, "ion-icon", [["role", "img"]], [[2, "hide", null]], null, null, null, null)), i0.ɵdid(15, 147456, null, 0, i8.Icon, [i4.Config, i0.ElementRef, i0.Renderer], { name: [0, "name"] }, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t\t"])), (_l()(), i0.ɵeld(17, 0, null, null, 1, "span", [["class", "option-label"]], null, null, null, null, null)), (_l()(), i0.ɵted(18, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t\t "]))], function (_ck, _v) { var currVal_8 = _v.context.$implicit.value; _ck(_v, 8, 0, currVal_8); var currVal_10 = i0.ɵinlineInterpolate(1, "", _v.context.$implicit.icon, ""); _ck(_v, 15, 0, currVal_10); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 6)._disabled; var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 5, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i0.ɵnov(_v, 15)._hidden; _ck(_v, 14, 0, currVal_9); var currVal_11 = _v.context.$implicit.label; _ck(_v, 18, 0, currVal_11); }); } function View_WsCheckboxGridComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 1, "strong", [], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(4, 0, null, null, 9, "ion-grid", [["class", "grid"]], null, null, null, null, null)), i0.ɵdid(5, 16384, null, 0, i9.Grid, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵeld(7, 0, null, null, 5, "ion-row", [["class", "row"]], null, null, null, null, null)), i0.ɵdid(8, 16384, null, 0, i10.Row, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \n \t\t"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsCheckboxGridComponent_1)), i0.ɵdid(11, 802816, null, 0, i11.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.question.options; _ck(_v, 11, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.question.question; _ck(_v, 2, 0, currVal_0); }); } exports.View_WsCheckboxGridComponent_0 = View_WsCheckboxGridComponent_0; function View_WsCheckboxGridComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-checkbox-grid", [], null, null, null, View_WsCheckboxGridComponent_0, RenderType_WsCheckboxGridComponent)), i0.ɵdid(1, 49152, null, 0, i12.WsCheckboxGridComponent, [i13.FormBuilderProvider], null, null)], null, null); } exports.View_WsCheckboxGridComponent_Host_0 = View_WsCheckboxGridComponent_Host_0; var WsCheckboxGridComponentNgFactory = i0.ɵccf("ws-checkbox-grid", i12.WsCheckboxGridComponent, View_WsCheckboxGridComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []); exports.WsCheckboxGridComponentNgFactory = WsCheckboxGridComponentNgFactory; //# sourceMappingURL=ws-checkbox-grid.ngfactory.js.map