UNPKG

model-form

Version:

Dynamic Form Builder for Anuglar 5 and the WAR Framework

35 lines 4.94 kB
/** * @fileoverview This file is generated by the Angular template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride} * tslint:disable */ import * as i0 from "@angular/core"; import * as i1 from "@angular/forms"; import * as i2 from "./switch.component"; var styles_SwitchComponent = []; var RenderType_SwitchComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SwitchComponent, data: {} }); export { RenderType_SwitchComponent as RenderType_SwitchComponent }; export function View_SwitchComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 14, "div", [["class", "dynamic-field form-input form-group"]], [[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, "submit"], [null, "reset"]], function (_v, en, $event) { var ad = true; if (("submit" === en)) { var pd_0 = (i0.ɵnov(_v, 2).onSubmit($event) !== false); ad = (pd_0 && ad); } if (("reset" === en)) { var pd_1 = (i0.ɵnov(_v, 2).onReset() !== false); ad = (pd_1 && ad); } return ad; }, null, null)), i0.ɵdid(2, 540672, null, 0, i1.FormGroupDirective, [[8, null], [8, null]], { form: [0, "form"] }, null), i0.ɵprd(2048, null, i1.ControlContainer, null, [i1.FormGroupDirective]), i0.ɵdid(4, 16384, null, 0, i1.NgControlStatusGroup, [i1.ControlContainer], null, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(6, 0, null, null, 1, "label", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(9, 0, null, null, 5, "input", [["type", "text"]], [[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, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) { var pd_0 = (i0.ɵnov(_v, 10)._handleInput($event.target.value) !== false); ad = (pd_0 && ad); } if (("blur" === en)) { var pd_1 = (i0.ɵnov(_v, 10).onTouched() !== false); ad = (pd_1 && ad); } if (("compositionstart" === en)) { var pd_2 = (i0.ɵnov(_v, 10)._compositionStart() !== false); ad = (pd_2 && ad); } if (("compositionend" === en)) { var pd_3 = (i0.ɵnov(_v, 10)._compositionEnd($event.target.value) !== false); ad = (pd_3 && ad); } return ad; }, null, null)), i0.ɵdid(10, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.DefaultValueAccessor]), i0.ɵdid(12, 671744, null, 0, i1.FormControlName, [[3, i1.ControlContainer], [8, null], [8, null], [2, i1.NG_VALUE_ACCESSOR]], { name: [0, "name"] }, null), i0.ɵprd(2048, null, i1.NgControl, null, [i1.FormControlName]), i0.ɵdid(14, 16384, null, 0, i1.NgControlStatus, [i1.NgControl], null, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.group; _ck(_v, 2, 0, currVal_7); var currVal_16 = _co.map.name; _ck(_v, 12, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 4).ngClassValid; var currVal_5 = i0.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 4).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = _co.map.name; _ck(_v, 7, 0, currVal_8); var currVal_9 = i0.ɵnov(_v, 14).ngClassUntouched; var currVal_10 = i0.ɵnov(_v, 14).ngClassTouched; var currVal_11 = i0.ɵnov(_v, 14).ngClassPristine; var currVal_12 = i0.ɵnov(_v, 14).ngClassDirty; var currVal_13 = i0.ɵnov(_v, 14).ngClassValid; var currVal_14 = i0.ɵnov(_v, 14).ngClassInvalid; var currVal_15 = i0.ɵnov(_v, 14).ngClassPending; _ck(_v, 9, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); }); } export function View_SwitchComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "model-switch", [], null, null, null, View_SwitchComponent_0, RenderType_SwitchComponent)), i0.ɵdid(1, 49152, null, 0, i2.SwitchComponent, [], null, null)], null, null); } var SwitchComponentNgFactory = i0.ɵccf("model-switch", i2.SwitchComponent, View_SwitchComponent_Host_0, {}, {}, []); export { SwitchComponentNgFactory as SwitchComponentNgFactory }; //# sourceMappingURL=switch.component.ngfactory.js.map