mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -346,7 +346,7 @@ export let startMockForm = {
|
||||
1: [
|
||||
{
|
||||
fieldType: 'FormFieldRepresentation',
|
||||
id: 'billamount',
|
||||
id: 'billAmount',
|
||||
name: 'BillAmount',
|
||||
type: 'integer',
|
||||
value: null,
|
||||
@@ -526,7 +526,7 @@ export let startMockForm = {
|
||||
2: [
|
||||
{
|
||||
fieldType: 'FormFieldRepresentation',
|
||||
id: 'hospitalname',
|
||||
id: 'hospitalName',
|
||||
name: 'HospitalName',
|
||||
type: 'text',
|
||||
value: null,
|
||||
@@ -769,7 +769,7 @@ export let startMockFormWithTab = {
|
||||
1: [
|
||||
{
|
||||
fieldType: 'FormFieldRepresentation',
|
||||
id: 'billamount',
|
||||
id: 'billAmount',
|
||||
name: 'BillAmount',
|
||||
type: 'integer',
|
||||
value: null,
|
||||
@@ -949,7 +949,7 @@ export let startMockFormWithTab = {
|
||||
2: [
|
||||
{
|
||||
fieldType: 'FormFieldRepresentation',
|
||||
id: 'hospitalname',
|
||||
id: 'hospitalName',
|
||||
name: 'HospitalName',
|
||||
type: 'text',
|
||||
value: null,
|
||||
|
@@ -32,7 +32,7 @@ export * from './alfresco-api.service.mock';
|
||||
export * from './form/form.component.mock';
|
||||
export * from './form/formDefinition.mock';
|
||||
export * from './form/formDefinitionReadonly.mock';
|
||||
export * from './form/formDefinitionVisibiity.mock';
|
||||
export * from './form/formDefinitionVisibility.mock';
|
||||
export * from './form/start-form.component.mock';
|
||||
export * from './form/form.service.mock';
|
||||
export * from './form/widget-visibility.service.mock';
|
||||
|
@@ -15,67 +15,98 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export let fakeRedition = {
|
||||
'entry': {
|
||||
'id': 'pdf',
|
||||
'content': {'mimeType': 'application/pdf', 'mimeTypeName': 'Adobe PDF Document'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
};
|
||||
|
||||
export let fakeReditionCreated = {
|
||||
'entry': {
|
||||
'id': 'pdf',
|
||||
'content': {'mimeType': 'application/pdf', 'mimeTypeName': 'Adobe PDF Document'},
|
||||
'status': 'CREATED'
|
||||
}
|
||||
};
|
||||
|
||||
export let fakeReditionsList = {
|
||||
'list': {
|
||||
'pagination': {
|
||||
'count': 6,
|
||||
'hasMoreItems': false,
|
||||
'totalItems': 6,
|
||||
'skipCount': 0,
|
||||
'maxItems': 100
|
||||
export let fakeRendition = {
|
||||
entry: {
|
||||
id: 'pdf',
|
||||
content: {
|
||||
mimeType: 'application/pdf',
|
||||
mimeTypeName: 'Adobe PDF Document'
|
||||
},
|
||||
'entries': [{
|
||||
'entry': {
|
||||
'id': 'avatar',
|
||||
'content': {'mimeType': 'image/png', 'mimeTypeName': 'PNG Image'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
}, {
|
||||
'entry': {
|
||||
'id': 'avatar32',
|
||||
'content': {'mimeType': 'image/png', 'mimeTypeName': 'PNG Image'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
}, {
|
||||
'entry': {
|
||||
'id': 'doclib',
|
||||
'content': {'mimeType': 'image/png', 'mimeTypeName': 'PNG Image'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
}, {
|
||||
'entry': {
|
||||
'id': 'imgpreview',
|
||||
'content': {'mimeType': 'image/jpeg', 'mimeTypeName': 'JPEG Image'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
}, {
|
||||
'entry': {
|
||||
'id': 'medium',
|
||||
'content': {'mimeType': 'image/jpeg', 'mimeTypeName': 'JPEG Image'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
}, {
|
||||
'entry': {
|
||||
'id': 'pdf',
|
||||
'content': {'mimeType': 'application/pdf', 'mimeTypeName': 'Adobe PDF Document'},
|
||||
'status': 'NOT_CREATED'
|
||||
}
|
||||
}]
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
};
|
||||
|
||||
export let fakeRenditionCreated = {
|
||||
entry: {
|
||||
id: 'pdf',
|
||||
content: {
|
||||
mimeType: 'application/pdf',
|
||||
mimeTypeName: 'Adobe PDF Document'
|
||||
},
|
||||
status: 'CREATED'
|
||||
}
|
||||
};
|
||||
|
||||
export let fakeRenditionsList = {
|
||||
list: {
|
||||
pagination: {
|
||||
count: 6,
|
||||
hasMoreItems: false,
|
||||
totalItems: 6,
|
||||
skipCount: 0,
|
||||
maxItems: 100
|
||||
},
|
||||
entries: [
|
||||
{
|
||||
entry: {
|
||||
id: 'avatar',
|
||||
content: {
|
||||
mimeType: 'image/png',
|
||||
mimeTypeName: 'PNG Image'
|
||||
},
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
},
|
||||
{
|
||||
entry: {
|
||||
id: 'avatar32',
|
||||
content: {
|
||||
mimeType: 'image/png',
|
||||
mimeTypeName: 'PNG Image'
|
||||
},
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
},
|
||||
{
|
||||
entry: {
|
||||
id: 'doclib',
|
||||
content: {
|
||||
mimeType: 'image/png',
|
||||
mimeTypeName: 'PNG Image'
|
||||
},
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
},
|
||||
{
|
||||
entry: {
|
||||
id: 'imgpreview',
|
||||
content: {
|
||||
mimeType: 'image/jpeg',
|
||||
mimeTypeName: 'JPEG Image'
|
||||
},
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
},
|
||||
{
|
||||
entry: {
|
||||
id: 'medium',
|
||||
content: {
|
||||
mimeType: 'image/jpeg',
|
||||
mimeTypeName: 'JPEG Image'
|
||||
},
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
},
|
||||
{
|
||||
entry: {
|
||||
id: 'pdf',
|
||||
content: {
|
||||
mimeType: 'application/pdf',
|
||||
mimeTypeName: 'Adobe PDF Document'
|
||||
},
|
||||
status: 'NOT_CREATED'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user