mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00

Conflicts: src/app/+item-page/simple/related-items/related-items-component.ts src/app/+search-page/configuration-search-page.component.ts src/app/+search-page/search-page.module.ts src/app/+search-page/search-tracker.component.ts src/app/+search-page/search.component.ts src/app/app.reducer.ts src/app/core/data/data.service.ts src/app/core/data/relationship.service.ts src/app/core/services/route.service.ts src/app/core/utilities/equatable.ts src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/dynamic-lookup-relation-modal.component.ts src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/search-tab/dynamic-lookup-relation-search-tab.component.ts src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/selection-tab/dynamic-lookup-relation-selection-tab.component.ts src/app/shared/form/builder/models/relationship-options.model.ts
25 lines
723 B
TypeScript
25 lines
723 B
TypeScript
import { Component, Input } from '@angular/core';
|
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
/**
|
|
* This component a pop up for when the user selects a custom name variant during submission for a relationship$
|
|
* The user can either choose to decline or accept to save the name variant as a metadata in the entity
|
|
*/
|
|
@Component({
|
|
selector: 'ds-name-variant-modal',
|
|
templateUrl: './name-variant-modal.component.html',
|
|
styleUrls: ['./name-variant-modal.component.scss']
|
|
})
|
|
/**
|
|
* The component for the modal to add a name variant to an item
|
|
*/
|
|
export class NameVariantModalComponent {
|
|
/**
|
|
* The name variant
|
|
*/
|
|
@Input() value: string;
|
|
|
|
constructor(public modal: NgbActiveModal) {
|
|
}
|
|
}
|