UNPKG

relu-bpmn

Version:

RELU快速开发平台bpmn组件

37 lines (36 loc) 1.1 kB
import { bpmnInclusive, typeInclusion } from '../../../variableName'; import { reluConfigBpmnContextPad } from '../../../contextPad'; const { approver } = reluConfigBpmnContextPad; const reluInclusiveConfig = { name: typeInclusion, shapeType: bpmnInclusive, element: { label: 'Task', actionName: 'replace-with-task', className: 'bpmn-icon-task', target: { type: bpmnInclusive, }, }, 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 { reluInclusiveConfig };