59 lines
1.8 KiB
TypeScript
59 lines
1.8 KiB
TypeScript
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
|
|
|
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
|
import { ToastrModule } from 'ngx-toastr';
|
|
import { TextMaskModule } from 'angular2-text-mask';
|
|
import { jqxChartComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxchart';
|
|
|
|
import { BalanceChartComponent } from './balanceChart.component';
|
|
import { CategoryChartComponent } from './categoryChart.component';
|
|
import { OperationRowComponent } from './operationRow.component';
|
|
import { CategoryService } from './category.service';
|
|
import { OperationService } from './operation.service';
|
|
import { OperationEditComponent } from './operationEdit.component';
|
|
import { OperationListComponent } from './operationList.component';
|
|
import { OperationDeleteModalComponent } from './operationDeleteModal.component';
|
|
import { OperationRoutes } from './operation.states';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
HttpClientModule,
|
|
CommonModule,
|
|
FormsModule,
|
|
RouterModule.forChild(
|
|
OperationRoutes
|
|
),
|
|
NgLoggerModule,
|
|
ToastrModule,
|
|
NgbModule,
|
|
NgxChartsModule,
|
|
TextMaskModule
|
|
],
|
|
providers: [
|
|
CategoryService,
|
|
OperationService,
|
|
],
|
|
declarations: [
|
|
jqxChartComponent,
|
|
BalanceChartComponent,
|
|
CategoryChartComponent,
|
|
OperationRowComponent,
|
|
OperationEditComponent,
|
|
OperationListComponent,
|
|
OperationDeleteModalComponent,
|
|
],
|
|
entryComponents: [
|
|
OperationDeleteModalComponent,
|
|
OperationListComponent,
|
|
]
|
|
})
|
|
export class OperationModule {}
|