@rxflow/workflow 0.0.4-alpha.4 → 0.0.4-alpha.6
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.
|
@@ -50,12 +50,18 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
50
50
|
minZoom?: number | undefined;
|
|
51
51
|
maxZoom?: number | undefined;
|
|
52
52
|
defaultViewport?: import("@xyflow/react").Viewport | undefined;
|
|
53
|
+
nodeOrigin?: import("@xyflow/react").NodeOrigin | undefined;
|
|
53
54
|
elementsSelectable?: boolean | undefined;
|
|
54
55
|
panOnDrag?: boolean | number[] | undefined;
|
|
55
56
|
panOnScroll?: boolean | undefined;
|
|
56
57
|
zoomOnScroll?: boolean | undefined;
|
|
57
58
|
selectionOnDrag?: boolean | undefined;
|
|
58
59
|
selectionMode?: import("@xyflow/react").SelectionMode | undefined;
|
|
60
|
+
connectionLineComponent?: import("@xyflow/react").ConnectionLineComponent<NodeType> | undefined;
|
|
61
|
+
connectionLineStyle?: import("react").CSSProperties | undefined;
|
|
62
|
+
connectionMode?: import("@xyflow/react").ConnectionMode | undefined;
|
|
63
|
+
defaultEdgeOptions?: import("@xyflow/react").DefaultEdgeOptions | undefined;
|
|
64
|
+
onDelete?: import("@xyflow/react").OnDelete<NodeType, EdgeType> | undefined;
|
|
59
65
|
onInit?: import("@xyflow/react").OnInit<NodeType, EdgeType> | undefined;
|
|
60
66
|
onNodeClick?: import("@xyflow/react").NodeMouseHandler<NodeType> | undefined;
|
|
61
67
|
onNodeDoubleClick?: import("@xyflow/react").NodeMouseHandler<NodeType> | undefined;
|
|
@@ -74,6 +80,8 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
74
80
|
onPaneMouseLeave?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
75
81
|
onPaneMouseMove?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
76
82
|
onSelectionContextMenu?: ((event: import("react").MouseEvent<Element, MouseEvent>, nodes: NodeType[]) => void) | undefined;
|
|
83
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
84
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
77
85
|
onMove?: import("@xyflow/react").OnMove | undefined;
|
|
78
86
|
onMoveStart?: import("@xyflow/react").OnMove | undefined;
|
|
79
87
|
onMoveEnd?: import("@xyflow/react").OnMove | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWorkFlowProps.d.ts","sourceRoot":"","sources":["useWorkFlowProps.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,cAAc,EAAqC,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAgBrC,eAAO,MAAM,gBAAgB,sFAGpB,eAAe,QAAQ,EAAE,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"useWorkFlowProps.d.ts","sourceRoot":"","sources":["useWorkFlowProps.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,cAAc,EAAqC,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAgBrC,eAAO,MAAM,gBAAgB,sFAGpB,eAAe,QAAQ,EAAE,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG1C,CAAC"}
|
|
@@ -50,12 +50,18 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
50
50
|
minZoom?: number | undefined;
|
|
51
51
|
maxZoom?: number | undefined;
|
|
52
52
|
defaultViewport?: import("@xyflow/react").Viewport | undefined;
|
|
53
|
+
nodeOrigin?: import("@xyflow/react").NodeOrigin | undefined;
|
|
53
54
|
elementsSelectable?: boolean | undefined;
|
|
54
55
|
panOnDrag?: boolean | number[] | undefined;
|
|
55
56
|
panOnScroll?: boolean | undefined;
|
|
56
57
|
zoomOnScroll?: boolean | undefined;
|
|
57
58
|
selectionOnDrag?: boolean | undefined;
|
|
58
59
|
selectionMode?: import("@xyflow/react").SelectionMode | undefined;
|
|
60
|
+
connectionLineComponent?: import("@xyflow/react").ConnectionLineComponent<NodeType> | undefined;
|
|
61
|
+
connectionLineStyle?: import("react").CSSProperties | undefined;
|
|
62
|
+
connectionMode?: import("@xyflow/react").ConnectionMode | undefined;
|
|
63
|
+
defaultEdgeOptions?: import("@xyflow/react").DefaultEdgeOptions | undefined;
|
|
64
|
+
onDelete?: import("@xyflow/react").OnDelete<NodeType, EdgeType> | undefined;
|
|
59
65
|
onInit?: import("@xyflow/react").OnInit<NodeType, EdgeType> | undefined;
|
|
60
66
|
onNodeClick?: import("@xyflow/react").NodeMouseHandler<NodeType> | undefined;
|
|
61
67
|
onNodeDoubleClick?: import("@xyflow/react").NodeMouseHandler<NodeType> | undefined;
|
|
@@ -74,6 +80,8 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
74
80
|
onPaneMouseLeave?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
75
81
|
onPaneMouseMove?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
76
82
|
onSelectionContextMenu?: ((event: import("react").MouseEvent<Element, MouseEvent>, nodes: NodeType[]) => void) | undefined;
|
|
83
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
84
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
77
85
|
onMove?: import("@xyflow/react").OnMove | undefined;
|
|
78
86
|
onMoveStart?: import("@xyflow/react").OnMove | undefined;
|
|
79
87
|
onMoveEnd?: import("@xyflow/react").OnMove | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWorkFlowProps.d.ts","sourceRoot":"","sources":["useWorkFlowProps.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,cAAc,EAAqC,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAgBrC,eAAO,MAAM,gBAAgB,sFAGpB,eAAe,QAAQ,EAAE,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"useWorkFlowProps.d.ts","sourceRoot":"","sources":["useWorkFlowProps.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,cAAc,EAAqC,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAgBrC,eAAO,MAAM,gBAAgB,sFAGpB,eAAe,QAAQ,EAAE,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG1C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxflow/workflow",
|
|
3
|
-
"version": "0.0.4-alpha.
|
|
3
|
+
"version": "0.0.4-alpha.6",
|
|
4
4
|
"description": "工作流",
|
|
5
5
|
"homepage": "https://tree-graph.publib.cn/packages/workflow",
|
|
6
6
|
"repository": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
42
42
|
"@fsegurai/codemirror-theme-github-dark": "^6.2.0",
|
|
43
43
|
"@fsegurai/codemirror-theme-github-light": "^6.2.0",
|
|
44
|
-
"@rxflow/base": "^0.0.4-alpha.
|
|
44
|
+
"@rxflow/base": "^0.0.4-alpha.6",
|
|
45
45
|
"@uiw/react-codemirror": "^4.24.1",
|
|
46
46
|
"@xterm/addon-fit": "^0.10.0",
|
|
47
47
|
"@xterm/xterm": "^5.5.0",
|