@rxflow/workflow 0.0.2-alpha.6 → 0.0.2-alpha.7

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,10 +40,12 @@ 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
- children?: import("react").ReactNode;
44
43
  width?: string | number | undefined;
45
44
  height?: string | number | undefined;
46
45
  id?: string | undefined;
46
+ draggable?: (boolean | "true" | "false") | undefined;
47
+ hidden?: boolean | undefined;
48
+ color?: string | undefined;
47
49
  onError?: import("@xyflow/react").OnError | undefined;
48
50
  defaultChecked?: boolean | undefined;
49
51
  defaultValue?: string | number | readonly string[] | undefined;
@@ -56,9 +58,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
56
58
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
57
59
  contextMenu?: string | undefined;
58
60
  dir?: string | undefined;
59
- draggable?: (boolean | "true" | "false") | undefined;
60
61
  enterKeyHint?: "search" | "enter" | "done" | "next" | "go" | "previous" | "send" | undefined;
61
- hidden?: boolean | undefined;
62
62
  lang?: string | undefined;
63
63
  nonce?: string | undefined;
64
64
  slot?: string | undefined;
@@ -82,7 +82,6 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
82
82
  vocab?: string | undefined;
83
83
  autoCorrect?: string | undefined;
84
84
  autoSave?: string | undefined;
85
- color?: string | undefined;
86
85
  itemProp?: string | undefined;
87
86
  itemScope?: boolean | undefined;
88
87
  itemType?: string | undefined;
@@ -92,10 +91,10 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
92
91
  security?: string | undefined;
93
92
  unselectable?: "off" | "on" | undefined;
94
93
  popover?: "" | "auto" | "manual" | "hint" | undefined;
95
- popoverTargetAction?: "hide" | "show" | "toggle" | undefined;
94
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
96
95
  popoverTarget?: string | undefined;
97
96
  inert?: boolean | undefined;
98
- inputMode?: "search" | "none" | "text" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
97
+ inputMode?: "none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
99
98
  is?: string | undefined;
100
99
  exportparts?: string | undefined;
101
100
  part?: string | undefined;
@@ -111,7 +110,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
111
110
  "aria-colindextext"?: string | undefined;
112
111
  "aria-colspan"?: number | undefined;
113
112
  "aria-controls"?: string | undefined;
114
- "aria-current"?: boolean | "location" | "step" | "date" | "time" | "page" | "true" | "false" | undefined;
113
+ "aria-current"?: boolean | "step" | "date" | "time" | "page" | "location" | "true" | "false" | undefined;
115
114
  "aria-describedby"?: string | undefined;
116
115
  "aria-description"?: string | undefined;
117
116
  "aria-details"?: string | undefined;
@@ -152,6 +151,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
152
151
  "aria-valuemin"?: number | undefined;
153
152
  "aria-valuenow"?: number | undefined;
154
153
  "aria-valuetext"?: string | undefined;
154
+ children?: import("react").ReactNode;
155
155
  dangerouslySetInnerHTML?: {
156
156
  __html: string | TrustedHTML;
157
157
  } | undefined;
@@ -433,7 +433,6 @@ 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;
437
436
  background?: string | undefined;
438
437
  theme?: import("@rxflow/base").BaseThemeConfig | undefined;
439
438
  showControls?: boolean | undefined;
@@ -456,6 +455,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
456
455
  plugins?: {
457
456
  scroller?: false | import("packages/base/src/plugins/scrollbar/types").ScrollbarPluginOptions | undefined;
458
457
  } | undefined;
458
+ readOnly?: boolean | undefined;
459
459
  onZoomIn?: (() => void) | undefined;
460
460
  onZoomOut?: (() => void) | undefined;
461
461
  onFitView?: (() => void) | undefined;
@@ -40,10 +40,12 @@ 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
- children?: import("react").ReactNode;
44
43
  width?: string | number | undefined;
45
44
  height?: string | number | undefined;
46
45
  id?: string | undefined;
46
+ draggable?: (boolean | "true" | "false") | undefined;
47
+ hidden?: boolean | undefined;
48
+ color?: string | undefined;
47
49
  onError?: import("@xyflow/react").OnError | undefined;
48
50
  defaultChecked?: boolean | undefined;
49
51
  defaultValue?: string | number | readonly string[] | undefined;
@@ -56,9 +58,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
56
58
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
57
59
  contextMenu?: string | undefined;
58
60
  dir?: string | undefined;
59
- draggable?: (boolean | "true" | "false") | undefined;
60
61
  enterKeyHint?: "search" | "enter" | "done" | "next" | "go" | "previous" | "send" | undefined;
61
- hidden?: boolean | undefined;
62
62
  lang?: string | undefined;
63
63
  nonce?: string | undefined;
64
64
  slot?: string | undefined;
@@ -82,7 +82,6 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
82
82
  vocab?: string | undefined;
83
83
  autoCorrect?: string | undefined;
84
84
  autoSave?: string | undefined;
85
- color?: string | undefined;
86
85
  itemProp?: string | undefined;
87
86
  itemScope?: boolean | undefined;
88
87
  itemType?: string | undefined;
@@ -92,10 +91,10 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
92
91
  security?: string | undefined;
93
92
  unselectable?: "off" | "on" | undefined;
94
93
  popover?: "" | "auto" | "manual" | "hint" | undefined;
95
- popoverTargetAction?: "hide" | "show" | "toggle" | undefined;
94
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
96
95
  popoverTarget?: string | undefined;
97
96
  inert?: boolean | undefined;
98
- inputMode?: "search" | "none" | "text" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
97
+ inputMode?: "none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
99
98
  is?: string | undefined;
100
99
  exportparts?: string | undefined;
101
100
  part?: string | undefined;
@@ -111,7 +110,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
111
110
  "aria-colindextext"?: string | undefined;
112
111
  "aria-colspan"?: number | undefined;
113
112
  "aria-controls"?: string | undefined;
114
- "aria-current"?: boolean | "location" | "step" | "date" | "time" | "page" | "true" | "false" | undefined;
113
+ "aria-current"?: boolean | "step" | "date" | "time" | "page" | "location" | "true" | "false" | undefined;
115
114
  "aria-describedby"?: string | undefined;
116
115
  "aria-description"?: string | undefined;
117
116
  "aria-details"?: string | undefined;
@@ -152,6 +151,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
152
151
  "aria-valuemin"?: number | undefined;
153
152
  "aria-valuenow"?: number | undefined;
154
153
  "aria-valuetext"?: string | undefined;
154
+ children?: import("react").ReactNode;
155
155
  dangerouslySetInnerHTML?: {
156
156
  __html: string | TrustedHTML;
157
157
  } | undefined;
@@ -433,7 +433,6 @@ 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;
437
436
  background?: string | undefined;
438
437
  theme?: import("@rxflow/base").BaseThemeConfig | undefined;
439
438
  showControls?: boolean | undefined;
@@ -456,6 +455,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
456
455
  plugins?: {
457
456
  scroller?: false | import("packages/base/src/plugins/scrollbar/types").ScrollbarPluginOptions | undefined;
458
457
  } | 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.2-alpha.6",
3
+ "version": "0.0.2-alpha.7",
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.2-alpha.6",
44
+ "@rxflow/base": "^0.0.2-alpha.7",
45
45
  "@uiw/react-codemirror": "^4.24.1",
46
46
  "@xterm/addon-fit": "^0.10.0",
47
47
  "@xterm/xterm": "^5.5.0",