blob: 4213f76d24320da7a7956c9a4e762746da555949 [file] [log] [blame]
Israel Lavi1994c982018-05-21 17:42:00 +03001import { NgModule } from "@angular/core";
2import { FormsModule, ReactiveFormsModule } from "@angular/forms";
3import { CommonModule } from "@angular/common";
4import { SvgIconModule } from './../../svg-icon/svg-icon.module';
5import { ValidationComponent } from './validation.component';
6import { ValidatorComponent } from './validators/base.validator.component';
7import { RequiredValidatorComponent } from './validators/required.validator.component';
8import { RegexValidatorComponent } from './validators/regex.validator.component';
9import { CustomValidatorComponent } from './validators/custom.validator.component';
10import { 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})
34export class ValidationModule {
35}