c680f5b4
Administrator
first commit
|
1
2
3
|
import { NgModule, Type } from '@angular/core';
import { BrowserModule, Title } from '@angular/platform-browser';
|
7085f966
Yarik
Validation try
|
4
|
import { CovalentCoreModule, CovalentLoadingModule } from '@covalent/core';
|
c680f5b4
Administrator
first commit
|
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import { CovalentHttpModule, IHttpInterceptor } from '@covalent/http';
import { CovalentHighlightModule } from '@covalent/highlight';
import { CovalentMarkdownModule } from '@covalent/markdown';
import { CovalentChartsModule } from '@covalent/charts';
import { AppComponent } from './app.component';
import { MainComponent } from './main/main.component';
import { LoginComponent } from './login/login.component';
import { DataComponent } from './data/data.component';
import { TemplatesComponent } from './templates/templates.component';;
import { appRoutes, appRoutingProviders } from './app.routes';
import { AgGridModule } from 'ag-grid-ng2/main';
import { ChartComponent } from '../components/chart/chart.component';
import { RequestInterceptor } from '../config/interceptors/request.interceptor';
import { NgxChartsModule } from '@swimlane/ngx-charts';
import { BusStopComponent } from './data/bus-stop/bus-stop.component';
|
c36e5ea5
Administrator
add service-object
|
24
|
import { ServiceObjectComponent } from './data/service-object/service-object.component';
|
e06cfa2b
Administrator
add road width
|
25
26
|
import { RoadSurfaceComponent } from './data/road-surface/road-surface.component';
import { RoadWidthComponent } from './data/road-width/road-width.component';
|
c680f5b4
Administrator
first commit
|
27
28
|
import { EditorComponent } from '../helpers/editor.component';
import { RendererComponent } from '../helpers/renderer.component';
|
907e8b4e
Yarik
Flow intensity
|
29
|
import { FlowIntensityComponent } from './data/flow-intensity/flow-intensity.component';
|
c680f5b4
Administrator
first commit
|
30
31
32
|
// Services
import { BusStopCreateService } from '../services/bus-stop-create.service';
|
c680f5b4
Administrator
first commit
|
33
|
import { BusStopService } from '../services/bus-stop.service';
|
c36e5ea5
Administrator
add service-object
|
34
35
|
import { ServiceObjectCreateService } from '../services/service-object-create.service';
import { ServiceObjectService } from '../services/service-object.service';
|
e06cfa2b
Administrator
add road width
|
36
37
38
39
|
import { RoadSurfaceService } from '../services/road-surface.service';
import { RoadSurfaceCreateService } from '../services/road-surface-create.service';
import { RoadWidthService } from '../services/road-width.service';
import { RoadWidthCreateService } from '../services/road-width-create.service';
|
c36e5ea5
Administrator
add service-object
|
40
|
import { BooleanSelectListService } from '../services/boolean-select-list.service';
|
907e8b4e
Yarik
Flow intensity
|
41
42
|
import { FlowIntensityCreateService } from '../services/flow-intensity-create.service';
import { FlowIntensityService } from '../services/flow-intensity.service';
|
c36e5ea5
Administrator
add service-object
|
43
|
|
c680f5b4
Administrator
first commit
|
44
45
46
47
48
49
50
51
52
53
54
55
56
|
const httpInterceptorProviders: Type<any>[] = [
RequestInterceptor,
];
@NgModule({
declarations: [
AppComponent,
MainComponent,
DataComponent,
LoginComponent,
ChartComponent,
TemplatesComponent,
BusStopComponent,
|
c36e5ea5
Administrator
add service-object
|
57
|
ServiceObjectComponent,
|
e06cfa2b
Administrator
add road width
|
58
|
RoadSurfaceComponent,
|
c680f5b4
Administrator
first commit
|
59
60
|
EditorComponent,
RendererComponent,
|
e06cfa2b
Administrator
add road width
|
61
|
RoadWidthComponent,
|
907e8b4e
Yarik
Flow intensity
|
62
|
FlowIntensityComponent,
|
c680f5b4
Administrator
first commit
|
63
64
65
66
67
|
], // directives, components, and pipes owned by this NgModule
imports: [
BrowserModule,
AgGridModule.withComponents([
BusStopComponent,
|
c36e5ea5
Administrator
add service-object
|
68
|
ServiceObjectComponent,
|
c680f5b4
Administrator
first commit
|
69
70
|
EditorComponent,
RendererComponent,
|
e06cfa2b
Administrator
add road width
|
71
72
|
RoadSurfaceComponent,
RoadWidthComponent,
|
907e8b4e
Yarik
Flow intensity
|
73
|
FlowIntensityComponent,
|
c680f5b4
Administrator
first commit
|
74
75
76
77
78
79
80
81
82
83
|
]),
CovalentCoreModule.forRoot(),
CovalentChartsModule.forRoot(),
CovalentHttpModule.forRoot({
interceptors: [{
interceptor: RequestInterceptor, paths: ['**'],
}],
}),
CovalentHighlightModule.forRoot(),
CovalentMarkdownModule.forRoot(),
|
7085f966
Yarik
Validation try
|
84
|
CovalentLoadingModule.forRoot(),
|
c680f5b4
Administrator
first commit
|
85
86
87
88
89
90
91
|
appRoutes,
NgxChartsModule,
], // modules needed to run this module
providers: [
appRoutingProviders,
httpInterceptorProviders,
Title,
|
c680f5b4
Administrator
first commit
|
92
|
BooleanSelectListService,
|
c36e5ea5
Administrator
add service-object
|
93
|
BusStopCreateService,
|
7085f966
Yarik
Validation try
|
94
|
BusStopService,
|
c36e5ea5
Administrator
add service-object
|
95
|
ServiceObjectCreateService,
|
e06cfa2b
Administrator
add road width
|
96
97
98
99
100
|
ServiceObjectService,
RoadSurfaceCreateService,
RoadSurfaceService,
RoadWidthCreateService,
RoadWidthService,
|
907e8b4e
Yarik
Flow intensity
|
101
102
|
FlowIntensityCreateService,
FlowIntensityService,
|
c680f5b4
Administrator
first commit
|
103
104
105
106
107
|
], // additional providers needed for this module
entryComponents: [ ],
bootstrap: [ AppComponent ],
})
export class AppModule {}
|