UNPKG

model-form

Version:

Dynamic Form Builder for Anuglar 5 and the WAR Framework

27 lines 3.58 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 "./model-field.directive"; import * as i3 from "./model-form.component"; var styles_ModelFormComponent = []; var RenderType_ModelFormComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ModelFormComponent, data: {} }); export { RenderType_ModelFormComponent as RenderType_ModelFormComponent }; export function View_ModelFormComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n\t\t"])), (_l()(), i0.ɵeld(1, 0, null, null, 11, "form", [["class", "model-form compact"], ["novalidate", ""]], [[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, "ngSubmit"], [null, "submit"], [null, "reset"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("submit" === en)) { var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false); ad = (pd_0 && ad); } if (("reset" === en)) { var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false); ad = (pd_1 && ad); } if (("ngSubmit" === en)) { var pd_2 = (_co.submitted.emit(_co.form.value) !== false); ad = (pd_2 && ad); } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i1.ɵbf, [], null, null), i0.ɵdid(3, 540672, null, 0, i1.FormGroupDirective, [[8, null], [8, null]], { form: [0, "form"] }, { ngSubmit: "ngSubmit" }), i0.ɵprd(2048, null, i1.ControlContainer, null, [i1.FormGroupDirective]), i0.ɵdid(5, 16384, null, 0, i1.NgControlStatusGroup, [i1.ControlContainer], null, null), (_l()(), i0.ɵted(-1, null, ["\n\t\t\t"])), (_l()(), i0.ɵeld(7, 0, null, null, 4, "section", [["class", "form-block"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n\t\t\t\t"])), (_l()(), i0.ɵeld(9, 16777216, null, null, 1, null, null, null, null, null, null, null)), i0.ɵdid(10, 81920, null, 0, i2.ModelFieldDirective, [i0.ComponentFactoryResolver, i0.ViewContainerRef], null, null), (_l()(), i0.ɵted(-1, null, ["\n\t\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n\t\t"])), (_l()(), i0.ɵted(-1, null, ["\n\t"]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 3, 0, currVal_7); _ck(_v, 10, 0); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); } export function View_ModelFormComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "model-form", [], null, null, null, View_ModelFormComponent_0, RenderType_ModelFormComponent)), i0.ɵdid(1, 114688, null, 0, i3.ModelFormComponent, [i1.FormBuilder], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } var ModelFormComponentNgFactory = i0.ɵccf("model-form", i3.ModelFormComponent, View_ModelFormComponent_Host_0, { map: "map", model: "model" }, { submitted: "submitted" }, []); export { ModelFormComponentNgFactory as ModelFormComponentNgFactory }; //# sourceMappingURL=model-form.component.ngfactory.js.map