mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies
This commit is contained in:
@@ -59,7 +59,8 @@ export const qualdropInputConfig = {
|
||||
repeatable: false,
|
||||
value: 'test',
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockQualdropSelectModel = new DynamicSelectModel(qualdropSelectConfig);
|
||||
@@ -79,10 +80,15 @@ const rowArrayQualdropConfig = {
|
||||
id: 'row_QUALDROP_GROUP',
|
||||
initialCount: 1,
|
||||
notRepeatable: true,
|
||||
relationshipConfig: undefined,
|
||||
groupFactory: () => {
|
||||
return [MockQualdropModel];
|
||||
},
|
||||
required: false
|
||||
required: false,
|
||||
submissionId: '1234',
|
||||
metadataKey: 'dc.some.key',
|
||||
metadataFields: ['dc.some.key'],
|
||||
hasSelectableMetadata: false
|
||||
} as DynamicRowArrayModelConfig;
|
||||
|
||||
export const MockRowArrayQualdropModel: DynamicRowArrayModel = new DynamicRowArrayModel(rowArrayQualdropConfig);
|
||||
@@ -139,7 +145,8 @@ const relationGroupConfig = {
|
||||
'issue test 2'
|
||||
],
|
||||
},
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const MockRelationModel: DynamicRelationGroupModel = new DynamicRelationGroupModel(relationGroupConfig);
|
||||
@@ -168,7 +175,8 @@ export const inputWithLanguageAndAuthorityConfig = {
|
||||
authority: 'testWithLanguageAndAuthority',
|
||||
},
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockInputWithLanguageAndAuthorityModel = new DsDynamicInputModel(inputWithLanguageAndAuthorityConfig);
|
||||
@@ -192,7 +200,8 @@ export const inputWithLanguageConfig = {
|
||||
repeatable: false,
|
||||
value: 'testWithLanguage',
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockInputWithLanguageModel = new DsDynamicInputModel(inputWithLanguageConfig);
|
||||
@@ -221,7 +230,8 @@ export const inputWithLanguageAndAuthorityArrayConfig = {
|
||||
authority: 'testLanguageAndAuthorityArray',
|
||||
}],
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockInputWithLanguageAndAuthorityArrayModel = new DsDynamicInputModel(inputWithLanguageAndAuthorityArrayConfig);
|
||||
@@ -234,7 +244,8 @@ export const inputWithFormFieldValueConfig = {
|
||||
repeatable: false,
|
||||
value: new FormFieldMetadataValueObject('testWithFormFieldValue'),
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockInputWithFormFieldValueModel = new DsDynamicInputModel(inputWithFormFieldValueConfig);
|
||||
@@ -251,7 +262,8 @@ export const inputWithAuthorityValueConfig = {
|
||||
display: 'testWithAuthorityValue'
|
||||
}),
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockInputWithAuthorityValueModel = new DsDynamicInputModel(inputWithAuthorityValueConfig);
|
||||
@@ -264,7 +276,8 @@ export const inputWithObjectValueConfig = {
|
||||
repeatable: false,
|
||||
value: { value: 'testWithObjectValue', authority: 'testWithObjectValue', display: 'testWithObjectValue' },
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockInputWithObjectValueModel = new DsDynamicInputModel(inputWithObjectValueConfig);
|
||||
@@ -281,7 +294,8 @@ export const fileFormEditInputConfig = {
|
||||
disabled: false,
|
||||
repeatable: false,
|
||||
submissionId: '1234',
|
||||
metadataFields: []
|
||||
metadataFields: [],
|
||||
hasSelectableMetadata: false
|
||||
};
|
||||
|
||||
export const mockFileFormEditInputModel = new DsDynamicInputModel(fileFormEditInputConfig);
|
||||
|
Reference in New Issue
Block a user