mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
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:
@@ -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"
|
||||
}
|
||||
],
|
||||
|
@@ -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({});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@@ -264,7 +264,7 @@ export class SearchTextInputComponent implements OnInit, OnDestroy {
|
||||
|
||||
toggleSearchBar() {
|
||||
if (this.toggleSearch) {
|
||||
this.toggleSearch.next();
|
||||
this.toggleSearch.next({});
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user