[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1561 additions and 1005 deletions

View File

@@ -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,

View File

@@ -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';

View File

@@ -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'
}
}
]
}
};