index.ts 1003 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { bpmnProcessing, typeProcessing } from '../../variableName';
  2. const jnpfProcessingConfig: any = {
  3. name: typeProcessing,
  4. shapeType: bpmnProcessing,
  5. element: {
  6. label: 'Processing',
  7. actionName: 'replace-with-processing',
  8. className: 'bpmn-icon-processing',
  9. target: {
  10. type: bpmnProcessing,
  11. },
  12. },
  13. palette: {
  14. name: 'create.jnpf-processing',
  15. group: 'model',
  16. className: 'icon-jnpf-create icon-jnpf-processing',
  17. title: '创建一个类型为jnpf-processing的任务节点',
  18. },
  19. renderer: {
  20. icon: 'icon-ym icon-ym-generator-todo',
  21. iconColor: '#C33B5F',
  22. titleColor: 'linear-gradient(90deg, #FFC1DB 0%, #F2819F 100%)',
  23. background: '#ffffff',
  24. attr: { x: 0, y: 0, rx: 8, width: 200, height: 88 },
  25. rendererName: '办理节点',
  26. bodyDefaultText: '请设置办理人',
  27. },
  28. contextPad: {
  29. default: true, // contextPad 中的元素使用默认 否则遵循自定义
  30. },
  31. properties: {},
  32. };
  33. export { jnpfProcessingConfig };