111103: Added SearchComponent to custom theme in order to easily theme it

This commit is contained in:
Alexandre Vryghem
2024-01-17 15:05:57 +01:00
parent 404ccd9b0e
commit 7ee425e4a3
4 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { pushInOut } from '../../../../../app/shared/animations/push';
import { SearchComponent as BaseComponent } from '../../../../../app/shared/search/search.component';
@Component({
selector: 'ds-search',
styleUrls: ['./search.component.scss'],
templateUrl: './search.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [pushInOut],
})
export class SearchComponent extends BaseComponent {
}

View File

@@ -156,6 +156,7 @@ import { ItemStatusComponent } from './app/item-page/edit-item-page/item-status/
import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component';
import { FormModule } from '../../app/shared/form/form.module';
import { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
import { SearchComponent } from './app/shared/search/search.component';
const DECLARATIONS = [
FileSectionComponent,
@@ -239,6 +240,7 @@ const DECLARATIONS = [
SubmissionSectionUploadFileComponent,
ItemStatusComponent,
EditBitstreamPageComponent,
SearchComponent,
];
@NgModule({