@rxflow/workflow 0.0.2-alpha.3 → 0.0.2-alpha.4

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.
@@ -42,6 +42,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
42
42
  onNodeDragStop: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
43
43
  width?: string | number | undefined;
44
44
  height?: string | number | undefined;
45
+ id?: string | undefined;
45
46
  onError?: import("@xyflow/react").OnError | undefined;
46
47
  defaultChecked?: boolean | undefined;
47
48
  defaultValue?: string | number | readonly string[] | undefined;
@@ -51,13 +52,12 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
51
52
  autoCapitalize?: "none" | (string & {}) | "off" | "on" | "sentences" | "words" | "characters" | undefined;
52
53
  autoFocus?: boolean | undefined;
53
54
  className?: string | undefined;
54
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
55
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
55
56
  contextMenu?: string | undefined;
56
57
  dir?: string | undefined;
57
58
  draggable?: (boolean | "true" | "false") | undefined;
58
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
59
+ enterKeyHint?: "search" | "enter" | "done" | "next" | "go" | "previous" | "send" | undefined;
59
60
  hidden?: boolean | undefined;
60
- id?: string | undefined;
61
61
  lang?: string | undefined;
62
62
  nonce?: string | undefined;
63
63
  slot?: string | undefined;
@@ -94,7 +94,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
94
94
  popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
95
95
  popoverTarget?: string | undefined;
96
96
  inert?: boolean | undefined;
97
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
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;
@@ -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 | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
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"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
118
+ "aria-dropeffect"?: "link" | "none" | "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;
@@ -137,7 +137,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
137
137
  "aria-posinset"?: number | undefined;
138
138
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
139
139
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
140
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
140
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
141
141
  "aria-required"?: (boolean | "true" | "false") | undefined;
142
142
  "aria-roledescription"?: string | undefined;
143
143
  "aria-rowcount"?: number | undefined;
@@ -433,6 +433,7 @@ 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;
@@ -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;
@@ -42,6 +42,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
42
42
  onNodeDragStop: (event: import("react").MouseEvent<Element, MouseEvent>, node: NodeType, nodes: NodeType[]) => void;
43
43
  width?: string | number | undefined;
44
44
  height?: string | number | undefined;
45
+ id?: string | undefined;
45
46
  onError?: import("@xyflow/react").OnError | undefined;
46
47
  defaultChecked?: boolean | undefined;
47
48
  defaultValue?: string | number | readonly string[] | undefined;
@@ -51,13 +52,12 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
51
52
  autoCapitalize?: "none" | (string & {}) | "off" | "on" | "sentences" | "words" | "characters" | undefined;
52
53
  autoFocus?: boolean | undefined;
53
54
  className?: string | undefined;
54
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
55
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
55
56
  contextMenu?: string | undefined;
56
57
  dir?: string | undefined;
57
58
  draggable?: (boolean | "true" | "false") | undefined;
58
- enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
59
+ enterKeyHint?: "search" | "enter" | "done" | "next" | "go" | "previous" | "send" | undefined;
59
60
  hidden?: boolean | undefined;
60
- id?: string | undefined;
61
61
  lang?: string | undefined;
62
62
  nonce?: string | undefined;
63
63
  slot?: string | undefined;
@@ -94,7 +94,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
94
94
  popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
95
95
  popoverTarget?: string | undefined;
96
96
  inert?: boolean | undefined;
97
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
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;
@@ -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 | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
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"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
118
+ "aria-dropeffect"?: "link" | "none" | "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;
@@ -137,7 +137,7 @@ export declare const useWorkFlowProps: <NodeType extends WorkflowNode = Workflow
137
137
  "aria-posinset"?: number | undefined;
138
138
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
139
139
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
140
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
140
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
141
141
  "aria-required"?: (boolean | "true" | "false") | undefined;
142
142
  "aria-roledescription"?: string | undefined;
143
143
  "aria-rowcount"?: number | undefined;
@@ -433,6 +433,7 @@ 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;
@@ -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.2-alpha.3",
3
+ "version": "0.0.2-alpha.4",
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.3",
44
+ "@rxflow/base": "^0.0.2-alpha.4",
45
45
  "@uiw/react-codemirror": "^4.24.1",
46
46
  "@xterm/addon-fit": "^0.10.0",
47
47
  "@xterm/xterm": "^5.5.0",