UNPKG

ws-form-builder

Version:
45 lines 9.36 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("../../../node_modules/ionic-angular/components/item/item.ngfactory"); var i4 = require("@angular/common"); 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("../../../node_modules/ionic-angular/components/input/input.ngfactory"); var i10 = require("@angular/forms"); var i11 = require("ionic-angular/components/input/input"); var i12 = require("ionic-angular/platform/platform"); var i13 = require("ionic-angular/components/app/app"); var i14 = require("ionic-angular/components/content/content"); var i15 = require("ionic-angular/platform/dom-controller"); var i16 = require("./ws-password-input"); var i17 = require("../../providers/form-builder/form-builder"); var styles_WsPasswordInputComponent = [""]; var RenderType_WsPasswordInputComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsPasswordInputComponent, data: {} }); exports.RenderType_WsPasswordInputComponent = RenderType_WsPasswordInputComponent; function View_WsPasswordInputComponent_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_WsPasswordInputComponent_3(_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, [[4, 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.confirmLabel; _ck(_v, 2, 0, currVal_1); }); } function View_WsPasswordInputComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 19, "span", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵeld(2, 0, null, null, 16, "ion-item", [["class", "item item-block"]], null, null, null, i3.View_Item_0, i3.RenderType_Item)), i0.ɵdid(3, 278528, null, 0, i4.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵdid(4, 1097728, null, 3, i5.Item, [i6.Form, i2.Config, i0.ElementRef, i0.Renderer, [2, i7.ItemReorder]], null, null), i0.ɵqud(603979776, 4, { contentLabel: 0 }), i0.ɵqud(603979776, 5, { _buttons: 1 }), i0.ɵqud(603979776, 6, { _icons: 1 }), i0.ɵdid(8, 16384, null, 0, i8.ItemContent, [], null, null), (_l()(), i0.ɵted(-1, 2, ["\n \t "])), (_l()(), i0.ɵand(16777216, null, 1, 1, null, View_WsPasswordInputComponent_3)), i0.ɵdid(11, 16384, null, 0, i4.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, 2, ["\n \t "])), (_l()(), i0.ɵeld(13, 0, null, 3, 4, "ion-input", [["type", "password"]], [[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, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.setConfirmAnswer($event, _co.question) !== false); ad = (pd_0 && ad); } return ad; }, i9.View_TextInput_0, i9.RenderType_TextInput)), i0.ɵdid(14, 671744, null, 0, i10.NgModel, [[8, null], [8, null], [8, null], [8, null]], { model: [0, "model"] }, null), i0.ɵprd(2048, null, i10.NgControl, null, [i10.NgModel]), i0.ɵdid(16, 16384, null, 0, i10.NgControlStatus, [i10.NgControl], null, null), i0.ɵdid(17, 5423104, null, 0, i11.TextInput, [i2.Config, i12.Platform, i6.Form, i13.App, i0.ElementRef, i0.Renderer, [2, i14.Content], [2, i5.Item], [2, i10.NgControl], i15.DomController], { type: [0, "type"], placeholder: [1, "placeholder"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, 2, ["\n \t"])), (_l()(), i0.ɵted(-1, null, ["\n\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "ws-input ", _co.fieldClass, ""); var currVal_1 = ((!_co.isConfirmFieldValid && _co.showConfirmError) ? "field-error" : ""); _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_2 = !_co.question.hideQuestion; _ck(_v, 11, 0, currVal_2); var currVal_10 = _co.fieldConfirmValue; _ck(_v, 14, 0, currVal_10); var currVal_11 = "password"; var currVal_12 = i0.ɵinlineInterpolate(1, "", _co.question.placeholder, ""); _ck(_v, 17, 0, currVal_11, currVal_12); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 16).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 16).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 16).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 16).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 16).ngClassValid; var currVal_8 = i0.ɵnov(_v, 16).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 16).ngClassPending; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); } function View_WsPasswordInputComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 13, "ion-item", [["class", "item item-block"]], null, null, null, i3.View_Item_0, i3.RenderType_Item)), i0.ɵdid(2, 278528, null, 0, i4.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵdid(3, 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(7, 16384, null, 0, i8.ItemContent, [], null, null), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵand(16777216, null, 1, 1, null, View_WsPasswordInputComponent_1)), i0.ɵdid(10, 16384, null, 0, i4.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵeld(12, 0, null, 3, 1, "ion-input", [["type", "password"], ["value", ""]], null, [[null, "ionChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("ionChange" === en)) { var pd_0 = (_co.setAnswer($event, _co.question) !== false); ad = (pd_0 && ad); } return ad; }, i9.View_TextInput_0, i9.RenderType_TextInput)), i0.ɵdid(13, 5423104, null, 0, i11.TextInput, [i2.Config, i12.Platform, i6.Form, i13.App, i0.ElementRef, i0.Renderer, [2, i14.Content], [2, i5.Item], [2, i10.NgControl], i15.DomController], { value: [0, "value"], type: [1, "type"], placeholder: [2, "placeholder"] }, { ionChange: "ionChange" }), (_l()(), i0.ɵted(-1, 2, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n\n\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsPasswordInputComponent_2)), i0.ɵdid(17, 16384, null, 0, i4.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 = i0.ɵinlineInterpolate(1, "ws-input ", _co.fieldClass, ""); var currVal_1 = ((!_co.isFieldValid && _co.showError) ? "field-error" : ""); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = !_co.question.hideQuestion; _ck(_v, 10, 0, currVal_2); var currVal_3 = ""; var currVal_4 = "password"; var currVal_5 = i0.ɵinlineInterpolate(1, "", _co.question.placeholder, ""); _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = _co.showConfirmField; _ck(_v, 17, 0, currVal_6); }, null); } exports.View_WsPasswordInputComponent_0 = View_WsPasswordInputComponent_0; function View_WsPasswordInputComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-password-input", [], null, null, null, View_WsPasswordInputComponent_0, RenderType_WsPasswordInputComponent)), i0.ɵdid(1, 114688, null, 0, i16.WsPasswordInputComponent, [i17.FormBuilderProvider], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_WsPasswordInputComponent_Host_0 = View_WsPasswordInputComponent_Host_0; var WsPasswordInputComponentNgFactory = i0.ɵccf("ws-password-input", i16.WsPasswordInputComponent, View_WsPasswordInputComponent_Host_0, { question: "question" }, { answerGiven: "answerGiven" }, []); exports.WsPasswordInputComponentNgFactory = WsPasswordInputComponentNgFactory; //# sourceMappingURL=ws-password-input.ngfactory.js.map