[DURACOM-191] align with main branch and migrated to be standalone new components

This commit is contained in:
Vlad Nouski
2023-12-11 11:08:22 +01:00
parent 8a7b459695
commit 1f15b21ba9
245 changed files with 10480 additions and 3191 deletions

View File

@@ -0,0 +1,34 @@
import { Component, Input } from '@angular/core';
import { ThemedComponent } from '../theme-support/themed.component';
import { LogInComponent } from './log-in.component';
/**
* Themed wrapper for {@link LogInComponent}
*/
@Component({
selector: 'ds-themed-log-in',
styleUrls: [],
templateUrl: './../theme-support/themed.component.html',
standalone: true,
})
export class ThemedLogInComponent extends ThemedComponent<LogInComponent> {
@Input() isStandalonePage: boolean;
protected inAndOutputNames: (keyof LogInComponent & keyof this)[] = [
'isStandalonePage',
];
protected getComponentName(): string {
return 'LogInComponent';
}
protected importThemedComponent(themeName: string): Promise<any> {
return import(`../../../themes/${themeName}/app/shared/log-in/log-in.component`);
}
protected importUnthemedComponent(): Promise<any> {
return import('./log-in.component');
}
}