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.
Files changed (89) hide show
  1. package/.travis.yml +2 -5
  2. package/package.json +4 -4
  3. package/resources/bpmn/json/bpmn.json +1 -1
  4. package/resources/bpmn/json/bpmndi.json +1 -1
  5. package/resources/bpmn-io/json/bioc.json +1 -1
  6. package/.npmignore +0 -6
  7. package/test/expect.js +0 -7
  8. package/test/fixtures/bpmn/activity-children.bpmn +0 -23
  9. package/test/fixtures/bpmn/callActivity-calledElement.part.bpmn +0 -7
  10. package/test/fixtures/bpmn/catch-event-dataOutputAssociations.part.bpmn +0 -5
  11. package/test/fixtures/bpmn/category.bpmn +0 -28
  12. package/test/fixtures/bpmn/complex.bpmn +0 -3680
  13. package/test/fixtures/bpmn/conversation-children.bpmn +0 -23
  14. package/test/fixtures/bpmn/data-object-reference.bpmn +0 -17
  15. package/test/fixtures/bpmn/definitions-children.bpmn +0 -13
  16. package/test/fixtures/bpmn/di/bpmnDiagram-extension.part.bpmn +0 -17
  17. package/test/fixtures/bpmn/di/bpmnDiagram.part.bpmn +0 -12
  18. package/test/fixtures/bpmn/di/bpmnEdge-waypoint.part.bpmn +0 -4
  19. package/test/fixtures/bpmn/di/bpmnEdge.part.bpmn +0 -5
  20. package/test/fixtures/bpmn/di/bpmnShape.part.bpmn +0 -4
  21. package/test/fixtures/bpmn/di-extension.bpmn +0 -26
  22. package/test/fixtures/bpmn/documentation-extension-elements.bpmn +0 -15
  23. package/test/fixtures/bpmn/documentation.bpmn +0 -11
  24. package/test/fixtures/bpmn/empty-definitions-default-ns.bpmn +0 -4
  25. package/test/fixtures/bpmn/empty-definitions.bpmn +0 -5
  26. package/test/fixtures/bpmn/error/binary.png +0 -0
  27. package/test/fixtures/bpmn/error/categoryValue.bpmn +0 -27
  28. package/test/fixtures/bpmn/error/di-no-bpmn-element.bpmn +0 -13
  29. package/test/fixtures/bpmn/error/duplicate-ids.bpmn +0 -8
  30. package/test/fixtures/bpmn/error/extension-definition-missing.bpmn +0 -6
  31. package/test/fixtures/bpmn/error/no-xml.txt +0 -1
  32. package/test/fixtures/bpmn/error/undeclared-ns-child.bpmn +0 -6
  33. package/test/fixtures/bpmn/error/unrecognized-child.bpmn +0 -6
  34. package/test/fixtures/bpmn/escalation-error.bpmn +0 -6
  35. package/test/fixtures/bpmn/event-references.part.bpmn +0 -6
  36. package/test/fixtures/bpmn/example-colors.bpmn +0 -40
  37. package/test/fixtures/bpmn/expression-plain.bpmn +0 -40
  38. package/test/fixtures/bpmn/extension/camunda/inputOutput-list.part.bpmn +0 -9
  39. package/test/fixtures/bpmn/extension/camunda/inputOutput-map.part.bpmn +0 -12
  40. package/test/fixtures/bpmn/extension/camunda/inputOutput-mixed.part.bpmn +0 -13
  41. package/test/fixtures/bpmn/extension/camunda/inputOutput-plain.part.bpmn +0 -3
  42. package/test/fixtures/bpmn/extension/camunda/inputOutput-script.part.bpmn +0 -9
  43. package/test/fixtures/bpmn/extension/camunda/inputOutput.bpmn +0 -22
  44. package/test/fixtures/bpmn/extension/drools.part.bpmn +0 -9
  45. package/test/fixtures/bpmn/extension-attributes.bpmn +0 -20
  46. package/test/fixtures/bpmn/extension-elements.bpmn +0 -9
  47. package/test/fixtures/bpmn/inputOutputSpecification-children.bpmn +0 -19
  48. package/test/fixtures/bpmn/interface-implementationRef.part.bpmn +0 -2
  49. package/test/fixtures/bpmn/itemDefinition-structureRef.part.bpmn +0 -2
  50. package/test/fixtures/bpmn/lane-childLaneSets.part.bpmn +0 -8
  51. package/test/fixtures/bpmn/lane-children.bpmn +0 -46
  52. package/test/fixtures/bpmn/multiInstanceLoopCharacteristics-completionCondition.part.bpmn +0 -5
  53. package/test/fixtures/bpmn/multiInstanceLoopCharacteristics.bpmn +0 -181
  54. package/test/fixtures/bpmn/operation-implementationRef.part.bpmn +0 -2
  55. package/test/fixtures/bpmn/operation-messageRef.bpmn +0 -12
  56. package/test/fixtures/bpmn/participant-interfaceRef.bpmn +0 -20
  57. package/test/fixtures/bpmn/potentialOwner.bpmn +0 -11
  58. package/test/fixtures/bpmn/process-children.bpmn +0 -24
  59. package/test/fixtures/bpmn/scriptTask-script.part.bpmn +0 -4
  60. package/test/fixtures/bpmn/sequenceFlow-conditionExpression.part.bpmn +0 -5
  61. package/test/fixtures/bpmn/simple-default-ns.bpmn +0 -31
  62. package/test/fixtures/bpmn/simple.bpmn +0 -31
  63. package/test/fixtures/bpmn/sub-process-flow-nodes.part.bpmn +0 -8
  64. package/test/fixtures/bpmn/sub-process.part.bpmn +0 -10
  65. package/test/fixtures/bpmn/subprocess-flow-nodes-outgoing.part.bpmn +0 -16
  66. package/test/fixtures/bpmn/throw-event-dataInputAssociations.part.bpmn +0 -5
  67. package/test/fixtures/bpmn/timerEventDefinition.part.bpmn +0 -5
  68. package/test/fixtures/bpmn/vendor/signavio-complex-no-extensions.bpmn +0 -2151
  69. package/test/fixtures/bpmn/vendor/yaoqiang-event-definitions.bpmn +0 -396
  70. package/test/fixtures/bpmn/vendor.xsd +0 -14
  71. package/test/fixtures/bpmn/xsi-type.bpmn +0 -61
  72. package/test/fixtures/json/model/camunda.json +0 -224
  73. package/test/fixtures/json/model/drools.json +0 -24
  74. package/test/fixtures/xsd/BPMN20.xsd +0 -39
  75. package/test/fixtures/xsd/Vendor.xsd +0 -14
  76. package/test/helper.js +0 -23
  77. package/test/integration/camunda/read.js +0 -203
  78. package/test/integration/camunda/roundtrip.js +0 -48
  79. package/test/integration/camunda/write.js +0 -249
  80. package/test/integration/misc.js +0 -107
  81. package/test/matchers.js +0 -19
  82. package/test/spec/adapter/cmof/builder.js +0 -194
  83. package/test/spec/adapter/cmof/generate-simple.js +0 -560
  84. package/test/spec/bpmn-moddle.js +0 -208
  85. package/test/spec/xml/edit.js +0 -76
  86. package/test/spec/xml/read.js +0 -986
  87. package/test/spec/xml/roundtrip.js +0 -540
  88. package/test/spec/xml/write.js +0 -980
  89. package/test/xml-helper.js +0 -39
package/.travis.yml CHANGED
@@ -1,8 +1,5 @@
1
1
  language: node_js
2
- node_js: '0.10'
2
+ node_js: 'node'
3
3
 
4
4
  script:
5
- - grunt
6
-
7
- before_install:
8
- - npm install -g grunt-cli
5
+ - npm run all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmn-moddle",
3
- "version": "0.14.0",
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.1.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.3.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.0.0"
48
+ "moddle-xml": "^1.1.1"
49
49
  }
50
50
  }
@@ -2814,7 +2814,7 @@
2814
2814
  ]
2815
2815
  }
2816
2816
  ],
2817
- "emumerations": [
2817
+ "enumerations": [
2818
2818
  {
2819
2819
  "name": "ProcessType",
2820
2820
  "literalValues": [
@@ -152,7 +152,7 @@
152
152
  ]
153
153
  }
154
154
  ],
155
- "emumerations": [
155
+ "enumerations": [
156
156
  {
157
157
  "name": "ParticipantBandKind",
158
158
  "literalValues": [
@@ -36,6 +36,6 @@
36
36
  ]
37
37
  }
38
38
  ],
39
- "emumerations": [],
39
+ "enumerations": [],
40
40
  "associations": []
41
41
  }
package/.npmignore DELETED
@@ -1,6 +0,0 @@
1
- node_modules/
2
- tmp/
3
- docs/api/
4
- dist/
5
- .idea
6
- *.iml
package/test/expect.js DELETED
@@ -1,7 +0,0 @@
1
- var chai = require('chai');
2
-
3
- // add matchers
4
- chai.use(require('./matchers'));
5
-
6
- // expose expect as global
7
- global.expect = chai.expect;
@@ -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,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <bpmn2:callActivity
3
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
- xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
5
- id="CallActivity_1" calledElement="otherProcess">
6
-
7
- </bpmn2:callActivity>
@@ -1,5 +0,0 @@
1
- <bpmn:startEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
- xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
3
- id="StartEvent_1">
4
- <bpmn:dataOutputAssociation id="DataOutputAssociation_1"></bpmn:dataOutputAssociation>
5
- </bpmn:startEvent>
@@ -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>