lecom-modeler 0.4.0 → 0.5.1
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 +6 -6
- package/lib/index.d.cts +11 -1
- package/lib/index.d.ts +11 -1
- package/lib/index.js +6 -6
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -6,6 +6,16 @@ declare const useSelectionUtils: () => {
|
|
|
6
6
|
deselectAll: () => Promise<unknown>;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
+
type LiaCreateDiagramData = string | {
|
|
10
|
+
diagramXml?: string;
|
|
11
|
+
nodes?: unknown[];
|
|
12
|
+
edges?: unknown[];
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
declare const useLiaAdapter: () => {
|
|
16
|
+
createDiagram: (data: LiaCreateDiagramData) => void;
|
|
17
|
+
};
|
|
18
|
+
|
|
9
19
|
declare enum GatewayVariant {
|
|
10
20
|
EXCLUSIVE = "EXCLUSIVE",
|
|
11
21
|
PARALLEL = "PARALLEL",
|
|
@@ -100,4 +110,4 @@ interface ModelerProps {
|
|
|
100
110
|
|
|
101
111
|
declare const Modeler: (props: ModelerProps) => react_jsx_runtime.JSX.Element;
|
|
102
112
|
|
|
103
|
-
export { ActivityVariant, ComplexVariant, EditorMode, type Element, ElementType, ExclusiveVariant, GatewayVariant, Modeler, type ModelerProps, type RoutingElement, RoutingVariant, type SelectionUtils, useSelectionUtils };
|
|
113
|
+
export { ActivityVariant, ComplexVariant, EditorMode, type Element, ElementType, ExclusiveVariant, GatewayVariant, type LiaCreateDiagramData, Modeler, type ModelerProps, type RoutingElement, RoutingVariant, type SelectionUtils, useLiaAdapter, useSelectionUtils };
|
package/lib/index.d.ts
CHANGED
|
@@ -6,6 +6,16 @@ declare const useSelectionUtils: () => {
|
|
|
6
6
|
deselectAll: () => Promise<unknown>;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
+
type LiaCreateDiagramData = string | {
|
|
10
|
+
diagramXml?: string;
|
|
11
|
+
nodes?: unknown[];
|
|
12
|
+
edges?: unknown[];
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
declare const useLiaAdapter: () => {
|
|
16
|
+
createDiagram: (data: LiaCreateDiagramData) => void;
|
|
17
|
+
};
|
|
18
|
+
|
|
9
19
|
declare enum GatewayVariant {
|
|
10
20
|
EXCLUSIVE = "EXCLUSIVE",
|
|
11
21
|
PARALLEL = "PARALLEL",
|
|
@@ -100,4 +110,4 @@ interface ModelerProps {
|
|
|
100
110
|
|
|
101
111
|
declare const Modeler: (props: ModelerProps) => react_jsx_runtime.JSX.Element;
|
|
102
112
|
|
|
103
|
-
export { ActivityVariant, ComplexVariant, EditorMode, type Element, ElementType, ExclusiveVariant, GatewayVariant, Modeler, type ModelerProps, type RoutingElement, RoutingVariant, type SelectionUtils, useSelectionUtils };
|
|
113
|
+
export { ActivityVariant, ComplexVariant, EditorMode, type Element, ElementType, ExclusiveVariant, GatewayVariant, type LiaCreateDiagramData, Modeler, type ModelerProps, type RoutingElement, RoutingVariant, type SelectionUtils, useLiaAdapter, useSelectionUtils };
|