@rxflow/workflow 0.0.4-alpha.4 → 0.0.4-alpha.5

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,6 +50,7 @@ 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;
@@ -74,6 +75,8 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
74
75
  onPaneMouseLeave?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
75
76
  onPaneMouseMove?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
76
77
  onSelectionContextMenu?: ((event: import("react").MouseEvent<Element, MouseEvent>, nodes: NodeType[]) => void) | undefined;
78
+ onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
79
+ onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
77
80
  onMove?: import("@xyflow/react").OnMove | undefined;
78
81
  onMoveStart?: import("@xyflow/react").OnMove | undefined;
79
82
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG1C,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,6 +50,7 @@ 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;
@@ -74,6 +75,8 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
74
75
  onPaneMouseLeave?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
75
76
  onPaneMouseMove?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
76
77
  onSelectionContextMenu?: ((event: import("react").MouseEvent<Element, MouseEvent>, nodes: NodeType[]) => void) | undefined;
78
+ onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
79
+ onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
77
80
  onMove?: import("@xyflow/react").OnMove | undefined;
78
81
  onMoveStart?: import("@xyflow/react").OnMove | undefined;
79
82
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG1C,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.4",
3
+ "version": "0.0.4-alpha.5",
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.4",
44
+ "@rxflow/base": "^0.0.4-alpha.5",
45
45
  "@uiw/react-codemirror": "^4.24.1",
46
46
  "@xterm/addon-fit": "^0.10.0",
47
47
  "@xterm/xterm": "^5.5.0",