import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ReactiveFormsModule, FormsModule } from '@angular/forms'; import { TranslationModule, TranslatePipe } from 'angular-l10n'; import { TextMaskModule } from 'angular2-text-mask'; import { NgxUpperCaseDirectiveModule } from 'ngx-upper-case-directive'; import { PodUiCommonsLibModule, NumberFormatterPipe, NumberFormatterService } from '@monsantoit/pod-ui-commons-lib'; import { MessageService } from '@monsantoit/pod-ui-utils-lib'; import { PodAffiliateUserModule } from '@monsantoit/pod-affiliate-user'; import { AddressFormComponent } from './components/address-form/address-form.component'; import { GrowerSearchComponent } from './components/grower-search/grower-search.component'; import { MaterialImports, MaterialProviders } from './md-grower-ui.material.module'; import { GrowerUIRoutingModule } from './md-grower-ui-routing.module'; import { GrowerCreateComponent } from './components/create-grower/create-grower.component'; import { GrowerService } from './services/grower.service'; import { LocationService } from './services/location.service'; import { FormatDocumentNumberPipe } from './components/grower-search/grower-search.pipe'; import { GrowerSearchDialogComponent } from './components/grower-search-dialog/grower-search-dialog.component'; @NgModule({ entryComponents: [GrowerSearchDialogComponent], declarations: [ GrowerCreateComponent, AddressFormComponent, GrowerSearchComponent, GrowerSearchDialogComponent, FormatDocumentNumberPipe ], imports: [ ...MaterialImports, CommonModule, ReactiveFormsModule, TranslationModule, TextMaskModule, NgxUpperCaseDirectiveModule, PodUiCommonsLibModule, GrowerUIRoutingModule, TranslationModule, PodAffiliateUserModule, FormsModule ], exports: [GrowerCreateComponent], providers: [ ...MaterialProviders, GrowerService, LocationService, TranslatePipe, NumberFormatterPipe, NumberFormatterService, MessageService ] }) export class MasterDataGrowerUIModule {}