pre angular 15 cleanup (#8961)

* pre angular 15 cleanup

* [ci:force] update test

* [ci:force] various updates as per migration

* [ci:force] port more changes

* [ci:force] migrate tests

* [ci:force] migrate formatting

* migrate changes

* rollback storybook
This commit is contained in:
Denys Vuika
2023-10-03 12:35:53 +01:00
committed by GitHub
parent e638b54fcd
commit 43242b1185
38 changed files with 95 additions and 156 deletions

View File

@@ -4,10 +4,7 @@
"overrides": [
{
"files": ["*.ts"],
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
],
"extends": ["plugin:@nrwl/nx/angular", "plugin:@angular-eslint/template/process-inline-templates"],
"rules": {
"jsdoc/newline-after-description": "warn",
"@typescript-eslint/naming-convention": "off",
@@ -28,24 +25,15 @@
"error",
{
"type": "element",
"prefix": [
"adf",
"app"
],
"prefix": ["adf", "app"],
"style": "kebab-case"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"type": [
"element",
"attribute"
],
"prefix": [
"adf",
"app"
],
"type": ["element", "attribute"],
"prefix": ["adf", "app"],
"style": "kebab-case"
}
],

View File

@@ -42,7 +42,7 @@ export class OIDCAuthenticationService extends BaseAuthenticationService {
this.oauthService.events.pipe(
filter((event)=> event.type === 'token_received')
).subscribe(()=>{
this.onLogin.next();
this.onLogin.next({});
});
});
}

View File

@@ -264,7 +264,7 @@ export class SearchTextInputComponent implements OnInit, OnDestroy {
toggleSearchBar() {
if (this.toggleSearch) {
this.toggleSearch.next();
this.toggleSearch.next({});
}
}

View File

@@ -254,9 +254,9 @@ export class PdfViewerComponent implements OnChanges, OnDestroy {
}
if (this.loadingTask) {
this.pdfjsWorkerDestroy$.next();
this.pdfjsWorkerDestroy$.next(true);
}
this.onDestroy$.next();
this.onDestroy$.next(true);
this.pdfjsWorkerDestroy$.complete();
this.onDestroy$.complete();
}