Commits
Tim Donohue authored and GitHub committed e523583f1f8 Merge
1 + | import {Component} from '@angular/core'; |
2 + | import {CreateCollectionParentSelectorComponent} from './create-collection-parent-selector.component'; |
3 + | import {ThemedComponent} from 'src/app/shared/theme-support/themed.component'; |
4 + | |
5 + | /** |
6 + | * Themed wrapper for CreateCollectionParentSelectorComponent |
7 + | */ |
8 + | @Component({ |
9 + | selector: 'ds-themed-create-collection-parent-selector', |
10 + | styleUrls: [], |
11 + | templateUrl: '../../../theme-support/themed.component.html' |
12 + | }) |
13 + | export class ThemedCreateCollectionParentSelectorComponent |
14 + | extends ThemedComponent<CreateCollectionParentSelectorComponent> { |
15 + | |
16 + | protected getComponentName(): string { |
17 + | return 'CreateCollectionParentSelectorComponent'; |
18 + | } |
19 + | |
20 + | protected importThemedComponent(themeName: string): Promise<any> { |
21 + | return import(`../../../../../themes/${themeName}/app/shared/dso-selector/modal-wrappers/create-collection-parent-selector/create-collection-parent-selector.component`); |
22 + | } |
23 + | |
24 + | protected importUnthemedComponent(): Promise<any> { |
25 + | return import('./create-collection-parent-selector.component'); |
26 + | } |
27 + | |
28 + | } |