mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
518
lib/insights/mock/diagram/diagramActivities.mock.ts
Normal file
518
lib/insights/mock/diagram/diagramActivities.mock.ts
Normal file
@@ -0,0 +1,518 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
export let userTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake User task',
|
||||
type: 'UserTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let userTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake User task',
|
||||
type: 'UserTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let userTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake User task',
|
||||
type: 'UserTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let manualTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Manual task',
|
||||
type: 'ManualTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let manualTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Manual task',
|
||||
type: 'ManualTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let manualTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Manual task',
|
||||
type: 'ManualTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let serviceTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Service task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let serviceTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Service task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let serviceTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Service task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let receiveTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Receive task',
|
||||
type: 'ReceiveTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let receiveTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Receive task',
|
||||
type: 'ReceiveTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let receiveTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Receive task',
|
||||
type: 'ReceiveTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let scriptTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Script task',
|
||||
type: 'ScriptTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let scriptTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Script task',
|
||||
type: 'ScriptTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let scriptTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Script task',
|
||||
type: 'ScriptTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let businessRuleTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake BusinessRule task',
|
||||
type: 'BusinessRuleTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let businessRuleTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake BusinessRule task',
|
||||
type: 'BusinessRuleTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let businessRuleTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake BusinessRule task',
|
||||
type: 'BusinessRuleTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}]
|
||||
};
|
||||
|
||||
export let mailTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Mail task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'mail'
|
||||
};
|
||||
|
||||
export let mailTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Mail task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'mail'
|
||||
};
|
||||
|
||||
export let mailTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Mail task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'mail'
|
||||
};
|
||||
|
||||
export let camelTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Camel task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'camel'
|
||||
};
|
||||
|
||||
export let camelTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Camel task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'camel'
|
||||
};
|
||||
|
||||
export let camelTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Camel task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'camel'
|
||||
};
|
||||
|
||||
export let restCallTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Rest Call task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'rest_call'
|
||||
};
|
||||
|
||||
export let restCallTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Rest Call task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'rest_call'
|
||||
};
|
||||
|
||||
export let restCallTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Rest Call task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'rest_call'
|
||||
};
|
||||
|
||||
export let muleTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Mule task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'mule'
|
||||
};
|
||||
|
||||
export let muleTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Mule task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'mule'
|
||||
};
|
||||
|
||||
export let muleTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Mule task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'mule'
|
||||
};
|
||||
|
||||
export let alfrescoPublishTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Alfresco Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'alfresco_publish'
|
||||
};
|
||||
|
||||
export let alfrescoPublishTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Alfresco Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'alfresco_publish'
|
||||
};
|
||||
|
||||
export let alfrescoPublishTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Alfresco Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'alfresco_publish'
|
||||
};
|
||||
|
||||
export let googleDrivePublishTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Google Drive Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'google_drive_publish'
|
||||
};
|
||||
|
||||
export let googleDrivePublishTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Google Drive Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'google_drive_publish'
|
||||
};
|
||||
|
||||
export let googleDrivePublishTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Google Drive Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'google_drive_publish'
|
||||
};
|
||||
|
||||
export let boxPublishTask = {
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Box Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'box_publish'
|
||||
};
|
||||
|
||||
export let boxPublishTaskActive = {
|
||||
completed: false,
|
||||
current: true,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Box Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'box_publish'
|
||||
};
|
||||
|
||||
export let boxPublishTaskCompleted = {
|
||||
completed: true,
|
||||
current: false,
|
||||
id: 'sid-C05B7CB7-1CFD-4AE4-9E01-C2C91E35E5A7',
|
||||
name: 'Fake Box Publish task',
|
||||
type: 'ServiceTask',
|
||||
width: 82,
|
||||
height: 67,
|
||||
x: 75.56890135999998,
|
||||
y: 30,
|
||||
properties: [{}],
|
||||
taskType: 'box_publish'
|
||||
};
|
Reference in New Issue
Block a user