2016-08-26 17:37:59 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
import { FormsModule as AngularFormsModule } from '@angular/forms';
|
|
|
|
|
import { NgaModule } from '../../theme/nga.module';
|
|
|
|
|
|
|
|
|
|
import { routing } from './forms.routing';
|
2016-09-01 19:39:40 +03:00
|
|
|
|
|
|
|
|
import { RatingModule } from 'ng2-bootstrap/ng2-bootstrap';
|
2016-08-26 17:37:59 +03:00
|
|
|
import { Forms } from './forms.component';
|
|
|
|
|
import { Inputs } from './components/inputs';
|
|
|
|
|
import { Layouts } from './components/layouts';
|
|
|
|
|
|
2016-09-19 14:30:30 +03:00
|
|
|
import { StandardInputs } from './components/inputs/components/standardInputs';
|
|
|
|
|
import { ValidationInputs } from './components/inputs/components/validationInputs';
|
|
|
|
|
import { GroupInputs } from './components/inputs/components/groupInputs';
|
|
|
|
|
import { CheckboxInputs } from './components/inputs/components/checkboxInputs';
|
|
|
|
|
import { Rating } from './components/inputs/components/ratinginputs';
|
|
|
|
|
|
|
|
|
|
import { InlineForm } from './components/layouts/components/inlineForm';
|
|
|
|
|
import { BlockForm } from './components/layouts/components/blockForm';
|
|
|
|
|
import { HorizontalForm } from './components/layouts/components/horizontalForm';
|
|
|
|
|
import { BasicForm } from './components/layouts/components/basicForm';
|
|
|
|
|
import { WithoutLabelsForm } from './components/layouts/components/withoutLabelsForm';
|
2016-08-26 17:37:59 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
imports: [
|
|
|
|
|
CommonModule,
|
|
|
|
|
AngularFormsModule,
|
|
|
|
|
NgaModule,
|
2016-09-01 19:39:40 +03:00
|
|
|
RatingModule,
|
2016-08-26 17:37:59 +03:00
|
|
|
routing
|
|
|
|
|
],
|
|
|
|
|
declarations: [
|
|
|
|
|
Layouts,
|
|
|
|
|
Inputs,
|
2016-09-19 14:30:30 +03:00
|
|
|
Forms,
|
|
|
|
|
StandardInputs,
|
|
|
|
|
ValidationInputs,
|
|
|
|
|
GroupInputs,
|
|
|
|
|
CheckboxInputs,
|
|
|
|
|
Rating,
|
|
|
|
|
InlineForm,
|
|
|
|
|
BlockForm,
|
|
|
|
|
HorizontalForm,
|
|
|
|
|
BasicForm,
|
|
|
|
|
WithoutLabelsForm
|
2016-08-26 17:37:59 +03:00
|
|
|
]
|
|
|
|
|
})
|
2016-09-19 14:30:30 +03:00
|
|
|
export default class FormsModule {
|
|
|
|
|
}
|