mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge remote-tracking branch 'templates/w2p-98819_themed-starts-with-components_contribute-7.0' into atmire-contributions-alex-7.5
# Conflicts: # src/themes/custom/entry-components.ts # src/themes/custom/lazy-theme.module.ts
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { renderStartsWithFor, StartsWithType } from '../../../../../../app/shared/starts-with/starts-with-decorator';
|
||||
import {
|
||||
StartsWithDateComponent as BaseComponent
|
||||
} from '../../../../../../app/shared/starts-with/date/starts-with-date.component';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-starts-with-date',
|
||||
// styleUrls: ['./starts-with-date.component.scss'],
|
||||
styleUrls: ['../../../../../../app/shared/starts-with/date/starts-with-date.component.scss'],
|
||||
// templateUrl: './starts-with-date.component.html',
|
||||
templateUrl: '../../../../../../app/shared/starts-with/date/starts-with-date.component.html',
|
||||
})
|
||||
@renderStartsWithFor(StartsWithType.date)
|
||||
export class StartsWithDateComponent extends BaseComponent {
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { renderStartsWithFor, StartsWithType } from '../../../../../../app/shared/starts-with/starts-with-decorator';
|
||||
import {
|
||||
StartsWithTextComponent as BaseComponent
|
||||
} from '../../../../../../app/shared/starts-with/text/starts-with-text.component';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-starts-with-text',
|
||||
// styleUrls: ['./starts-with-text.component.scss'],
|
||||
styleUrls: ['../../../../../../app/shared/starts-with/text/starts-with-text.component.scss'],
|
||||
// templateUrl: './starts-with-text.component.html',
|
||||
templateUrl: '../../../../../../app/shared/starts-with/text/starts-with-text.component.html',
|
||||
})
|
||||
@renderStartsWithFor(StartsWithType.text)
|
||||
export class StartsWithTextComponent extends BaseComponent {
|
||||
}
|
@@ -38,13 +38,13 @@ import {
|
||||
import {
|
||||
EditItemSelectorComponent
|
||||
} from './app/shared/dso-selector/modal-wrappers/edit-item-selector/edit-item-selector.component';
|
||||
|
||||
import { CommunityListElementComponent } from './app/shared/object-list/community-list-element/community-list-element.component';
|
||||
import { CollectionListElementComponent} from './app/shared/object-list/collection-list-element/collection-list-element.component';
|
||||
import { CollectionDropdownComponent } from './app/shared/collection-dropdown/collection-dropdown.component';
|
||||
import { SharedBrowseByModule } from '../../app/shared/browse-by/shared-browse-by.module';
|
||||
import { ResultsBackButtonModule } from '../../app/shared/results-back-button/results-back-button.module';
|
||||
|
||||
import { StartsWithDateComponent } from './app/shared/starts-with/date/starts-with-date.component';
|
||||
import { StartsWithTextComponent } from './app/shared/starts-with/text/starts-with-text.component';
|
||||
|
||||
/**
|
||||
* Add components that use a custom decorator to ENTRY_COMPONENTS as well as DECLARATIONS.
|
||||
@@ -56,10 +56,11 @@ const ENTRY_COMPONENTS = [
|
||||
JournalVolumeComponent,
|
||||
PublicationComponent,
|
||||
UntypedItemComponent,
|
||||
|
||||
CommunityListElementComponent,
|
||||
CollectionListElementComponent,
|
||||
CollectionDropdownComponent,
|
||||
StartsWithDateComponent,
|
||||
StartsWithTextComponent,
|
||||
];
|
||||
|
||||
const DECLARATIONS = [
|
||||
|
Reference in New Issue
Block a user