blob: f64a49437e38866bc9cdf950b41820aa2128f7c4 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {HttpClientModule, HttpClientXsrfModule} from '@angular/common/http';
import {MatGridListModule} from '@angular/material/grid-list';
import {BsModalModule} from 'ng2-bs3-modal';
import {MatTableModule, MatTableDataSource} from '@angular/material/table';
import {MatSortModule} from '@angular/material/sort';
import {MatPaginatorModule} from '@angular/material/paginator';
import {MatProgressSpinnerModule} from '@angular/material/progress-spinner';
import {MatInputModule} from '@angular/material/input';
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {TokenManagementComponent} from './token.management.component';
import {TokenManagementService} from './token.management.service';
import {SessionInformationComponent} from './session.information.component';
import {SafeHtmlPipe} from './session.information.component';
@NgModule({
imports: [BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
HttpClientXsrfModule,
MatGridListModule,
BsModalModule,
FormsModule,
ReactiveFormsModule
],
exports: [MatTableModule,
MatTableDataSource,
MatSortModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatInputModule,
MatSlideToggleModule,
MatCheckboxModule
],
declarations: [TokenManagementComponent, SessionInformationComponent, SafeHtmlPipe],
providers: [TokenManagementService],
bootstrap: [TokenManagementComponent, SessionInformationComponent]
})
export class AppModule {
}