camunda-bpmn-js 3.1.0 → 3.1.2
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/assets/properties-panel.css +245 -1
- package/dist/base-modeler.development.js +22626 -20601
- package/dist/base-modeler.production.min.js +41 -31
- package/dist/camunda-cloud-modeler.development.js +23762 -21615
- package/dist/camunda-cloud-modeler.production.min.js +42 -32
- package/dist/camunda-platform-modeler.development.js +24415 -22388
- package/dist/camunda-platform-modeler.production.min.js +41 -31
- package/package.json +7 -7
- package/util/index.js +0 -41
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camunda-bpmn-js",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Embeddable Camunda modeling distributions based on bpmn-js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"dev": "npm test -- --auto-watch --no-single-run",
|
|
11
11
|
"test": "karma start karma.config.js",
|
|
12
12
|
"clean": "del-cli dist",
|
|
13
|
-
"distro": "rollup -c --failAfterWarnings
|
|
13
|
+
"distro": "rollup -c --failAfterWarnings",
|
|
14
14
|
"format": "run-s format:markdown 'lint -- --fix'",
|
|
15
15
|
"format:markdown": "remark . -qo",
|
|
16
|
-
"test:distro": "node tasks/test-distro.
|
|
16
|
+
"test:distro": "node tasks/test-distro.mjs",
|
|
17
17
|
"start:base": "cross-env SINGLE_START=base-modeler npm run dev",
|
|
18
18
|
"start:platform": "cross-env SINGLE_START=camunda-platform-modeler npm run dev",
|
|
19
19
|
"start:cloud": "cross-env SINGLE_START=camunda-cloud-modeler npm run dev",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"bpmn-js-create-append-anything": "^0.3.0",
|
|
62
62
|
"bpmn-js-element-templates": "^1.2.2",
|
|
63
63
|
"bpmn-js-executable-fix": "^0.2.1",
|
|
64
|
-
"camunda-bpmn-js-behaviors": "^0.
|
|
64
|
+
"camunda-bpmn-js-behaviors": "^1.0.0",
|
|
65
65
|
"camunda-bpmn-moddle": "^7.0.1",
|
|
66
66
|
"diagram-js": "^12.2.0",
|
|
67
67
|
"diagram-js-grid": "^0.2.0",
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
"babel-loader": "^9.0.0",
|
|
82
82
|
"babel-plugin-istanbul": "^6.1.1",
|
|
83
83
|
"bio-dts": "^0.8.1",
|
|
84
|
-
"bpmn-js-properties-panel": "^
|
|
84
|
+
"bpmn-js-properties-panel": "^5.0.0",
|
|
85
85
|
"chai": "^4.3.7",
|
|
86
86
|
"cross-env": "^7.0.3",
|
|
87
87
|
"del-cli": "^5.0.0",
|
|
88
88
|
"downloadjs": "^1.4.7",
|
|
89
89
|
"eslint": "^8.44.0",
|
|
90
90
|
"eslint-plugin-bpmn-io": "^1.0.0",
|
|
91
|
-
"execa": "^
|
|
91
|
+
"execa": "^8.0.0",
|
|
92
92
|
"file-drops": "^0.5.0",
|
|
93
93
|
"karma": "^6.4.1",
|
|
94
94
|
"karma-chai": "^0.1.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"mocha": "^10.1.0",
|
|
106
106
|
"mocha-test-container-support": "^0.2.0",
|
|
107
107
|
"npm-run-all": "^4.1.5",
|
|
108
|
-
"puppeteer": "^
|
|
108
|
+
"puppeteer": "^21.0.0",
|
|
109
109
|
"raw-loader": "^4.0.2",
|
|
110
110
|
"remark-cli": "^11.0.0",
|
|
111
111
|
"remark-preset-bpmn-io": "^0.2.1",
|
package/util/index.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* eslint-env node */
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Generates all possible combinations of the items in the given arrays.
|
|
5
|
-
*
|
|
6
|
-
* @param {...Array} - arrays with options to combine
|
|
7
|
-
* @returns {Array<Array>} array with all posible combinations of items
|
|
8
|
-
*/
|
|
9
|
-
function getAllCombinations() {
|
|
10
|
-
const [ first, ...rest ] = arguments;
|
|
11
|
-
|
|
12
|
-
if (!first) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const combinations = getAllCombinations(...rest);
|
|
17
|
-
|
|
18
|
-
return first.reduce((acc, cur) => {
|
|
19
|
-
|
|
20
|
-
const newCombination = combinations ? combinations.map(combination => [ cur, ...combination ]) : [ [ cur ] ];
|
|
21
|
-
|
|
22
|
-
return acc.concat(
|
|
23
|
-
newCombination
|
|
24
|
-
);
|
|
25
|
-
}, []);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function capitalize(string) {
|
|
29
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function toKebabCase(string) {
|
|
33
|
-
return string.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
module.exports = {
|
|
38
|
-
getAllCombinations,
|
|
39
|
-
capitalize,
|
|
40
|
-
toKebabCase
|
|
41
|
-
};
|