2017-09-25 11:07:52 +00:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { HttpModule } from '@angular/http';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
|
|
|
|
import { D3Service } from 'd3-ng2-service';
|
|
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
2017-11-08 14:37:26 +00:00
|
|
|
import { MapComponent } from './cartography/map/map.component';
|
2017-11-23 12:18:23 +00:00
|
|
|
import {CreateSnapshotDialogComponent, ProjectMapComponent} from './project-map/project-map.component';
|
2017-10-31 13:44:47 +00:00
|
|
|
import { ServersComponent, AddServerDialogComponent } from './servers/servers.component';
|
2017-09-25 11:07:52 +00:00
|
|
|
import { ProjectsComponent } from './projects/projects.component';
|
|
|
|
|
2017-11-08 14:37:26 +00:00
|
|
|
import { VersionService } from './shared/services/version.service';
|
|
|
|
import { ProjectService } from './shared/services/project.service';
|
|
|
|
import { SymbolService } from "./shared/services/symbol.service";
|
|
|
|
import { ServerService } from "./shared/services/server.service";
|
|
|
|
import { IndexedDbService } from "./shared/services/indexed-db.service";
|
|
|
|
import { HttpServer } from "./shared/services/http-server.service";
|
2017-10-27 11:55:40 +00:00
|
|
|
import { DefaultLayoutComponent } from './default-layout/default-layout.component';
|
2017-09-25 11:07:52 +00:00
|
|
|
|
|
|
|
|
2017-10-31 13:44:47 +00:00
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import {
|
|
|
|
MatButtonModule,
|
|
|
|
MatCardModule,
|
|
|
|
MatMenuModule,
|
|
|
|
MatToolbarModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatFormFieldModule,
|
|
|
|
MatInputModule,
|
|
|
|
MatTableModule,
|
|
|
|
MatDialogModule
|
|
|
|
} from '@angular/material';
|
|
|
|
|
|
|
|
import {CdkTableModule} from "@angular/cdk/table";
|
2017-11-23 12:18:23 +00:00
|
|
|
import {SnapshotService} from "./shared/services/snapshot.service";
|
2017-10-31 13:44:47 +00:00
|
|
|
|
2017-09-25 11:07:52 +00:00
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
MapComponent,
|
|
|
|
ProjectMapComponent,
|
|
|
|
ServersComponent,
|
2017-10-31 13:44:47 +00:00
|
|
|
AddServerDialogComponent,
|
2017-11-23 12:18:23 +00:00
|
|
|
CreateSnapshotDialogComponent,
|
2017-09-25 11:07:52 +00:00
|
|
|
ProjectsComponent,
|
2017-10-27 11:55:40 +00:00
|
|
|
DefaultLayoutComponent,
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
NgbModule.forRoot(),
|
|
|
|
BrowserModule,
|
|
|
|
HttpModule,
|
|
|
|
AppRoutingModule,
|
2017-10-31 13:44:47 +00:00
|
|
|
FormsModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatMenuModule,
|
|
|
|
MatCardModule,
|
|
|
|
MatToolbarModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatFormFieldModule,
|
|
|
|
MatInputModule,
|
|
|
|
MatTableModule,
|
|
|
|
MatDialogModule,
|
|
|
|
CdkTableModule
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
D3Service,
|
|
|
|
VersionService,
|
|
|
|
ProjectService,
|
|
|
|
SymbolService,
|
|
|
|
ServerService,
|
|
|
|
IndexedDbService,
|
|
|
|
HttpServer,
|
2017-11-23 12:18:23 +00:00
|
|
|
SnapshotService
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
entryComponents: [
|
2017-11-23 12:18:23 +00:00
|
|
|
AddServerDialogComponent,
|
|
|
|
CreateSnapshotDialogComponent
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|