From 763ffa9441a237d0c86b39af53d94488df2aede4 Mon Sep 17 00:00:00 2001 From: Borys91 Date: Thu, 16 May 2024 14:28:27 +0300 Subject: [PATCH] update imports --- src/client/dangl-opencde-client-ui/src/app/app.module.ts | 8 ++++++-- .../authenticate-api/authenticate-api.component.ts | 2 +- .../prepare-document-download.component.ts | 2 +- .../prepare-document-selection.component.ts | 2 +- src/server/dangl-opencde-ui/src/app/app.module.ts | 8 ++++++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/client/dangl-opencde-client-ui/src/app/app.module.ts b/src/client/dangl-opencde-client-ui/src/app/app.module.ts index ee09dc5..fa5026d 100644 --- a/src/client/dangl-opencde-client-ui/src/app/app.module.ts +++ b/src/client/dangl-opencde-client-ui/src/app/app.module.ts @@ -4,7 +4,10 @@ import { } from '@dangl/angular-dangl-identity-client'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { AngularMaterialSharedModule } from '@dangl/angular-material-shared'; +import { + HeaderComponent, + FooterComponent, +} from '@dangl/angular-material-shared'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; import { AuthenticateApiComponent } from './components/authenticate-api/authenticate-api.component'; @@ -63,7 +66,8 @@ import { MatTabsModule } from '@angular/material/tabs'; MatIconModule, MatMenuModule, NgDanglIconsModule, - AngularMaterialSharedModule, + HeaderComponent, + FooterComponent, DanglIdentityModule, MatButtonModule, BrowserAnimationsModule, diff --git a/src/client/dangl-opencde-client-ui/src/app/components/authenticate-api/authenticate-api.component.ts b/src/client/dangl-opencde-client-ui/src/app/components/authenticate-api/authenticate-api.component.ts index 8f2dbca..8a813a4 100644 --- a/src/client/dangl-opencde-client-ui/src/app/components/authenticate-api/authenticate-api.component.ts +++ b/src/client/dangl-opencde-client-ui/src/app/components/authenticate-api/authenticate-api.component.ts @@ -20,7 +20,7 @@ import { filter, first, takeUntil } from 'rxjs/operators'; import { AuthGet } from '../../generated/opencde-client'; import { CdeClientHubService } from '../../services/cde-client-hub.service'; -import { GuidGenerator } from '@dangl/angular-material-shared'; +import { GuidGenerator } from '@dangl/angular-material-shared/guid-generator'; import { ManageOpenidConfigsModalComponent } from '../manage-openid-configs-modal/manage-openid-configs-modal.component'; import { OpenCdeDiscoveryService } from '../../services/open-cde-discovery.service'; import { SettingsService } from '../../services/settings.service'; diff --git a/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-download/prepare-document-download.component.ts b/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-download/prepare-document-download.component.ts index c3e6596..8c2cc47 100644 --- a/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-download/prepare-document-download.component.ts +++ b/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-download/prepare-document-download.component.ts @@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'; import { first, map } from 'rxjs/operators'; import { DocumentsUploadHandlerClient } from '../../generated/backend-client'; -import { GuidGenerator } from '@dangl/angular-material-shared'; +import { GuidGenerator } from '@dangl/angular-material-shared/guid-generator'; import { JwtTokenService } from '@dangl/angular-dangl-identity-client'; import { OpenCdeDiscoveryService } from '../../services/open-cde-discovery.service'; import { combineLatest } from 'rxjs'; diff --git a/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-selection/prepare-document-selection.component.ts b/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-selection/prepare-document-selection.component.ts index 9578166..500fa14 100644 --- a/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-selection/prepare-document-selection.component.ts +++ b/src/client/dangl-opencde-client-ui/src/app/components/prepare-document-selection/prepare-document-selection.component.ts @@ -3,7 +3,7 @@ import { first, map } from 'rxjs/operators'; import { DocumentSelectionService } from '../../services/document-selection.service'; import { DocumentsSelectionHandlerClient } from '../../generated/backend-client'; -import { GuidGenerator } from '@dangl/angular-material-shared'; +import { GuidGenerator } from '@dangl/angular-material-shared/guid-generator'; import { HttpClient } from '@angular/common/http'; import { JwtTokenService } from '@dangl/angular-dangl-identity-client'; import { OpenCdeDiscoveryService } from '../../services/open-cde-discovery.service'; diff --git a/src/server/dangl-opencde-ui/src/app/app.module.ts b/src/server/dangl-opencde-ui/src/app/app.module.ts index 0a680c1..8695c62 100644 --- a/src/server/dangl-opencde-ui/src/app/app.module.ts +++ b/src/server/dangl-opencde-ui/src/app/app.module.ts @@ -1,6 +1,9 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { AngularMaterialSharedModule } from '@dangl/angular-material-shared'; +import { + FooterComponent, + HeaderComponent, +} from '@dangl/angular-material-shared'; import { ApiSpecComponent } from './components/api-spec/api-spec.component'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; @@ -63,10 +66,11 @@ import { MatInputModule } from '@angular/material/input'; CdeFileUploadComponent, ], imports: [ + HeaderComponent, + FooterComponent, BrowserModule, AppRoutingModule, BrowserAnimationsModule, - AngularMaterialSharedModule, MatSidenavModule, MatButtonModule, DanglIdentityModule,