Add Pagination and sorting
[so.git] / so-monitoring / so-monitoring-ui / src / main / frontend / src / app / app.module.ts
index 3d736ed..2330863 100644 (file)
@@ -1,79 +1,75 @@
-/**\r
-============LICENSE_START=======================================================\r
- Copyright (C) 2018 Ericsson. All rights reserved.\r
-================================================================================\r
-Licensed under the Apache License, Version 2.0 (the "License");\r
-you may not use this file except in compliance with the License.\r
-You may obtain a copy of the License at\r
-\r
-    http://www.apache.org/licenses/LICENSE-2.0\r
-\r
-Unless required by applicable law or agreed to in writing, software\r
-distributed under the License is distributed on an "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-See the License for the specific language governing permissions and\r
- limitations under the License.\r
-\r
-SPDX-License-Identifier: Apache-2.0\r
-============LICENSE_END=========================================================\r
-\r
-@authors: ronan.kenny@ericsson.com, waqas.ikram@ericsson.com\r
-*/\r
-\r
-import { BrowserModule } from '@angular/platform-browser';\r
-import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r
-\r
-import { AppRoutingModule } from './app-routing.module';\r
-import { AppComponent } from './app.component';\r
-import { SidebarComponent } from './sidebar/sidebar.component';\r
-import { TopbarComponent } from './topbar/topbar.component';\r
-import { HomeComponent } from './home/home.component';\r
-import { HttpClientModule } from '@angular/common/http';\r
-import { FormsModule, ReactiveFormsModule } from '@angular/forms';\r
-import { MatTableModule } from '@angular/material';\r
-import { DetailsComponent } from './details/details.component';\r
-import { ToastrNotificationService } from './toastr-notification-service.service';\r
-import { MatTabsModule } from '@angular/material/tabs';\r
-import { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r
-import { MatSelectModule } from '@angular/material/select';\r
-import { MatFormFieldModule, MatInputModule } from '@angular/material';\r
-import { MatDatepickerModule } from '@angular/material/datepicker';\r
-import { MatNativeDateModule } from '@angular/material';\r
-import { MatCardModule } from '@angular/material/card';\r
-import { NgxSpinnerModule } from 'ngx-spinner';\r
-import { RouterModule, Routes } from '@angular/router';\r
-import { APP_BASE_HREF } from '@angular/common';\r
-\r
-@NgModule({\r
-  declarations: [\r
-    AppComponent,\r
-    SidebarComponent,\r
-    TopbarComponent,\r
-    HomeComponent,\r
-    DetailsComponent\r
-  ],\r
-  imports: [\r
-    BrowserModule,\r
-    AppRoutingModule,\r
-    HttpClientModule,\r
-    FormsModule,\r
-    MatTableModule,\r
-    MatTabsModule,\r
-    BrowserAnimationsModule,\r
-    MatSelectModule,\r
-    MatFormFieldModule,\r
-    MatInputModule,\r
-    MatDatepickerModule,\r
-    MatNativeDateModule,\r
-    MatCardModule,\r
-    NgxSpinnerModule,\r
-    RouterModule,\r
-    RouterModule.forRoot([])\r
-  ],\r
-  schemas: [\r
-    CUSTOM_ELEMENTS_SCHEMA\r
-  ],\r
-  providers: [ToastrNotificationService],\r
-  bootstrap: [AppComponent]\r
-})\r
-export class AppModule { }\r
+/**
+============LICENSE_START=======================================================
+ Copyright (C) 2018 Ericsson. All rights reserved.
+================================================================================
+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.
+
+SPDX-License-Identifier: Apache-2.0
+============LICENSE_END=========================================================
+
+@authors: ronan.kenny@ericsson.com, waqas.ikram@ericsson.com
+*/
+
+import { BrowserModule } from '@angular/platform-browser';
+import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+
+import { AppRoutingModule } from './app-routing.module';
+import { AppComponent } from './app.component';
+import { SidebarComponent } from './sidebar/sidebar.component';
+import { TopbarComponent } from './topbar/topbar.component';
+import { HomeComponent } from './home/home.component';
+import { HttpClientModule } from '@angular/common/http';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { DetailsComponent } from './details/details.component';
+import { ToastrNotificationService } from './toastr-notification-service.service';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
+import { MatFormFieldModule, MatInputModule, MatTableModule, MatTabsModule, MatSelectModule, MatNativeDateModule, MatDatepickerModule, MatCardModule, MatPaginatorModule, MatSortModule } from '@angular/material';
+import { NgxSpinnerModule } from 'ngx-spinner';
+import { RouterModule, Routes } from '@angular/router';
+import { APP_BASE_HREF } from '@angular/common';
+
+@NgModule({
+  declarations: [
+    AppComponent,
+    SidebarComponent,
+    TopbarComponent,
+    HomeComponent,
+    DetailsComponent
+  ],
+  imports: [
+    BrowserModule,
+    AppRoutingModule,
+    HttpClientModule,
+    FormsModule,
+    MatTableModule,
+    MatTabsModule,
+    BrowserAnimationsModule,
+    MatSelectModule,
+    MatFormFieldModule,
+    MatInputModule,
+    MatDatepickerModule,
+    MatNativeDateModule,
+    MatCardModule,
+    NgxSpinnerModule,
+    RouterModule,
+    MatPaginatorModule,
+    MatSortModule,
+    RouterModule.forRoot([])
+  ],
+  schemas: [
+    CUSTOM_ELEMENTS_SCHEMA
+  ],
+  providers: [ToastrNotificationService],
+  bootstrap: [AppComponent]
+})
+export class AppModule { }