@rxflow/workflow 0.0.1-alpha.10 → 0.0.1-alpha.12
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.
|
@@ -40,12 +40,9 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
40
40
|
onNodeDragStart: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
|
|
41
41
|
onNodeDrag: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
|
|
42
42
|
onNodeDragStop: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
|
|
43
|
+
id?: string | undefined;
|
|
43
44
|
width?: string | number | undefined;
|
|
44
45
|
height?: string | number | undefined;
|
|
45
|
-
id?: string | undefined;
|
|
46
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
47
|
-
hidden?: boolean | undefined;
|
|
48
|
-
color?: string | undefined;
|
|
49
46
|
onError?: import("@xyflow/react").OnError | undefined;
|
|
50
47
|
defaultChecked?: boolean | undefined;
|
|
51
48
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -58,7 +55,9 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
58
55
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
59
56
|
contextMenu?: string | undefined;
|
|
60
57
|
dir?: string | undefined;
|
|
58
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
61
59
|
enterKeyHint?: "search" | "enter" | "done" | "next" | "go" | "previous" | "send" | undefined;
|
|
60
|
+
hidden?: boolean | undefined;
|
|
62
61
|
lang?: string | undefined;
|
|
63
62
|
nonce?: string | undefined;
|
|
64
63
|
slot?: string | undefined;
|
|
@@ -82,6 +81,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
82
81
|
vocab?: string | undefined;
|
|
83
82
|
autoCorrect?: string | undefined;
|
|
84
83
|
autoSave?: string | undefined;
|
|
84
|
+
color?: string | undefined;
|
|
85
85
|
itemProp?: string | undefined;
|
|
86
86
|
itemScope?: boolean | undefined;
|
|
87
87
|
itemType?: string | undefined;
|
|
@@ -91,16 +91,16 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
91
91
|
security?: string | undefined;
|
|
92
92
|
unselectable?: "off" | "on" | undefined;
|
|
93
93
|
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
94
|
-
popoverTargetAction?: "
|
|
94
|
+
popoverTargetAction?: "hide" | "show" | "toggle" | undefined;
|
|
95
95
|
popoverTarget?: string | undefined;
|
|
96
96
|
inert?: boolean | undefined;
|
|
97
|
-
inputMode?: "none" | "search" | "text" | "
|
|
97
|
+
inputMode?: "none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
98
98
|
is?: string | undefined;
|
|
99
99
|
exportparts?: string | undefined;
|
|
100
100
|
part?: string | undefined;
|
|
101
101
|
"aria-activedescendant"?: string | undefined;
|
|
102
102
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
103
|
-
"aria-autocomplete"?: "
|
|
103
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
104
104
|
"aria-braillelabel"?: string | undefined;
|
|
105
105
|
"aria-brailleroledescription"?: string | undefined;
|
|
106
106
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -110,12 +110,12 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
110
110
|
"aria-colindextext"?: string | undefined;
|
|
111
111
|
"aria-colspan"?: number | undefined;
|
|
112
112
|
"aria-controls"?: string | undefined;
|
|
113
|
-
"aria-current"?: boolean | "
|
|
113
|
+
"aria-current"?: boolean | "step" | "date" | "time" | "page" | "location" | "true" | "false" | undefined;
|
|
114
114
|
"aria-describedby"?: string | undefined;
|
|
115
115
|
"aria-description"?: string | undefined;
|
|
116
116
|
"aria-details"?: string | undefined;
|
|
117
117
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
118
|
-
"aria-dropeffect"?: "
|
|
118
|
+
"aria-dropeffect"?: "none" | "link" | "popup" | "move" | "copy" | "execute" | undefined;
|
|
119
119
|
"aria-errormessage"?: string | undefined;
|
|
120
120
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
121
121
|
"aria-flowto"?: string | undefined;
|
|
@@ -131,7 +131,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
131
131
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
132
132
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
133
133
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
134
|
-
"aria-orientation"?: "
|
|
134
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
135
135
|
"aria-owns"?: string | undefined;
|
|
136
136
|
"aria-placeholder"?: string | undefined;
|
|
137
137
|
"aria-posinset"?: number | undefined;
|
|
@@ -433,10 +433,11 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
433
433
|
'minimap.ariaLabel': string;
|
|
434
434
|
'handle.ariaLabel': string;
|
|
435
435
|
}> | undefined;
|
|
436
|
+
readOnly?: boolean | undefined;
|
|
436
437
|
background?: string | undefined;
|
|
437
438
|
theme?: import("@rxflow/base").BaseThemeConfig | undefined;
|
|
438
439
|
showControls?: boolean | undefined;
|
|
439
|
-
controlsOrientation?: "
|
|
440
|
+
controlsOrientation?: "vertical" | "horizontal" | undefined;
|
|
440
441
|
customControls?: import("react").ReactNode;
|
|
441
442
|
showMiniMap: boolean;
|
|
442
443
|
getMiniMapNodeColor?: ((node: import("@xyflow/react").Node) => string) | undefined;
|
|
@@ -455,7 +456,6 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
455
456
|
plugins?: {
|
|
456
457
|
scroller?: false | import("packages/base/src/plugins/scrollbar/types").ScrollbarPluginOptions | undefined;
|
|
457
458
|
} | undefined;
|
|
458
|
-
readOnly?: boolean | undefined;
|
|
459
459
|
onZoomIn?: (() => void) | undefined;
|
|
460
460
|
onZoomOut?: (() => void) | undefined;
|
|
461
461
|
onFitView?: (() => void) | undefined;
|
|
@@ -40,12 +40,9 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
40
40
|
onNodeDragStart: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
|
|
41
41
|
onNodeDrag: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
|
|
42
42
|
onNodeDragStop: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
|
|
43
|
+
id?: string | undefined;
|
|
43
44
|
width?: string | number | undefined;
|
|
44
45
|
height?: string | number | undefined;
|
|
45
|
-
id?: string | undefined;
|
|
46
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
47
|
-
hidden?: boolean | undefined;
|
|
48
|
-
color?: string | undefined;
|
|
49
46
|
onError?: import("@xyflow/react").OnError | undefined;
|
|
50
47
|
defaultChecked?: boolean | undefined;
|
|
51
48
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -58,7 +55,9 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
58
55
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
59
56
|
contextMenu?: string | undefined;
|
|
60
57
|
dir?: string | undefined;
|
|
58
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
61
59
|
enterKeyHint?: "search" | "enter" | "done" | "next" | "go" | "previous" | "send" | undefined;
|
|
60
|
+
hidden?: boolean | undefined;
|
|
62
61
|
lang?: string | undefined;
|
|
63
62
|
nonce?: string | undefined;
|
|
64
63
|
slot?: string | undefined;
|
|
@@ -82,6 +81,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
82
81
|
vocab?: string | undefined;
|
|
83
82
|
autoCorrect?: string | undefined;
|
|
84
83
|
autoSave?: string | undefined;
|
|
84
|
+
color?: string | undefined;
|
|
85
85
|
itemProp?: string | undefined;
|
|
86
86
|
itemScope?: boolean | undefined;
|
|
87
87
|
itemType?: string | undefined;
|
|
@@ -91,16 +91,16 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
91
91
|
security?: string | undefined;
|
|
92
92
|
unselectable?: "off" | "on" | undefined;
|
|
93
93
|
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
94
|
-
popoverTargetAction?: "
|
|
94
|
+
popoverTargetAction?: "hide" | "show" | "toggle" | undefined;
|
|
95
95
|
popoverTarget?: string | undefined;
|
|
96
96
|
inert?: boolean | undefined;
|
|
97
|
-
inputMode?: "none" | "search" | "text" | "
|
|
97
|
+
inputMode?: "none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
98
98
|
is?: string | undefined;
|
|
99
99
|
exportparts?: string | undefined;
|
|
100
100
|
part?: string | undefined;
|
|
101
101
|
"aria-activedescendant"?: string | undefined;
|
|
102
102
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
103
|
-
"aria-autocomplete"?: "
|
|
103
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
104
104
|
"aria-braillelabel"?: string | undefined;
|
|
105
105
|
"aria-brailleroledescription"?: string | undefined;
|
|
106
106
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -110,12 +110,12 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
110
110
|
"aria-colindextext"?: string | undefined;
|
|
111
111
|
"aria-colspan"?: number | undefined;
|
|
112
112
|
"aria-controls"?: string | undefined;
|
|
113
|
-
"aria-current"?: boolean | "
|
|
113
|
+
"aria-current"?: boolean | "step" | "date" | "time" | "page" | "location" | "true" | "false" | undefined;
|
|
114
114
|
"aria-describedby"?: string | undefined;
|
|
115
115
|
"aria-description"?: string | undefined;
|
|
116
116
|
"aria-details"?: string | undefined;
|
|
117
117
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
118
|
-
"aria-dropeffect"?: "
|
|
118
|
+
"aria-dropeffect"?: "none" | "link" | "popup" | "move" | "copy" | "execute" | undefined;
|
|
119
119
|
"aria-errormessage"?: string | undefined;
|
|
120
120
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
121
121
|
"aria-flowto"?: string | undefined;
|
|
@@ -131,7 +131,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
131
131
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
132
132
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
133
133
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
134
|
-
"aria-orientation"?: "
|
|
134
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
135
135
|
"aria-owns"?: string | undefined;
|
|
136
136
|
"aria-placeholder"?: string | undefined;
|
|
137
137
|
"aria-posinset"?: number | undefined;
|
|
@@ -433,10 +433,11 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
433
433
|
'minimap.ariaLabel': string;
|
|
434
434
|
'handle.ariaLabel': string;
|
|
435
435
|
}> | undefined;
|
|
436
|
+
readOnly?: boolean | undefined;
|
|
436
437
|
background?: string | undefined;
|
|
437
438
|
theme?: import("@rxflow/base").BaseThemeConfig | undefined;
|
|
438
439
|
showControls?: boolean | undefined;
|
|
439
|
-
controlsOrientation?: "
|
|
440
|
+
controlsOrientation?: "vertical" | "horizontal" | undefined;
|
|
440
441
|
customControls?: import("react").ReactNode;
|
|
441
442
|
showMiniMap: boolean;
|
|
442
443
|
getMiniMapNodeColor?: ((node: import("@xyflow/react").Node) => string) | undefined;
|
|
@@ -455,7 +456,6 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
|
|
|
455
456
|
plugins?: {
|
|
456
457
|
scroller?: false | import("packages/base/src/plugins/scrollbar/types").ScrollbarPluginOptions | undefined;
|
|
457
458
|
} | undefined;
|
|
458
|
-
readOnly?: boolean | undefined;
|
|
459
459
|
onZoomIn?: (() => void) | undefined;
|
|
460
460
|
onZoomOut?: (() => void) | undefined;
|
|
461
461
|
onFitView?: (() => void) | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxflow/workflow",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.12",
|
|
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.1-alpha.
|
|
44
|
+
"@rxflow/base": "^0.0.1-alpha.12",
|
|
45
45
|
"@uiw/react-codemirror": "^4.24.1",
|
|
46
46
|
"@xterm/addon-fit": "^0.10.0",
|
|
47
47
|
"@xterm/xterm": "^5.5.0",
|