54 lines
1.6 KiB
TypeScript
54 lines
1.6 KiB
TypeScript
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
|
|
|
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
import { ToastrModule } from 'ngx-toastr';
|
|
import { TextMaskModule } from 'angular2-text-mask';
|
|
import { MaterializeModule } from 'ng2-materialize';
|
|
|
|
import { ScheduleService } from './schedule.service';
|
|
import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component';
|
|
import { ScheduleEditModalComponent } from './scheduleEditModal.component';
|
|
import { ScheduleFormComponent } from './scheduleForm.component';
|
|
import { ScheduleRowComponent } from './scheduleRow.component';
|
|
import { ScheduleListComponent } from './scheduleList.component';
|
|
import { ScheduleListState } from './schedule.states';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
HttpClientModule,
|
|
CommonModule,
|
|
ReactiveFormsModule,
|
|
RouterModule.forChild([
|
|
ScheduleListState
|
|
]),
|
|
NgLoggerModule,
|
|
ToastrModule,
|
|
NgbModule,
|
|
TextMaskModule,
|
|
MaterializeModule,
|
|
],
|
|
providers: [
|
|
ScheduleService,
|
|
],
|
|
declarations: [
|
|
ScheduleDeleteModalComponent,
|
|
ScheduleEditModalComponent,
|
|
ScheduleFormComponent,
|
|
ScheduleListComponent,
|
|
ScheduleRowComponent
|
|
],
|
|
entryComponents: [
|
|
ScheduleDeleteModalComponent,
|
|
ScheduleEditModalComponent,
|
|
ScheduleListComponent,
|
|
]
|
|
})
|
|
export class ScheduleModule {}
|