ws-form-builder
Version:
Ionic 2 Form Builder
48 lines • 7.55 kB
JavaScript
"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/radio/radio-button.ngfactory");
var i9 = require("ionic-angular/components/radio/radio-button");
var i10 = require("ionic-angular/components/radio/radio-group");
var i11 = require("@angular/common");
var i12 = require("@angular/forms");
var i13 = require("ionic-angular/components/list/list");
var i14 = require("ionic-angular/platform/platform");
var i15 = require("ionic-angular/gestures/gesture-controller");
var i16 = require("ionic-angular/platform/dom-controller");
var i17 = require("./ws-radio-group");
var i18 = require("../../providers/form-builder/form-builder");
var styles_WsRadioGroupComponent = [""];
var RenderType_WsRadioGroupComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsRadioGroupComponent, data: {} });
exports.RenderType_WsRadioGroupComponent = RenderType_WsRadioGroupComponent;
function View_WsRadioGroupComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "strong", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.question.question; _ck(_v, 1, 0, currVal_0); }); }
function View_WsRadioGroupComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 13, "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, 2, { contentLabel: 0 }), i0.ɵqud(603979776, 3, { _buttons: 1 }), i0.ɵqud(603979776, 4, { _icons: 1 }), i0.ɵdid(5, 16384, null, 0, i6.ItemContent, [], null, null), (_l()(), i0.ɵted(-1, 2, ["\n \t "])), (_l()(), i0.ɵeld(7, 0, null, 1, 2, "ion-label", [], null, null, null, null, null)), i0.ɵdid(8, 16384, [[2, 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 \t "])), (_l()(), i0.ɵeld(11, 0, null, 4, 1, "ion-radio", [], [[2, "radio-disabled", null]], [[null, "ionSelect"], [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 (("ionSelect" === en)) {
var pd_1 = (_co.selectOption($event, _co.question) !== false);
ad = (pd_1 && ad);
} return ad; }, i8.View_RadioButton_0, i8.RenderType_RadioButton)), i0.ɵdid(12, 245760, null, 0, i9.RadioButton, [i3.Form, i4.Config, i0.ElementRef, i0.Renderer, [2, i2.Item], [2, i10.RadioGroup]], { value: [0, "value"] }, { ionSelect: "ionSelect" }), (_l()(), i0.ɵted(-1, 2, ["\n \t "]))], function (_ck, _v) { var currVal_2 = i0.ɵinlineInterpolate(1, "", _v.context.$implicit.value, ""); _ck(_v, 12, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.label; _ck(_v, 9, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 12)._disabled; _ck(_v, 11, 0, currVal_1); }); }
function View_WsRadioGroupComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 17, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsRadioGroupComponent_1)), i0.ɵdid(4, 16384, null, 0, i11.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵeld(6, 0, null, null, 11, "ion-list", [["radio-group", ""], ["role", "radiogroup"]], [[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"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ngModelChange" === en)) {
var pd_0 = ((_co.fieldValue = $event) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), i0.ɵdid(7, 1064960, null, 1, i10.RadioGroup, [i0.Renderer, i0.ElementRef, i0.ChangeDetectorRef], null, null), i0.ɵqud(335544320, 1, { _header: 0 }), i0.ɵprd(1024, null, i12.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i10.RadioGroup]), i0.ɵdid(10, 671744, null, 0, i12.NgModel, [[8, null], [8, null], [8, null], [2, i12.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i0.ɵprd(2048, null, i12.NgControl, null, [i12.NgModel]), i0.ɵdid(12, 16384, null, 0, i12.NgControlStatus, [i12.NgControl], null, null), i0.ɵdid(13, 16384, null, 0, i13.List, [i4.Config, i0.ElementRef, i0.Renderer, i14.Platform, i15.GestureController, i16.DomController], null, null), (_l()(), i0.ɵted(-1, null, ["\n \t "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsRadioGroupComponent_2)), i0.ɵdid(16, 802816, null, 0, i11.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n "])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.question.hideQuestion; _ck(_v, 4, 0, currVal_1); var currVal_9 = _co.fieldValue; _ck(_v, 10, 0, currVal_9); var currVal_10 = _co.question.options; _ck(_v, 16, 0, currVal_10); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "", _co.fieldClass, ""); _ck(_v, 1, 0, currVal_0); var currVal_2 = i0.ɵnov(_v, 12).ngClassUntouched; var currVal_3 = i0.ɵnov(_v, 12).ngClassTouched; var currVal_4 = i0.ɵnov(_v, 12).ngClassPristine; var currVal_5 = i0.ɵnov(_v, 12).ngClassDirty; var currVal_6 = i0.ɵnov(_v, 12).ngClassValid; var currVal_7 = i0.ɵnov(_v, 12).ngClassInvalid; var currVal_8 = i0.ɵnov(_v, 12).ngClassPending; _ck(_v, 6, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }
exports.View_WsRadioGroupComponent_0 = View_WsRadioGroupComponent_0;
function View_WsRadioGroupComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-radio-group", [], null, null, null, View_WsRadioGroupComponent_0, RenderType_WsRadioGroupComponent)), i0.ɵdid(1, 114688, null, 0, i17.WsRadioGroupComponent, [i18.FormBuilderProvider], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
exports.View_WsRadioGroupComponent_Host_0 = View_WsRadioGroupComponent_Host_0;
var WsRadioGroupComponentNgFactory = i0.ɵccf("ws-radio-group", i17.WsRadioGroupComponent, View_WsRadioGroupComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []);
exports.WsRadioGroupComponentNgFactory = WsRadioGroupComponentNgFactory;
//# sourceMappingURL=ws-radio-group.ngfactory.js.map