Israel Lavi | 1994c98 | 2018-05-21 17:42:00 +0300 | [diff] [blame^] | 1 | import { NgModule } from "@angular/core"; |
| 2 | import { FormsModule, ReactiveFormsModule } from "@angular/forms"; |
| 3 | import { CommonModule } from "@angular/common"; |
| 4 | import { SvgIconModule } from './../../svg-icon/svg-icon.module'; |
| 5 | import { ValidationComponent } from './validation.component'; |
| 6 | import { ValidatorComponent } from './validators/base.validator.component'; |
| 7 | import { RequiredValidatorComponent } from './validators/required.validator.component'; |
| 8 | import { RegexValidatorComponent } from './validators/regex.validator.component'; |
| 9 | import { CustomValidatorComponent } from './validators/custom.validator.component'; |
| 10 | import { ValidationGroupComponent } from './validation-group.component'; |
| 11 | |
| 12 | @NgModule({ |
| 13 | imports: [ |
| 14 | FormsModule, |
| 15 | CommonModule, |
| 16 | ReactiveFormsModule, |
| 17 | SvgIconModule |
| 18 | ], |
| 19 | declarations: [ |
| 20 | ValidationComponent, |
| 21 | RegexValidatorComponent, |
| 22 | RequiredValidatorComponent, |
| 23 | CustomValidatorComponent, |
| 24 | ValidationGroupComponent |
| 25 | ], |
| 26 | exports: [ |
| 27 | ValidationComponent, |
| 28 | RegexValidatorComponent, |
| 29 | RequiredValidatorComponent, |
| 30 | CustomValidatorComponent, |
| 31 | ValidationGroupComponent |
| 32 | ] |
| 33 | }) |
| 34 | export class ValidationModule { |
| 35 | } |