mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge branch 'w2p-97184_theme-feedback_contribute-7.4' into w2p-97184_theme-feedback_contribute-main
This commit is contained in:
@@ -7,12 +7,12 @@ import { Context } from '../../../../core/shared/context.model';
|
||||
import { CollectionElementLinkType } from '../../collection-element-link.type';
|
||||
|
||||
/**
|
||||
* Themed wrapper for SearchComponent
|
||||
* Themed wrapper for ListableObjectComponentLoaderComponent
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-themed-listable-object-component-loader',
|
||||
styleUrls: [],
|
||||
templateUrl: '../theme-support/themed.component.html',
|
||||
templateUrl: '../../../theme-support/themed.component.html',
|
||||
})
|
||||
export class ThemedListableObjectComponentLoaderComponent extends ThemedComponent<ListableObjectComponentLoaderComponent> {
|
||||
protected inAndOutputNames: (keyof ListableObjectComponentLoaderComponent & keyof this)[] = [
|
||||
@@ -34,7 +34,7 @@ export class ThemedListableObjectComponentLoaderComponent extends ThemedComponen
|
||||
}
|
||||
|
||||
protected importThemedComponent(themeName: string): Promise<any> {
|
||||
return import(`../../../themes/${themeName}/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component`);
|
||||
return import(`../../../../../themes/${themeName}/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component`);
|
||||
}
|
||||
|
||||
protected importUnthemedComponent(): Promise<any> {
|
||||
|
@@ -5,7 +5,9 @@ import { SearchConfigurationOption } from '../search-switch-configuration/search
|
||||
import { SortOptions } from '../../../core/cache/models/sort-options.model';
|
||||
import { ViewMode } from '../../../core/shared/view-mode.model';
|
||||
import { PaginatedSearchOptions } from '../models/paginated-search-options.model';
|
||||
import { Observable } from 'rxjs';
|
||||
import { BehaviorSubject, Observable } from 'rxjs';
|
||||
import { RemoteData } from '../../../core/data/remote-data';
|
||||
import { SearchFilterConfig } from '../models/search-filter-config.model';
|
||||
|
||||
/**
|
||||
* Themed wrapper for SearchSidebarComponent
|
||||
@@ -21,20 +23,21 @@ export class ThemedSearchSidebarComponent extends ThemedComponent<SearchSidebarC
|
||||
@Input() configurationList: SearchConfigurationOption[];
|
||||
@Input() currentScope: string;
|
||||
@Input() currentSortOption: SortOptions;
|
||||
@Input() filters: Observable<RemoteData<SearchFilterConfig[]>>;
|
||||
@Input() resultCount;
|
||||
@Input() viewModeList: ViewMode[];
|
||||
@Input() showViewModes = true;
|
||||
@Input() inPlaceSearch;
|
||||
@Input() searchOptions: PaginatedSearchOptions;
|
||||
@Input() sortOptionsList: SortOptions[];
|
||||
@Input() refreshFilters: Observable<any>;
|
||||
@Input() refreshFilters: BehaviorSubject<boolean>;
|
||||
@Output() toggleSidebar = new EventEmitter<boolean>();
|
||||
@Output() changeConfiguration: EventEmitter<SearchConfigurationOption> = new EventEmitter<SearchConfigurationOption>();
|
||||
@Output() changeViewMode: EventEmitter<ViewMode> = new EventEmitter<ViewMode>();
|
||||
|
||||
protected inAndOutputNames: (keyof SearchSidebarComponent & keyof this)[] = [
|
||||
'configuration', 'configurationList', 'currentScope', 'currentSortOption',
|
||||
'resultCount', 'viewModeList', 'showViewModes', 'inPlaceSearch',
|
||||
'resultCount', 'filters', 'viewModeList', 'showViewModes', 'inPlaceSearch',
|
||||
'searchOptions', 'sortOptionsList', 'refreshFilters', 'toggleSidebar', 'changeConfiguration', 'changeViewMode'];
|
||||
|
||||
protected getComponentName(): string {
|
||||
|
Reference in New Issue
Block a user