91131: Added parent constructor to ThemedLoadingComponent

This commit is contained in:
Alexandre Vryghem
2022-05-12 12:05:17 +02:00
parent 67ffa89c47
commit db375b8f47

View File

@@ -1,6 +1,7 @@
import { Component, Input } from '@angular/core';
import { ThemedComponent } from '../../shared/theme-support/themed.component';
import { Component, Input, ComponentFactoryResolver, ChangeDetectorRef } from '@angular/core';
import { ThemedComponent } from '../theme-support/themed.component';
import { LoadingComponent } from './loading.component';
import { ThemeService } from '../theme-support/theme.service';
/**
* Themed wrapper for LoadingComponent
@@ -17,6 +18,14 @@ export class ThemedLoadingComponent extends ThemedComponent<LoadingComponent> {
protected inAndOutputNames: (keyof LoadingComponent & keyof this)[] = ['message', 'showMessage'];
constructor(
protected resolver: ComponentFactoryResolver,
protected cdr: ChangeDetectorRef,
protected themeService: ThemeService
) {
super(resolver, cdr, themeService);
}
protected getComponentName(): string {
return 'LoadingComponent';
}