Finished themeable components

This commit is contained in:
lotte
2021-03-04 14:00:37 +01:00
committed by Art Lowel
parent cddbdbfed7
commit d3dd8fb565
75 changed files with 540 additions and 73 deletions

View File

@@ -0,0 +1,26 @@
import { ThemedComponent } from '../../shared/theme-support/themed.component';
import { Component } from '@angular/core';
import { WorkflowItemSendBackComponent } from './workflow-item-send-back.component';
/**
* Themed wrapper for WorkflowItemActionPageComponent
*/
@Component({
selector: 'ds-themed-workflow-item-send-back',
styleUrls: [],
templateUrl: './../../shared/theme-support/themed.component.html'
})
export class ThemedWorkflowItemSendBackComponent extends ThemedComponent<WorkflowItemSendBackComponent> {
protected getComponentName(): string {
return 'WorkflowItemSendBackComponent';
}
protected importThemedComponent(themeName: string): Promise<any> {
return import(`../../../themes/${themeName}/app/+workflowitems-edit-page/workflow-item-send-back/workflow-item-send-back.component`);
}
protected importUnthemedComponent(): Promise<any> {
return import(`./workflow-item-send-back.component`);
}
}