accountant-ui/src/scheduler/schedule.module.ts

52 lines
1.5 KiB
TypeScript
Raw Normal View History

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';
import { FormsModule } from '@angular/forms';
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-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';
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-22 11:12:30 +02:00
@NgModule({
imports: [
HttpClientModule,
2017-07-22 11:12:30 +02:00
CommonModule,
FormsModule,
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,
TextMaskModule
2017-07-22 11:12:30 +02:00
],
providers: [
ScheduleService,
2017-07-22 11:12:30 +02:00
],
declarations: [
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,
ScheduleRowComponent
2017-07-22 11:12:30 +02:00
],
entryComponents: [
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 {}