diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 21ebbf87..c1607333 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,66 +1,66 @@ -import {BrowserModule} from '@angular/platform-browser'; -import {NgModule} from '@angular/core'; -import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; -import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import { BrowserModule } from '@angular/platform-browser'; +import { NgModule } from '@angular/core'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import {MatToolbarModule} from '@angular/material/toolbar'; -import {MatSidenavModule} from '@angular/material/sidenav'; -import {MatButtonModule} from '@angular/material/button'; -import {MatIconModule} from '@angular/material/icon'; -import {HTTP_INTERCEPTORS, HttpClientModule} from '@angular/common/http'; -import {MatListModule} from '@angular/material/list'; -import {MatDialogModule} from '@angular/material/dialog'; -import {MatFormFieldModule} from '@angular/material/form-field'; -import {MatSnackBarModule} from '@angular/material/snack-bar'; -import {ApiModule as AtlasAPIModule} from 'api-atlas/api.module'; -import {MDBBootstrapModule} from 'angular-bootstrap-md'; -import {MatCardModule} from '@angular/material/card'; -import {ApiModule as PatternAltasAPIModule} from 'api-patternatlas/api.module'; -import {ApiModule as NisqApiModule} from 'api-nisq/api.module'; -import {ApiModule as LatexRendererAPIModule} from 'api-latex/api.module'; -import {ApiModule as QProvAPIModule} from 'api-qprov/api.module'; -import {MatAutocompleteModule} from '@angular/material/autocomplete'; -import {MatSelectModule} from '@angular/material/select'; -import {MatInputModule} from '@angular/material/input'; -import {MatProgressSpinnerModule} from '@angular/material/progress-spinner'; -import {environment} from '../environments/environment'; -import {AppRoutingModule} from './app-routing.module'; -import {AppComponent} from './app.component'; -import {PageNotFoundComponent} from './components/page-not-found/page-not-found.component'; -import {JsonImportDialogComponent} from './components/dialogs/json-import-dialog.component'; -import {MissingEntityDialogComponent} from './components/dialogs/missing-entity-dialog.component'; -import {NavigationComponent} from './components/navigation/navigation.component'; -import {NavigationBreadcrumbModule} from './components/generics/navigation-breadcrumb/navigation-breadcrumb.module'; -import {AlgorithmModule} from './components/algorithms/algorithm.module'; -import {ImplementationViewModule} from './components/algorithms/implementation-view/implementation-view.module'; -import {GenericsModule} from './components/generics/generics.module'; -import {UtilService} from './util/util.service'; -import {ComputeResourcePropertyModule} from './components/compute-resource-property/compute-resource-property.module'; -import {ExecutionEnvironmentsModule} from './components/execution-environments/execution-environments.module'; -import {PublicationModule} from './components/publications/publication.module'; -import {ServicesModule} from './services/services.module'; -import {ChangePageGuard} from './services/deactivation-guard'; -import {LinkItemListDialogComponent} from './components/generics/dialogs/link-item-list-dialog.component'; -import {ProblemTypesListComponent} from './components/problem-types/problem-types-list/problem-types-list.component'; -import {AddOrEditProblemTypeDialogComponent} from './components/problem-types/dialogs/add-or-edit-problem-type/add-or-edit-problem-type-dialog.component'; -import {ApplicationAreasListComponent} from './components/application-areas/application-areas-list/application-areas-list.component'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { MatSidenavModule } from '@angular/material/sidenav'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http'; +import { MatListModule } from '@angular/material/list'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatSnackBarModule } from '@angular/material/snack-bar'; +import { ApiModule as AtlasAPIModule } from 'api-atlas/api.module'; +import { MDBBootstrapModule } from 'angular-bootstrap-md'; +import { MatCardModule } from '@angular/material/card'; +import { ApiModule as PatternAltasAPIModule } from 'api-patternatlas/api.module'; +import { ApiModule as NisqApiModule } from 'api-nisq/api.module'; +import { ApiModule as LatexRendererAPIModule } from 'api-latex/api.module'; +import { ApiModule as QProvAPIModule } from 'api-qprov/api.module'; +import { MatAutocompleteModule } from '@angular/material/autocomplete'; +import { MatSelectModule } from '@angular/material/select'; +import { MatInputModule } from '@angular/material/input'; +import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; +import { environment } from '../environments/environment'; +import { AppRoutingModule } from './app-routing.module'; +import { AppComponent } from './app.component'; +import { PageNotFoundComponent } from './components/page-not-found/page-not-found.component'; +import { JsonImportDialogComponent } from './components/dialogs/json-import-dialog.component'; +import { MissingEntityDialogComponent } from './components/dialogs/missing-entity-dialog.component'; +import { NavigationComponent } from './components/navigation/navigation.component'; +import { NavigationBreadcrumbModule } from './components/generics/navigation-breadcrumb/navigation-breadcrumb.module'; +import { AlgorithmModule } from './components/algorithms/algorithm.module'; +import { ImplementationViewModule } from './components/algorithms/implementation-view/implementation-view.module'; +import { GenericsModule } from './components/generics/generics.module'; +import { UtilService } from './util/util.service'; +import { ComputeResourcePropertyModule } from './components/compute-resource-property/compute-resource-property.module'; +import { ExecutionEnvironmentsModule } from './components/execution-environments/execution-environments.module'; +import { PublicationModule } from './components/publications/publication.module'; +import { ServicesModule } from './services/services.module'; +import { ChangePageGuard } from './services/deactivation-guard'; +import { LinkItemListDialogComponent } from './components/generics/dialogs/link-item-list-dialog.component'; +import { ProblemTypesListComponent } from './components/problem-types/problem-types-list/problem-types-list.component'; +import { AddOrEditProblemTypeDialogComponent } from './components/problem-types/dialogs/add-or-edit-problem-type/add-or-edit-problem-type-dialog.component'; +import { ApplicationAreasListComponent } from './components/application-areas/application-areas-list/application-areas-list.component'; // eslint-disable-next-line max-len -import {AddOrEditApplicationAreaDialogComponent} from './components/application-areas/dialogs/add-or-edit-application-area/add-or-edit-application-area-dialog.component'; +import { AddOrEditApplicationAreaDialogComponent } from './components/application-areas/dialogs/add-or-edit-application-area/add-or-edit-application-area-dialog.component'; // eslint-disable-next-line max-len -import {AddOrEditAlgorithmRelationTypeDialogComponent} from './components/algorithm-relation-types/dialogs/add-or-edit-algorithm-relation-type-dialog/add-or-edit-algorithm-relation-type-dialog.component'; +import { AddOrEditAlgorithmRelationTypeDialogComponent } from './components/algorithm-relation-types/dialogs/add-or-edit-algorithm-relation-type-dialog/add-or-edit-algorithm-relation-type-dialog.component'; // eslint-disable-next-line max-len -import {AlgorithmRelationTypesListComponent} from './components/algorithm-relation-types/algorithm-relation-types-list/algorithm-relation-types-list.component'; -import {PatternRelationTypesListComponent} from './components/pattern-relation-types/pattern-relation-types-list/pattern-relation-types-list.component'; +import { AlgorithmRelationTypesListComponent } from './components/algorithm-relation-types/algorithm-relation-types-list/algorithm-relation-types-list.component'; +import { PatternRelationTypesListComponent } from './components/pattern-relation-types/pattern-relation-types-list/pattern-relation-types-list.component'; // eslint-disable-next-line max-len -import {AddOrEditPatternRelationTypeDialogComponent} from './components/pattern-relation-types/dialogs/add-or-edit-pattern-relation-type-dialog/add-or-edit-pattern-relation-type-dialog.component'; +import { AddOrEditPatternRelationTypeDialogComponent } from './components/pattern-relation-types/dialogs/add-or-edit-pattern-relation-type-dialog/add-or-edit-pattern-relation-type-dialog.component'; // eslint-disable-next-line max-len -import {ComputeResourcePropertyTypesListComponent} from './components/compute-resource-property-types/compute-resource-property-types-list/compute-resource-property-types-list.component'; +import { ComputeResourcePropertyTypesListComponent } from './components/compute-resource-property-types/compute-resource-property-types-list/compute-resource-property-types-list.component'; // eslint-disable-next-line max-len -import {AddOrEditComputeResourcePropertyTypeDialogComponent} from './components/compute-resource-property-types/dialogs/add-or-edit-compute-resource-property-type-dialog/add-or-edit-compute-resource-property-type-dialog.component'; -import {QcAtlasUiFeatureToggleModule} from './directives/feature-toggle.module'; -import {FeatureTogglingComponent} from './components/feature-toggling/feature-toggling.component'; -import {PlanqkPlatformLoginDialogComponent} from './components/dialogs/planqk-platform-login-dialog.component'; -import {AuthInterceptor} from './http-interceptors/auth-interceptor'; +import { AddOrEditComputeResourcePropertyTypeDialogComponent } from './components/compute-resource-property-types/dialogs/add-or-edit-compute-resource-property-type-dialog/add-or-edit-compute-resource-property-type-dialog.component'; +import { QcAtlasUiFeatureToggleModule } from './directives/feature-toggle.module'; +import { FeatureTogglingComponent } from './components/feature-toggling/feature-toggling.component'; +import { PlanqkPlatformLoginDialogComponent } from './components/dialogs/planqk-platform-login-dialog.component'; +import { AuthInterceptor } from './http-interceptors/auth-interceptor'; @NgModule({ declarations: [ diff --git a/src/app/components/algorithms/algorithm-related-patterns/algorithm-related-patterns.component.ts b/src/app/components/algorithms/algorithm-related-patterns/algorithm-related-patterns.component.ts index dd5ae747..94f0459c 100644 --- a/src/app/components/algorithms/algorithm-related-patterns/algorithm-related-patterns.component.ts +++ b/src/app/components/algorithms/algorithm-related-patterns/algorithm-related-patterns.component.ts @@ -1,19 +1,19 @@ -import {Component, Input, OnInit} from '@angular/core'; -import {AlgorithmDto} from 'api-atlas/models/algorithm-dto'; -import {PatternRelationTypeService} from 'api-atlas/services/pattern-relation-type.service'; -import {AlgorithmService} from 'api-atlas/services/algorithm.service'; -import {PatternRelationTypeDto} from 'api-atlas/models/pattern-relation-type-dto'; -import {PatternRelationDto} from 'api-atlas/models'; -import {PatternControllerService} from 'api-patternatlas/services/pattern-controller.service'; -import {EntityModelPattern} from 'api-patternatlas/models/entity-model-pattern'; -import {EntityModelPatternLanguage} from 'api-patternatlas/models'; -import {forkJoin} from 'rxjs'; -import {HttpClient} from '@angular/common/http'; -import {AddPatternRelationDialogComponent} from '../dialogs/add-pattern-relation-dialog.component'; -import {UtilService} from '../../../util/util.service'; -import {ConfirmDialogComponent} from '../../generics/dialogs/confirm-dialog.component'; -import {UrlData} from '../../generics/data-list/data-list.component'; -import {environment as Env} from '../../../../environments/environment'; +import { Component, Input, OnInit } from '@angular/core'; +import { AlgorithmDto } from 'api-atlas/models/algorithm-dto'; +import { PatternRelationTypeService } from 'api-atlas/services/pattern-relation-type.service'; +import { AlgorithmService } from 'api-atlas/services/algorithm.service'; +import { PatternRelationTypeDto } from 'api-atlas/models/pattern-relation-type-dto'; +import { PatternRelationDto } from 'api-atlas/models'; +import { PatternControllerService } from 'api-patternatlas/services/pattern-controller.service'; +import { EntityModelPattern } from 'api-patternatlas/models/entity-model-pattern'; +import { EntityModelPatternLanguage } from 'api-patternatlas/models'; +import { forkJoin } from 'rxjs'; +import { HttpClient } from '@angular/common/http'; +import { AddPatternRelationDialogComponent } from '../dialogs/add-pattern-relation-dialog.component'; +import { UtilService } from '../../../util/util.service'; +import { ConfirmDialogComponent } from '../../generics/dialogs/confirm-dialog.component'; +import { UrlData } from '../../generics/data-list/data-list.component'; +import { environment as Env } from '../../../../environments/environment'; @Component({ selector: 'app-algorithm-related-patterns', diff --git a/src/app/components/algorithms/dialogs/add-pattern-relation-dialog.component.ts b/src/app/components/algorithms/dialogs/add-pattern-relation-dialog.component.ts index 20ac7627..c01121f4 100644 --- a/src/app/components/algorithms/dialogs/add-pattern-relation-dialog.component.ts +++ b/src/app/components/algorithms/dialogs/add-pattern-relation-dialog.component.ts @@ -1,17 +1,17 @@ -import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog'; -import {Component, Inject, OnInit} from '@angular/core'; -import {AlgorithmService} from 'api-atlas/services/algorithm.service'; -import {PatternRelationTypeService} from 'api-atlas/services/pattern-relation-type.service'; -import {PatternRelationTypeDto} from 'api-atlas/models/pattern-relation-type-dto'; -import {PatternLanguage} from 'api-patternatlas/models/pattern-language'; -import {Pattern} from 'api-patternatlas/models/pattern'; -import {PatternLanguageControllerService} from 'api-patternatlas/services/pattern-language-controller.service'; -import {PatternControllerService} from 'api-patternatlas/services/pattern-controller.service'; -import {StepperSelectionEvent} from '@angular/cdk/stepper'; -import {AbstractControl, FormControl, FormGroup} from '@angular/forms'; -import {EntityModelPatternModel} from 'api-patternatlas/models/entity-model-pattern-model'; -import {environment as Env} from '../../../../environments/environment'; -import {UtilService} from '../../../util/util.service'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Component, Inject, OnInit } from '@angular/core'; +import { AlgorithmService } from 'api-atlas/services/algorithm.service'; +import { PatternRelationTypeService } from 'api-atlas/services/pattern-relation-type.service'; +import { PatternRelationTypeDto } from 'api-atlas/models/pattern-relation-type-dto'; +import { PatternLanguage } from 'api-patternatlas/models/pattern-language'; +import { Pattern } from 'api-patternatlas/models/pattern'; +import { PatternLanguageControllerService } from 'api-patternatlas/services/pattern-language-controller.service'; +import { PatternControllerService } from 'api-patternatlas/services/pattern-controller.service'; +import { StepperSelectionEvent } from '@angular/cdk/stepper'; +import { AbstractControl, FormControl, FormGroup } from '@angular/forms'; +import { EntityModelPatternModel } from 'api-patternatlas/models/entity-model-pattern-model'; +import { environment as Env } from '../../../../environments/environment'; +import { UtilService } from '../../../util/util.service'; @Component({ selector: 'app-add-pattern-relation-dialog',