model-form
Version:
Dynamic Form Builder for Anuglar 5 and the WAR Framework
57 lines • 2.24 kB
JavaScript
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
/** Model Form **/
import { ModelFieldDirective } from './model-field.directive';
import { ModelFormComponent } from './model-form.component';
/** Form Fields **/
import { InputComponent } from './fields/input.component';
import { EmailComponent } from './fields/email.component';
import { NumberComponent } from './fields/number.component';
import { RadioComponent } from './fields/radio.component';
import { SelectComponent } from './fields/select.component';
import { SubmitComponent } from './fields/submit.component';
import { SwitchComponent } from './fields/switch.component';
import { TextComponent } from './fields/text.component';
var ModelFormModule = (function () {
function ModelFormModule() {
}
ModelFormModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule,
ReactiveFormsModule
],
exports: [
ModelFormComponent
],
declarations: [
ModelFormComponent,
ModelFieldDirective,
InputComponent,
EmailComponent,
NumberComponent,
RadioComponent,
SelectComponent,
SubmitComponent,
SwitchComponent,
TextComponent
],
entryComponents: [
InputComponent,
EmailComponent,
NumberComponent,
RadioComponent,
SelectComponent,
SubmitComponent,
SwitchComponent,
TextComponent
]
},] },
];
/** @nocollapse */
ModelFormModule.ctorParameters = function () { return []; };
return ModelFormModule;
}());
export { ModelFormModule };
//# sourceMappingURL=model-form.module.js.map