camunda-bpmn-js 0.13.0-alpha.4 → 0.13.0-alpha.7

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.
@@ -37,18 +37,30 @@ export default class CreateZeebeCallActivityBehavior extends CommandInterceptor
37
37
  let calledElement = getCalledElement(businessObject);
38
38
 
39
39
  if (!calledElement) {
40
- calledElement = bpmnFactory.create('zeebe:CalledElement', {
41
- propagateAllChildVariables: false
42
- });
43
-
44
40
  let extensionElements = businessObject.get('extensionElements');
45
41
 
46
42
  if (!extensionElements) {
47
- extensionElements = createElement('bpmn:ExtensionElements', { values: [] }, businessObject, bpmnFactory);
43
+ extensionElements = createElement(
44
+ 'bpmn:ExtensionElements',
45
+ {
46
+ values: []
47
+ },
48
+ businessObject,
49
+ bpmnFactory
50
+ );
48
51
 
49
52
  modeling.updateProperties(shape, { extensionElements });
50
53
  }
51
54
 
55
+ calledElement = createElement(
56
+ 'zeebe:CalledElement',
57
+ {
58
+ propagateAllChildVariables: false
59
+ },
60
+ extensionElements,
61
+ bpmnFactory
62
+ );
63
+
52
64
  modeling.updateModdleProperties(shape, extensionElements, {
53
65
  values: [
54
66
  ...(extensionElements.values || []),
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "camunda-bpmn-js",
3
- "version": "0.13.0-alpha.4",
3
+ "version": "0.13.0-alpha.7",
4
4
  "description": "Embeddable Camunda modeling distributions based on bpmn-js",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
7
- "all": "run-s lint test distro test:distro",
7
+ "all": "run-s clean lint test distro test:distro",
8
8
  "lint": "eslint .",
9
9
  "dev": "npm test -- --auto-watch --no-single-run",
10
10
  "test": "karma start karma.config.js",
11
+ "clean": "del-cli dist",
11
12
  "distro": "rollup -c",
12
13
  "test:distro": "node tasks/test-distro.js",
13
14
  "start:base": "cross-env SINGLE_START=base-modeler npm run dev",
14
15
  "start:platform": "cross-env SINGLE_START=camunda-platform-modeler npm run dev",
15
16
  "start:cloud": "cross-env SINGLE_START=camunda-cloud-modeler npm run dev",
16
17
  "prepublishOnly": "run-s test:distro",
17
- "prepare": "run-s distro"
18
+ "prepare": "run-s clean distro"
18
19
  },
19
20
  "repository": {
20
21
  "type": "git",
@@ -53,13 +54,14 @@
53
54
  "zeebe-bpmn-moddle": "^0.11.0"
54
55
  },
55
56
  "devDependencies": {
56
- "@bpmn-io/properties-panel": "^0.11.0",
57
+ "@bpmn-io/properties-panel": "^0.13.1",
57
58
  "@rollup/plugin-commonjs": "^17.1.0",
58
59
  "@rollup/plugin-json": "^4.1.0",
59
60
  "@rollup/plugin-node-resolve": "^11.1.1",
60
- "bpmn-js-properties-panel": "~1.0.0-alpha.5",
61
+ "bpmn-js-properties-panel": "^1.0.0-alpha.10",
61
62
  "chai": "^4.2.0",
62
63
  "cross-env": "^7.0.3",
64
+ "del-cli": "^4.0.1",
63
65
  "eslint": "^7.32.0",
64
66
  "eslint-plugin-bpmn-io": "^0.13.0",
65
67
  "execa": "^5.0.0",
@@ -89,7 +91,7 @@
89
91
  "webpack": "^5.20.1"
90
92
  },
91
93
  "peerDependencies": {
92
- "@bpmn-io/properties-panel": "0.11.x",
93
- "bpmn-js-properties-panel": "1.0.0-alpha.5"
94
+ "@bpmn-io/properties-panel": "0.13.x",
95
+ "bpmn-js-properties-panel": "1.0.0-alpha.10"
94
96
  }
95
97
  }