UNPKG

ws-form-builder

Version:
46 lines 6.51 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("../../../node_modules/ionic-angular/components/item/item.ngfactory"); var i2 = require("ionic-angular/components/item/item"); var i3 = require("ionic-angular/util/form"); var i4 = require("ionic-angular/config/config"); var i5 = require("ionic-angular/components/item/item-reorder"); var i6 = require("ionic-angular/components/item/item-content"); var i7 = require("ionic-angular/components/label/label"); var i8 = require("../../../node_modules/ionic-angular/components/checkbox/checkbox.ngfactory"); var i9 = require("ionic-angular/components/checkbox/checkbox"); var i10 = require("@angular/forms"); var i11 = require("ionic-angular/components/list/list"); var i12 = require("ionic-angular/platform/platform"); var i13 = require("ionic-angular/gestures/gesture-controller"); var i14 = require("ionic-angular/platform/dom-controller"); var i15 = require("@angular/common"); var i16 = require("./ws-checkbox-group"); var i17 = require("../../providers/form-builder/form-builder"); var styles_WsCheckboxGroupComponent = [""]; var RenderType_WsCheckboxGroupComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsCheckboxGroupComponent, data: {} }); exports.RenderType_WsCheckboxGroupComponent = RenderType_WsCheckboxGroupComponent; function View_WsCheckboxGroupComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 17, "ion-item", [["class", "item item-block"]], null, null, null, i1.View_Item_0, i1.RenderType_Item)), i0.ɵdid(1, 1097728, null, 3, i2.Item, [i3.Form, i4.Config, i0.ElementRef, i0.Renderer, [2, i5.ItemReorder]], null, null), i0.ɵqud(335544320, 1, { contentLabel: 0 }), i0.ɵqud(603979776, 2, { _buttons: 1 }), i0.ɵqud(603979776, 3, { _icons: 1 }), i0.ɵdid(5, 16384, null, 0, i6.ItemContent, [], null, null), (_l()(), i0.ɵted(-1, 2, ["]\n "])), (_l()(), i0.ɵeld(7, 0, null, 1, 2, "ion-label", [], null, null, null, null, null)), i0.ɵdid(8, 16384, [[1, 4]], 0, i7.Label, [i4.Config, i0.ElementRef, i0.Renderer, [8, null], [8, null], [8, null], [8, null]], null, null), (_l()(), i0.ɵted(9, null, ["", ""])), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵeld(11, 0, null, 0, 5, "ion-checkbox", [], [[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, 12)._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; }, i8.View_Checkbox_0, i8.RenderType_Checkbox)), i0.ɵdid(12, 1228800, null, 0, i9.Checkbox, [i4.Config, i3.Form, [2, i2.Item], i0.ElementRef, i0.Renderer], null, { ionChange: "ionChange" }), i0.ɵprd(1024, null, i10.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i9.Checkbox]), i0.ɵdid(14, 671744, null, 0, i10.NgModel, [[8, null], [8, null], [8, null], [2, i10.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i0.ɵprd(2048, null, i10.NgControl, null, [i10.NgModel]), i0.ɵdid(16, 16384, null, 0, i10.NgControlStatus, [i10.NgControl], null, null), (_l()(), i0.ɵted(-1, 2, ["\n "]))], function (_ck, _v) { var currVal_9 = _v.context.$implicit.value; _ck(_v, 14, 0, currVal_9); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.label; _ck(_v, 9, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 12)._disabled; var currVal_2 = i0.ɵnov(_v, 16).ngClassUntouched; var currVal_3 = i0.ɵnov(_v, 16).ngClassTouched; var currVal_4 = i0.ɵnov(_v, 16).ngClassPristine; var currVal_5 = i0.ɵnov(_v, 16).ngClassDirty; var currVal_6 = i0.ɵnov(_v, 16).ngClassValid; var currVal_7 = i0.ɵnov(_v, 16).ngClassInvalid; var currVal_8 = i0.ɵnov(_v, 16).ngClassPending; _ck(_v, 11, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); } function View_WsCheckboxGroupComponent_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, 5, "ion-list", [["checkbox-group", ""]], null, null, null, null, null)), i0.ɵdid(5, 16384, null, 0, i11.List, [i4.Config, i0.ElementRef, i0.Renderer, i12.Platform, i13.GestureController, i14.DomController], null, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsCheckboxGroupComponent_1)), i0.ɵdid(8, 802816, null, 0, i15.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_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, 8, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.question.question; _ck(_v, 2, 0, currVal_0); }); } exports.View_WsCheckboxGroupComponent_0 = View_WsCheckboxGroupComponent_0; function View_WsCheckboxGroupComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-checkbox-group", [], null, null, null, View_WsCheckboxGroupComponent_0, RenderType_WsCheckboxGroupComponent)), i0.ɵdid(1, 49152, null, 0, i16.WsCheckboxGroupComponent, [i17.FormBuilderProvider], null, null)], null, null); } exports.View_WsCheckboxGroupComponent_Host_0 = View_WsCheckboxGroupComponent_Host_0; var WsCheckboxGroupComponentNgFactory = i0.ɵccf("ws-checkbox-group", i16.WsCheckboxGroupComponent, View_WsCheckboxGroupComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []); exports.WsCheckboxGroupComponentNgFactory = WsCheckboxGroupComponentNgFactory; //# sourceMappingURL=ws-checkbox-group.ngfactory.js.map