2018-04-02 19:01:53 +00:00
|
|
|
export var START_EVENT = [
|
2015-03-11 15:17:19 +00:00
|
|
|
{
|
|
|
|
label: 'Start Event',
|
|
|
|
actionName: 'replace-with-none-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Intermediate Throw Event',
|
2015-08-03 14:35:52 +00:00
|
|
|
actionName: 'replace-with-none-intermediate-throwing',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'End Event',
|
2015-08-03 14:35:52 +00:00
|
|
|
actionName: 'replace-with-none-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Message Start Event',
|
|
|
|
actionName: 'replace-with-message-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-message',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timer Start Event',
|
|
|
|
actionName: 'replace-with-timer-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-timer',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TimerEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Start Event',
|
|
|
|
actionName: 'replace-with-conditional-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-condition',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ConditionalEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Signal Start Event',
|
|
|
|
actionName: 'replace-with-signal-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-signal',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2020-07-29 13:30:54 +00:00
|
|
|
export var START_EVENT_SUB_PROCESS = [
|
|
|
|
{
|
|
|
|
label: 'Start Event',
|
|
|
|
actionName: 'replace-with-none-start',
|
|
|
|
className: 'bpmn-icon-start-event-none',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Intermediate Throw Event',
|
|
|
|
actionName: 'replace-with-none-intermediate-throwing',
|
|
|
|
className: 'bpmn-icon-intermediate-event-none',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'End Event',
|
|
|
|
actionName: 'replace-with-none-end',
|
|
|
|
className: 'bpmn-icon-end-event-none',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var INTERMEDIATE_EVENT = [
|
2015-03-11 15:17:19 +00:00
|
|
|
{
|
|
|
|
label: 'Start Event',
|
|
|
|
actionName: 'replace-with-none-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Intermediate Throw Event',
|
2015-08-03 14:35:52 +00:00
|
|
|
actionName: 'replace-with-none-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'End Event',
|
2015-08-03 14:35:52 +00:00
|
|
|
actionName: 'replace-with-none-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Message Intermediate Catch Event',
|
2015-07-23 11:59:47 +00:00
|
|
|
actionName: 'replace-with-message-intermediate-catch',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-message',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateCatchEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Message Intermediate Throw Event',
|
2015-07-23 11:59:47 +00:00
|
|
|
actionName: 'replace-with-message-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-throw-message',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timer Intermediate Catch Event',
|
|
|
|
actionName: 'replace-with-timer-intermediate-catch',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-timer',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateCatchEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TimerEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-11-12 16:07:42 +00:00
|
|
|
label: 'Escalation Intermediate Throw Event',
|
|
|
|
actionName: 'replace-with-escalation-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-throw-escalation',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
2015-11-12 16:07:42 +00:00
|
|
|
type: 'bpmn:IntermediateThrowEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:EscalationEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Intermediate Catch Event',
|
|
|
|
actionName: 'replace-with-conditional-intermediate-catch',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-condition',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateCatchEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ConditionalEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Link Intermediate Catch Event',
|
|
|
|
actionName: 'replace-with-link-intermediate-catch',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-link',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateCatchEvent',
|
2020-03-26 20:11:54 +00:00
|
|
|
eventDefinitionType: 'bpmn:LinkEventDefinition',
|
|
|
|
eventDefinitionAttrs: {
|
|
|
|
name: ''
|
|
|
|
}
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Link Intermediate Throw Event',
|
|
|
|
actionName: 'replace-with-link-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-throw-link',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent',
|
2020-03-26 20:11:54 +00:00
|
|
|
eventDefinitionType: 'bpmn:LinkEventDefinition',
|
|
|
|
eventDefinitionAttrs: {
|
|
|
|
name: ''
|
|
|
|
}
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Compensation Intermediate Throw Event',
|
|
|
|
actionName: 'replace-with-compensation-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-throw-compensation',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:CompensateEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-07-23 11:59:47 +00:00
|
|
|
label: 'Signal Intermediate Catch Event',
|
|
|
|
actionName: 'replace-with-signal-intermediate-catch',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-signal',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateCatchEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Signal Intermediate Throw Event',
|
|
|
|
actionName: 'replace-with-signal-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-throw-signal',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var END_EVENT = [
|
2015-03-11 15:17:19 +00:00
|
|
|
{
|
|
|
|
label: 'Start Event',
|
|
|
|
actionName: 'replace-with-none-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Intermediate Throw Event',
|
2015-08-03 14:35:52 +00:00
|
|
|
actionName: 'replace-with-none-intermediate-throw',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:IntermediateThrowEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'End Event',
|
|
|
|
actionName: 'replace-with-none-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-none',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Message End Event',
|
|
|
|
actionName: 'replace-with-message-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-message',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Escalation End Event',
|
|
|
|
actionName: 'replace-with-escalation-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-escalation',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:EscalationEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Error End Event',
|
|
|
|
actionName: 'replace-with-error-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-error',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ErrorEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Cancel End Event',
|
|
|
|
actionName: 'replace-with-cancel-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-cancel',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:CancelEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Compensation End Event',
|
|
|
|
actionName: 'replace-with-compensation-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-compensation',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:CompensateEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Signal End Event',
|
|
|
|
actionName: 'replace-with-signal-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-signal',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Terminate End Event',
|
|
|
|
actionName: 'replace-with-terminate-end',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-end-event-terminate',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EndEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TerminateEventDefinition'
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var GATEWAY = [
|
2015-03-11 15:17:19 +00:00
|
|
|
{
|
|
|
|
label: 'Exclusive Gateway',
|
|
|
|
actionName: 'replace-with-exclusive-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-gateway-xor',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ExclusiveGateway'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Parallel Gateway',
|
|
|
|
actionName: 'replace-with-parallel-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-gateway-parallel',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ParallelGateway'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Inclusive Gateway',
|
|
|
|
actionName: 'replace-with-inclusive-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-gateway-or',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:InclusiveGateway'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Complex Gateway',
|
|
|
|
actionName: 'replace-with-complex-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-gateway-complex',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ComplexGateway'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Event based Gateway',
|
|
|
|
actionName: 'replace-with-event-based-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-gateway-eventbased',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:EventBasedGateway',
|
|
|
|
instantiate: false,
|
|
|
|
eventGatewayType: 'Exclusive'
|
|
|
|
}
|
|
|
|
}
|
2019-08-19 08:39:20 +00:00
|
|
|
|
2015-03-11 15:17:19 +00:00
|
|
|
// Gateways deactivated until https://github.com/bpmn-io/bpmn-js/issues/194
|
|
|
|
// {
|
|
|
|
// label: 'Event based instantiating Gateway',
|
|
|
|
// actionName: 'replace-with-exclusive-event-based-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
// className: 'bpmn-icon-exclusive-event-based',
|
2015-03-11 15:17:19 +00:00
|
|
|
// target: {
|
|
|
|
// type: 'bpmn:EventBasedGateway'
|
|
|
|
// },
|
|
|
|
// options: {
|
|
|
|
// businessObject: { instantiate: true, eventGatewayType: 'Exclusive' }
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: 'Parallel Event based instantiating Gateway',
|
|
|
|
// actionName: 'replace-with-parallel-event-based-instantiate-gateway',
|
2015-11-16 14:28:18 +00:00
|
|
|
// className: 'bpmn-icon-parallel-event-based-instantiate-gateway',
|
2015-03-11 15:17:19 +00:00
|
|
|
// target: {
|
|
|
|
// type: 'bpmn:EventBasedGateway'
|
|
|
|
// },
|
|
|
|
// options: {
|
|
|
|
// businessObject: { instantiate: true, eventGatewayType: 'Parallel' }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var SUBPROCESS_EXPANDED = [
|
2015-06-24 09:43:07 +00:00
|
|
|
{
|
|
|
|
label: 'Transaction',
|
|
|
|
actionName: 'replace-with-transaction',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-transaction',
|
2015-06-24 09:43:07 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:Transaction',
|
|
|
|
isExpanded: true
|
|
|
|
}
|
2015-08-04 15:52:43 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Event Sub Process',
|
|
|
|
actionName: 'replace-with-event-subprocess',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-event-subprocess-expanded',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
triggeredByEvent: true,
|
|
|
|
isExpanded: true
|
|
|
|
}
|
2016-06-16 11:57:32 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Sub Process (collapsed)',
|
|
|
|
actionName: 'replace-with-collapsed-subprocess',
|
|
|
|
className: 'bpmn-icon-subprocess-collapsed',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
isExpanded: false
|
|
|
|
}
|
2015-06-24 09:43:07 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var TRANSACTION = [
|
2015-06-24 09:43:07 +00:00
|
|
|
{
|
|
|
|
label: 'Sub Process',
|
|
|
|
actionName: 'replace-with-subprocess',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-subprocess-expanded',
|
2015-06-24 09:43:07 +00:00
|
|
|
target: {
|
2015-08-04 15:52:43 +00:00
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
isExpanded: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Event Sub Process',
|
|
|
|
actionName: 'replace-with-event-subprocess',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-event-subprocess-expanded',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
triggeredByEvent: true,
|
|
|
|
isExpanded: true
|
2015-06-24 09:43:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
2015-03-11 15:17:19 +00:00
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var EVENT_SUB_PROCESS = [
|
2015-08-04 15:52:43 +00:00
|
|
|
{
|
|
|
|
label: 'Sub Process',
|
|
|
|
actionName: 'replace-with-subprocess',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-subprocess-expanded',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
isExpanded: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Transaction',
|
|
|
|
actionName: 'replace-with-transaction',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-transaction',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:Transaction',
|
|
|
|
isExpanded: true
|
|
|
|
}
|
2016-06-07 06:46:45 +00:00
|
|
|
}
|
2015-08-04 15:52:43 +00:00
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var TASK = [
|
2015-03-11 15:17:19 +00:00
|
|
|
{
|
|
|
|
label: 'Task',
|
|
|
|
actionName: 'replace-with-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-task',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:Task'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Send Task',
|
|
|
|
actionName: 'replace-with-send-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-send',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:SendTask'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Receive Task',
|
|
|
|
actionName: 'replace-with-receive-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-receive',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ReceiveTask'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'User Task',
|
|
|
|
actionName: 'replace-with-user-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-user',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:UserTask'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Manual Task',
|
|
|
|
actionName: 'replace-with-manual-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-manual',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ManualTask'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Business Rule Task',
|
|
|
|
actionName: 'replace-with-rule-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-business-rule',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BusinessRuleTask'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Service Task',
|
|
|
|
actionName: 'replace-with-service-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-service',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ServiceTask'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Script Task',
|
|
|
|
actionName: 'replace-with-script-task',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-script',
|
2015-03-11 15:17:19 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:ScriptTask'
|
|
|
|
}
|
2015-06-23 15:24:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Call Activity',
|
|
|
|
actionName: 'replace-with-call-activity',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-call-activity',
|
2015-06-23 15:24:13 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:CallActivity'
|
|
|
|
}
|
2015-07-03 08:48:32 +00:00
|
|
|
},
|
|
|
|
{
|
2015-07-21 15:10:12 +00:00
|
|
|
label: 'Sub Process (collapsed)',
|
2015-07-03 08:48:32 +00:00
|
|
|
actionName: 'replace-with-collapsed-subprocess',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-subprocess-collapsed',
|
2015-07-03 08:48:32 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
isExpanded: false
|
|
|
|
}
|
2016-04-13 15:13:10 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Sub Process (expanded)',
|
|
|
|
actionName: 'replace-with-expanded-subprocess',
|
|
|
|
className: 'bpmn-icon-subprocess-expanded',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:SubProcess',
|
|
|
|
isExpanded: true
|
|
|
|
}
|
2015-03-11 15:17:19 +00:00
|
|
|
}
|
2015-07-03 08:48:32 +00:00
|
|
|
];
|
2015-07-23 11:59:47 +00:00
|
|
|
|
2020-11-18 10:39:01 +00:00
|
|
|
export var DATA_OBJECT_REFERENCE = [
|
|
|
|
{
|
|
|
|
label: 'Data Store Reference',
|
|
|
|
actionName: 'replace-with-data-store-reference',
|
|
|
|
className: 'bpmn-icon-data-store',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:DataStoreReference'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
export var DATA_STORE_REFERENCE = [
|
|
|
|
{
|
|
|
|
label: 'Data Object Reference',
|
|
|
|
actionName: 'replace-with-data-object-reference',
|
|
|
|
className: 'bpmn-icon-data-object',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:DataObjectReference'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var BOUNDARY_EVENT = [
|
2015-07-23 11:59:47 +00:00
|
|
|
{
|
|
|
|
label: 'Message Boundary Event',
|
|
|
|
actionName: 'replace-with-message-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-message',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
2015-07-23 11:59:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timer Boundary Event',
|
|
|
|
actionName: 'replace-with-timer-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-timer',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TimerEventDefinition'
|
2015-07-23 11:59:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Escalation Boundary Event',
|
|
|
|
actionName: 'replace-with-escalation-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-escalation',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:EscalationEventDefinition'
|
2015-07-23 11:59:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Boundary Event',
|
|
|
|
actionName: 'replace-with-conditional-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-condition',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ConditionalEventDefinition'
|
2015-07-23 11:59:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Error Boundary Event',
|
|
|
|
actionName: 'replace-with-error-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-error',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ErrorEventDefinition'
|
2015-07-23 11:59:47 +00:00
|
|
|
}
|
|
|
|
},
|
2015-09-17 07:05:09 +00:00
|
|
|
{
|
|
|
|
label: 'Cancel Boundary Event',
|
|
|
|
actionName: 'replace-with-cancel-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-cancel',
|
2015-09-17 07:05:09 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:CancelEventDefinition'
|
2015-09-17 07:05:09 +00:00
|
|
|
}
|
|
|
|
},
|
2015-07-23 11:59:47 +00:00
|
|
|
{
|
|
|
|
label: 'Signal Boundary Event',
|
|
|
|
actionName: 'replace-with-signal-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-signal',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Compensation Boundary Event',
|
|
|
|
actionName: 'replace-with-compensation-boundary',
|
|
|
|
className: 'bpmn-icon-intermediate-event-catch-compensation',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
|
|
|
eventDefinitionType: 'bpmn:CompensateEventDefinition'
|
2015-07-23 11:59:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Message Boundary Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-message-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-message',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition',
|
2015-07-23 11:59:47 +00:00
|
|
|
cancelActivity: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timer Boundary Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-timer-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-timer',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TimerEventDefinition',
|
2015-07-23 11:59:47 +00:00
|
|
|
cancelActivity: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Escalation Boundary Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-escalation-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-escalation',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:EscalationEventDefinition',
|
2015-07-23 11:59:47 +00:00
|
|
|
cancelActivity: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Boundary Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-conditional-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-condition',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ConditionalEventDefinition',
|
2015-07-23 11:59:47 +00:00
|
|
|
cancelActivity: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Signal Boundary Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-signal-boundary',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-signal',
|
2015-07-23 11:59:47 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:BoundaryEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition',
|
2015-07-23 11:59:47 +00:00
|
|
|
cancelActivity: false
|
|
|
|
}
|
2016-06-07 06:46:45 +00:00
|
|
|
}
|
2015-07-23 11:59:47 +00:00
|
|
|
];
|
2015-08-04 15:52:43 +00:00
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var EVENT_SUB_PROCESS_START_EVENT = [
|
2015-08-04 15:52:43 +00:00
|
|
|
{
|
|
|
|
label: 'Message Start Event',
|
|
|
|
actionName: 'replace-with-message-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-message',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timer Start Event',
|
|
|
|
actionName: 'replace-with-timer-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-timer',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TimerEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Start Event',
|
|
|
|
actionName: 'replace-with-conditional-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-condition',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ConditionalEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Signal Start Event',
|
|
|
|
actionName: 'replace-with-signal-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-signal',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Error Start Event',
|
|
|
|
actionName: 'replace-with-error-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-error',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ErrorEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Escalation Start Event',
|
|
|
|
actionName: 'replace-with-escalation-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-escalation',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:EscalationEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Compensation Start Event',
|
|
|
|
actionName: 'replace-with-compensation-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-compensation',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:CompensateEventDefinition'
|
2015-08-04 15:52:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Message Start Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-message-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-non-interrupting-message',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:MessageEventDefinition',
|
2015-08-04 15:52:43 +00:00
|
|
|
isInterrupting: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Timer Start Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-timer-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-non-interrupting-timer',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:TimerEventDefinition',
|
2015-08-04 15:52:43 +00:00
|
|
|
isInterrupting: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Start Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-conditional-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-non-interrupting-condition',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:ConditionalEventDefinition',
|
2015-08-04 15:52:43 +00:00
|
|
|
isInterrupting: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Signal Start Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-signal-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-non-interrupting-signal',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:SignalEventDefinition',
|
2015-08-04 15:52:43 +00:00
|
|
|
isInterrupting: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Escalation Start Event (non-interrupting)',
|
|
|
|
actionName: 'replace-with-non-interrupting-escalation-start',
|
2015-11-16 14:28:18 +00:00
|
|
|
className: 'bpmn-icon-start-event-non-interrupting-escalation',
|
2015-08-04 15:52:43 +00:00
|
|
|
target: {
|
|
|
|
type: 'bpmn:StartEvent',
|
2016-01-20 10:31:01 +00:00
|
|
|
eventDefinitionType: 'bpmn:EscalationEventDefinition',
|
2015-08-04 15:52:43 +00:00
|
|
|
isInterrupting: false
|
|
|
|
}
|
2016-06-07 06:46:45 +00:00
|
|
|
}
|
2015-08-04 15:52:43 +00:00
|
|
|
];
|
2015-09-29 05:58:26 +00:00
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var SEQUENCE_FLOW = [
|
2015-09-30 06:28:28 +00:00
|
|
|
{
|
|
|
|
label: 'Sequence Flow',
|
|
|
|
actionName: 'replace-with-sequence-flow',
|
2015-12-10 11:48:40 +00:00
|
|
|
className: 'bpmn-icon-connection'
|
2015-09-30 06:28:28 +00:00
|
|
|
},
|
2015-09-29 05:58:26 +00:00
|
|
|
{
|
|
|
|
label: 'Default Flow',
|
|
|
|
actionName: 'replace-with-default-flow',
|
2015-12-10 11:48:40 +00:00
|
|
|
className: 'bpmn-icon-default-flow'
|
2015-09-30 06:28:28 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Conditional Flow',
|
|
|
|
actionName: 'replace-with-conditional-flow',
|
2015-12-10 11:48:40 +00:00
|
|
|
className: 'bpmn-icon-conditional-flow'
|
2015-09-29 05:58:26 +00:00
|
|
|
}
|
|
|
|
];
|
2016-03-08 16:21:41 +00:00
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
export var PARTICIPANT = [
|
2016-03-08 16:21:41 +00:00
|
|
|
{
|
|
|
|
label: 'Expanded Pool',
|
|
|
|
actionName: 'replace-with-expanded-pool',
|
|
|
|
className: 'bpmn-icon-participant',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:Participant',
|
|
|
|
isExpanded: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-12-07 09:16:32 +00:00
|
|
|
label: function(element) {
|
|
|
|
var label = 'Empty Pool';
|
|
|
|
|
|
|
|
if (element.children && element.children.length) {
|
|
|
|
label += ' (removes content)';
|
|
|
|
}
|
|
|
|
|
|
|
|
return label;
|
|
|
|
},
|
2016-03-08 16:21:41 +00:00
|
|
|
actionName: 'replace-with-collapsed-pool',
|
2019-08-19 08:39:20 +00:00
|
|
|
|
2016-03-08 16:21:41 +00:00
|
|
|
// TODO(@janstuemmel): maybe design new icon
|
|
|
|
className: 'bpmn-icon-lane',
|
|
|
|
target: {
|
|
|
|
type: 'bpmn:Participant',
|
|
|
|
isExpanded: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|