1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| import { jnpfConfigBpmnContextPad } from '../../contextPad';
| import { bpmnStart, typeStart } from '../../variableName';
| const { approver, processing, subFlow, connect, event, timeout, notice, webhook, outside, free } = jnpfConfigBpmnContextPad;
| const jnpfStartConfig = {
| name: typeStart,
| shapeType: bpmnStart,
| palette: {
| name: 'create.jnpf-task',
| group: 'model',
| className: 'icon-jnpf-create icon-jnpf-task',
| title: '创建一个类型为jnpf-task的任务节点',
| },
| renderer: {
| icon: 'icon-ym icon-ym-flow-node-start',
| iconColor: '#4cd823',
| titleColor: '#f0f5ff',
| background: '#ffffff',
| attr: { x: 0, y: 0, width: 90, rx: 16, height: 32 },
| rendererName: '流程发起',
| bodyDefaultText: '暂未选择表单',
| },
| contextPad: {
| default: false,
| customization: { approver, processing, subFlow, outside, connect },
| taskCustomization: { event, timeout, notice, webhook },
| freeCustomization: {},
| },
| properties: {},
| };
| export { jnpfStartConfig };
|
|