UNPKG

ws-form-builder

Version:
49 lines 11.5 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/input/input.ngfactory"); var i2 = require("ionic-angular/components/input/input"); var i3 = require("ionic-angular/config/config"); var i4 = require("ionic-angular/platform/platform"); var i5 = require("ionic-angular/util/form"); var i6 = require("ionic-angular/components/app/app"); var i7 = require("ionic-angular/components/content/content"); var i8 = require("ionic-angular/components/item/item"); var i9 = require("@angular/forms"); var i10 = require("ionic-angular/platform/dom-controller"); var i11 = require("./ws-pincode"); var i12 = require("../../providers/form-builder/form-builder"); var styles_WsPincodeComponent = [".pincode-container[_ngcontent-%COMP%]{border:1px solid #ddd;text-align:center;padding:20px 0;margin-top:15px}.pincode-container[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{border:1px solid #ddd;display:inline-block}.pincode-container[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-align:center;font-size:1.5em;background-color:#fff}.pincode-container.pincode-length-2[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 2)}.pincode-container.pincode-length-3[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 3)}.pincode-container.pincode-length-4[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 4)}.pincode-container.pincode-length-5[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 5)}.pincode-container.pincode-length-6[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 6)}.pincode-container.pincode-length-7[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 7)}.pincode-container.pincode-length-8[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 8)}.pincode-container.pincode-length-9[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 9)}.pincode-container.pincode-length-10[_ngcontent-%COMP%] .pincode-holder[_ngcontent-%COMP%]{width:calc(80% / 10)}"]; var RenderType_WsPincodeComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsPincodeComponent, data: {} }); exports.RenderType_WsPincodeComponent = RenderType_WsPincodeComponent; function View_WsPincodeComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { pincode1: 0 }), i0.ɵqud(402653184, 2, { pincode2: 0 }), i0.ɵqud(402653184, 3, { pincode3: 0 }), i0.ɵqud(402653184, 4, { pincode4: 0 }), i0.ɵqud(402653184, 5, { pincode5: 0 }), i0.ɵqud(402653184, 6, { pincode6: 0 }), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(7, 0, null, null, 55, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n\n\n\n\n \t"])), (_l()(), i0.ɵeld(9, 0, null, null, 7, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(11, 0, null, null, 4, "div", [["class", "pincode-holder"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(13, 0, null, null, 1, "ion-input", [["id", "pincode-1"], ["inputmode", "numeric"], ["min", "0"], ["pattern", "[0-9]*"], ["type", "number"]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.updateField($event, 0) !== false); ad = (pd_0 && ad); } return ad; }, i1.View_TextInput_0, i1.RenderType_TextInput)), i0.ɵdid(14, 5423104, [[1, 4], ["pincode1", 4]], 0, i2.TextInput, [i3.Config, i4.Platform, i5.Form, i6.App, i0.ElementRef, i0.Renderer, [2, i7.Content], [2, i8.Item], [2, i9.NgControl], i10.DomController], { type: [0, "type"], min: [1, "min"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n \t"])), (_l()(), i0.ɵeld(18, 0, null, null, 7, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(20, 0, null, null, 4, "div", [["class", "pincode-holder"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(22, 0, null, null, 1, "ion-input", [["id", "pincode-2"], ["inputmode", "numeric"], ["min", "0"], ["pattern", "[0-9]*"], ["type", "number"]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.updateField($event, 1) !== false); ad = (pd_0 && ad); } return ad; }, i1.View_TextInput_0, i1.RenderType_TextInput)), i0.ɵdid(23, 5423104, [[2, 4], ["pincode2", 4]], 0, i2.TextInput, [i3.Config, i4.Platform, i5.Form, i6.App, i0.ElementRef, i0.Renderer, [2, i7.Content], [2, i8.Item], [2, i9.NgControl], i10.DomController], { type: [0, "type"], min: [1, "min"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n \t"])), (_l()(), i0.ɵeld(27, 0, null, null, 7, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(29, 0, null, null, 4, "div", [["class", "pincode-holder"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(31, 0, null, null, 1, "ion-input", [["id", "pincode-3"], ["inputmode", "numeric"], ["min", "0"], ["pattern", "[0-9]*"], ["type", "number"]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.updateField($event, 2) !== false); ad = (pd_0 && ad); } return ad; }, i1.View_TextInput_0, i1.RenderType_TextInput)), i0.ɵdid(32, 5423104, [[3, 4], ["pincode3", 4]], 0, i2.TextInput, [i3.Config, i4.Platform, i5.Form, i6.App, i0.ElementRef, i0.Renderer, [2, i7.Content], [2, i8.Item], [2, i9.NgControl], i10.DomController], { type: [0, "type"], min: [1, "min"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n \t"])), (_l()(), i0.ɵeld(36, 0, null, null, 7, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(38, 0, null, null, 4, "div", [["class", "pincode-holder"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(40, 0, null, null, 1, "ion-input", [["id", "pincode-4"], ["inputmode", "numeric"], ["min", "0"], ["pattern", "[0-9]*"], ["type", "number"]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.updateField($event, 3) !== false); ad = (pd_0 && ad); } return ad; }, i1.View_TextInput_0, i1.RenderType_TextInput)), i0.ɵdid(41, 5423104, [[4, 4], ["pincode4", 4]], 0, i2.TextInput, [i3.Config, i4.Platform, i5.Form, i6.App, i0.ElementRef, i0.Renderer, [2, i7.Content], [2, i8.Item], [2, i9.NgControl], i10.DomController], { type: [0, "type"], min: [1, "min"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n \t"])), (_l()(), i0.ɵeld(45, 0, null, null, 7, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(47, 0, null, null, 4, "div", [["class", "pincode-holder"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(49, 0, null, null, 1, "ion-input", [["id", "pincode-5"], ["inputmode", "numeric"], ["min", "0"], ["pattern", "[0-9]*"], ["type", "number"]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.updateField($event, 4) !== false); ad = (pd_0 && ad); } return ad; }, i1.View_TextInput_0, i1.RenderType_TextInput)), i0.ɵdid(50, 5423104, [[5, 4], ["pincode5", 4]], 0, i2.TextInput, [i3.Config, i4.Platform, i5.Form, i6.App, i0.ElementRef, i0.Renderer, [2, i7.Content], [2, i8.Item], [2, i9.NgControl], i10.DomController], { type: [0, "type"], min: [1, "min"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n \t"])), (_l()(), i0.ɵeld(54, 0, null, null, 7, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵeld(56, 0, null, null, 4, "div", [["class", "pincode-holder"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t\t\t"])), (_l()(), i0.ɵeld(58, 0, null, null, 1, "ion-input", [["id", "pincode-6"], ["inputmode", "numeric"], ["min", "0"], ["pattern", "[0-9]*"], ["type", "number"]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.updateField($event, 5) !== false); ad = (pd_0 && ad); } return ad; }, i1.View_TextInput_0, i1.RenderType_TextInput)), i0.ɵdid(59, 5423104, [[6, 4], ["pincode6", 4]], 0, i2.TextInput, [i3.Config, i4.Platform, i5.Form, i6.App, i0.ElementRef, i0.Renderer, [2, i7.Content], [2, i8.Item], [2, i9.NgControl], i10.DomController], { type: [0, "type"], min: [1, "min"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, null, ["\n \t\t"])), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var currVal_1 = "number"; var currVal_2 = "0"; _ck(_v, 14, 0, currVal_1, currVal_2); var currVal_3 = "number"; var currVal_4 = "0"; _ck(_v, 23, 0, currVal_3, currVal_4); var currVal_5 = "number"; var currVal_6 = "0"; _ck(_v, 32, 0, currVal_5, currVal_6); var currVal_7 = "number"; var currVal_8 = "0"; _ck(_v, 41, 0, currVal_7, currVal_8); var currVal_9 = "number"; var currVal_10 = "0"; _ck(_v, 50, 0, currVal_9, currVal_10); var currVal_11 = "number"; var currVal_12 = "0"; _ck(_v, 59, 0, currVal_11, currVal_12); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(2, "pincode-container pincode-length-", _co.pincodeLength, " ", _co.fieldClass, ""); _ck(_v, 7, 0, currVal_0); }); } exports.View_WsPincodeComponent_0 = View_WsPincodeComponent_0; function View_WsPincodeComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-pincode", [], null, null, null, View_WsPincodeComponent_0, RenderType_WsPincodeComponent)), i0.ɵdid(1, 114688, null, 0, i11.WsPincodeComponent, [i12.FormBuilderProvider, i0.ElementRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_WsPincodeComponent_Host_0 = View_WsPincodeComponent_Host_0; var WsPincodeComponentNgFactory = i0.ɵccf("ws-pincode", i11.WsPincodeComponent, View_WsPincodeComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []); exports.WsPincodeComponentNgFactory = WsPincodeComponentNgFactory; //# sourceMappingURL=ws-pincode.ngfactory.js.map