Created BrowseByPageComponent that uses the new refactored BrowseBySwitcherComponent extending AbstractComponentLoaderComponent

- Added the context to the rendersBrowseBy decorator
- Created AbstractBrowseByTypeComponent that is extended by all the browse type sections
This commit is contained in:
Alexandre Vryghem
2023-12-11 01:56:25 +01:00
parent 14d42b0d93
commit a83d69ee0e
25 changed files with 271 additions and 118 deletions

View File

@@ -1,5 +1,6 @@
import { autoserialize } from 'cerialize';
import { CacheableObject } from '../cache/cacheable-object.model';
import { BrowseByDataType } from '../../browse-by/browse-by-switcher/browse-by-decorator';
/**
* Base class for BrowseDefinition models
@@ -12,5 +13,5 @@ export abstract class BrowseDefinition extends CacheableObject {
/**
* Get the render type of the BrowseDefinition model
*/
abstract getRenderType(): string;
abstract getRenderType(): BrowseByDataType;
}