mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
206 lines
7.5 KiB
TypeScript
206 lines
7.5 KiB
TypeScript
/*!
|
|
* @license
|
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/* cSpell:disable */
|
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
|
|
export const ACTIVITI_CLOUD_APPS: any = {
|
|
SIMPLE_APP: {
|
|
name: 'simpleapp',
|
|
file_location: (TAG = 'develop') =>
|
|
`https://github.com/Alfresco/alfresco-ng2-components/blob/${TAG}/e2e/resources/activiti7/simpleapp.zip?raw=true`,
|
|
processes: {
|
|
processwithvariables: 'processwithvariables',
|
|
simpleProcess: 'simpleprocess',
|
|
dropdownrestprocess: 'dropdownrestprocess',
|
|
multilingualprocess: 'multilingualprocess',
|
|
processWithTabVisibility: 'processwithtabvisibility',
|
|
startmessageevent: 'start-message-event',
|
|
intermediatemessageevent: 'intermediate-message-event',
|
|
intboundaryevent: 'int-boundary-event',
|
|
nonintboundaryevent: 'nonint-boundary-event',
|
|
intboundarysubprocess: 'int-boundary-subprocess',
|
|
intstartmessageevent: 'int-start-message-event',
|
|
nonintstartmessageevent: 'nonint-start-message-event',
|
|
siblingtaskprocess: 'siblingtaskprocess',
|
|
startTaskVisibilityForm: 'start-task-visibility-form',
|
|
startVisibilityForm: 'start-visibility-form',
|
|
processstring: 'processstring',
|
|
processinteger: 'processinteger',
|
|
processboolean: 'processboolean',
|
|
processdate: 'processdate',
|
|
multiprocess: 'multiprocess',
|
|
terminateexclusive: 'terminate-exclusive',
|
|
terminatesubprocess: 'terminate-subprocess',
|
|
multiinstancedmnparallel: 'multiinstance-dmnparallel',
|
|
multiinstancecallactivity: 'multiinstance-callactivity',
|
|
multiinstancecollection: 'multiinstance-collection',
|
|
multiinstancecompletion: 'multiinstance-completion',
|
|
multiinstancesequential: 'multiinstance-sequential',
|
|
multiinstanceservicetask: 'multiinstance-servicetask',
|
|
multiinstanceusertask: 'multiinstance-usertask',
|
|
multiinstancedmnsequence: 'multiinstance-dmnsequence',
|
|
multiinstancemanualtask: 'multiinstance-manualtask',
|
|
multiinstancesubprocess: 'multiinstance-subprocess',
|
|
calledprocess: 'calledprocess',
|
|
booleanvisibilityprocess: 'booleanvisibilityprocess',
|
|
numbervisibilityprocess: 'numbervisibilityprocess',
|
|
processformoutcome: 'outcomebuttons',
|
|
uploadSingleMultipleFiles: 'upload-single-multiple-pro',
|
|
processDisplayRestJson: 'process-display-rest-json',
|
|
poolStartEndMessageThrow: 'pool-start-end-mess-throw',
|
|
poolStartEndMessageCatch: 'pool-start-end-mess-catch',
|
|
poolProcessCalled: 'pool-process-called',
|
|
poolProcessCalling: 'pool-process-calling',
|
|
poolNonIntBoundaryThrown: 'pool-nonint-boundary-throw',
|
|
poolNonIntBoundaryCatch: 'pool-nonint-boundary-catch',
|
|
poolIntermediateMessageThrow: 'pool-interm-message-throw',
|
|
poolIntermediateMessageCatch: 'pool-interm-message-catch',
|
|
poolInterruptingBoundarySubprocessThrow: 'pool-int-bound-subpr-throw',
|
|
poolInterruptingBoundarySubprocessCatch: 'pool-int-bound-subpr-catch',
|
|
poolInterruptingBoundaryThrow: 'pool-int-boundary-throw',
|
|
poolInterruptingBoundaryCatch: 'pool-int-boundary-catch',
|
|
outputVariablesMapping: 'output-variables-mapping'
|
|
},
|
|
forms: {
|
|
tabVisibilityFields: {
|
|
name: 'tabvisibilitywithfields'
|
|
},
|
|
tabVisibilityVars: {
|
|
name: 'tabvisibilitywithvars'
|
|
},
|
|
usertaskform: {
|
|
name: 'usertaskform'
|
|
},
|
|
dropdownform: {
|
|
name: 'dropdownform'
|
|
},
|
|
formVisibility: {
|
|
name: 'form-visibility'
|
|
},
|
|
multilingualform: {
|
|
name: 'multilingualform'
|
|
},
|
|
inputform: {
|
|
name: 'inputform'
|
|
},
|
|
outputform: {
|
|
name: 'outputform'
|
|
},
|
|
exclusiveconditionform: {
|
|
name: 'exclusive-condition-form'
|
|
},
|
|
uploadlocalfileform: {
|
|
name: 'upload-localfile-form'
|
|
},
|
|
booleanvisibility: {
|
|
name: 'booleanvisibility'
|
|
},
|
|
requirednumbervisibility: {
|
|
name: 'requirednumbervisibility'
|
|
},
|
|
mealform: {
|
|
name: 'mealform'
|
|
},
|
|
resultcollectionform: {
|
|
name: 'resultcollectionform'
|
|
},
|
|
uploadSingleMultiple: {
|
|
name: 'upload-single-multiple',
|
|
widgets: {
|
|
contentMultipleAttachFileId: 'UploadMultipleFileFromContentId'
|
|
}
|
|
},
|
|
formWithJsonWidget: {
|
|
name: 'form-with-json-widget'
|
|
},
|
|
formWithAllWidgets: {
|
|
name: 'form-with-all-widgets'
|
|
},
|
|
poolForm: {
|
|
name: 'pool-usertaskform'
|
|
},
|
|
formWithSingleInput: {
|
|
name: 'form-with-single-input'
|
|
}
|
|
},
|
|
tasks: {
|
|
processstring: 'inputtask',
|
|
uploadSingleMultipleFiles: 'UploadSingleMultipleFiles'
|
|
},
|
|
security: [
|
|
{ role: 'APPLICATION_MANAGER', groups: [], users: ['manageruser'] },
|
|
{ role: 'ACTIVITI_ADMIN', groups: [], users: ['superadminuser', 'processadminuser'] },
|
|
{ role: 'ACTIVITI_USER', groups: ['hr', 'sales', 'testgroup'], users: ['hruser'] }
|
|
],
|
|
infrastructure: { connectors: { restconnector: {} }, bridges: {} },
|
|
enableLocalDevelopment: true,
|
|
variables: {
|
|
'process-runtime-service': {
|
|
ALFRESCO_PROCESS_TASKEMAIL_ENABLED: false
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export const ACTIVITI_APPS: any = {
|
|
apps: [
|
|
{
|
|
name: 'e2e-Application'
|
|
}
|
|
]
|
|
};
|
|
|
|
export const ACS_DEFAULT: any = {
|
|
files: [
|
|
{
|
|
name: 'e2e_share_profile_pic.png',
|
|
destination: '-my-',
|
|
action: 'UPLOAD'
|
|
},
|
|
{
|
|
name: 'e2e_share_profile_pic.jpg',
|
|
destination: '-my-',
|
|
action: 'UPLOAD'
|
|
},
|
|
{
|
|
name: 'e2e_lock.png',
|
|
destination: '-my-',
|
|
action: 'LOCK'
|
|
},
|
|
{
|
|
name: 'e2e_second_lock.png',
|
|
destination: '-my-',
|
|
action: 'LOCK'
|
|
},
|
|
{
|
|
name: 'e2e_share_file.jpg',
|
|
destination: '-my-',
|
|
action: 'SHARE'
|
|
},
|
|
{
|
|
name: 'e2e_favorite_file.jpg',
|
|
destination: '-my-',
|
|
action: 'FAVORITE'
|
|
}
|
|
],
|
|
|
|
e2eFolder: {
|
|
name: 'e2e-test-data'
|
|
}
|
|
};
|