web-remote/src/app/app.module.ts

82 lines
2.7 KiB
TypeScript
Raw Normal View History

2019-11-07 18:02:26 +00:00
import { BrowserModule, Title } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
2018-08-07 11:51:51 +00:00
import { NgModule } from '@angular/core';
2019-10-08 05:43:49 +00:00
import { MatCardModule, MatDialogModule, MatSnackBarModule } from '@angular/material';
import { MatListModule } from '@angular/material/list';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatIconModule } from '@angular/material/icon';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatGridListModule } from '@angular/material/grid-list';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatSelectModule } from '@angular/material/select';
import { MatButtonModule } from '@angular/material/button';
import { MatInputModule } from '@angular/material';
import { MatTooltipModule } from '@angular/material/tooltip';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
2018-08-19 23:07:17 +00:00
2018-08-07 11:51:51 +00:00
import { AppComponent } from './app.component';
2019-11-07 18:02:26 +00:00
import { PageTitleService } from './page-title.service';
import { OpenLPService } from './openlp.service';
import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app.routing';
import { ServiceComponent } from './components/service/service.component';
import { AlertComponent } from './components/alert/alert.component';
import { SearchComponent } from './components/search/search.component';
import { SlidesComponent } from './components/slides/slides.component';
import { FormsModule } from '@angular/forms';
2019-10-08 05:43:49 +00:00
import { ChordViewComponent } from './components/chord-view/chord-view.component';
import { StageViewComponent } from './components/stage-view/stage-view.component';
import { MainViewComponent } from './components/main-view/main-view.component';
import { ChordProPipe } from './components/chord-view/chordpro.pipe';
import { LoginComponent } from './components/login/login.component';
2018-08-07 11:51:51 +00:00
@NgModule({
declarations: [
AppComponent,
2019-10-08 05:43:49 +00:00
ChordViewComponent,
StageViewComponent,
MainViewComponent,
ChordProPipe,
LoginComponent,
ServiceComponent,
AlertComponent,
SearchComponent,
SlidesComponent
2018-08-07 11:51:51 +00:00
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
AppRoutingModule,
MatListModule,
MatSidenavModule,
MatIconModule,
MatToolbarModule,
MatGridListModule,
FormsModule,
MatFormFieldModule,
MatSelectModule,
2018-08-19 23:07:17 +00:00
MatButtonModule,
2018-08-20 12:25:52 +00:00
MatInputModule,
2018-08-27 18:21:35 +00:00
MatTooltipModule,
2019-10-08 05:43:49 +00:00
MatSlideToggleModule,
MatCardModule,
MatDialogModule,
MatSnackBarModule
],
providers: [
2019-11-07 18:02:26 +00:00
PageTitleService,
OpenLPService,
Title
2018-08-07 11:51:51 +00:00
],
2019-10-08 05:43:49 +00:00
entryComponents: [
LoginComponent
],
2018-08-07 11:51:51 +00:00
bootstrap: [AppComponent]
})
export class AppModule { }