mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[CST-11045] code clean up
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
/**
|
|
||||||
* An interface to represent a notifyService object
|
|
||||||
*/
|
|
||||||
export class NotifyServiceObject {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The notifyService object
|
|
||||||
*/
|
|
||||||
id: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The access condition name
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Possible start date of the access condition
|
|
||||||
*/
|
|
||||||
startDate: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Possible end date of the access condition
|
|
||||||
*/
|
|
||||||
endDate: string;
|
|
||||||
}
|
|
@@ -1,21 +0,0 @@
|
|||||||
import {NotifyServiceObject} from './notify-service-submission.model'
|
|
||||||
import { LdnService } from '../../../admin/admin-ldn-services/ldn-services-model/ldn-services.model';
|
|
||||||
/**
|
|
||||||
* An interface to represent the submission's item ldn-services condition.
|
|
||||||
*/
|
|
||||||
export interface WorkspaceitemSectionNotifyServiceRequestItemDissemination extends NotifyServiceObject {
|
|
||||||
/**
|
|
||||||
* The ldn-review service
|
|
||||||
*/
|
|
||||||
reviewService: LdnService;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ldn-endorse service
|
|
||||||
*/
|
|
||||||
endorseService: LdnService;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ldn-ingest service
|
|
||||||
*/
|
|
||||||
ingestService: LdnService;
|
|
||||||
}
|
|
@@ -5,7 +5,6 @@ import { WorkspaceitemSectionUploadObject } from './workspaceitem-section-upload
|
|||||||
import { WorkspaceitemSectionCcLicenseObject } from './workspaceitem-section-cc-license.model';
|
import { WorkspaceitemSectionCcLicenseObject } from './workspaceitem-section-cc-license.model';
|
||||||
import {WorkspaceitemSectionIdentifiersObject} from './workspaceitem-section-identifiers.model';
|
import {WorkspaceitemSectionIdentifiersObject} from './workspaceitem-section-identifiers.model';
|
||||||
import { WorkspaceitemSectionSherpaPoliciesObject } from './workspaceitem-section-sherpa-policies.model';
|
import { WorkspaceitemSectionSherpaPoliciesObject } from './workspaceitem-section-sherpa-policies.model';
|
||||||
import { WorkspaceitemSectionNotifyServiceRequestItemDissemination } from './workspaceitem-section-form-notify-service.model';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An interface to represent submission's section object.
|
* An interface to represent submission's section object.
|
||||||
@@ -26,7 +25,6 @@ export type WorkspaceitemSectionDataType
|
|||||||
| WorkspaceitemSectionAccessesObject
|
| WorkspaceitemSectionAccessesObject
|
||||||
| WorkspaceitemSectionSherpaPoliciesObject
|
| WorkspaceitemSectionSherpaPoliciesObject
|
||||||
| WorkspaceitemSectionIdentifiersObject
|
| WorkspaceitemSectionIdentifiersObject
|
||||||
| WorkspaceitemSectionNotifyServiceRequestItemDissemination
|
|
||||||
| string;
|
| string;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -34,10 +34,6 @@
|
|||||||
[sectionData]="object">
|
[sectionData]="object">
|
||||||
</ds-submission-section-container>
|
</ds-submission-section-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!--ds-submission-section-container [collectionId]="collectionId"
|
|
||||||
[submissionId]="submissionId"
|
|
||||||
[sectionData]="object">
|
|
||||||
</ds-submission-section-container-->
|
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!(isLoading() | async)" class="submission-form-footer mt-3 mb-3 position-sticky">
|
<div *ngIf="!(isLoading() | async)" class="submission-form-footer mt-3 mb-3 position-sticky">
|
||||||
<ds-submission-form-footer [submissionId]="submissionId"></ds-submission-form-footer>
|
<ds-submission-form-footer [submissionId]="submissionId"></ds-submission-form-footer>
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
export const SECTION_LDN_SERVICE_FORM_LAYOUT = {
|
|
||||||
|
|
||||||
granted: {
|
|
||||||
element: {
|
|
||||||
container: 'custom-control custom-checkbox pl-1',
|
|
||||||
control: 'custom-control-input',
|
|
||||||
label: 'custom-control-label pt-1'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export const SECTION_LDN_SERVICE_FORM_MODEL = [
|
|
||||||
{
|
|
||||||
id: 'granted',
|
|
||||||
label: 'submission.sections.license.granted-label',
|
|
||||||
required: true,
|
|
||||||
value: false,
|
|
||||||
validators: {
|
|
||||||
required: null
|
|
||||||
},
|
|
||||||
errorMessages: {
|
|
||||||
required: 'submission.sections.license.required',
|
|
||||||
notgranted: 'submission.sections.license.notgranted'
|
|
||||||
},
|
|
||||||
type: 'CHECKBOX',
|
|
||||||
}
|
|
||||||
];
|
|
Binary file not shown.
Before Width: | Height: | Size: 19 KiB |
Reference in New Issue
Block a user