1- import {
2- Component , Input , ViewChild
3- } from '@angular/core' ;
4-
5- import {
6- SubmissionFormsModel
7- } from 'src/app/core/config/models/config-submission-forms.model' ;
8- import {
9- SubmissionSectionUploadFileEditComponent
10- } from 'src/app/submission/sections/upload/file/edit/section-upload-file-edit.component' ;
1+ import { Component } from '@angular/core' ;
112import {
123 SubmissionSectionUploadFileComponent as BaseComponent
134} from 'src/app/submission/sections/upload/file/section-upload-file.component' ;
@@ -24,66 +15,4 @@ import {
2415} )
2516export class SubmissionSectionUploadFileComponent
2617 extends BaseComponent {
27-
28- /**
29- * The list of available access condition
30- * @type {Array }
31- */
32- @Input ( ) availableAccessConditionOptions : any [ ] ;
33-
34- /**
35- * The submission id
36- * @type {string }
37- */
38- @Input ( ) collectionId : string ;
39-
40- /**
41- * Define if collection access conditions policy type :
42- * POLICY_DEFAULT_NO_LIST : is not possible to define additional access group/s for the single file
43- * POLICY_DEFAULT_WITH_LIST : is possible to define additional access group/s for the single file
44- * @type {number }
45- */
46- @Input ( ) collectionPolicyType : number ;
47-
48- /**
49- * The configuration for the bitstream's metadata form
50- * @type {SubmissionFormsModel }
51- */
52- @Input ( ) configMetadataForm : SubmissionFormsModel ;
53-
54- /**
55- * The bitstream id
56- * @type {string }
57- */
58- @Input ( ) fileId : string ;
59-
60- /**
61- * The bitstream array key
62- * @type {string }
63- */
64- @Input ( ) fileIndex : string ;
65-
66- /**
67- * The bitstream id
68- * @type {string }
69- */
70- @Input ( ) fileName : string ;
71-
72- /**
73- * The section id
74- * @type {string }
75- */
76- @Input ( ) sectionId : string ;
77-
78- /**
79- * The submission id
80- * @type {string }
81- */
82- @Input ( ) submissionId : string ;
83-
84- /**
85- * The [[SubmissionSectionUploadFileEditComponent]] reference
86- * @type {SubmissionSectionUploadFileEditComponent }
87- */
88- @ViewChild ( SubmissionSectionUploadFileEditComponent ) fileEditComp : SubmissionSectionUploadFileEditComponent ;
8918}
0 commit comments