刘光辉
10 小时以前 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
import { jnpfConfigBpmnContextPad } from '../../../contextPad';
import { bpmnDelData, typeDelData } from '../../../variableName';
const { getData, addData, updateData, delData, interfaceData, message, launch, schedule, connect, del, paste, copy } = jnpfConfigBpmnContextPad;
const jnpfDelDataConfig = {
    name: typeDelData,
    shapeType: bpmnDelData,
    element: {
        label: 'Task',
        actionName: 'replace-with-task',
        className: 'bpmn-icon-task',
        target: {
            type: bpmnDelData,
        },
    },
    renderer: {
        icon: 'icon-ym icon-ym-btn-clearn',
        iconColor: '#DD363C',
        titleColor: 'linear-gradient(90deg, #FFCDC1 0%, #FF8E92 100%)',
        background: '#ffffff',
        attr: { x: 0, y: 0, rx: 8, width: 200, height: 88 },
        rendererName: '删除数据',
        bodyDefaultText: '请设置删除节点',
    },
    contextPad: {
        default: false,
        customization: { getData, addData, updateData, delData, interfaceData, message, launch, schedule, connect, copy, del },
        otherCustomization: { getData, addData, updateData, delData, interfaceData, message, launch, schedule, connect, copy, paste, del },
    },
    properties: {},
};
export { jnpfDelDataConfig };