bpmn-moddle 0.14.0 → 0.14.1
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/.travis.yml +2 -5
- package/package.json +4 -4
- package/resources/bpmn/json/bpmn.json +1 -1
- package/resources/bpmn/json/bpmndi.json +1 -1
- package/resources/bpmn-io/json/bioc.json +1 -1
- package/.npmignore +0 -6
- package/test/expect.js +0 -7
- package/test/fixtures/bpmn/activity-children.bpmn +0 -23
- package/test/fixtures/bpmn/callActivity-calledElement.part.bpmn +0 -7
- package/test/fixtures/bpmn/catch-event-dataOutputAssociations.part.bpmn +0 -5
- package/test/fixtures/bpmn/category.bpmn +0 -28
- package/test/fixtures/bpmn/complex.bpmn +0 -3680
- package/test/fixtures/bpmn/conversation-children.bpmn +0 -23
- package/test/fixtures/bpmn/data-object-reference.bpmn +0 -17
- package/test/fixtures/bpmn/definitions-children.bpmn +0 -13
- package/test/fixtures/bpmn/di/bpmnDiagram-extension.part.bpmn +0 -17
- package/test/fixtures/bpmn/di/bpmnDiagram.part.bpmn +0 -12
- package/test/fixtures/bpmn/di/bpmnEdge-waypoint.part.bpmn +0 -4
- package/test/fixtures/bpmn/di/bpmnEdge.part.bpmn +0 -5
- package/test/fixtures/bpmn/di/bpmnShape.part.bpmn +0 -4
- package/test/fixtures/bpmn/di-extension.bpmn +0 -26
- package/test/fixtures/bpmn/documentation-extension-elements.bpmn +0 -15
- package/test/fixtures/bpmn/documentation.bpmn +0 -11
- package/test/fixtures/bpmn/empty-definitions-default-ns.bpmn +0 -4
- package/test/fixtures/bpmn/empty-definitions.bpmn +0 -5
- package/test/fixtures/bpmn/error/binary.png +0 -0
- package/test/fixtures/bpmn/error/categoryValue.bpmn +0 -27
- package/test/fixtures/bpmn/error/di-no-bpmn-element.bpmn +0 -13
- package/test/fixtures/bpmn/error/duplicate-ids.bpmn +0 -8
- package/test/fixtures/bpmn/error/extension-definition-missing.bpmn +0 -6
- package/test/fixtures/bpmn/error/no-xml.txt +0 -1
- package/test/fixtures/bpmn/error/undeclared-ns-child.bpmn +0 -6
- package/test/fixtures/bpmn/error/unrecognized-child.bpmn +0 -6
- package/test/fixtures/bpmn/escalation-error.bpmn +0 -6
- package/test/fixtures/bpmn/event-references.part.bpmn +0 -6
- package/test/fixtures/bpmn/example-colors.bpmn +0 -40
- package/test/fixtures/bpmn/expression-plain.bpmn +0 -40
- package/test/fixtures/bpmn/extension/camunda/inputOutput-list.part.bpmn +0 -9
- package/test/fixtures/bpmn/extension/camunda/inputOutput-map.part.bpmn +0 -12
- package/test/fixtures/bpmn/extension/camunda/inputOutput-mixed.part.bpmn +0 -13
- package/test/fixtures/bpmn/extension/camunda/inputOutput-plain.part.bpmn +0 -3
- package/test/fixtures/bpmn/extension/camunda/inputOutput-script.part.bpmn +0 -9
- package/test/fixtures/bpmn/extension/camunda/inputOutput.bpmn +0 -22
- package/test/fixtures/bpmn/extension/drools.part.bpmn +0 -9
- package/test/fixtures/bpmn/extension-attributes.bpmn +0 -20
- package/test/fixtures/bpmn/extension-elements.bpmn +0 -9
- package/test/fixtures/bpmn/inputOutputSpecification-children.bpmn +0 -19
- package/test/fixtures/bpmn/interface-implementationRef.part.bpmn +0 -2
- package/test/fixtures/bpmn/itemDefinition-structureRef.part.bpmn +0 -2
- package/test/fixtures/bpmn/lane-childLaneSets.part.bpmn +0 -8
- package/test/fixtures/bpmn/lane-children.bpmn +0 -46
- package/test/fixtures/bpmn/multiInstanceLoopCharacteristics-completionCondition.part.bpmn +0 -5
- package/test/fixtures/bpmn/multiInstanceLoopCharacteristics.bpmn +0 -181
- package/test/fixtures/bpmn/operation-implementationRef.part.bpmn +0 -2
- package/test/fixtures/bpmn/operation-messageRef.bpmn +0 -12
- package/test/fixtures/bpmn/participant-interfaceRef.bpmn +0 -20
- package/test/fixtures/bpmn/potentialOwner.bpmn +0 -11
- package/test/fixtures/bpmn/process-children.bpmn +0 -24
- package/test/fixtures/bpmn/scriptTask-script.part.bpmn +0 -4
- package/test/fixtures/bpmn/sequenceFlow-conditionExpression.part.bpmn +0 -5
- package/test/fixtures/bpmn/simple-default-ns.bpmn +0 -31
- package/test/fixtures/bpmn/simple.bpmn +0 -31
- package/test/fixtures/bpmn/sub-process-flow-nodes.part.bpmn +0 -8
- package/test/fixtures/bpmn/sub-process.part.bpmn +0 -10
- package/test/fixtures/bpmn/subprocess-flow-nodes-outgoing.part.bpmn +0 -16
- package/test/fixtures/bpmn/throw-event-dataInputAssociations.part.bpmn +0 -5
- package/test/fixtures/bpmn/timerEventDefinition.part.bpmn +0 -5
- package/test/fixtures/bpmn/vendor/signavio-complex-no-extensions.bpmn +0 -2151
- package/test/fixtures/bpmn/vendor/yaoqiang-event-definitions.bpmn +0 -396
- package/test/fixtures/bpmn/vendor.xsd +0 -14
- package/test/fixtures/bpmn/xsi-type.bpmn +0 -61
- package/test/fixtures/json/model/camunda.json +0 -224
- package/test/fixtures/json/model/drools.json +0 -24
- package/test/fixtures/xsd/BPMN20.xsd +0 -39
- package/test/fixtures/xsd/Vendor.xsd +0 -14
- package/test/helper.js +0 -23
- package/test/integration/camunda/read.js +0 -203
- package/test/integration/camunda/roundtrip.js +0 -48
- package/test/integration/camunda/write.js +0 -249
- package/test/integration/misc.js +0 -107
- package/test/matchers.js +0 -19
- package/test/spec/adapter/cmof/builder.js +0 -194
- package/test/spec/adapter/cmof/generate-simple.js +0 -560
- package/test/spec/bpmn-moddle.js +0 -208
- package/test/spec/xml/edit.js +0 -76
- package/test/spec/xml/read.js +0 -986
- package/test/spec/xml/roundtrip.js +0 -540
- package/test/spec/xml/write.js +0 -980
- package/test/xml-helper.js +0 -39
package/.travis.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpmn-moddle",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "A moddle wrapper for BPMN 2.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"all": "grunt",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"chai": "^1.9.1",
|
|
33
|
-
"cmof-parser": "^0.
|
|
33
|
+
"cmof-parser": "^0.2.0",
|
|
34
34
|
"grunt": "^0.4.2",
|
|
35
35
|
"grunt-cli": "^0.1.13",
|
|
36
36
|
"grunt-contrib-jshint": "^0.7.2",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"jsondiffpatch": "^0.1.4",
|
|
41
41
|
"load-grunt-tasks": "^0.3.0",
|
|
42
42
|
"mocha": "^3.1.2",
|
|
43
|
-
"xsd-schema-validator": "^0.
|
|
43
|
+
"xsd-schema-validator": "^0.5.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"lodash": "^3.0.0",
|
|
47
47
|
"moddle": "^1.0.0",
|
|
48
|
-
"moddle-xml": "^1.
|
|
48
|
+
"moddle-xml": "^1.1.1"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/.npmignore
DELETED
package/test/expect.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:vendor="http://vendor" id="activity-children" targetNamespace="http://bpmn.io/schema/bpmn">
|
|
3
|
-
<process id="Process_1">
|
|
4
|
-
<dataObjectReference id="DataObjectReference_1" />
|
|
5
|
-
<userTask id="Task_1" name="Task 1">
|
|
6
|
-
<ioSpecification id="InputOutputSpecification_1">
|
|
7
|
-
<dataOutput id="DataOutput_1"></dataOutput>
|
|
8
|
-
<inputSet id="InputSet_1" name="default input set">
|
|
9
|
-
<outputSetRefs>OutputSet_1</outputSetRefs>
|
|
10
|
-
</inputSet>
|
|
11
|
-
<outputSet id="OutputSet_1" name="default output set">
|
|
12
|
-
<dataOutputRefs>DataOutput_1</dataOutputRefs>
|
|
13
|
-
<inputSetRefs>InputSet_1</inputSetRefs>
|
|
14
|
-
</outputSet>
|
|
15
|
-
</ioSpecification>
|
|
16
|
-
<dataOutputAssociation>
|
|
17
|
-
<sourceRef>DataOutput_1</sourceRef>
|
|
18
|
-
<targetRef>DataObjectReference_1</targetRef>
|
|
19
|
-
</dataOutputAssociation>
|
|
20
|
-
<potentialOwner id="ResourceRole_1"></potentialOwner>
|
|
21
|
-
</userTask>
|
|
22
|
-
</process>
|
|
23
|
-
</definitions>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="8.4.1" expressionLanguage="http://www.w3.org/1999/XPath" id="sid-73c85f47-caf7-49f4-81c2-ccd9c46beedb" targetNamespace="http://www.signavio.com/bpmn20" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
|
|
2
|
-
<category id="sid-ccc7e63e-916e-4bd0-a9f0-98cbff749195">
|
|
3
|
-
<categoryValue id="sid-afd7e63e-916e-4bd0-a9f0-98cbff749193" value="group with label"/>
|
|
4
|
-
</category>
|
|
5
|
-
<process id="sid-d21bd22a-e617-4562-9cbd-2546073c1cf1" isExecutable="false" processType="None">
|
|
6
|
-
<extensionElements>
|
|
7
|
-
<signavio:signavioDiagramMetaData metaKey="revisionid" metaValue="a97a57cd8c4145d09f902344a2f6eec7"/>
|
|
8
|
-
</extensionElements>
|
|
9
|
-
<group categoryValueRef="sid-afd7e63e-916e-4bd0-a9f0-98cbff749193" id="sid-1FB8E9C5-D54C-4FCA-A2B2-256090EC79DF">
|
|
10
|
-
<extensionElements>
|
|
11
|
-
<signavio:signavioMetaData metaKey="userstory" metaValue=""/>
|
|
12
|
-
</extensionElements>
|
|
13
|
-
</group>
|
|
14
|
-
</process>
|
|
15
|
-
<bpmndi:BPMNDiagram id="sid-73344385-3bbb-419c-ad69-a9db64e271c7">
|
|
16
|
-
<bpmndi:BPMNPlane bpmnElement="sid-d21bd22a-e617-4562-9cbd-2546073c1cf1" id="sid-def820ae-1226-4abe-9eb0-7b5543824627">
|
|
17
|
-
<bpmndi:BPMNShape bpmnElement="sid-1FB8E9C5-D54C-4FCA-A2B2-256090EC79DF" id="sid-1FB8E9C5-D54C-4FCA-A2B2-256090EC79DF_gui">
|
|
18
|
-
<omgdc:Bounds height="234.0" width="346.0" x="180.0" y="135.0"/>
|
|
19
|
-
<bpmndi:BPMNLabel labelStyle="sid-41bec41f-8420-426c-bf18-f704a8dd71d2">
|
|
20
|
-
<omgdc:Bounds height="12.0" width="96.0" x="184.0" y="137.0"/>
|
|
21
|
-
</bpmndi:BPMNLabel>
|
|
22
|
-
</bpmndi:BPMNShape>
|
|
23
|
-
</bpmndi:BPMNPlane>
|
|
24
|
-
<bpmndi:BPMNLabelStyle id="sid-41bec41f-8420-426c-bf18-f704a8dd71d2">
|
|
25
|
-
<omgdc:Font isBold="false" isItalic="false" isStrikeThrough="false" isUnderline="false" name="Arial" size="11.0"/>
|
|
26
|
-
</bpmndi:BPMNLabelStyle>
|
|
27
|
-
</bpmndi:BPMNDiagram>
|
|
28
|
-
</definitions>
|