mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-10472] Upgrade and deprecate libs (#7788)
* upgrade and deprecate libs * upgrade flex layout * cleanup tslint libs * diable the test * exclude flaky e2e
This commit is contained in:
parent
4a39161ad3
commit
6f209726e9
@ -146,7 +146,7 @@ describe('Document List Component', () => {
|
||||
await expect(await contentServicesPage.getAttributeValueForElement(testFile.name, cardProperties.CREATED)).toMatch(/(ago|few)/);
|
||||
});
|
||||
|
||||
// tslint:disable-next-line: ban
|
||||
// eslint-disable-next-line ban/ban
|
||||
xit('[C280129] Should keep Gallery View when accessing a folder', async () => {
|
||||
await contentServicesPage.navigateToCardFolder(folderName);
|
||||
|
||||
|
@ -2,5 +2,7 @@
|
||||
"C269081": "https://alfresco.atlassian.net/browse/ADF-5385",
|
||||
"C272819": "https://alfresco.atlassian.net/browse/ADF-5385",
|
||||
"C362241": "https://alfresco.atlassian.net/browse/ADF-5385",
|
||||
"C260040": "https://alfresco.atlassian.net/browse/AAE-8041"
|
||||
"C260040": "https://alfresco.atlassian.net/browse/AAE-8041",
|
||||
"C292004": "https://alfresco.atlassian.net/browse/AAE-10468",
|
||||
"C297613": "https://alfresco.atlassian.net/browse/AAE-10468"
|
||||
}
|
||||
|
@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable */
|
||||
export const checkboxVisibilityFormJson = {
|
||||
formRepresentation: {
|
||||
id: 'form-fb9245f6-1132-47bd-b0b3-823bb85002da',
|
||||
|
@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable */
|
||||
export const customDateFormAPS1 = `{
|
||||
"formRepresentation":{
|
||||
"id": 18977,
|
||||
|
@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable */
|
||||
export const displayValueTextJson = {
|
||||
formRepresentation : {
|
||||
id : 'form-340a2672-429b-454f-9bb1-7b4d7362bb89' ,
|
||||
|
@ -15,96 +15,95 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable */
|
||||
export const peopleSingleModeFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-d74a4136-af83-4333-ac37-a6a74ac7aa84",
|
||||
"name": "singlepeople",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-d74a4136-af83-4333-ac37-a6a74ac7aa84',
|
||||
name: 'singlepeople',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "7c9ea025-4ae6-4a5a-9184-da8f7d5c5543",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: '7c9ea025-4ae6-4a5a-9184-da8f7d5c5543',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "PeopleSingleMode",
|
||||
"name": "People",
|
||||
"type": "people",
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"colspan": 1,
|
||||
"optionType": "single",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'PeopleSingleMode',
|
||||
name: 'People',
|
||||
type: 'people',
|
||||
readOnly: false,
|
||||
required: false,
|
||||
colspan: 1,
|
||||
optionType: 'single',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": []
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: []
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const peopleMultipleModeFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "44e485d4-c286-425a-b488-3fda1707d319",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: '44e485d4-c286-425a-b488-3fda1707d319',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "PeopleMultipleMode",
|
||||
"name": "People",
|
||||
"type": "people",
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"colspan": 1,
|
||||
"optionType": "multiple",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'PeopleMultipleMode',
|
||||
name: 'People',
|
||||
type: 'people',
|
||||
readOnly: false,
|
||||
required: false,
|
||||
colspan: 1,
|
||||
optionType: 'multiple',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -112,50 +111,50 @@ export const peopleMultipleModeFormMock = {
|
||||
};
|
||||
|
||||
export const peopleRequiredFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "44e485d4-c286-425a-b488-3fda1707d319",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: '44e485d4-c286-425a-b488-3fda1707d319',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "PeopleRequired",
|
||||
"name": "People",
|
||||
"type": "people",
|
||||
"readOnly": false,
|
||||
"required": true,
|
||||
"colspan": 1,
|
||||
"optionType": "single",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'PeopleRequired',
|
||||
name: 'People',
|
||||
type: 'people',
|
||||
readOnly: false,
|
||||
required: true,
|
||||
colspan: 1,
|
||||
optionType: 'single',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -163,50 +162,50 @@ export const peopleRequiredFormMock = {
|
||||
};
|
||||
|
||||
export const groupSingleModeFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "GroupSingleMode",
|
||||
"name": "Group of people",
|
||||
"type": "functional-group",
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"colspan": 1,
|
||||
"optionType": "single",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'GroupSingleMode',
|
||||
name: 'Group of people',
|
||||
type: 'functional-group',
|
||||
readOnly: false,
|
||||
required: false,
|
||||
colspan: 1,
|
||||
optionType: 'single',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -214,50 +213,50 @@ export const groupSingleModeFormMock = {
|
||||
};
|
||||
|
||||
export const groupMultipleModeFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "GroupMultipleMode",
|
||||
"name": "Group of people",
|
||||
"type": "functional-group",
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"colspan": 1,
|
||||
"optionType": "multiple",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'GroupMultipleMode',
|
||||
name: 'Group of people',
|
||||
type: 'functional-group',
|
||||
readOnly: false,
|
||||
required: false,
|
||||
colspan: 1,
|
||||
optionType: 'multiple',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -265,50 +264,50 @@ export const groupMultipleModeFormMock = {
|
||||
};
|
||||
|
||||
export const groupRequiredFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "GroupRequired",
|
||||
"name": "Group of people",
|
||||
"type": "functional-group",
|
||||
"readOnly": false,
|
||||
"required": true,
|
||||
"colspan": 1,
|
||||
"optionType": "single",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'GroupRequired',
|
||||
name: 'Group of people',
|
||||
type: 'functional-group',
|
||||
readOnly: false,
|
||||
required: true,
|
||||
colspan: 1,
|
||||
optionType: 'single',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -316,50 +315,50 @@ export const groupRequiredFormMock = {
|
||||
};
|
||||
|
||||
export const peopleReadOnlyFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "44e485d4-c286-425a-b488-3fda1707d319",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: '44e485d4-c286-425a-b488-3fda1707d319',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "PeopleReadOnly",
|
||||
"name": "People",
|
||||
"type": "people",
|
||||
"readOnly": true,
|
||||
"required": false,
|
||||
"colspan": 1,
|
||||
"optionType": "single",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'PeopleReadOnly',
|
||||
name: 'People',
|
||||
type: 'people',
|
||||
readOnly: true,
|
||||
required: false,
|
||||
colspan: 1,
|
||||
optionType: 'single',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -367,50 +366,50 @@ export const peopleReadOnlyFormMock = {
|
||||
};
|
||||
|
||||
export const groupReadOnlyFormMock = {
|
||||
"formRepresentation": {
|
||||
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
|
||||
"name": "people",
|
||||
"description": "",
|
||||
"version": 0,
|
||||
"standAlone": true,
|
||||
"formDefinition": {
|
||||
"tabs": [],
|
||||
"fields": [
|
||||
formRepresentation: {
|
||||
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
|
||||
name: 'people',
|
||||
description: '',
|
||||
version: 0,
|
||||
standAlone: true,
|
||||
formDefinition: {
|
||||
tabs: [],
|
||||
fields: [
|
||||
{
|
||||
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
|
||||
"name": "Label",
|
||||
"type": "container",
|
||||
"tab": null,
|
||||
"numberOfColumns": 2,
|
||||
"fields": {
|
||||
"1": [
|
||||
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
|
||||
name: 'Label',
|
||||
type: 'container',
|
||||
tab: null,
|
||||
numberOfColumns: 2,
|
||||
fields: {
|
||||
1: [
|
||||
{
|
||||
"id": "GroupReadOnly",
|
||||
"name": "Group of people",
|
||||
"type": "functional-group",
|
||||
"readOnly": true,
|
||||
"required": false,
|
||||
"colspan": 1,
|
||||
"optionType": "single",
|
||||
"visibilityCondition": null,
|
||||
"params": {
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
id: 'GroupReadOnly',
|
||||
name: 'Group of people',
|
||||
type: 'functional-group',
|
||||
readOnly: true,
|
||||
required: false,
|
||||
colspan: 1,
|
||||
optionType: 'single',
|
||||
visibilityCondition: null,
|
||||
params: {
|
||||
existingColspan: 1,
|
||||
maxColspan: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"2": []
|
||||
2: []
|
||||
}
|
||||
}
|
||||
],
|
||||
"outcomes": [],
|
||||
"metadata": {},
|
||||
"variables": [
|
||||
outcomes: [],
|
||||
metadata: {},
|
||||
variables: [
|
||||
{
|
||||
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
|
||||
"name": "people",
|
||||
"type": "string",
|
||||
"value": "user1"
|
||||
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
|
||||
name: 'people',
|
||||
type: 'string',
|
||||
value: 'user1'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/* tslint:disable */
|
||||
export const tabFieldValueVisibilityJson = {
|
||||
formRepresentation: {
|
||||
id: 'form-3aff57d3-62af-4adf-9b14-1d8f44a28077',
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"no-floating-promises": true
|
||||
}
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
// tslint:disable: adf-file-name
|
||||
// tslint:disable: no-var-requires
|
||||
const minimist = require('minimist');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
|
@ -1,5 +1,3 @@
|
||||
/* tslint:disable:adf-license-banner */
|
||||
|
||||
/* Copyright 2012 Mozilla Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -33,7 +33,6 @@ export class ViewUtilService {
|
||||
* Content groups based on categorization of files that can be viewed in the web browser. This
|
||||
* implementation or grouping is tied to the definition the ng component: ViewerComponent
|
||||
*/
|
||||
// tslint:disable-next-line:variable-name
|
||||
static ContentGroup = {
|
||||
IMAGE: 'image',
|
||||
MEDIA: 'media',
|
||||
@ -44,7 +43,6 @@ export class ViewUtilService {
|
||||
/**
|
||||
* The name of the rendition with the media subtitles in the supported format
|
||||
*/
|
||||
/* tslint:disable-next-line */
|
||||
static SUBTITLES_RENDITION_NAME = 'webvtt';
|
||||
|
||||
/**
|
||||
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"adf-license-banner": [true, "lib/+(core|content-services|process-services|process-services-cloud|insights|extensions|testing)/**/*.ts", "./license-community.txt"],
|
||||
"template-accessibility-alt-text": true,
|
||||
"template-accessibility-label-for": true,
|
||||
"template-accessibility-tabindex-no-positive": true,
|
||||
"template-accessibility-table-scope": true,
|
||||
"template-accessibility-valid-aria": true,
|
||||
"template-no-autofocus": true,
|
||||
"no-floating-promises": false
|
||||
}
|
||||
}
|
970
package-lock.json
generated
970
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
@ -75,7 +75,7 @@
|
||||
"@angular/common": "14.1.3",
|
||||
"@angular/compiler": "14.1.3",
|
||||
"@angular/core": "14.1.3",
|
||||
"@angular/flex-layout": "^13.0.0-beta.38",
|
||||
"@angular/flex-layout": "^14.0.0-beta.40",
|
||||
"@angular/forms": "14.1.3",
|
||||
"@angular/material": "14.1.2",
|
||||
"@angular/material-moment-adapter": "14.1.2",
|
||||
@ -89,8 +89,8 @@
|
||||
"@editorjs/underline": "1.0.0",
|
||||
"@mat-datetimepicker/core": "^9.0.68",
|
||||
"@mat-datetimepicker/moment": "^9.0.68",
|
||||
"@ngx-translate/core": "^13.0.0",
|
||||
"adf-tslint-rules": "0.0.7",
|
||||
"@ngx-translate/core": "^14.0.0",
|
||||
"@storybook/core-server": "6.4.22",
|
||||
"apollo-angular": "^2.6.0",
|
||||
"chart.js": "2.9.4",
|
||||
"cropperjs": "1.5.12",
|
||||
@ -107,8 +107,7 @@
|
||||
"rxjs": "6.6.6",
|
||||
"subscriptions-transport-ws": "^0.11.0",
|
||||
"tslib": "^2.0.0",
|
||||
"zone.js": "~0.11.4",
|
||||
"@storybook/core-server": "6.4.22"
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "14.1.3",
|
||||
@ -144,7 +143,6 @@
|
||||
"@typescript-eslint/parser": "5.30.0",
|
||||
"@typescript-eslint/typescript-estree": "5.30.7",
|
||||
"ajv-cli": "^4.2.0",
|
||||
"codelyzer": "^6.0.0",
|
||||
"commander": "6.2.1",
|
||||
"concurrently": "^7.0.0",
|
||||
"cspell": "^5.5.1",
|
||||
@ -181,7 +179,6 @@
|
||||
"nconf": "^0.11.1",
|
||||
"ng-mocks": "^10.5.4",
|
||||
"ng-packagr": "14.0.3",
|
||||
"node-sass": "^4.14.1",
|
||||
"nx": "14.4.2",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-sass": "^0.5.0",
|
||||
@ -190,14 +187,12 @@
|
||||
"protractor-screenshoter-plugin": "0.10.3",
|
||||
"protractor-smartrunner": "^2.0.0-beta6",
|
||||
"rimraf": "^3.0.2",
|
||||
"rxjs-tslint-rules": "^4.34.7",
|
||||
"sass-loader": "10.1.1",
|
||||
"selenium-webdriver": "4.1.0",
|
||||
"stylelint": "^14.2.0",
|
||||
"stylelint-config-standard-scss": "^3.0.0",
|
||||
"ts-node": "^10.4.0",
|
||||
"tsconfig-paths": "^3.12.0",
|
||||
"tslint": "6.1.3",
|
||||
"typescript": "4.7.4",
|
||||
"webdriver-manager": "12.1.8",
|
||||
"webpack-cli": "^4.9.2"
|
||||
|
@ -19,6 +19,5 @@ var root = {
|
||||
};
|
||||
var query = "\n {\n document {\n metadata(key: \"Status\")\n heading {\n link {\n text {\n value\n }\n }\n }\n paragraph {\n plaintext\n }\n }\n }\n";
|
||||
graphql_1.graphql(schema, query, root).then(function (response) {
|
||||
// tslint:disable-next-line: no-console
|
||||
console.log(JSON.stringify(response));
|
||||
});
|
||||
|
@ -44,6 +44,5 @@ const query = `
|
||||
`;
|
||||
|
||||
graphql(schema, query, root).then((response) => {
|
||||
// tslint:disable-next-line: no-console
|
||||
console.log(JSON.stringify(response));
|
||||
});
|
||||
|
@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
// tslint:disable: no-console
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var path = require("path");
|
||||
var fs = require("fs");
|
||||
|
@ -1,5 +1,3 @@
|
||||
// tslint:disable: no-console
|
||||
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import * as process from 'process';
|
||||
|
@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
// tslint:disable: no-console
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.processDocs = void 0;
|
||||
var path = require("path");
|
||||
|
@ -1,5 +1,3 @@
|
||||
// tslint:disable: no-console
|
||||
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import { selectAll } from 'unist-util-select';
|
||||
|
@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
// tslint:disable: no-console
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.processDocs = void 0;
|
||||
var fs = require("fs");
|
||||
|
@ -1,5 +1,3 @@
|
||||
// tslint:disable: no-console
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import * as ejs from 'ejs';
|
||||
|
@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
// tslint:disable: no-console
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.processDocs = void 0;
|
||||
var path = require("path");
|
||||
|
@ -1,5 +1,3 @@
|
||||
// tslint:disable: no-console
|
||||
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import { selectAll } from 'unist-util-select';
|
||||
|
@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
// tslint:disable: no-console
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.processDocs = void 0;
|
||||
var fs = require("fs");
|
||||
|
@ -1,5 +1,3 @@
|
||||
// tslint:disable: no-console
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import * as replaceSection from 'mdast-util-heading-range';
|
||||
|
238
tslint.json
238
tslint.json
@ -1,238 +0,0 @@
|
||||
{
|
||||
"rulesDirectory": [
|
||||
"./node_modules/codelyzer",
|
||||
"./tools/tslint-rules/"
|
||||
],
|
||||
"extends": [
|
||||
"rxjs-tslint-rules"
|
||||
],
|
||||
"rules": {
|
||||
"adf-license-banner": [
|
||||
true,
|
||||
"{demo-shell,e2e}/**/*.ts",
|
||||
"./license-community.txt"
|
||||
],
|
||||
"align": [
|
||||
true,
|
||||
"parameters",
|
||||
"statements"
|
||||
],
|
||||
"ban": [
|
||||
true,
|
||||
"eval",
|
||||
"fdescribe",
|
||||
"fit",
|
||||
"xit",
|
||||
"xdescribe"
|
||||
],
|
||||
"class-name": true,
|
||||
"comment-format": [
|
||||
true,
|
||||
"check-space"
|
||||
],
|
||||
"curly": true,
|
||||
"eofline": true,
|
||||
"forin": true,
|
||||
"indent": [
|
||||
true,
|
||||
"spaces"
|
||||
],
|
||||
"interface-name": false,
|
||||
"jsdoc-format": true,
|
||||
"label-position": true,
|
||||
"max-line-length": [
|
||||
true,
|
||||
240
|
||||
],
|
||||
"member-ordering": [
|
||||
true,
|
||||
{
|
||||
"order": [
|
||||
"static-field",
|
||||
"instance-field",
|
||||
"static-method",
|
||||
"instance-method"
|
||||
]
|
||||
}
|
||||
],
|
||||
"no-any": false,
|
||||
"no-arg": true,
|
||||
"no-bitwise": false,
|
||||
"no-conditional-assignment": true,
|
||||
"no-consecutive-blank-lines": true,
|
||||
"no-console": [
|
||||
true,
|
||||
"log",
|
||||
"error",
|
||||
"debug",
|
||||
"info",
|
||||
"time",
|
||||
"timeEnd",
|
||||
"trace"
|
||||
],
|
||||
"no-construct": true,
|
||||
"no-constructor-vars": false,
|
||||
"no-debugger": true,
|
||||
"no-duplicate-super": true,
|
||||
"no-duplicate-variable": true,
|
||||
"no-empty": false,
|
||||
"no-eval": true,
|
||||
"no-inferrable-types": false,
|
||||
"no-internal-module": true,
|
||||
"no-require-imports": false,
|
||||
"no-shadowed-variable": true,
|
||||
"no-switch-case-fall-through": true,
|
||||
"no-trailing-whitespace": true,
|
||||
"no-unused-expression": true,
|
||||
"no-var-keyword": true,
|
||||
"no-var-requires": true,
|
||||
"object-literal-sort-keys": false,
|
||||
"no-return-await": true,
|
||||
"one-line": [
|
||||
true,
|
||||
"check-open-brace",
|
||||
"check-catch",
|
||||
"check-else",
|
||||
"check-whitespace"
|
||||
],
|
||||
"quotemark": [
|
||||
true,
|
||||
"single",
|
||||
"avoid-escape"
|
||||
],
|
||||
"radix": true,
|
||||
"semicolon": [
|
||||
true,
|
||||
"always"
|
||||
],
|
||||
"switch-default": true,
|
||||
"trailing-comma": [
|
||||
true,
|
||||
{
|
||||
"multiline": "never",
|
||||
"singleline": "never"
|
||||
}
|
||||
],
|
||||
"triple-equals": [
|
||||
true,
|
||||
"allow-null-check"
|
||||
],
|
||||
"typedef": false,
|
||||
"typedef-whitespace": [
|
||||
true,
|
||||
{
|
||||
"call-signature": "nospace",
|
||||
"index-signature": "nospace",
|
||||
"parameter": "nospace",
|
||||
"property-declaration": "nospace",
|
||||
"variable-declaration": "nospace"
|
||||
}
|
||||
],
|
||||
"use-strict": false,
|
||||
"variable-name": [
|
||||
true,
|
||||
"check-format",
|
||||
"allow-leading-underscore",
|
||||
"ban-keywords"
|
||||
],
|
||||
"callable-types": true,
|
||||
"import-spacing": true,
|
||||
"interface-over-type-literal": true,
|
||||
"member-access": false,
|
||||
"no-empty-interface": true,
|
||||
"no-string-literal": false,
|
||||
"no-string-throw": true,
|
||||
"prefer-const": true,
|
||||
"unified-signatures": true,
|
||||
"whitespace": [
|
||||
true,
|
||||
"check-branch",
|
||||
"check-decl",
|
||||
"check-operator",
|
||||
"check-separator",
|
||||
"check-typecast",
|
||||
"check-type",
|
||||
"check-typecast",
|
||||
"check-module"
|
||||
],
|
||||
"component-selector": [
|
||||
true,
|
||||
"element",
|
||||
["adf", "app"],
|
||||
"kebab-case"
|
||||
],
|
||||
"directive-selector": [
|
||||
true,
|
||||
["element", "attribute"],
|
||||
["adf", "app"],
|
||||
"kebab-case"
|
||||
],
|
||||
"naming-convention": [
|
||||
{
|
||||
"type": "enumMember",
|
||||
"format": "PascalCase"
|
||||
}
|
||||
],
|
||||
"no-input-prefix": true,
|
||||
"ordered-imports": false,
|
||||
"template-conditional-complexity": [
|
||||
true,
|
||||
2
|
||||
],
|
||||
"no-host-metadata-property": false,
|
||||
"use-pipe-transform-interface": true,
|
||||
"component-class-suffix": true,
|
||||
"directive-class-suffix": true,
|
||||
"file-name-casing": [true, "kebab-case"],
|
||||
"adf-file-name": true,
|
||||
"adf-class-name": true,
|
||||
"adf-prefix-name": true,
|
||||
"no-input-rename": true,
|
||||
"no-output-rename": true,
|
||||
"no-duplicate-imports": true,
|
||||
"rxjs-ban-operators": {
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-unsafe-takeuntil": {
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-create": {
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-ignored-subscribe": {
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-subject-unsubscribe": {
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-subject-value": {
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-unsafe-catch": {
|
||||
"options": [
|
||||
{
|
||||
"observable": "action(s|\\$)?"
|
||||
}
|
||||
],
|
||||
"severity": "error"
|
||||
},
|
||||
"rxjs-no-unsafe-switchmap": {
|
||||
"options": [
|
||||
{
|
||||
"disallow": [
|
||||
"add",
|
||||
"create",
|
||||
"delete",
|
||||
"post",
|
||||
"put",
|
||||
"remove",
|
||||
"set",
|
||||
"update"
|
||||
],
|
||||
"observable": "action(s|\\$)?"
|
||||
}
|
||||
],
|
||||
"severity": "error"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user