lecom-modeler 0.36.0 → 0.38.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/lib/index.cjs +14 -14
- package/lib/index.d.cts +12 -5
- package/lib/index.d.ts +12 -5
- package/lib/index.js +14 -14
- package/lib/style.min.css +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -24,7 +24,8 @@ declare enum NodeType {
|
|
|
24
24
|
}
|
|
25
25
|
declare enum NodeVariant {
|
|
26
26
|
SCRIPT = "SCRIPT",
|
|
27
|
-
SUBPROCESS = "SUBPROCESS"
|
|
27
|
+
SUBPROCESS = "SUBPROCESS",
|
|
28
|
+
SERVICE_TASK = "SERVICE_TASK"
|
|
28
29
|
}
|
|
29
30
|
declare enum NodeAttribute {
|
|
30
31
|
LOOP = "LOOP"
|
|
@@ -39,7 +40,8 @@ declare enum ElementType {
|
|
|
39
40
|
ACTIVITY = "activity",
|
|
40
41
|
ROUTING = "routing",
|
|
41
42
|
GATEWAY = "gateway",
|
|
42
|
-
SUB_PROCESS = "sub_process"
|
|
43
|
+
SUB_PROCESS = "sub_process",
|
|
44
|
+
SERVICE_TASK = "service_task"
|
|
43
45
|
}
|
|
44
46
|
declare enum ElementPosition {
|
|
45
47
|
START = "start",
|
|
@@ -69,6 +71,9 @@ interface ActivityElement extends BaseElement {
|
|
|
69
71
|
interface SubProcessElement extends BaseElement {
|
|
70
72
|
type: ElementType.SUB_PROCESS;
|
|
71
73
|
}
|
|
74
|
+
interface ServiceTaskElement extends BaseElement {
|
|
75
|
+
type: ElementType.SERVICE_TASK;
|
|
76
|
+
}
|
|
72
77
|
declare enum GatewayElementVariant {
|
|
73
78
|
SCRIPT = "script",
|
|
74
79
|
LOOP = "loop",
|
|
@@ -88,7 +93,9 @@ declare enum RoutingVariant {
|
|
|
88
93
|
PARALLEL = "parallel",
|
|
89
94
|
FINAL = "final",
|
|
90
95
|
TO_SUB_PROCESS = "to_sub_process",
|
|
91
|
-
FROM_SUB_PROCESS = "from_sub_process"
|
|
96
|
+
FROM_SUB_PROCESS = "from_sub_process",
|
|
97
|
+
TO_SERVICE_TASK = "to_service_task",
|
|
98
|
+
FROM_SERVICE_TASK = "from_service_task"
|
|
92
99
|
}
|
|
93
100
|
interface RoutingElement extends BaseElement {
|
|
94
101
|
type: ElementType.ROUTING;
|
|
@@ -97,7 +104,7 @@ interface RoutingElement extends BaseElement {
|
|
|
97
104
|
source?: Element;
|
|
98
105
|
target?: Element;
|
|
99
106
|
}
|
|
100
|
-
type Element = ActivityElement | SubProcessElement | GatewayElement | RoutingElement;
|
|
107
|
+
type Element = ActivityElement | SubProcessElement | ServiceTaskElement | GatewayElement | RoutingElement;
|
|
101
108
|
|
|
102
109
|
interface ValidateDiagram {
|
|
103
110
|
area: "DIAGRAM";
|
|
@@ -149,4 +156,4 @@ declare const ModelerContext: react.Context<ModelerContext | null>;
|
|
|
149
156
|
declare const useModeler: () => ModelerContext;
|
|
150
157
|
declare const ModelerProvider: ({ locale: initialLocale, defaultMode, toast, children, }: ModelerProviderProps) => react_jsx_runtime.JSX.Element;
|
|
151
158
|
|
|
152
|
-
export { type ActivityElement, EditorMode, type Element, ElementPosition, ElementType, type GatewayElement, GatewayElementVariant, GatewayVariant, Modeler, type ModelerProps, ModelerProvider, type ModelerSelector, NodeAttribute, NodeType, NodeVariant, type RoutingElement, RoutingVariant, type SubProcessElement, useModeler };
|
|
159
|
+
export { type ActivityElement, EditorMode, type Element, ElementPosition, ElementType, type GatewayElement, GatewayElementVariant, GatewayVariant, Modeler, type ModelerProps, ModelerProvider, type ModelerSelector, NodeAttribute, NodeType, NodeVariant, type RoutingElement, RoutingVariant, type ServiceTaskElement, type SubProcessElement, useModeler };
|
package/lib/index.d.ts
CHANGED
|
@@ -24,7 +24,8 @@ declare enum NodeType {
|
|
|
24
24
|
}
|
|
25
25
|
declare enum NodeVariant {
|
|
26
26
|
SCRIPT = "SCRIPT",
|
|
27
|
-
SUBPROCESS = "SUBPROCESS"
|
|
27
|
+
SUBPROCESS = "SUBPROCESS",
|
|
28
|
+
SERVICE_TASK = "SERVICE_TASK"
|
|
28
29
|
}
|
|
29
30
|
declare enum NodeAttribute {
|
|
30
31
|
LOOP = "LOOP"
|
|
@@ -39,7 +40,8 @@ declare enum ElementType {
|
|
|
39
40
|
ACTIVITY = "activity",
|
|
40
41
|
ROUTING = "routing",
|
|
41
42
|
GATEWAY = "gateway",
|
|
42
|
-
SUB_PROCESS = "sub_process"
|
|
43
|
+
SUB_PROCESS = "sub_process",
|
|
44
|
+
SERVICE_TASK = "service_task"
|
|
43
45
|
}
|
|
44
46
|
declare enum ElementPosition {
|
|
45
47
|
START = "start",
|
|
@@ -69,6 +71,9 @@ interface ActivityElement extends BaseElement {
|
|
|
69
71
|
interface SubProcessElement extends BaseElement {
|
|
70
72
|
type: ElementType.SUB_PROCESS;
|
|
71
73
|
}
|
|
74
|
+
interface ServiceTaskElement extends BaseElement {
|
|
75
|
+
type: ElementType.SERVICE_TASK;
|
|
76
|
+
}
|
|
72
77
|
declare enum GatewayElementVariant {
|
|
73
78
|
SCRIPT = "script",
|
|
74
79
|
LOOP = "loop",
|
|
@@ -88,7 +93,9 @@ declare enum RoutingVariant {
|
|
|
88
93
|
PARALLEL = "parallel",
|
|
89
94
|
FINAL = "final",
|
|
90
95
|
TO_SUB_PROCESS = "to_sub_process",
|
|
91
|
-
FROM_SUB_PROCESS = "from_sub_process"
|
|
96
|
+
FROM_SUB_PROCESS = "from_sub_process",
|
|
97
|
+
TO_SERVICE_TASK = "to_service_task",
|
|
98
|
+
FROM_SERVICE_TASK = "from_service_task"
|
|
92
99
|
}
|
|
93
100
|
interface RoutingElement extends BaseElement {
|
|
94
101
|
type: ElementType.ROUTING;
|
|
@@ -97,7 +104,7 @@ interface RoutingElement extends BaseElement {
|
|
|
97
104
|
source?: Element;
|
|
98
105
|
target?: Element;
|
|
99
106
|
}
|
|
100
|
-
type Element = ActivityElement | SubProcessElement | GatewayElement | RoutingElement;
|
|
107
|
+
type Element = ActivityElement | SubProcessElement | ServiceTaskElement | GatewayElement | RoutingElement;
|
|
101
108
|
|
|
102
109
|
interface ValidateDiagram {
|
|
103
110
|
area: "DIAGRAM";
|
|
@@ -149,4 +156,4 @@ declare const ModelerContext: react.Context<ModelerContext | null>;
|
|
|
149
156
|
declare const useModeler: () => ModelerContext;
|
|
150
157
|
declare const ModelerProvider: ({ locale: initialLocale, defaultMode, toast, children, }: ModelerProviderProps) => react_jsx_runtime.JSX.Element;
|
|
151
158
|
|
|
152
|
-
export { type ActivityElement, EditorMode, type Element, ElementPosition, ElementType, type GatewayElement, GatewayElementVariant, GatewayVariant, Modeler, type ModelerProps, ModelerProvider, type ModelerSelector, NodeAttribute, NodeType, NodeVariant, type RoutingElement, RoutingVariant, type SubProcessElement, useModeler };
|
|
159
|
+
export { type ActivityElement, EditorMode, type Element, ElementPosition, ElementType, type GatewayElement, GatewayElementVariant, GatewayVariant, Modeler, type ModelerProps, ModelerProvider, type ModelerSelector, NodeAttribute, NodeType, NodeVariant, type RoutingElement, RoutingVariant, type ServiceTaskElement, type SubProcessElement, useModeler };
|