mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-08-07 17:48:27 +00:00
[ACS-3860] Folder rules - Node picker for action parameters of type "d:noderef" (#2800)
* [ACS-3860] - added callback with node selector dialog * ACS-3860 - implemented node picker for actions * ACS-3860 - unit tests * ACS-3860 - linting * ACS-3860 - i18n * ACS-3860 - small fix * ACS-3860 - changed to private method, added typization * ACS-3860 - removed useless getter and setter * ACS-3860 - added 'noderef' to cspell.json
This commit is contained in:
committed by
GitHub
parent
03ed8e071a
commit
81033450d8
@@ -57,6 +57,18 @@ export const actionDefListMock = {
|
||||
multiValued: false,
|
||||
mandatory: false,
|
||||
parameterConstraintName: 'ac-aspects'
|
||||
},
|
||||
{
|
||||
name: 'mock-action-parameter-noderef',
|
||||
type: 'd:noderef',
|
||||
multiValued: false,
|
||||
mandatory: false
|
||||
},
|
||||
{
|
||||
name: 'aspect-name',
|
||||
type: 'd:noderef',
|
||||
multiValued: false,
|
||||
mandatory: false
|
||||
}
|
||||
],
|
||||
name: 'mock-action-1-definition',
|
||||
@@ -102,6 +114,24 @@ const actionParam3TransformedMock: ActionParameterDefinitionTransformed = {
|
||||
parameterConstraintName: 'ac-aspects'
|
||||
};
|
||||
|
||||
const actionParam4TransformedMock: ActionParameterDefinitionTransformed = {
|
||||
name: 'mock-action-parameter-noderef',
|
||||
type: 'd:noderef',
|
||||
multiValued: false,
|
||||
mandatory: false,
|
||||
displayLabel: 'mock-action-parameter-noderef',
|
||||
parameterConstraintName: ''
|
||||
};
|
||||
|
||||
const actionParam5TransformedMock: ActionParameterDefinitionTransformed = {
|
||||
name: 'aspect-name',
|
||||
type: 'd:noderef',
|
||||
multiValued: false,
|
||||
mandatory: false,
|
||||
displayLabel: 'aspect-name',
|
||||
parameterConstraintName: ''
|
||||
};
|
||||
|
||||
const action1TransformedMock: ActionDefinitionTransformed = {
|
||||
id: 'mock-action-1-definition',
|
||||
name: 'mock-action-1-definition',
|
||||
@@ -109,7 +139,13 @@ const action1TransformedMock: ActionDefinitionTransformed = {
|
||||
title: 'Action 1 title',
|
||||
applicableTypes: [],
|
||||
trackStatus: false,
|
||||
parameterDefinitions: [actionParam1TransformedMock, actionParam2TransformedMock, actionParam3TransformedMock]
|
||||
parameterDefinitions: [
|
||||
actionParam1TransformedMock,
|
||||
actionParam2TransformedMock,
|
||||
actionParam3TransformedMock,
|
||||
actionParam4TransformedMock,
|
||||
actionParam5TransformedMock
|
||||
]
|
||||
};
|
||||
|
||||
const action2TransformedMock: ActionDefinitionTransformed = {
|
||||
|
Reference in New Issue
Block a user