2017-07-22 11:12:30 +02:00
|
|
|
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
|
|
|
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
2017-08-11 23:15:07 +02:00
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
2017-07-31 13:15:45 +02:00
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
2017-08-01 23:09:21 +02:00
|
|
|
import { RouterModule } from '@angular/router';
|
2017-07-22 11:12:30 +02:00
|
|
|
|
|
|
|
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
|
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
import { ToastrModule } from 'ngx-toastr';
|
2017-07-26 23:09:16 +02:00
|
|
|
import { TextMaskModule } from 'angular2-text-mask';
|
2017-08-28 08:58:35 +02:00
|
|
|
import { MaterializeModule } from 'ng2-materialize';
|
2017-07-22 11:12:30 +02:00
|
|
|
|
|
|
|
import { ScheduleService } from './schedule.service';
|
|
|
|
import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component';
|
2017-07-25 17:18:04 +02:00
|
|
|
import { ScheduleEditModalComponent } from './scheduleEditModal.component';
|
2017-07-25 17:17:22 +02:00
|
|
|
import { ScheduleFormComponent } from './scheduleForm.component';
|
2017-07-25 10:15:00 +02:00
|
|
|
import { ScheduleRowComponent } from './scheduleRow.component';
|
2017-07-25 16:56:57 +02:00
|
|
|
import { ScheduleListComponent } from './scheduleList.component';
|
2017-08-01 23:09:21 +02:00
|
|
|
import { ScheduleListState } from './schedule.states';
|
2017-07-25 10:45:13 +02:00
|
|
|
|
2017-07-22 11:12:30 +02:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2017-07-31 13:15:45 +02:00
|
|
|
HttpClientModule,
|
2017-07-22 11:12:30 +02:00
|
|
|
CommonModule,
|
2017-08-11 23:15:07 +02:00
|
|
|
ReactiveFormsModule,
|
2017-08-01 23:09:21 +02:00
|
|
|
RouterModule.forChild([
|
|
|
|
ScheduleListState
|
|
|
|
]),
|
2017-07-22 11:12:30 +02:00
|
|
|
NgLoggerModule,
|
|
|
|
ToastrModule,
|
2017-07-26 23:09:16 +02:00
|
|
|
NgbModule,
|
2017-08-28 08:58:35 +02:00
|
|
|
TextMaskModule,
|
|
|
|
MaterializeModule,
|
2017-07-22 11:12:30 +02:00
|
|
|
],
|
|
|
|
providers: [
|
2017-07-25 10:45:13 +02:00
|
|
|
ScheduleService,
|
2017-07-22 11:12:30 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
2017-07-25 10:15:00 +02:00
|
|
|
ScheduleDeleteModalComponent,
|
2017-07-25 17:18:04 +02:00
|
|
|
ScheduleEditModalComponent,
|
2017-07-25 17:17:22 +02:00
|
|
|
ScheduleFormComponent,
|
2017-07-25 16:56:57 +02:00
|
|
|
ScheduleListComponent,
|
2017-07-25 10:15:00 +02:00
|
|
|
ScheduleRowComponent
|
2017-07-22 11:12:30 +02:00
|
|
|
],
|
|
|
|
entryComponents: [
|
2017-07-25 10:15:00 +02:00
|
|
|
ScheduleDeleteModalComponent,
|
2017-07-25 17:18:04 +02:00
|
|
|
ScheduleEditModalComponent,
|
2017-07-25 16:56:57 +02:00
|
|
|
ScheduleListComponent,
|
2017-07-22 11:12:30 +02:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class ScheduleModule {}
|