Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fe #87 update angular to v19 #88

Merged
merged 6 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10,435 changes: 5,963 additions & 4,472 deletions src/client/dangl-opencde-client-ui/package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions src/client/dangl-opencde-client-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
},
"private": true,
"dependencies": {
"@angular-devkit/schematics": "^18.2.3",
"@angular/animations": "^18.2.3",
"@angular/cdk": "^18.2.3",
"@angular/common": "^18.2.3",
"@angular/compiler": "^18.2.3",
"@angular/core": "^18.2.3",
"@angular/forms": "^18.2.3",
"@angular/material": "^18.2.3",
"@angular/platform-browser": "^18.2.3",
"@angular/platform-browser-dynamic": "^18.2.3",
"@angular/router": "^18.2.3",
"@angular-devkit/schematics": "^19.0.2",
"@angular/animations": "^19.0.1",
"@angular/cdk": "^19.0.1",
"@angular/common": "^19.0.1",
"@angular/compiler": "^19.0.1",
"@angular/core": "^19.0.1",
"@angular/forms": "^19.0.1",
"@angular/material": "^19.0.1",
"@angular/platform-browser": "^19.0.1",
"@angular/platform-browser-dynamic": "^19.0.1",
"@angular/router": "^19.0.1",
"@auth0/angular-jwt": "5.0.2",
"@dangl/angular-dangl-identity-client": "^6.1.0",
"@dangl/angular-material-shared": "^2.7.2",
Expand All @@ -32,12 +32,12 @@
"oidc-client-ts": "2.0.6",
"rxjs": "~7.5.6",
"tslib": "^2.4.0",
"zone.js": "~0.14.10"
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.2.3",
"@angular/cli": "^18.2.3",
"@angular/compiler-cli": "^18.2.3",
"@angular-devkit/build-angular": "^19.0.2",
"@angular/cli": "^19.0.2",
"@angular/compiler-cli": "^19.0.1",
"@types/file-saver": "^2.0.5",
"@types/jasmine": "~4.3.0",
"@types/node": "^18.7.18",
Expand All @@ -47,6 +47,6 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.4.5"
"typescript": "~5.6.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@dangl/angular-material-shared/styles/material-variables";
@use "@dangl/angular-material-shared/styles/material-variables" as *;

.main-content {
padding-left: 10px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Component } from '@angular/core';
selector: 'opencde-client-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
standalone: false,
})
export class AppComponent {
title = 'dangl-opencde-client-ui';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { MatDialog } from '@angular/material/dialog';
selector: 'opencde-client-authenticate-api',
templateUrl: './authenticate-api.component.html',
styleUrls: ['./authenticate-api.component.scss'],
standalone: false,
})
export class AuthenticateApiComponent implements OnInit, OnDestroy {
openIdForm: UntypedFormGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { takeUntil } from 'rxjs/operators';
selector: 'opencde-client-discover-opencde-api',
templateUrl: './discover-opencde-api.component.html',
styleUrls: ['./discover-opencde-api.component.scss'],
standalone: false,
})
export class DiscoverOpencdeApiComponent implements OnInit, OnDestroy {
isLoading = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { MatStepper } from '@angular/material/stepper';
selector: 'opencde-client-download-stepper',
templateUrl: './download-stepper.component.html',
styleUrls: ['./download-stepper.component.scss'],
standalone: false,
})
export class DownloadStepperComponent implements OnInit {
hasSetBaseAddress = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { MatStepper } from '@angular/material/stepper';
selector: 'opencde-client-main',
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss'],
standalone: false,
})
export class MainComponent implements OnInit {
hasSetBaseAddress = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { MatDialogRef } from '@angular/material/dialog';
selector: 'opencde-client-manage-openid-configs-modal',
templateUrl: './manage-openid-configs-modal.component.html',
styleUrls: ['./manage-openid-configs-modal.component.scss'],
standalone: false,
})
export class ManageOpenidConfigsModalComponent implements OnInit {
private currentSettings: SettingsType | null = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
selector: 'opencde-client-manage-servers-modal',
templateUrl: './manage-servers-modal.component.html',
styleUrls: ['./manage-servers-modal.component.scss'],
standalone: false,
})
export class ManageServersModalComponent implements OnInit {
savedServers: string[] = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { combineLatest } from 'rxjs';
selector: 'opencde-client-prepare-document-download',
templateUrl: './prepare-document-download.component.html',
styleUrls: ['./prepare-document-download.component.scss'],
standalone: false,
})
export class PrepareDocumentDownloadComponent implements OnInit {
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { combineLatest } from 'rxjs';
selector: 'opencde-client-prepare-document-selection',
templateUrl: './prepare-document-selection.component.html',
styleUrls: ['./prepare-document-selection.component.scss'],
standalone: false,
})
export class PrepareDocumentSelectionComponent implements OnInit {
@Output() onDocumentSelected = new EventEmitter<void>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { MatDialog } from '@angular/material/dialog';
selector: 'opencde-client-set-opencde-server',
templateUrl: './set-opencde-server.component.html',
styleUrls: ['./set-opencde-server.component.scss'],
standalone: false,
})
export class SetOpencdeServerComponent implements OnInit {
serverBaseAddress: string | null = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { FooterOptions } from '@dangl/angular-material-shared';
selector: 'opencde-client-site-footer',
templateUrl: './site-footer.component.html',
styleUrls: ['./site-footer.component.scss'],
standalone: false,
})
export class SiteFooterComponent {
footerOptions: FooterOptions = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { takeUntil } from 'rxjs/operators';
selector: 'opencde-client-site-header',
templateUrl: './site-header.component.html',
styleUrls: ['./site-header.component.scss'],
standalone: false,
})
export class SiteHeaderComponent implements OnInit, OnDestroy {
showPreReleaseHeader = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { takeUntil } from 'rxjs/operators';
selector: 'opencde-client-upload-stepper',
templateUrl: './upload-stepper.component.html',
styleUrls: ['./upload-stepper.component.scss'],
standalone: false,
})
export class UploadStepperComponent implements OnInit, OnDestroy {
hasSetBaseAddress = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { takeUntil } from 'rxjs/operators';
selector: 'opencde-client-user-info',
templateUrl: './user-info.component.html',
styleUrls: ['./user-info.component.scss'],
standalone: false,
})
export class UserInfoComponent implements OnInit, OnDestroy {
@Input() userInfo: UserInfo | null = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
selector: 'opencde-client-view-document',
templateUrl: './view-document.component.html',
styleUrls: ['./view-document.component.scss'],
standalone: false,
})
export class ViewDocumentComponent implements OnInit, OnDestroy {
isLoading = true;
Expand Down
6 changes: 3 additions & 3 deletions src/client/dangl-opencde-client-ui/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import "@dangl/angular-material-shared/styles/material-style";
@import "@dangl/angular-material-shared/styles/material-variables";
@use "@dangl/angular-material-shared/styles/material-style" as a;
@use "@dangl/angular-material-shared/styles/material-variables" as *;

// Those are for the ngx-toastr notifications
@import "ngx-toastr/toastr";
@use "ngx-toastr/toastr" as b;

html,
body {
Expand Down
Loading
Loading