/*- * ========================LICENSE_START================================= * ORAN-OSC * %% * Copyright (C) 2019 AT&T Intellectual Property and Nokia * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ========================LICENSE_END=================================== */ import { BrowserModule } from '@angular/platform-browser'; // tslint:disable-next-line:max-line-length import { MatIconModule, MatCardModule, MatListModule, MatSidenavModule, MatButtonToggleModule, MatSliderModule, MatGridListModule, MatSlideToggleModule, MatExpansionModule, MatTabsModule } from '@angular/material'; import { BrowserAnimationsModule} from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; import { Ng2SmartTableModule } from 'ng2-smart-table'; import { ChartsModule } from 'ng2-charts'; import { MDBBootstrapModule } from 'angular-bootstrap-md'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { LoginComponent } from './login/login.component'; import { CatalogComponent } from './catalog/catalog.component'; import { UiService} from './services/ui/ui.service'; import { AdminService} from './services/admin/admin.service'; import { CatalogService} from './services/catalog/catalog.service'; import { ControlService} from './services/control/control.service'; import { SidenavListComponent } from './navigation/sidenav-list/sidenav-list.component'; import { ControlComponent } from './control/control.component'; import { StatsComponent } from './stats/stats.component'; import { AdminComponent } from './admin/admin.component'; import { CatalogCardComponent} from './ui/catalog-card/catalog-card.component'; import { ControlCardComponent} from './ui/control-card/control-card.component'; import { StatCardComponent} from './ui/stat-card/stat-card.component'; import { ModalEventComponent } from './ui/modal-event/modal-event.component'; import { XappComponent } from './xapp/xapp.component'; import { ConfigEventComponent } from './ui/config-event/config-event.component'; @NgModule({ declarations: [ AppComponent, LoginComponent, CatalogComponent, SidenavListComponent, CatalogCardComponent, ControlCardComponent, StatCardComponent, ControlComponent, StatsComponent, AdminComponent, ModalEventComponent, XappComponent, ConfigEventComponent, ], imports: [ BrowserModule, BrowserAnimationsModule, ChartsModule, AppRoutingModule, FormsModule, ReactiveFormsModule, MatButtonToggleModule, MatExpansionModule, MatSliderModule, MatCardModule, MatIconModule, MatGridListModule, MatListModule, MatSidenavModule, MatSlideToggleModule, MatTabsModule, Ng2SmartTableModule, MDBBootstrapModule.forRoot(), ], exports: [ MatButtonToggleModule, MatExpansionModule, MatSliderModule, MatCardModule, MatIconModule, MatGridListModule, MatListModule, MatSidenavModule, MatSlideToggleModule, MatTabsModule, ], providers: [ UiService, AdminService, CatalogService, ControlService, ], bootstrap: [AppComponent] }) export class AppModule { }