camunda-bpmn-js 5.15.0 → 5.17.0
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/element-template-chooser.css +1 -1
- package/dist/base-modeler.development.js +57316 -54087
- package/dist/base-modeler.production.min.js +45 -45
- package/dist/base-navigated-viewer.development.js +1958 -1314
- package/dist/base-navigated-viewer.production.min.js +1 -1
- package/dist/base-viewer.development.js +1221 -599
- package/dist/base-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +14537 -7986
- package/dist/camunda-cloud-modeler.production.min.js +47 -47
- package/dist/camunda-cloud-navigated-viewer.development.js +1850 -1171
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +1842 -1185
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +11979 -6776
- package/dist/camunda-platform-modeler.production.min.js +45 -45
- package/dist/camunda-platform-navigated-viewer.development.js +1839 -1183
- package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-platform-viewer.development.js +1818 -1184
- package/dist/camunda-platform-viewer.production.min.js +1 -1
- package/lib/base/Modeler.js +12 -0
- package/lib/base/NavigatedViewer.js +10 -0
- package/lib/base/Viewer.js +10 -0
- package/lib/camunda-cloud/ElementTemplatesValidator.js +10 -0
- package/lib/camunda-cloud/Modeler.js +10 -0
- package/lib/camunda-cloud/NavigatedViewer.js +10 -0
- package/lib/camunda-cloud/Viewer.js +10 -0
- package/lib/camunda-cloud/features/external-resources/README.md +1 -1
- package/lib/camunda-cloud/features/external-resources/ResourceLoader.d.ts +9 -0
- package/lib/camunda-cloud/features/external-resources/ResourceLoader.js +10 -0
- package/lib/camunda-cloud/features/external-resources/Resources.d.ts +9 -0
- package/lib/camunda-cloud/features/external-resources/Resources.js +10 -0
- package/lib/camunda-cloud/features/external-resources/cmd/ComposedCommandHandler.d.ts +9 -0
- package/lib/camunda-cloud/features/external-resources/cmd/ComposedCommandHandler.js +10 -0
- package/lib/camunda-cloud/features/external-resources/cmd/index.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/decision/AppendMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/decision/CreateMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/decision/ReplaceMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/decision/createElement.d.ts +15 -5
- package/lib/camunda-cloud/features/external-resources/handlers/decision/createElement.js +29 -4
- package/lib/camunda-cloud/features/external-resources/handlers/decision/index.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/decision/replaceElement.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/decision/searchTerms.d.ts +9 -0
- package/lib/camunda-cloud/features/external-resources/handlers/decision/searchTerms.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/form/AppendMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/form/CreateMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/form/ReplaceMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/form/createElement.d.ts +15 -1
- package/lib/camunda-cloud/features/external-resources/handlers/form/createElement.js +28 -3
- package/lib/camunda-cloud/features/external-resources/handlers/form/index.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/form/replaceElement.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/form/searchTerms.d.ts +9 -0
- package/lib/camunda-cloud/features/external-resources/handlers/form/searchTerms.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/process/AppendMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/process/CreateMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/process/ReplaceMenuProvider.js +11 -1
- package/lib/camunda-cloud/features/external-resources/handlers/process/createElement.d.ts +14 -5
- package/lib/camunda-cloud/features/external-resources/handlers/process/createElement.js +35 -4
- package/lib/camunda-cloud/features/external-resources/handlers/process/index.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/process/replaceElement.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/process/searchTerms.d.ts +9 -0
- package/lib/camunda-cloud/features/external-resources/handlers/process/searchTerms.js +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/AppendMenuProvider.d.ts +6 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/AppendMenuProvider.js +41 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/CreateMenuProvider.d.ts +6 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/CreateMenuProvider.js +41 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/ReplaceMenuProvider.d.ts +6 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/ReplaceMenuProvider.js +41 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/constants.d.ts +12 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/constants.js +14 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/createElement.d.ts +14 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/createElement.js +61 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/index.d.ts +8 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/index.js +20 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/replaceElement.d.ts +15 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/replaceElement.js +59 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/searchTerms.d.ts +10 -0
- package/lib/camunda-cloud/features/external-resources/handlers/rpa/searchTerms.js +11 -0
- package/lib/camunda-cloud/features/external-resources/handlers/util/BaseAppendMenuProvider.d.ts +21 -4
- package/lib/camunda-cloud/features/external-resources/handlers/util/BaseAppendMenuProvider.js +26 -8
- package/lib/camunda-cloud/features/external-resources/handlers/util/BaseCreateMenuProvider.d.ts +19 -3
- package/lib/camunda-cloud/features/external-resources/handlers/util/BaseCreateMenuProvider.js +24 -7
- package/lib/camunda-cloud/features/external-resources/handlers/util/BaseReplaceMenuProvider.d.ts +6 -2
- package/lib/camunda-cloud/features/external-resources/handlers/util/BaseReplaceMenuProvider.js +19 -6
- package/lib/camunda-cloud/features/external-resources/index.d.ts +4 -0
- package/lib/camunda-cloud/features/external-resources/index.js +13 -1
- package/lib/camunda-cloud/features/popup-menu/CamundaDetailsPopupMenuProvider.js +10 -0
- package/lib/camunda-cloud/features/popup-menu/index.js +10 -0
- package/lib/camunda-cloud/util/commonModules.js +10 -0
- package/lib/camunda-platform/Modeler.js +10 -0
- package/lib/camunda-platform/NavigatedViewer.js +10 -0
- package/lib/camunda-platform/Viewer.js +10 -0
- package/lib/camunda-platform/util/commonModules.js +10 -0
- package/lib/util/ExtensionElementsUtil.js +10 -0
- package/package.json +24 -22
package/lib/camunda-cloud/features/external-resources/handlers/util/BaseAppendMenuProvider.js
CHANGED
|
@@ -1,20 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @typedef {import('didi').Injector} Injector
|
|
13
|
+
* @typedef {import('bpmn-js/lib/model/Types').ModdleElement} ModdleElement
|
|
14
|
+
* @typedef {import('diagram-js/lib/features/popup-menu/PopupMenuProvider').PopupMenuEntries} PopupMenuEntries
|
|
15
|
+
*/
|
|
16
|
+
|
|
1
17
|
/**
|
|
2
18
|
* @typedef {object} Config
|
|
3
19
|
* @property {string} resourceType
|
|
4
20
|
* @property {string} className
|
|
5
21
|
* @property {string} groupName
|
|
6
|
-
* @property {
|
|
22
|
+
* @property {(resource: any, injector: Injector) => ModdleElement} createElement
|
|
7
23
|
* @property {string} [search]
|
|
8
24
|
*/
|
|
9
25
|
|
|
10
26
|
export class BaseAppendMenuProvider {
|
|
11
27
|
|
|
12
28
|
/**
|
|
13
|
-
*
|
|
14
29
|
* @param {import('didi').Injector} injector
|
|
15
30
|
* @param {Config} config
|
|
16
31
|
*/
|
|
17
32
|
constructor(injector, config) {
|
|
33
|
+
this._injector = injector;
|
|
18
34
|
this._elementFactory = injector.get('elementFactory');
|
|
19
35
|
this._bpmnFactory = injector.get('bpmnFactory');
|
|
20
36
|
this._popupMenu = injector.get('popupMenu');
|
|
@@ -33,7 +49,11 @@ export class BaseAppendMenuProvider {
|
|
|
33
49
|
this._popupMenu.registerProvider('bpmn-append', this);
|
|
34
50
|
};
|
|
35
51
|
|
|
36
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* @param {ModdleElement} element
|
|
54
|
+
*
|
|
55
|
+
* @returns {PopupMenuEntries}
|
|
56
|
+
*/
|
|
37
57
|
getPopupMenuEntries(element) {
|
|
38
58
|
const rules = this._rules;
|
|
39
59
|
|
|
@@ -43,17 +63,16 @@ export class BaseAppendMenuProvider {
|
|
|
43
63
|
|
|
44
64
|
const {
|
|
45
65
|
resourceType,
|
|
46
|
-
className,
|
|
47
66
|
groupName,
|
|
48
67
|
createElement,
|
|
49
|
-
|
|
68
|
+
...additionalConfig
|
|
50
69
|
} = this._config;
|
|
51
70
|
|
|
52
71
|
const resources = this._resources.filter(r => r.type === resourceType);
|
|
53
72
|
const entries = {};
|
|
54
73
|
|
|
55
74
|
resources.forEach((resource, index) => {
|
|
56
|
-
const getTarget = () => createElement(resource, this.
|
|
75
|
+
const getTarget = () => createElement(resource, this._injector);
|
|
57
76
|
entries[`resources-append-${resourceType}-${index}`] = {
|
|
58
77
|
label: resource.name,
|
|
59
78
|
action: this._createEntryAction(element, getTarget),
|
|
@@ -61,8 +80,7 @@ export class BaseAppendMenuProvider {
|
|
|
61
80
|
id: groupName.toLowerCase(),
|
|
62
81
|
name: this._translate(groupName)
|
|
63
82
|
},
|
|
64
|
-
|
|
65
|
-
search
|
|
83
|
+
...additionalConfig
|
|
66
84
|
};
|
|
67
85
|
});
|
|
68
86
|
|
package/lib/camunda-cloud/features/external-resources/handlers/util/BaseCreateMenuProvider.d.ts
CHANGED
|
@@ -1,17 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
1
10
|
export class BaseCreateMenuProvider {
|
|
2
11
|
/**
|
|
3
|
-
*
|
|
4
12
|
* @param injector
|
|
5
13
|
* @param config
|
|
6
14
|
*/
|
|
7
15
|
constructor(injector: import("didi").Injector, config: Config);
|
|
8
16
|
|
|
9
|
-
|
|
17
|
+
/**
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
getPopupMenuEntries(): PopupMenuEntries;
|
|
10
21
|
}
|
|
22
|
+
|
|
23
|
+
type Injector = import("didi").Injector;
|
|
24
|
+
type ModdleElement = import("bpmn-js/lib/model/Types").ModdleElement;
|
|
25
|
+
type PopupMenuEntries = import("diagram-js/lib/features/popup-menu/PopupMenuProvider").PopupMenuEntries;
|
|
26
|
+
|
|
11
27
|
export type Config = {
|
|
12
28
|
resourceType: string;
|
|
13
29
|
className: string;
|
|
14
30
|
groupName: string;
|
|
15
|
-
createElement:
|
|
31
|
+
createElement: (resource: any, injector: Injector) => ModdleElement;
|
|
16
32
|
search?: string;
|
|
17
33
|
};
|
package/lib/camunda-cloud/features/external-resources/handlers/util/BaseCreateMenuProvider.js
CHANGED
|
@@ -1,20 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @typedef {import('didi').Injector} Injector
|
|
13
|
+
* @typedef {import('bpmn-js/lib/model/Types').ModdleElement} ModdleElement
|
|
14
|
+
* @typedef {import('diagram-js/lib/features/popup-menu/PopupMenuProvider').PopupMenuEntries} PopupMenuEntries
|
|
15
|
+
*/
|
|
16
|
+
|
|
1
17
|
/**
|
|
2
18
|
* @typedef {object} Config
|
|
3
19
|
* @property {string} resourceType
|
|
4
20
|
* @property {string} className
|
|
5
21
|
* @property {string} groupName
|
|
6
|
-
* @property {
|
|
22
|
+
* @property {(resource: any, injector: Injector) => ModdleElement} createElement
|
|
7
23
|
* @property {string} [search]
|
|
8
24
|
*/
|
|
9
25
|
|
|
10
26
|
export class BaseCreateMenuProvider {
|
|
11
27
|
|
|
12
28
|
/**
|
|
13
|
-
*
|
|
14
29
|
* @param {import('didi').Injector} injector
|
|
15
30
|
* @param {Config} config
|
|
16
31
|
*/
|
|
17
32
|
constructor(injector, config) {
|
|
33
|
+
this._injector = injector;
|
|
18
34
|
this._elementFactory = injector.get('elementFactory');
|
|
19
35
|
this._bpmnFactory = injector.get('bpmnFactory');
|
|
20
36
|
this._popupMenu = injector.get('popupMenu');
|
|
@@ -29,20 +45,22 @@ export class BaseCreateMenuProvider {
|
|
|
29
45
|
this._config = config;
|
|
30
46
|
}
|
|
31
47
|
|
|
48
|
+
/**
|
|
49
|
+
* @returns {PopupMenuEntries}
|
|
50
|
+
*/
|
|
32
51
|
getPopupMenuEntries() {
|
|
33
52
|
const {
|
|
34
53
|
resourceType,
|
|
35
|
-
className,
|
|
36
54
|
groupName,
|
|
37
55
|
createElement,
|
|
38
|
-
|
|
56
|
+
...additionalConfig
|
|
39
57
|
} = this._config;
|
|
40
58
|
|
|
41
59
|
const resources = this._resources.filter(r => r.type === resourceType);
|
|
42
60
|
const entries = {};
|
|
43
61
|
|
|
44
62
|
resources.forEach((resource, index) => {
|
|
45
|
-
const getTarget = () => createElement(resource, this.
|
|
63
|
+
const getTarget = () => createElement(resource, this._injector);
|
|
46
64
|
entries[`resources-create-${resourceType}-${index}`] = {
|
|
47
65
|
label: resource.name,
|
|
48
66
|
action: this._createEntryAction(getTarget),
|
|
@@ -50,8 +68,7 @@ export class BaseCreateMenuProvider {
|
|
|
50
68
|
id: groupName.toLowerCase(),
|
|
51
69
|
name: this._translate(groupName)
|
|
52
70
|
},
|
|
53
|
-
|
|
54
|
-
search
|
|
71
|
+
...additionalConfig
|
|
55
72
|
};
|
|
56
73
|
});
|
|
57
74
|
|
package/lib/camunda-cloud/features/external-resources/handlers/util/BaseReplaceMenuProvider.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export class BaseReplaceMenuProvider {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
3
|
* @param injector
|
|
5
4
|
* @param config
|
|
6
5
|
*/
|
|
@@ -13,10 +12,15 @@ export class BaseReplaceMenuProvider {
|
|
|
13
12
|
*/
|
|
14
13
|
getPopupMenuEntries(element: PopupMenuTarget): PopupMenuEntries;
|
|
15
14
|
}
|
|
15
|
+
|
|
16
|
+
type Injector = import("didi").Injector;
|
|
17
|
+
type ModdleElement = import("bpmn-js/lib/model/Types").ModdleElement;
|
|
18
|
+
type PopupMenuEntries = import("diagram-js/lib/features/popup-menu/PopupMenuProvider").PopupMenuEntries;
|
|
19
|
+
|
|
16
20
|
export type Config = {
|
|
17
21
|
resourceType: string;
|
|
18
22
|
className: string;
|
|
19
23
|
groupName: string;
|
|
20
|
-
replaceElement:
|
|
24
|
+
replaceElement: (element: ModdleElement, resource: ModdleElement, injector: Injector) => ModdleElement;
|
|
21
25
|
search?: string;
|
|
22
26
|
};
|
package/lib/camunda-cloud/features/external-resources/handlers/util/BaseReplaceMenuProvider.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import {
|
|
2
12
|
is
|
|
3
13
|
} from 'bpmn-js/lib/util/ModelUtil';
|
|
@@ -6,19 +16,24 @@ import {
|
|
|
6
16
|
isArray
|
|
7
17
|
} from 'min-dash';
|
|
8
18
|
|
|
19
|
+
/**
|
|
20
|
+
* @typedef {import('didi').Injector} Injector
|
|
21
|
+
* @typedef {import('bpmn-js/lib/model/Types').ModdleElement} ModdleElement
|
|
22
|
+
* @typedef {import('diagram-js/lib/features/popup-menu/PopupMenuProvider').PopupMenuEntries} PopupMenuEntries
|
|
23
|
+
*/
|
|
24
|
+
|
|
9
25
|
/**
|
|
10
26
|
* @typedef {object} Config
|
|
11
27
|
* @property {string} resourceType
|
|
12
28
|
* @property {string} className
|
|
13
29
|
* @property {string} groupName
|
|
14
|
-
* @property {
|
|
30
|
+
* @property {(element: ModdleElement, resource: ModdleElement, injector: Injector) => ModdleElement} replaceElement
|
|
15
31
|
* @property {string} [search]
|
|
16
32
|
*/
|
|
17
33
|
|
|
18
34
|
export class BaseReplaceMenuProvider {
|
|
19
35
|
|
|
20
36
|
/**
|
|
21
|
-
*
|
|
22
37
|
* @param {import('didi').Injector} injector
|
|
23
38
|
* @param {Config} config
|
|
24
39
|
*/
|
|
@@ -54,10 +69,9 @@ export class BaseReplaceMenuProvider {
|
|
|
54
69
|
|
|
55
70
|
const {
|
|
56
71
|
resourceType,
|
|
57
|
-
className,
|
|
58
72
|
groupName,
|
|
59
73
|
replaceElement,
|
|
60
|
-
|
|
74
|
+
...additionalConfig
|
|
61
75
|
} = this._config;
|
|
62
76
|
|
|
63
77
|
const resources = this._resources.filter(r => r.type === resourceType);
|
|
@@ -72,8 +86,7 @@ export class BaseReplaceMenuProvider {
|
|
|
72
86
|
id: groupName.toLowerCase(),
|
|
73
87
|
name: this._translate(groupName)
|
|
74
88
|
},
|
|
75
|
-
|
|
76
|
-
search
|
|
89
|
+
...additionalConfig
|
|
77
90
|
};
|
|
78
91
|
});
|
|
79
92
|
|
|
@@ -16,6 +16,10 @@ export namespace DefaultHandlersModule {
|
|
|
16
16
|
'resources.formHandler.create': (string | typeof import("./handlers/form/CreateMenuProvider.js").CreateMenuProvider)[];
|
|
17
17
|
'resources.formHandler.append': (string | typeof import("./handlers/form/AppendMenuProvider.js").AppendMenuProvider)[];
|
|
18
18
|
'resources.formHandler.replace': (string | typeof import("./handlers/form/ReplaceMenuProvider.js").ReplaceMenuProvider)[];
|
|
19
|
+
} | {
|
|
20
|
+
'resources.RPAHandler.create': (string | typeof import("./handlers/rpa/CreateMenuProvider.js").CreateMenuProvider)[];
|
|
21
|
+
'resources.RPAHandler.append': (string | typeof import("./handlers/rpa/AppendMenuProvider.js").AppendMenuProvider)[];
|
|
22
|
+
'resources.RPAHandler.replace': (string | typeof import("./handlers/rpa/ReplaceMenuProvider.js").ReplaceMenuProvider)[];
|
|
19
23
|
})[];
|
|
20
24
|
}
|
|
21
25
|
import { ResourceLoader } from './ResourceLoader.js';
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import { Resources } from './Resources.js';
|
|
2
12
|
import { ResourceLoader } from './ResourceLoader.js';
|
|
3
13
|
|
|
4
14
|
import { ProcessHandlerModule } from './handlers/process/index.js';
|
|
5
15
|
import { DecisionHandlerModule } from './handlers/decision/index.js';
|
|
6
16
|
import { FormHandlerModule } from './handlers/form/index.js';
|
|
17
|
+
import { RPAHandlerModule } from './handlers/rpa/index.js';
|
|
7
18
|
|
|
8
19
|
import cmdModule from './cmd/index.js';
|
|
9
20
|
|
|
@@ -22,6 +33,7 @@ export const DefaultHandlersModule = {
|
|
|
22
33
|
__depends__: [
|
|
23
34
|
DecisionHandlerModule,
|
|
24
35
|
FormHandlerModule,
|
|
25
|
-
ProcessHandlerModule
|
|
36
|
+
ProcessHandlerModule,
|
|
37
|
+
RPAHandlerModule
|
|
26
38
|
]
|
|
27
39
|
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
/**
|
|
2
12
|
* @typedef { import('diagram-js/lib/features/popup-menu/PopupMenu').default } PopupMenu
|
|
3
13
|
* @typedef { import('diagram-js/lib/model').Element } Element
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import CamundaDetailsPopupMenuProvider from './CamundaDetailsPopupMenuProvider.js';
|
|
2
12
|
|
|
3
13
|
export default {
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import iconRendererModule from '@bpmn-io/element-template-icon-renderer';
|
|
2
12
|
|
|
3
13
|
import zeebeModdle from 'zeebe-bpmn-moddle/resources/zeebe.json';
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import inherits from 'inherits-browser';
|
|
2
12
|
|
|
3
13
|
import BaseModeler from '../base/Modeler';
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import inherits from 'inherits-browser';
|
|
2
12
|
|
|
3
13
|
import BaseViewer from '../base/NavigatedViewer';
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import inherits from 'inherits-browser';
|
|
2
12
|
|
|
3
13
|
import BaseViewer from '../base/Viewer';
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import camundaModdle from 'camunda-bpmn-moddle/resources/camunda.json';
|
|
2
12
|
|
|
3
13
|
export const commonModules = [];
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information regarding copyright
|
|
5
|
+
* ownership.
|
|
6
|
+
*
|
|
7
|
+
* Camunda licenses this file to you under the MIT; you may not use this file
|
|
8
|
+
* except in compliance with the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
1
11
|
import {
|
|
2
12
|
getBusinessObject,
|
|
3
13
|
is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camunda-bpmn-js",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.17.0",
|
|
4
4
|
"description": "Embeddable Camunda modeling distributions based on bpmn-js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -53,45 +53,47 @@
|
|
|
53
53
|
"license": "MIT",
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@bpmn-io/align-to-origin": "^0.7.0",
|
|
56
|
-
"@bpmn-io/element-template-chooser": "^2.
|
|
56
|
+
"@bpmn-io/element-template-chooser": "^2.1.0",
|
|
57
57
|
"@bpmn-io/element-template-icon-renderer": "^1.0.0",
|
|
58
58
|
"@bpmn-io/form-variable-provider": "^1.3.0",
|
|
59
|
-
"@bpmn-io/properties-panel": "^3.
|
|
60
|
-
"@bpmn-io/variable-resolver": "^1.3.
|
|
59
|
+
"@bpmn-io/properties-panel": "^3.35.1",
|
|
60
|
+
"@bpmn-io/variable-resolver": "^1.3.7",
|
|
61
61
|
"@camunda/example-data-properties-provider": "^1.2.1",
|
|
62
|
-
"bpmn-js": "^18.
|
|
62
|
+
"bpmn-js": "^18.10.1",
|
|
63
63
|
"bpmn-js-color-picker": "^0.7.2",
|
|
64
|
-
"bpmn-js-create-append-anything": "^1.0
|
|
65
|
-
"bpmn-js-element-templates": "^2.
|
|
64
|
+
"bpmn-js-create-append-anything": "^1.1.0",
|
|
65
|
+
"bpmn-js-element-templates": "^2.18.0",
|
|
66
66
|
"bpmn-js-executable-fix": "^0.2.1",
|
|
67
|
-
"
|
|
67
|
+
"bpmn-js-native-copy-paste": "^0.1.0",
|
|
68
|
+
"camunda-bpmn-js-behaviors": "^1.12.1",
|
|
68
69
|
"camunda-bpmn-moddle": "^7.0.1",
|
|
69
|
-
"diagram-js": "^15.
|
|
70
|
-
"diagram-js-grid": "^
|
|
70
|
+
"diagram-js": "^15.5.0",
|
|
71
|
+
"diagram-js-grid": "^2.0.0",
|
|
71
72
|
"diagram-js-minimap": "^5.2.0",
|
|
72
73
|
"diagram-js-origin": "^1.4.0",
|
|
73
74
|
"inherits-browser": "^0.1.0",
|
|
74
|
-
"min-dash": "^
|
|
75
|
+
"min-dash": "^5.0.0",
|
|
75
76
|
"zeebe-bpmn-moddle": "^1.11.0"
|
|
76
77
|
},
|
|
77
78
|
"devDependencies": {
|
|
78
|
-
"@babel/core": "^7.
|
|
79
|
+
"@babel/core": "^7.28.6",
|
|
79
80
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
80
81
|
"@rollup/plugin-json": "^6.1.0",
|
|
81
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
82
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
82
83
|
"@rollup/plugin-terser": "^0.4.4",
|
|
83
84
|
"@testing-library/preact": "^3.2.4",
|
|
84
85
|
"babel-loader": "^10.0.0",
|
|
85
|
-
"babel-plugin-istanbul": "^7.0.
|
|
86
|
+
"babel-plugin-istanbul": "^7.0.1",
|
|
86
87
|
"bio-dts": "^0.13.0",
|
|
87
|
-
"bpmn-js-properties-panel": "^5.
|
|
88
|
+
"bpmn-js-properties-panel": "^5.46.0",
|
|
88
89
|
"chai": "^4.5.0",
|
|
89
90
|
"cross-env": "^10.0.0",
|
|
90
91
|
"del-cli": "^7.0.0",
|
|
91
92
|
"downloadjs": "^1.4.7",
|
|
92
93
|
"eslint": "^9.25.1",
|
|
93
94
|
"eslint-plugin-bpmn-io": "^2.2.0",
|
|
94
|
-
"
|
|
95
|
+
"eslint-plugin-camunda-licensed": "^1.0.0",
|
|
96
|
+
"execa": "^9.6.1",
|
|
95
97
|
"file-drops": "^0.5.0",
|
|
96
98
|
"karma": "^6.4.4",
|
|
97
99
|
"karma-chai": "^0.1.0",
|
|
@@ -107,17 +109,17 @@
|
|
|
107
109
|
"min-dom": "^5.1.1",
|
|
108
110
|
"mocha": "^10.8.2",
|
|
109
111
|
"mocha-test-container-support": "^0.2.0",
|
|
110
|
-
"npm-run-all2": "^8.0.
|
|
111
|
-
"puppeteer": "
|
|
112
|
+
"npm-run-all2": "^8.0.4",
|
|
113
|
+
"puppeteer": "^24.35.0",
|
|
112
114
|
"raw-loader": "^4.0.2",
|
|
113
115
|
"remark-cli": "^12.0.1",
|
|
114
|
-
"remark-preset-bpmn-io": "^0.
|
|
115
|
-
"rollup": "^4.
|
|
116
|
+
"remark-preset-bpmn-io": "^0.4.0",
|
|
117
|
+
"rollup": "^4.55.1",
|
|
116
118
|
"rollup-plugin-copy": "^3.5.0",
|
|
117
119
|
"sinon": "^17.0.1",
|
|
118
120
|
"sinon-chai": "^3.7.0",
|
|
119
|
-
"typescript": "^5.
|
|
120
|
-
"webpack": "^5.
|
|
121
|
+
"typescript": "^5.9.3",
|
|
122
|
+
"webpack": "^5.104.1"
|
|
121
123
|
},
|
|
122
124
|
"peerDependencies": {
|
|
123
125
|
"bpmn-js-properties-panel": ">= 3.0.0"
|