UNPKG

relu-bpmn

Version:

RELU快速开发平台bpmn组件

37 lines (36 loc) 1.08 kB
import { reluConfigBpmnContextPad } from '../../../contextPad'; import { bpmnChoose, typeChoose } from '../../../variableName'; const { approver } = reluConfigBpmnContextPad; const reluChooseConfig = { name: typeChoose, shapeType: bpmnChoose, element: { label: 'Task', actionName: 'replace-with-task', className: 'bpmn-icon-task', target: { type: typeChoose, }, }, palette: { name: 'create.relu-task', group: 'model', className: 'icon-relu-create icon-relu-task', title: '创建一个类型为relu-task的任务节点', }, 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 }, }, properties: {}, }; export { reluChooseConfig };