dnet-applications/frontends/dnet-is-application/src/app/app.module.ts

121 lines
4.4 KiB
TypeScript
Raw Normal View History

2023-01-19 14:47:52 +01:00
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
2023-02-01 11:51:23 +01:00
import { FilterPipe } from './common/filter.pipe';
2023-01-19 14:47:52 +01:00
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
2023-01-26 14:56:39 +01:00
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
2023-02-03 14:55:39 +01:00
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
2023-01-19 14:47:52 +01:00
import { InfoComponent } from './info/info.component';
2023-02-03 14:55:39 +01:00
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
2023-01-19 14:47:52 +01:00
import { LayoutModule } from '@angular/cdk/layout';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatButtonModule } from '@angular/material/button';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@angular/material/list';
2023-01-26 14:56:39 +01:00
import { MatTreeModule } from '@angular/material/tree';
2023-01-19 14:47:52 +01:00
import { MatBadgeModule } from '@angular/material/badge';
import { MatCardModule } from '@angular/material/card';
2023-01-20 11:39:34 +01:00
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input'
2023-02-01 15:45:33 +01:00
import { MatSelectModule } from '@angular/material/select'
2023-01-20 11:39:34 +01:00
import { MatTableModule } from '@angular/material/table';
import { ProtocolsComponent } from './protocols/protocols.component';
2023-01-20 13:19:34 +01:00
import { MainMenuPanelsComponent } from './main-menu-panels/main-menu-panels.component';
import { MatExpansionModule } from '@angular/material/expansion';
2023-03-30 12:00:37 +02:00
import { WfHistoryDialog, WfHistoryComponent } from './wf-history/wf-history.component';
2023-01-23 14:22:14 +01:00
import { MatDialogModule } from '@angular/material/dialog';
2023-01-26 14:56:39 +01:00
import { MatSortModule } from '@angular/material/sort';
2023-01-25 16:08:32 +01:00
import { ResourcesComponent, ResContentDialog, ResCreateNewDialog, ResMetadataDialog } from './resources/resources.component'
2023-01-26 14:56:39 +01:00
import { MatSnackBarModule } from '@angular/material/snack-bar';
2023-01-27 12:43:15 +01:00
import { ContextsComponent, ContextViewerComponent, ContextParamsDialog } from './contexts/contexts.component';
2023-01-30 12:37:01 +01:00
import { VocabulariesComponent, VocabularyEditorComponent, VocDialog, VocTermDialog } from './vocabularies/vocabularies.component';
2023-02-01 15:45:33 +01:00
import { DsmSearchComponent, DsmResultsComponent, DsmApiComponent, DsmAddApiDialog, DsmBrowseDialog } from './dsm/dsm.component';
2023-01-31 15:02:51 +01:00
import { MatPaginatorModule } from '@angular/material/paginator';
2023-02-03 14:55:39 +01:00
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { SpinnerHttpInterceptor } from './common/spinner.service';
2023-02-07 11:22:20 +01:00
import { MdstoresComponent, MdstoreInspectorComponent, MDStoreVersionsDialog, AddMDStoreDialog } from './mdstores/mdstores.component';
2023-02-14 16:55:42 +01:00
import { CleanerTesterComponent } from './cleaner-tester/cleaner-tester.component';
2023-03-03 11:13:24 +01:00
import { EmailDialog, EmailsComponent } from './emails/emails.component';
2023-04-14 16:06:59 +02:00
import { WfConfsComponent, WfConfDialog, WfConfSingle } from './wf-confs/wf-confs.component';
2023-03-21 12:13:23 +01:00
import { MatTabsModule } from '@angular/material/tabs';
2023-03-27 14:16:53 +02:00
import { MatCheckboxModule } from '@angular/material/checkbox';
2023-03-28 11:12:10 +02:00
import { MatStepperModule } from '@angular/material/stepper';
2023-01-19 14:47:52 +01:00
@NgModule({
2023-02-08 15:36:13 +01:00
declarations: [
AppComponent,
FilterPipe,
MainMenuPanelsComponent,
InfoComponent,
ProtocolsComponent,
WfHistoryComponent,
2023-03-30 12:00:37 +02:00
WfHistoryDialog,
2023-02-08 15:36:13 +01:00
ResourcesComponent,
ResContentDialog,
ResCreateNewDialog,
ResMetadataDialog,
ContextsComponent,
ContextViewerComponent,
ContextParamsDialog,
VocabulariesComponent,
VocabularyEditorComponent,
VocDialog,
VocTermDialog,
DsmSearchComponent,
DsmResultsComponent,
DsmApiComponent,
DsmAddApiDialog,
DsmBrowseDialog,
MdstoresComponent,
MdstoreInspectorComponent,
MDStoreVersionsDialog,
2023-02-14 16:55:42 +01:00
AddMDStoreDialog,
2023-03-03 11:13:24 +01:00
CleanerTesterComponent,
EmailsComponent,
EmailDialog,
2023-03-27 14:16:53 +02:00
WfConfsComponent,
2023-04-14 16:06:59 +02:00
WfConfDialog,
WfConfSingle
2023-02-08 15:36:13 +01:00
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
BrowserModule,
AppRoutingModule,
FormsModule,
HttpClientModule,
LayoutModule,
MatToolbarModule,
MatButtonModule,
MatSidenavModule,
MatIconModule,
MatListModule,
MatTreeModule,
MatBadgeModule,
MatCardModule,
MatFormFieldModule,
MatInputModule,
MatSelectModule,
2023-03-27 14:16:53 +02:00
MatCheckboxModule,
2023-02-08 15:36:13 +01:00
MatTableModule,
MatExpansionModule,
MatDialogModule,
MatSortModule,
ReactiveFormsModule,
MatSnackBarModule,
MatPaginatorModule,
2023-03-21 12:13:23 +01:00
MatProgressSpinnerModule,
2023-03-28 11:12:10 +02:00
MatTabsModule,
MatStepperModule
2023-02-08 15:36:13 +01:00
],
providers: [{
provide: HTTP_INTERCEPTORS,
useClass: SpinnerHttpInterceptor,
multi: true
}],
bootstrap: [AppComponent]
2023-01-19 14:47:52 +01:00
})
export class AppModule { }