刘光辉
11 小时以前 0dfe84494048ce27ba8449831782128412d3eb13
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
31
32
33
34
35
36
import { jnpfConfigBpmnContextPad } from '../../../contextPad';
import { bpmnExclusive } from '../../../variableName';
const { approver } = jnpfConfigBpmnContextPad;
const jnpfExclusiveConfig: any = {
  name: bpmnExclusive,
  shapeType: bpmnExclusive,
  element: {
    label: 'Timer',
    actionName: 'replace-with-timer',
    className: 'bpmn-icon-timer',
    target: {
      type: bpmnExclusive,
    },
  },
  palette: {
    name: 'create.yinmai-timer',
    group: 'model',
    className: 'icon-yinmai-create icon-yinmai-timer',
  },
  renderer: {
    icon: 'icon-ym icon-ym-flow-node-approve',
    iconColor: '#1DACEB',
    titleColor: '#C0EDF8',
    background: '#ffffff',
    attr: { x: 0, y: 0, width: 90, rx: 16, height: 32 },
    rendererName: '条件分支',
    bodyDefaultText: '请设置审批人',
  },
  contextPad: {
    default: false,
    customization: { approver }, // 自定义 只有default = false 开启
  },
  properties: {},
};
 
export { jnpfExclusiveConfig };