UNPKG

ws-form-builder

Version:
49 lines 7.17 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/label/label"); var i2 = require("ionic-angular/config/config"); var i3 = require("ionic-angular/components/option/option"); var i4 = require("../../../node_modules/ionic-angular/components/item/item.ngfactory"); var i5 = require("ionic-angular/components/item/item"); var i6 = require("ionic-angular/util/form"); var i7 = require("ionic-angular/components/item/item-reorder"); var i8 = require("ionic-angular/components/item/item-content"); var i9 = require("@angular/common"); var i10 = require("../../../node_modules/ionic-angular/components/select/select.ngfactory"); var i11 = require("ionic-angular/components/select/select"); var i12 = require("ionic-angular/components/app/app"); var i13 = require("ionic-angular/navigation/deep-linker"); var i14 = require("@angular/forms"); var i15 = require("./ws-select-dropdown"); var i16 = require("../../providers/form-builder/form-builder"); var styles_WsSelectDropdownComponent = [""]; var RenderType_WsSelectDropdownComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsSelectDropdownComponent, data: {} }); exports.RenderType_WsSelectDropdownComponent = RenderType_WsSelectDropdownComponent; function View_WsSelectDropdownComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ion-label", [["color", "primary"], ["floating", ""]], null, null, null, null, null)), i0.ɵdid(1, 16384, [[1, 4]], 0, i1.Label, [i2.Config, i0.ElementRef, i0.Renderer, [8, ""], [8, null], [8, null], [8, null]], { color: [0, "color"] }, null), (_l()(), i0.ɵted(2, null, ["", ""]))], function (_ck, _v) { var currVal_0 = "primary"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.question.question; _ck(_v, 2, 0, currVal_1); }); } function View_WsSelectDropdownComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ion-option", [], null, null, null, null, null)), i0.ɵdid(1, 16384, [[4, 4]], 0, i3.Option, [i0.ElementRef], { value: [0, "value"] }, null), (_l()(), i0.ɵted(2, null, ["", ""]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, "", _v.context.$implicit.value, ""); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.context.$implicit.label; _ck(_v, 2, 0, currVal_1); }); } function View_WsSelectDropdownComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 21, "ion-item", [["class", "item item-block"]], [[8, "className", 0]], null, null, i4.View_Item_0, i4.RenderType_Item)), i0.ɵdid(2, 1097728, null, 3, i5.Item, [i6.Form, i2.Config, i0.ElementRef, i0.Renderer, [2, i7.ItemReorder]], null, null), i0.ɵqud(603979776, 1, { contentLabel: 0 }), i0.ɵqud(603979776, 2, { _buttons: 1 }), i0.ɵqud(603979776, 3, { _icons: 1 }), i0.ɵdid(6, 16384, null, 0, i8.ItemContent, [], null, null), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵand(16777216, null, 1, 1, null, View_WsSelectDropdownComponent_1)), i0.ɵdid(9, 16384, null, 0, i9.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵeld(11, 0, null, 3, 10, "ion-select", [], [[2, "select-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"], [null, "keyup.space"]], 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 (("keyup.space" === en)) { var pd_1 = (i0.ɵnov(_v, 12)._keyup() !== false); ad = (pd_1 && ad); } if (("ngModelChange" === en)) { var pd_2 = ((_co.fieldValue = $event) !== false); ad = (pd_2 && ad); } if (("ionChange" === en)) { var pd_3 = (_co.selectOption($event, _co.question) !== false); ad = (pd_3 && ad); } return ad; }, i10.View_Select_0, i10.RenderType_Select)), i0.ɵdid(12, 1228800, null, 1, i11.Select, [i12.App, i6.Form, i2.Config, i0.ElementRef, i0.Renderer, [2, i5.Item], i13.DeepLinker], null, { ionChange: "ionChange" }), i0.ɵqud(603979776, 4, { options: 1 }), i0.ɵprd(1024, null, i14.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i11.Select]), i0.ɵdid(15, 671744, null, 0, i14.NgModel, [[8, null], [8, null], [8, null], [2, i14.NG_VALUE_ACCESSOR]], { model: [0, "model"] }, { update: "ngModelChange" }), i0.ɵprd(2048, null, i14.NgControl, null, [i14.NgModel]), i0.ɵdid(17, 16384, null, 0, i14.NgControlStatus, [i14.NgControl], null, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsSelectDropdownComponent_2)), i0.ɵdid(20, 802816, null, 0, i9.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.question.hideQuestion; _ck(_v, 9, 0, currVal_1); var currVal_10 = _co.fieldValue; _ck(_v, 15, 0, currVal_10); var currVal_11 = _co.question.options; _ck(_v, 20, 0, currVal_11); }, 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)._disabled; var currVal_3 = i0.ɵnov(_v, 17).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 17).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 17).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 17).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 17).ngClassValid; var currVal_8 = i0.ɵnov(_v, 17).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 17).ngClassPending; _ck(_v, 11, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); } exports.View_WsSelectDropdownComponent_0 = View_WsSelectDropdownComponent_0; function View_WsSelectDropdownComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-select-dropdown", [], null, null, null, View_WsSelectDropdownComponent_0, RenderType_WsSelectDropdownComponent)), i0.ɵdid(1, 114688, null, 0, i15.WsSelectDropdownComponent, [i16.FormBuilderProvider], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_WsSelectDropdownComponent_Host_0 = View_WsSelectDropdownComponent_Host_0; var WsSelectDropdownComponentNgFactory = i0.ɵccf("ws-select-dropdown", i15.WsSelectDropdownComponent, View_WsSelectDropdownComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []); exports.WsSelectDropdownComponentNgFactory = WsSelectDropdownComponentNgFactory; //# sourceMappingURL=ws-select-dropdown.ngfactory.js.map