刘光辉
9 小时以前 cf11e63b659afcc9792ab3e395f1b45d844431a8
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
import { bpmnLabel } from '../../variableName';
import { jnpfConfigBpmnContextPad } from '../../contextPad';
const { approver, subFlow, inclusive, parallel, exclusive, trigger, getData, addData, updateData, delData, interfaceData, message, launch, schedule, choose, processing, outside } = jnpfConfigBpmnContextPad;
const jnpfLabelConfig = {
    name: bpmnLabel,
    shapeType: bpmnLabel,
    element: {
        label: 'Timer',
        actionName: 'replace-with-timer',
        className: 'bpmn-icon-timer',
        target: {
            type: bpmnLabel,
        },
    },
    palette: {
        name: 'create.yinmai-timer',
        group: 'model',
        className: 'icon-yinmai-create icon-yinmai-timer',
        title: '修改为渲染按钮',
    },
    renderer: {
        background: '#ffffff',
        attr: { x: 0, y: 0, width: 28, height: 28 },
        rendererName: 'label按钮',
        fillColor: 'rgb(255,255,255)',
    },
    contextPad: {
        default: false,
        customization: { approver, subFlow, processing, outside, exclusive, inclusive, parallel, choose, trigger },
        groupCustomization: { getData, addData, updateData, delData, interfaceData, message, launch, schedule },
    },
    properties: {},
};
export { jnpfLabelConfig };