diff --git a/src/assets/styles/common-layout.scss b/src/assets/styles/common-layout.scss index 2cdded9..1d981f9 100644 --- a/src/assets/styles/common-layout.scss +++ b/src/assets/styles/common-layout.scss @@ -160,7 +160,9 @@ section.settings { box-sizing: border-box; background: var(--iqser-background); overflow: hidden; - transition: width ease-in-out 0.2s, min-width ease-in-out 0.2s; + transition: + width ease-in-out 0.2s, + min-width ease-in-out 0.2s; &:hover { overflow-y: auto; diff --git a/src/assets/styles/common-loading.scss b/src/assets/styles/common-loading.scss index 2ca4711..196d0f7 100644 --- a/src/assets/styles/common-loading.scss +++ b/src/assets/styles/common-loading.scss @@ -7,18 +7,26 @@ 0%, 20% { color: rgba(var(--iqser-accent-rgb), 0); - text-shadow: 0.25em 0 0 rgba(var(--iqser-accent-rgb), 0), 0.5em 0 0 rgba(var(--iqser-accent-rgb), 0); + text-shadow: + 0.25em 0 0 rgba(var(--iqser-accent-rgb), 0), + 0.5em 0 0 rgba(var(--iqser-accent-rgb), 0); } 40% { color: var(--iqser-accent); - text-shadow: 0.25em 0 0 rgba(var(--iqser-accent-rgb), 0), 0.5em 0 0 rgba(var(--iqser-accent-rgb), 0); + text-shadow: + 0.25em 0 0 rgba(var(--iqser-accent-rgb), 0), + 0.5em 0 0 rgba(var(--iqser-accent-rgb), 0); } 60% { - text-shadow: 0.25em 0 0 var(--iqser-accent), 0.5em 0 0 rgba(var(--iqser-accent-rgb), 0); + text-shadow: + 0.25em 0 0 var(--iqser-accent), + 0.5em 0 0 rgba(var(--iqser-accent-rgb), 0); } 80%, 100% { - text-shadow: 0.25em 0 0 var(--iqser-accent), 0.5em 0 0 var(--iqser-accent); + text-shadow: + 0.25em 0 0 var(--iqser-accent), + 0.5em 0 0 var(--iqser-accent); } } diff --git a/src/lib/dialog/base-dialog.component.ts b/src/lib/dialog/base-dialog.component.ts index 90cb5b7..b17e202 100644 --- a/src/lib/dialog/base-dialog.component.ts +++ b/src/lib/dialog/base-dialog.component.ts @@ -30,7 +30,10 @@ export abstract class BaseDialogComponent implements AfterViewInit, OnDestroy { readonly #dialog = inject(MatDialog); #hasErrors = false; - protected constructor(protected readonly _dialogRef: MatDialogRef, private readonly _isInEditMode = false) {} + protected constructor( + protected readonly _dialogRef: MatDialogRef, + private readonly _isInEditMode = false, + ) {} get valid(): boolean { return !this.form || this.form.valid; diff --git a/src/lib/dialog/confirmation-dialog/confirmation-dialog.component.html b/src/lib/dialog/confirmation-dialog/confirmation-dialog.component.html index 7bacdf2..015944e 100644 --- a/src/lib/dialog/confirmation-dialog/confirmation-dialog.component.html +++ b/src/lib/dialog/confirmation-dialog/confirmation-dialog.component.html @@ -20,7 +20,7 @@
- {{ checkbox.label | translate : config.translateParams }} + {{ checkbox.label | translate: config.translateParams }} diff --git a/src/lib/directives/has-scrollbar.directive.ts b/src/lib/directives/has-scrollbar.directive.ts index ce8150b..3b94ed5 100644 --- a/src/lib/directives/has-scrollbar.directive.ts +++ b/src/lib/directives/has-scrollbar.directive.ts @@ -7,7 +7,10 @@ import { ChangeDetectorRef, Directive, ElementRef, HostBinding, HostListener, On export class HasScrollbarDirective implements OnInit, OnChanges { @HostBinding('class') class = ''; - constructor(protected readonly _elementRef: ElementRef, protected readonly _changeDetector: ChangeDetectorRef) {} + constructor( + protected readonly _elementRef: ElementRef, + protected readonly _changeDetector: ChangeDetectorRef, + ) {} get hasScrollbar() { const element = this._elementRef?.nativeElement as HTMLElement; diff --git a/src/lib/help-mode/help-mode/help-mode.component.ts b/src/lib/help-mode/help-mode/help-mode.component.ts index 77831da..6ff53e3 100644 --- a/src/lib/help-mode/help-mode/help-mode.component.ts +++ b/src/lib/help-mode/help-mode/help-mode.component.ts @@ -13,7 +13,10 @@ import { CircleButtonTypes } from '../../buttons'; export class HelpModeComponent { readonly circleButtonTypes = CircleButtonTypes; - constructor(private readonly _dialog: MatDialog, readonly helpModeService: HelpModeService) {} + constructor( + private readonly _dialog: MatDialog, + readonly helpModeService: HelpModeService, + ) {} @HostListener('document:keydown.escape', ['$event']) onEscKeydownHandler(event: KeyboardEvent): void { diff --git a/src/lib/inputs/details-radio/details-radio.component.html b/src/lib/inputs/details-radio/details-radio.component.html index 6e08ec8..aae9694 100644 --- a/src/lib/inputs/details-radio/details-radio.component.html +++ b/src/lib/inputs/details-radio/details-radio.component.html @@ -14,8 +14,8 @@
- - {{ option.description | translate : option.descriptionParams | replaceNbsp }} + + {{ option.description | translate: option.descriptionParams | replaceNbsp }}
{ readonly filters$ = this.filterService?.filterGroups$.pipe(filterEach(f => !!f.icon)); readonly showResetFilters$ = this.#showResetFilters$; - constructor(@Optional() readonly filterService: FilterService, @Optional() readonly searchService: SearchService) {} + constructor( + @Optional() readonly filterService: FilterService, + @Optional() readonly searchService: SearchService, + ) {} get filterHelpModeKey() { return this.helpModeKey ? `filter_${this.helpModeKey}_list` : ''; diff --git a/src/lib/listing/table-header/table-header.component.html b/src/lib/listing/table-header/table-header.component.html index 60aea6e..527378c 100644 --- a/src/lib/listing/table-header/table-header.component.html +++ b/src/lib/listing/table-header/table-header.component.html @@ -9,7 +9,7 @@ > - {{ tableHeaderLabel | translate : { length: totalSize || (listingService.displayedLength$ | async) } }} + {{ tableHeaderLabel | translate: { length: totalSize || (listingService.displayedLength$ | async) } }}
diff --git a/src/lib/listing/workflow/column-header/column-header.component.ts b/src/lib/listing/workflow/column-header/column-header.component.ts index fb76cc5..6320a4e 100644 --- a/src/lib/listing/workflow/column-header/column-header.component.ts +++ b/src/lib/listing/workflow/column-header/column-header.component.ts @@ -44,7 +44,10 @@ export class ColumnHeaderComponent extend @ViewChild('bulkActionsContainer') bulkActionsContainer?: ElementRef; - constructor(readonly listingService: ListingService, private readonly _changeRef: ChangeDetectorRef) { + constructor( + readonly listingService: ListingService, + private readonly _changeRef: ChangeDetectorRef, + ) { super(); } diff --git a/src/lib/listing/workflow/workflow.component.scss b/src/lib/listing/workflow/workflow.component.scss index e2bb64e..7c47447 100644 --- a/src/lib/listing/workflow/workflow.component.scss +++ b/src/lib/listing/workflow/workflow.component.scss @@ -116,7 +116,9 @@ .item, .add-btn { - transition: background-color 0.2s, box-shadow 0.2s; + transition: + background-color 0.2s, + box-shadow 0.2s; border-radius: 8px; margin: 0 8px 4px 8px; diff --git a/src/lib/translations/pruning-translation-loader.ts b/src/lib/translations/pruning-translation-loader.ts index 06c2ef7..b9c76f7 100644 --- a/src/lib/translations/pruning-translation-loader.ts +++ b/src/lib/translations/pruning-translation-loader.ts @@ -8,7 +8,11 @@ interface T { } export class PruningTranslationLoader implements TranslateLoader { - constructor(private readonly _http: HttpClient, private readonly _prefix: string, private readonly _suffix: string) {} + constructor( + private readonly _http: HttpClient, + private readonly _prefix: string, + private readonly _suffix: string, + ) {} getTranslation(lang: string): Observable { return this._http.get(`${this._prefix}${lang}${this._suffix}`).pipe(map(result => this._process(result as T))); diff --git a/src/lib/users/components/initials-avatar/initials-avatar.component.html b/src/lib/users/components/initials-avatar/initials-avatar.component.html index 6112b93..75bf3ae 100644 --- a/src/lib/users/components/initials-avatar/initials-avatar.component.html +++ b/src/lib/users/components/initials-avatar/initials-avatar.component.html @@ -1,10 +1,10 @@ -
+
- {{ _user | name : { showInitials: true } }} + {{ _user | name: { showInitials: true } }}
diff --git a/src/lib/users/components/initials-avatar/initials-avatar.component.ts b/src/lib/users/components/initials-avatar/initials-avatar.component.ts index 25fd3d0..892781e 100644 --- a/src/lib/users/components/initials-avatar/initials-avatar.component.ts +++ b/src/lib/users/components/initials-avatar/initials-avatar.component.ts @@ -24,7 +24,10 @@ export class InitialsAvatarComponent, private readonly _translateService: TranslateService) {} + constructor( + private readonly _userService: IqserUserService, + private readonly _translateService: TranslateService, + ) {} _user?: Class; diff --git a/src/lib/users/guards/iqser-auth-guard.service.ts b/src/lib/users/guards/iqser-auth-guard.service.ts index 9333d6f..d70b016 100644 --- a/src/lib/users/guards/iqser-auth-guard.service.ts +++ b/src/lib/users/guards/iqser-auth-guard.service.ts @@ -8,7 +8,10 @@ import { KeycloakLoginOptions } from 'keycloak-js'; export class IqserAuthGuard extends KeycloakAuthGuard { readonly #config = getConfig(); - constructor(protected readonly _router: Router, protected readonly _keycloak: KeycloakService) { + constructor( + protected readonly _router: Router, + protected readonly _keycloak: KeycloakService, + ) { super(_router, _keycloak); } diff --git a/src/lib/users/iqser-user.model.ts b/src/lib/users/iqser-user.model.ts index 6d93dae..c23fa7c 100644 --- a/src/lib/users/iqser-user.model.ts +++ b/src/lib/users/iqser-user.model.ts @@ -16,7 +16,11 @@ export class IqserUser implements IIqserUser, IListable { constructor(user: KeycloakProfile | IIqserUser, ...args: unknown[]); - constructor(user: KeycloakProfile | IIqserUser, readonly roles: List, readonly userId: string) { + constructor( + user: KeycloakProfile | IIqserUser, + readonly roles: List, + readonly userId: string, + ) { this.hasAnyRole = this.roles.length > 0; this.email = user.email; this.username = user.username ?? this.email ?? 'unknown user'; diff --git a/src/lib/users/name.pipe.ts b/src/lib/users/name.pipe.ts index 058aea5..c48cf83 100644 --- a/src/lib/users/name.pipe.ts +++ b/src/lib/users/name.pipe.ts @@ -26,7 +26,10 @@ export class NamePipe implements PipeTransform { showInitials: false, }; - constructor(private readonly _userService: IqserUserService, private readonly _translateService: TranslateService) {} + constructor( + private readonly _userService: IqserUserService, + private readonly _translateService: TranslateService, + ) {} transform(value: IqserUser | string, options: NamePipeOptions = this._defaultOptions): string { if (!value || value === 'undefined') {