workflow-bpmn-modeler-andtv-vue3 10.1.1 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fonts/bpmn.5d33bee4.eot +0 -0
- package/dist/fonts/bpmn.67058807.woff2 +0 -0
- package/dist/fonts/bpmn.b5c9250d.ttf +0 -0
- package/dist/fonts/bpmn.e9e7d076.woff +0 -0
- package/dist/img/bpmn.74eea12b.svg +224 -0
- package/dist/workflow-bpmn-modeler-andtv-vue3.common.js +199 -5
- package/dist/workflow-bpmn-modeler-andtv-vue3.umd.js +199 -5
- package/dist/workflow-bpmn-modeler-andtv-vue3.umd.min.js +199 -5
- package/package/CHANGELOG.md +6 -0
- package/package/LICENSE +21 -0
- package/package/README.md +208 -0
- package/package/components/nodePanel/process.vue +9 -2
- package/package/components/nodePanel/startEnd.vue +6 -2
- package/package/dist/demo.html +9 -0
- package/package/dist/fonts/bpmn.5d33bee4.eot +0 -0
- package/package/dist/fonts/bpmn.67058807.woff2 +0 -0
- package/package/dist/fonts/bpmn.b5c9250d.ttf +0 -0
- package/package/dist/fonts/bpmn.e9e7d076.woff +0 -0
- package/package/dist/img/bpmn.74eea12b.svg +224 -0
- package/package/dist/workflow-bpmn-modeler-andtv-vue3.common.js +5617 -0
- package/package/dist/workflow-bpmn-modeler-andtv-vue3.umd.js +5617 -0
- package/package/dist/workflow-bpmn-modeler-andtv-vue3.umd.min.js +5617 -0
- package/package/index.vue +91 -427
- package/package/package/BpmData.js +68 -0
- package/package/package/PropertyPanel.vue +342 -0
- package/package/package/common/customTranslate.js +20 -0
- package/package/package/common/mixinExecutionListener.js +24 -0
- package/package/package/common/mixinPanel.js +70 -0
- package/package/package/common/mixinXcrud.js +22 -0
- package/package/package/common/parseElement.js +53 -0
- package/package/package/components/custom/customContextPad.vue +24 -0
- package/package/package/components/nodePanel/gateway.vue +165 -0
- package/package/package/components/nodePanel/process.vue +201 -0
- package/package/package/components/nodePanel/property/executionListener.vue +240 -0
- package/package/package/components/nodePanel/property/listenerParam.vue +137 -0
- package/package/package/components/nodePanel/property/multiInstance.vue +177 -0
- package/package/package/components/nodePanel/property/signal.vue +178 -0
- package/package/package/components/nodePanel/property/taskListener.vue +242 -0
- package/package/package/components/nodePanel/sequenceFlow.vue +180 -0
- package/package/package/components/nodePanel/startEnd.vue +174 -0
- package/package/package/components/nodePanel/task.vue +452 -0
- package/package/package/flowable/flowable.json +1218 -0
- package/package/package/flowable/init.js +24 -0
- package/package/package/flowable/showConfig.js +51 -0
- package/package/package/index.js +9 -0
- package/package/package/index.ts +10 -0
- package/package/package/index.vue +730 -0
- package/package/package/lang/zh.js +227 -0
- package/package/package/types/components.d.ts +35 -0
- package/package/package.json +89 -0
- package/package.json +12 -13
- package/package/bpmn-styles.css +0 -40
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
function randomStr() {
|
3
|
+
return Math.random().toString(36).slice(-8)
|
4
|
+
}
|
5
|
+
|
6
|
+
export default function() {
|
7
|
+
return `<?xml version="1.0" encoding="UTF-8"?>
|
8
|
+
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" targetNamespace="http://www.flowable.org/processdef">
|
9
|
+
<process id="process_${randomStr()}" name="name_${randomStr()}">
|
10
|
+
<startEvent id="startNode1" name="开始" />
|
11
|
+
</process>
|
12
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_flow">
|
13
|
+
<bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="T-2d89e7a3-ba79-4abd-9f64-ea59621c258c">
|
14
|
+
<bpmndi:BPMNShape id="BPMNShape_startNode1" bpmnElement="startNode1" bioc:stroke="">
|
15
|
+
<omgdc:Bounds x="240" y="200" width="30" height="30" />
|
16
|
+
<bpmndi:BPMNLabel>
|
17
|
+
<omgdc:Bounds x="242" y="237" width="23" height="14" />
|
18
|
+
</bpmndi:BPMNLabel>
|
19
|
+
</bpmndi:BPMNShape>
|
20
|
+
</bpmndi:BPMNPlane>
|
21
|
+
</bpmndi:BPMNDiagram>
|
22
|
+
</definitions>
|
23
|
+
`
|
24
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
export default {
|
2
|
+
'bpmn:EndEvent': {},
|
3
|
+
'bpmn:StartEvent': {
|
4
|
+
initiator: true,
|
5
|
+
formKey: true
|
6
|
+
},
|
7
|
+
'bpmn:UserTask': {
|
8
|
+
userType: true,
|
9
|
+
assignee: true,
|
10
|
+
candidateUsers: true,
|
11
|
+
candidateGroups: true,
|
12
|
+
async: true,
|
13
|
+
priority: true,
|
14
|
+
formKey: true,
|
15
|
+
skipExpression: true,
|
16
|
+
dueDate: true,
|
17
|
+
taskListener: true
|
18
|
+
},
|
19
|
+
'bpmn:ServiceTask': {
|
20
|
+
async: true,
|
21
|
+
skipExpression: true,
|
22
|
+
isForCompensation: true,
|
23
|
+
triggerable: true,
|
24
|
+
class: true
|
25
|
+
},
|
26
|
+
'bpmn:ScriptTask': {
|
27
|
+
async: true,
|
28
|
+
isForCompensation: true,
|
29
|
+
autoStoreVariables: true
|
30
|
+
},
|
31
|
+
'bpmn:ManualTask': {
|
32
|
+
async: true,
|
33
|
+
isForCompensation: true
|
34
|
+
},
|
35
|
+
'bpmn:ReceiveTask': {
|
36
|
+
async: true,
|
37
|
+
isForCompensation: true
|
38
|
+
},
|
39
|
+
'bpmn:SendTask': {
|
40
|
+
async: true,
|
41
|
+
isForCompensation: true
|
42
|
+
},
|
43
|
+
'bpmn:BusinessRuleTask': {
|
44
|
+
async: true,
|
45
|
+
isForCompensation: true,
|
46
|
+
ruleVariablesInput: true,
|
47
|
+
rules: true,
|
48
|
+
resultVariable: true,
|
49
|
+
exclude: true
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { App } from 'vue'
|
2
|
+
import workflowBpmnModeler from './index.vue'
|
3
|
+
|
4
|
+
workflowBpmnModeler.install = (app: App) => {
|
5
|
+
app.component('WorkflowBpmnModeler', workflowBpmnModeler) // 给组件配置install方法
|
6
|
+
}
|
7
|
+
|
8
|
+
export default workflowBpmnModeler
|
9
|
+
export { workflowBpmnModeler }
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { App } from 'vue'
|
2
|
+
import workflowBpmnModeler from './index.vue'
|
3
|
+
|
4
|
+
const component = workflowBpmnModeler as any
|
5
|
+
component.install = (app: App) => {
|
6
|
+
app.component('WorkflowBpmnModeler', component) // 给组件配置install方法
|
7
|
+
}
|
8
|
+
|
9
|
+
export default workflowBpmnModeler
|
10
|
+
export { workflowBpmnModeler }
|