camunda-bpmn-js 0.13.0-alpha.5 → 0.13.0-alpha.8
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/CHANGELOG.md +40 -2
- package/dist/assets/element-templates.css +4 -0
- package/dist/assets/properties-panel.css +5 -0
- package/dist/base-modeler.development.js +819 -178
- package/dist/base-modeler.production.min.js +4 -4
- package/dist/camunda-cloud-modeler.development.js +2759 -1505
- package/dist/camunda-cloud-modeler.production.min.js +4 -4
- package/dist/camunda-platform-modeler.development.js +1289 -539
- package/dist/camunda-platform-modeler.production.min.js +4 -4
- package/lib/camunda-cloud/Modeler.js +4 -1
- package/lib/camunda-cloud/features/modeling/behavior/CreateZeebeCallActivityBehavior.js +17 -5
- package/package.json +13 -10
|
@@ -4,6 +4,8 @@ import BaseModeler from '../base/Modeler';
|
|
|
4
4
|
|
|
5
5
|
import disableCollapsedSubprocessModule from 'bpmn-js-disable-collapsed-subprocess';
|
|
6
6
|
|
|
7
|
+
import iconRendererModule from '@bpmn-io/element-templates-icons-renderer';
|
|
8
|
+
|
|
7
9
|
import modelingModule from './features/modeling';
|
|
8
10
|
|
|
9
11
|
import paletteModule from './features/palette';
|
|
@@ -60,7 +62,8 @@ Modeler.prototype._camundaCloudModules = [
|
|
|
60
62
|
rulesModule,
|
|
61
63
|
zeebePropertiesProviderModule,
|
|
62
64
|
cloudElementTemplatesPropertiesProvider,
|
|
63
|
-
zeebeModdleExtension
|
|
65
|
+
zeebeModdleExtension,
|
|
66
|
+
iconRendererModule
|
|
64
67
|
];
|
|
65
68
|
|
|
66
69
|
Modeler.prototype._modules = [].concat(
|
|
@@ -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(
|
|
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.
|
|
3
|
+
"version": "0.13.0-alpha.8",
|
|
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",
|
|
@@ -41,25 +42,27 @@
|
|
|
41
42
|
"license": "MIT",
|
|
42
43
|
"dependencies": {
|
|
43
44
|
"@bpmn-io/align-to-origin": "^0.7.0",
|
|
45
|
+
"@bpmn-io/element-templates-icons-renderer": "^0.1.2",
|
|
44
46
|
"bpmn-js": "^9.0.3",
|
|
45
47
|
"bpmn-js-disable-collapsed-subprocess": "^0.1.3",
|
|
46
48
|
"bpmn-js-executable-fix": "^0.1.3",
|
|
47
|
-
"camunda-bpmn-moddle": "^6.1.
|
|
48
|
-
"diagram-js": "^8.
|
|
49
|
+
"camunda-bpmn-moddle": "^6.1.2",
|
|
50
|
+
"diagram-js": "^8.2.1",
|
|
49
51
|
"diagram-js-minimap": "^2.1.0",
|
|
50
52
|
"diagram-js-origin": "^1.3.2",
|
|
51
53
|
"inherits": "^2.0.4",
|
|
52
54
|
"min-dash": "^3.8.1",
|
|
53
|
-
"zeebe-bpmn-moddle": "^0.
|
|
55
|
+
"zeebe-bpmn-moddle": "^0.12.1"
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
|
-
"@bpmn-io/properties-panel": "^0.
|
|
58
|
+
"@bpmn-io/properties-panel": "^0.13.1",
|
|
57
59
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
58
60
|
"@rollup/plugin-json": "^4.1.0",
|
|
59
61
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
|
60
|
-
"bpmn-js-properties-panel": "
|
|
62
|
+
"bpmn-js-properties-panel": "^1.0.0-alpha.12",
|
|
61
63
|
"chai": "^4.2.0",
|
|
62
64
|
"cross-env": "^7.0.3",
|
|
65
|
+
"del-cli": "^4.0.1",
|
|
63
66
|
"eslint": "^7.32.0",
|
|
64
67
|
"eslint-plugin-bpmn-io": "^0.13.0",
|
|
65
68
|
"execa": "^5.0.0",
|
|
@@ -89,7 +92,7 @@
|
|
|
89
92
|
"webpack": "^5.20.1"
|
|
90
93
|
},
|
|
91
94
|
"peerDependencies": {
|
|
92
|
-
"@bpmn-io/properties-panel": "0.
|
|
93
|
-
"bpmn-js-properties-panel": "1.0.0-alpha.
|
|
95
|
+
"@bpmn-io/properties-panel": "0.13.x",
|
|
96
|
+
"bpmn-js-properties-panel": "1.0.0-alpha.10"
|
|
94
97
|
}
|
|
95
98
|
}
|