UNPKG

ws-form-builder

Version:
42 lines 8.87 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("ionic-angular/components/icon/icon"); var i3 = require("ionic-angular/config/config"); var i4 = require("../../../node_modules/ionic-angular/components/checkbox/checkbox.ngfactory"); var i5 = require("@angular/forms"); var i6 = require("ionic-angular/components/checkbox/checkbox"); var i7 = require("ionic-angular/util/form"); var i8 = require("ionic-angular/components/item/item"); var i9 = require("ionic-angular/components/grid/row"); var i10 = require("@angular/common"); var i11 = require("ionic-angular/components/grid/grid"); var i12 = require("./ws-punchcard"); var i13 = require("../../providers/form-builder/form-builder"); var styles_WsPunchcardComponent = [".ws-punchard-container[_ngcontent-%COMP%] .xAxis-col[_ngcontent-%COMP%]{text-align:center}.ws-punchard-container[_ngcontent-%COMP%] .xAxis-col[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:block;font-size:30px}.ws-punchard-container[_ngcontent-%COMP%] .body-col[_ngcontent-%COMP%]{text-align:center}"]; var RenderType_WsPunchcardComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsPunchcardComponent, data: {} }); exports.RenderType_WsPunchcardComponent = RenderType_WsPunchcardComponent; function View_WsPunchcardComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, "ion-col", [["class", "col"]], null, null, null, null, null)), i0.ɵdid(1, 16384, null, 0, i1.Col, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t"])), (_l()(), i0.ɵeld(3, 0, null, null, 7, "div", [], [[8, "className", 0], [8, "id", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t"])), (_l()(), i0.ɵeld(5, 0, null, null, 1, "ion-icon", [["name", "md-star"], ["role", "img"]], [[2, "hide", null]], null, null, null, null)), i0.ɵdid(6, 147456, null, 0, i2.Icon, [i3.Config, i0.ElementRef, i0.Renderer], { name: [0, "name"] }, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t\t"])), (_l()(), i0.ɵeld(8, 0, null, null, 1, "span", [["class", "col-label"]], null, null, null, null, null)), (_l()(), i0.ɵted(9, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n\n \t\t\t"]))], function (_ck, _v) { var currVal_3 = "md-star"; _ck(_v, 6, 0, currVal_3); }, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, "xAxis-col col-", _v.context.$implicit.field, ""); var currVal_1 = i0.ɵinlineInterpolate(1, "col-", _v.context.$implicit.field, ""); _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵnov(_v, 6)._hidden; _ck(_v, 5, 0, currVal_2); var currVal_4 = _v.context.$implicit.label; _ck(_v, 9, 0, currVal_4); }); } function View_WsPunchcardComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, "ion-col", [["class", "col"]], null, null, null, null, null)), i0.ɵdid(1, 16384, null, 0, i1.Col, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t"])), (_l()(), i0.ɵeld(3, 0, null, null, 5, "div", [["class", "body-col"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t"])), (_l()(), i0.ɵeld(5, 0, null, null, 2, "ion-checkbox", [], [[2, "checkbox-disabled", null]], [[null, "ionChange"], [null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (i0.ɵnov(_v, 7)._click($event) !== false); ad = (pd_0 && ad); } if (("ionChange" === en)) { var pd_1 = (_co.updateCheckbox($event, _v.parent.context.$implicit, _v.context.$implicit, _co.question) !== false); ad = (pd_1 && ad); } return ad; }, i4.View_Checkbox_0, i4.RenderType_Checkbox)), i0.ɵprd(5120, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i6.Checkbox]), i0.ɵdid(7, 1228800, null, 0, i6.Checkbox, [i3.Config, i7.Form, [2, i8.Item], i0.ElementRef, i0.Renderer], null, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"]))], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 7)._disabled; _ck(_v, 5, 0, currVal_0); }); } function View_WsPunchcardComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n\n \t\t\t"])), (_l()(), i0.ɵeld(2, 0, null, null, 9, "ion-row", [["class", "row"]], null, null, null, null, null)), i0.ɵdid(3, 16384, null, 0, i9.Row, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t\t"])), (_l()(), i0.ɵeld(5, 0, null, null, 2, "ion-col", [["class", "col"]], null, null, null, null, null)), i0.ɵdid(6, 16384, null, 0, i1.Col, [], null, null), (_l()(), i0.ɵted(7, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n\t\t\t\n \t\t\t"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsPunchcardComponent_3)), i0.ɵdid(10, 802816, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t\t"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.question.xAxis; _ck(_v, 10, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.label; _ck(_v, 7, 0, currVal_0); }); } function View_WsPunchcardComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "pre", [["style", "max-height:150px;"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [" ", "\n "])), i0.ɵpid(0, i10.JsonPipe, [])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(_co.fieldAnswers)); _ck(_v, 1, 0, currVal_0); }); } function View_WsPunchcardComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 19, "div", [["class", "ws-punchard-container"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵeld(3, 0, null, null, 16, "ion-grid", [["class", "grid"]], null, null, null, null, null)), i0.ɵdid(4, 16384, null, 0, i11.Grid, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(6, 0, null, null, 9, "ion-row", [["class", "row"]], null, null, null, null, null)), i0.ɵdid(7, 16384, null, 0, i9.Row, [], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(9, 0, null, null, 1, "ion-col", [["class", "col"]], null, null, null, null, null)), i0.ɵdid(10, 16384, null, 0, i1.Col, [], null, null), (_l()(), i0.ɵted(-1, null, [" "])), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsPunchcardComponent_1)), i0.ɵdid(14, 802816, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n\t\t\n \t\t"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsPunchcardComponent_2)), i0.ɵdid(18, 802816, null, 0, i10.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n\n\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsPunchcardComponent_4)), i0.ɵdid(23, 16384, null, 0, i10.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.question.xAxis; _ck(_v, 14, 0, currVal_0); var currVal_1 = _co.question.yAxis; _ck(_v, 18, 0, currVal_1); var currVal_2 = _co.isDebug; _ck(_v, 23, 0, currVal_2); }, null); } exports.View_WsPunchcardComponent_0 = View_WsPunchcardComponent_0; function View_WsPunchcardComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-punchcard", [], null, null, null, View_WsPunchcardComponent_0, RenderType_WsPunchcardComponent)), i0.ɵdid(1, 114688, null, 0, i12.WsPunchcardComponent, [i13.FormBuilderProvider], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_WsPunchcardComponent_Host_0 = View_WsPunchcardComponent_Host_0; var WsPunchcardComponentNgFactory = i0.ɵccf("ws-punchcard", i12.WsPunchcardComponent, View_WsPunchcardComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []); exports.WsPunchcardComponentNgFactory = WsPunchcardComponentNgFactory; //# sourceMappingURL=ws-punchcard.ngfactory.js.map