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';
|
2017-11-27 10:55:20 +00:00
|
|
|
import { CdkTableModule } from "@angular/cdk/table";
|
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,
|
2017-11-27 10:08:15 +00:00
|
|
|
MatDialogModule, MatProgressBarModule
|
2017-10-31 13:44:47 +00:00
|
|
|
} from '@angular/material';
|
|
|
|
|
2017-11-27 10:55:20 +00:00
|
|
|
import { D3Service } from 'd3-ng2-service';
|
|
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
import { ToastyModule } from 'ng2-toasty';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
import { SnapshotService } from "./shared/services/snapshot.service";
|
|
|
|
import { ProgressDialogService } from "./shared/progress-dialog/progress-dialog.service";
|
|
|
|
|
|
|
|
import { ProjectsComponent } from './projects/projects.component';
|
|
|
|
import { DefaultLayoutComponent } from './default-layout/default-layout.component';
|
2017-11-27 10:08:15 +00:00
|
|
|
import { ProgressDialogComponent } from './shared/progress-dialog/progress-dialog.component';
|
2017-11-27 10:55:20 +00:00
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { MapComponent } from './cartography/map/map.component';
|
|
|
|
import { CreateSnapshotDialogComponent, ProjectMapComponent } from './project-map/project-map.component';
|
|
|
|
import { ServersComponent, AddServerDialogComponent } from './servers/servers.component';
|
2017-11-29 12:19:53 +00:00
|
|
|
import { NodeContextMenuComponent } from './shared/node-context-menu/node-context-menu.component';
|
2017-11-27 10:55:20 +00:00
|
|
|
|
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-11-27 10:08:15 +00:00
|
|
|
ProgressDialogComponent,
|
2017-11-29 12:19:53 +00:00
|
|
|
NodeContextMenuComponent,
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
NgbModule.forRoot(),
|
2017-11-27 10:55:20 +00:00
|
|
|
ToastyModule.forRoot(),
|
2017-09-25 11:07:52 +00:00
|
|
|
BrowserModule,
|
|
|
|
HttpModule,
|
|
|
|
AppRoutingModule,
|
2017-10-31 13:44:47 +00:00
|
|
|
FormsModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatMenuModule,
|
|
|
|
MatCardModule,
|
|
|
|
MatToolbarModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatFormFieldModule,
|
|
|
|
MatInputModule,
|
|
|
|
MatTableModule,
|
|
|
|
MatDialogModule,
|
2017-11-27 10:08:15 +00:00
|
|
|
MatProgressBarModule,
|
2017-10-31 13:44:47 +00:00
|
|
|
CdkTableModule
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
D3Service,
|
|
|
|
VersionService,
|
|
|
|
ProjectService,
|
|
|
|
SymbolService,
|
|
|
|
ServerService,
|
|
|
|
IndexedDbService,
|
|
|
|
HttpServer,
|
2017-11-27 10:08:15 +00:00
|
|
|
SnapshotService,
|
|
|
|
ProgressDialogService
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
entryComponents: [
|
2017-11-23 12:18:23 +00:00
|
|
|
AddServerDialogComponent,
|
2017-11-27 10:08:15 +00:00
|
|
|
CreateSnapshotDialogComponent,
|
|
|
|
ProgressDialogComponent
|
2017-09-25 11:07:52 +00:00
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|