@linkdlab/funcnodes_react_flow 0.1.2 → 0.1.3

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.
Files changed (187) hide show
  1. package/module/dist/css/style.css +43 -0
  2. package/module/dist/frontend/datarenderer/images.d.ts +12 -0
  3. package/module/dist/frontend/datarenderer/images.d.ts.map +1 -0
  4. package/{dist → module/dist}/frontend/datarenderer/index.d.ts +17 -16
  5. package/module/dist/frontend/datarenderer/index.d.ts.map +1 -0
  6. package/module/dist/frontend/datarenderer/plotly.d.ts +15 -0
  7. package/module/dist/frontend/datarenderer/plotly.d.ts.map +1 -0
  8. package/{dist → module/dist}/frontend/dialog.d.ts +18 -17
  9. package/module/dist/frontend/dialog.d.ts.map +1 -0
  10. package/{dist → module/dist}/frontend/edge.d.ts +6 -5
  11. package/module/dist/frontend/edge.d.ts.map +1 -0
  12. package/{dist → module/dist}/frontend/funcnodesreactflow/index.d.ts +7 -6
  13. package/module/dist/frontend/funcnodesreactflow/index.d.ts.map +1 -0
  14. package/module/dist/frontend/funcnodesreactflow/react_flow_layer.d.ts +6 -0
  15. package/module/dist/frontend/funcnodesreactflow/react_flow_layer.d.ts.map +1 -0
  16. package/{dist → module/dist}/frontend/header/index.d.ts +5 -4
  17. package/module/dist/frontend/header/index.d.ts.map +1 -0
  18. package/{dist → module/dist}/frontend/index.d.ts +4 -3
  19. package/module/dist/frontend/index.d.ts.map +1 -0
  20. package/{dist → module/dist}/frontend/lib.d.ts +11 -10
  21. package/module/dist/frontend/lib.d.ts.map +1 -0
  22. package/{dist → module/dist}/frontend/node/index.d.ts +3 -2
  23. package/module/dist/frontend/node/index.d.ts.map +1 -0
  24. package/{dist → module/dist}/frontend/node/io/default_input_renderer.d.ts +12 -11
  25. package/module/dist/frontend/node/io/default_input_renderer.d.ts.map +1 -0
  26. package/module/dist/frontend/node/io/default_output_render.d.ts +7 -0
  27. package/module/dist/frontend/node/io/default_output_render.d.ts.map +1 -0
  28. package/{dist → module/dist}/frontend/node/io/handle_renderer.d.ts +6 -6
  29. package/module/dist/frontend/node/io/handle_renderer.d.ts.map +1 -0
  30. package/{dist → module/dist}/frontend/node/io/index.d.ts +4 -3
  31. package/module/dist/frontend/node/io/index.d.ts.map +1 -0
  32. package/{dist → module/dist}/frontend/node/io/io.d.ts +17 -16
  33. package/module/dist/frontend/node/io/io.d.ts.map +1 -0
  34. package/module/dist/frontend/node/io/nodeinput.d.ts +7 -0
  35. package/module/dist/frontend/node/io/nodeinput.d.ts.map +1 -0
  36. package/module/dist/frontend/node/io/nodeoutput.d.ts +7 -0
  37. package/module/dist/frontend/node/io/nodeoutput.d.ts.map +1 -0
  38. package/{dist → module/dist}/frontend/node/node.d.ts +21 -20
  39. package/module/dist/frontend/node/node.d.ts.map +1 -0
  40. package/{dist → module/dist}/frontend/utils/colorpicker.d.ts +20 -19
  41. package/module/dist/frontend/utils/colorpicker.d.ts.map +1 -0
  42. package/module/dist/frontend/utils/jsondata.d.ts +7 -0
  43. package/module/dist/frontend/utils/jsondata.d.ts.map +1 -0
  44. package/{dist → module/dist}/frontend/utils/table.d.ts +12 -11
  45. package/module/dist/frontend/utils/table.d.ts.map +1 -0
  46. package/{dist → module/dist}/funcnodes/funcnodesworker.d.ts +73 -72
  47. package/module/dist/funcnodes/funcnodesworker.d.ts.map +1 -0
  48. package/{dist → module/dist}/funcnodes/index.d.ts +5 -4
  49. package/module/dist/funcnodes/index.d.ts.map +1 -0
  50. package/{dist → module/dist}/funcnodes/websocketworker.d.ts +28 -27
  51. package/module/dist/funcnodes/websocketworker.d.ts.map +1 -0
  52. package/{dist → module/dist}/funcnodes/workermanager.d.ts +33 -32
  53. package/module/dist/funcnodes/workermanager.d.ts.map +1 -0
  54. package/{dist → module/dist}/index.d.ts +3 -2
  55. package/module/dist/index.d.ts.map +1 -0
  56. package/module/dist/index.js +4673 -0
  57. package/{dist → module/dist}/states/edge.d.ts +8 -7
  58. package/module/dist/states/edge.d.ts.map +1 -0
  59. package/{dist → module/dist}/states/edge.t.d.ts +17 -16
  60. package/module/dist/states/edge.t.d.ts.map +1 -0
  61. package/{dist → module/dist}/states/fnrfzst.d.ts +11 -10
  62. package/module/dist/states/fnrfzst.d.ts.map +1 -0
  63. package/{dist → module/dist}/states/fnrfzst.t.d.ts +101 -100
  64. package/module/dist/states/fnrfzst.t.d.ts.map +1 -0
  65. package/{dist → module/dist}/states/index.d.ts +8 -7
  66. package/module/dist/states/index.d.ts.map +1 -0
  67. package/{dist → module/dist}/states/lib.d.ts +4 -3
  68. package/module/dist/states/lib.d.ts.map +1 -0
  69. package/{dist → module/dist}/states/lib.t.d.ts +25 -24
  70. package/module/dist/states/lib.t.d.ts.map +1 -0
  71. package/{dist → module/dist}/states/node.d.ts +5 -4
  72. package/module/dist/states/node.d.ts.map +1 -0
  73. package/{dist → module/dist}/states/node.t.d.ts +74 -73
  74. package/module/dist/states/node.t.d.ts.map +1 -0
  75. package/{dist → module/dist}/states/nodeio.t.d.ts +68 -67
  76. package/module/dist/states/nodeio.t.d.ts.map +1 -0
  77. package/{dist → module/dist}/states/nodespace.d.ts +4 -3
  78. package/module/dist/states/nodespace.d.ts.map +1 -0
  79. package/{dist → module/dist}/states/nodespace.t.d.ts +17 -16
  80. package/module/dist/states/nodespace.t.d.ts.map +1 -0
  81. package/module/dist/states/reactflow.d.ts +9 -0
  82. package/module/dist/states/reactflow.d.ts.map +1 -0
  83. package/{dist → module/dist}/states/reactflow.t.d.ts +12 -11
  84. package/module/dist/states/reactflow.t.d.ts.map +1 -0
  85. package/{dist → module/dist}/types/rendering.t.d.ts +11 -10
  86. package/module/dist/types/rendering.t.d.ts.map +1 -0
  87. package/{dist → module/dist}/utils/index.d.ts +4 -3
  88. package/module/dist/utils/index.d.ts.map +1 -0
  89. package/{dist → module/dist}/utils/objects.d.ts +20 -19
  90. package/module/dist/utils/objects.d.ts.map +1 -0
  91. package/package.json +3 -3
  92. package/dist/frontend/datarenderer/images.d.ts +0 -11
  93. package/dist/frontend/datarenderer/images.js +0 -13
  94. package/dist/frontend/datarenderer/images.js.map +0 -1
  95. package/dist/frontend/datarenderer/index.js +0 -26
  96. package/dist/frontend/datarenderer/index.js.map +0 -1
  97. package/dist/frontend/datarenderer/plotly.d.ts +0 -14
  98. package/dist/frontend/datarenderer/plotly.js +0 -53
  99. package/dist/frontend/datarenderer/plotly.js.map +0 -1
  100. package/dist/frontend/dialog.js +0 -26
  101. package/dist/frontend/dialog.js.map +0 -1
  102. package/dist/frontend/edge.js +0 -40
  103. package/dist/frontend/edge.js.map +0 -1
  104. package/dist/frontend/funcnodesreactflow/index.js +0 -94
  105. package/dist/frontend/funcnodesreactflow/index.js.map +0 -1
  106. package/dist/frontend/funcnodesreactflow/react_flow_layer.d.ts +0 -5
  107. package/dist/frontend/funcnodesreactflow/react_flow_layer.js +0 -149
  108. package/dist/frontend/funcnodesreactflow/react_flow_layer.js.map +0 -1
  109. package/dist/frontend/header/index.js +0 -227
  110. package/dist/frontend/header/index.js.map +0 -1
  111. package/dist/frontend/index.js +0 -4
  112. package/dist/frontend/index.js.map +0 -1
  113. package/dist/frontend/lib.js +0 -107
  114. package/dist/frontend/lib.js.map +0 -1
  115. package/dist/frontend/node/index.js +0 -3
  116. package/dist/frontend/node/index.js.map +0 -1
  117. package/dist/frontend/node/io/default_input_renderer.js +0 -235
  118. package/dist/frontend/node/io/default_input_renderer.js.map +0 -1
  119. package/dist/frontend/node/io/default_output_render.d.ts +0 -6
  120. package/dist/frontend/node/io/default_output_render.js +0 -23
  121. package/dist/frontend/node/io/default_output_render.js.map +0 -1
  122. package/dist/frontend/node/io/handle_renderer.js +0 -70
  123. package/dist/frontend/node/io/handle_renderer.js.map +0 -1
  124. package/dist/frontend/node/io/index.js +0 -4
  125. package/dist/frontend/node/io/index.js.map +0 -1
  126. package/dist/frontend/node/io/io.js +0 -98
  127. package/dist/frontend/node/io/io.js.map +0 -1
  128. package/dist/frontend/node/io/nodeinput.d.ts +0 -6
  129. package/dist/frontend/node/io/nodeinput.js +0 -74
  130. package/dist/frontend/node/io/nodeinput.js.map +0 -1
  131. package/dist/frontend/node/io/nodeoutput.d.ts +0 -6
  132. package/dist/frontend/node/io/nodeoutput.js +0 -19
  133. package/dist/frontend/node/io/nodeoutput.js.map +0 -1
  134. package/dist/frontend/node/node.js +0 -118
  135. package/dist/frontend/node/node.js.map +0 -1
  136. package/dist/frontend/utils/colorpicker.js +0 -209
  137. package/dist/frontend/utils/colorpicker.js.map +0 -1
  138. package/dist/frontend/utils/jsondata.d.ts +0 -6
  139. package/dist/frontend/utils/jsondata.js +0 -8
  140. package/dist/frontend/utils/jsondata.js.map +0 -1
  141. package/dist/frontend/utils/table.js +0 -108
  142. package/dist/frontend/utils/table.js.map +0 -1
  143. package/dist/funcnodes/funcnodesworker.js +0 -532
  144. package/dist/funcnodes/funcnodesworker.js.map +0 -1
  145. package/dist/funcnodes/index.js +0 -5
  146. package/dist/funcnodes/index.js.map +0 -1
  147. package/dist/funcnodes/websocketworker.js +0 -224
  148. package/dist/funcnodes/websocketworker.js.map +0 -1
  149. package/dist/funcnodes/workermanager.js +0 -241
  150. package/dist/funcnodes/workermanager.js.map +0 -1
  151. package/dist/index.js +0 -3
  152. package/dist/index.js.map +0 -1
  153. package/dist/states/edge.js +0 -6
  154. package/dist/states/edge.js.map +0 -1
  155. package/dist/states/edge.t.js +0 -2
  156. package/dist/states/edge.t.js.map +0 -1
  157. package/dist/states/fnrfzst.js +0 -378
  158. package/dist/states/fnrfzst.js.map +0 -1
  159. package/dist/states/fnrfzst.t.js +0 -2
  160. package/dist/states/fnrfzst.t.js.map +0 -1
  161. package/dist/states/index.js +0 -6
  162. package/dist/states/index.js.map +0 -1
  163. package/dist/states/lib.js +0 -14
  164. package/dist/states/lib.js.map +0 -1
  165. package/dist/states/lib.t.js +0 -2
  166. package/dist/states/lib.t.js.map +0 -1
  167. package/dist/states/node.js +0 -43
  168. package/dist/states/node.js.map +0 -1
  169. package/dist/states/node.t.js +0 -2
  170. package/dist/states/node.t.js.map +0 -1
  171. package/dist/states/nodeio.t.js +0 -2
  172. package/dist/states/nodeio.t.js.map +0 -1
  173. package/dist/states/nodespace.js +0 -77
  174. package/dist/states/nodespace.js.map +0 -1
  175. package/dist/states/nodespace.t.js +0 -2
  176. package/dist/states/nodespace.t.js.map +0 -1
  177. package/dist/states/reactflow.d.ts +0 -8
  178. package/dist/states/reactflow.js +0 -33
  179. package/dist/states/reactflow.js.map +0 -1
  180. package/dist/states/reactflow.t.js +0 -2
  181. package/dist/states/reactflow.t.js.map +0 -1
  182. package/dist/types/rendering.t.js +0 -2
  183. package/dist/types/rendering.t.js.map +0 -1
  184. package/dist/utils/index.js +0 -3
  185. package/dist/utils/index.js.map +0 -1
  186. package/dist/utils/objects.js +0 -118
  187. package/dist/utils/objects.js.map +0 -1
@@ -1,7 +1,8 @@
1
- declare const generate_edge_id: ({ src_nid, src_ioid, trg_nid, trg_ioid, }: {
2
- src_nid: string;
3
- src_ioid: string;
4
- trg_nid: string;
5
- trg_ioid: string;
6
- }) => string;
7
- export { generate_edge_id };
1
+ declare const generate_edge_id: ({ src_nid, src_ioid, trg_nid, trg_ioid, }: {
2
+ src_nid: string;
3
+ src_ioid: string;
4
+ trg_nid: string;
5
+ trg_ioid: string;
6
+ }) => string;
7
+ export { generate_edge_id };
8
+ //# sourceMappingURL=edge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edge.d.ts","sourceRoot":"","sources":["../../src/states/edge.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,gBAAgB;aAMX,MAAM;cACL,MAAM;aACP,MAAM;cACL,MAAM;YAGjB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,16 +1,17 @@
1
- interface BaseEdgeAction {
2
- type: string;
3
- src_nid: string;
4
- src_ioid: string;
5
- trg_nid: string;
6
- trg_ioid: string;
7
- from_remote: boolean;
8
- }
9
- interface EdgeActionAdd extends BaseEdgeAction {
10
- type: "add";
11
- }
12
- interface EdgeActionDelete extends BaseEdgeAction {
13
- type: "delete";
14
- }
15
- type EdgeAction = EdgeActionAdd | EdgeActionDelete;
16
- export type { EdgeAction, EdgeActionAdd, EdgeActionDelete };
1
+ interface BaseEdgeAction {
2
+ type: string;
3
+ src_nid: string;
4
+ src_ioid: string;
5
+ trg_nid: string;
6
+ trg_ioid: string;
7
+ from_remote: boolean;
8
+ }
9
+ interface EdgeActionAdd extends BaseEdgeAction {
10
+ type: "add";
11
+ }
12
+ interface EdgeActionDelete extends BaseEdgeAction {
13
+ type: "delete";
14
+ }
15
+ type EdgeAction = EdgeActionAdd | EdgeActionDelete;
16
+ export type { EdgeAction, EdgeActionAdd, EdgeActionDelete };
17
+ //# sourceMappingURL=edge.t.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edge.t.d.ts","sourceRoot":"","sources":["../../src/states/edge.t.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,aAAc,SAAQ,cAAc;IAC5C,IAAI,EAAE,KAAK,CAAC;CACb;AAED,UAAU,gBAAiB,SAAQ,cAAc;IAC/C,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,KAAK,UAAU,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAEnD,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,10 +1,11 @@
1
- import LibZustand from "./lib";
2
- import NodeSpaceZustand from "./nodespace";
3
- import { Node as RFNode } from "reactflow";
4
- import { NodeStore } from "./node.t";
5
- import type { FuncNodesReactFlowZustandInterface } from "./fnrfzst.t";
6
- import type { NodeType } from "./node.t";
7
- declare const assert_reactflow_node: (node: NodeType, store: NodeStore, fnrf_instance?: FuncNodesReactFlowZustandInterface) => NodeType & RFNode;
8
- declare const FuncNodesReactFlowZustand: () => FuncNodesReactFlowZustandInterface;
9
- export default FuncNodesReactFlowZustand;
10
- export { LibZustand, NodeSpaceZustand, assert_reactflow_node };
1
+ import LibZustand from './lib';
2
+ import NodeSpaceZustand from './nodespace';
3
+ import { Node as RFNode } from 'reactflow';
4
+ import { NodeStore } from './node.t';
5
+ import type { FuncNodesReactFlowZustandInterface } from './fnrfzst.t';
6
+ import type { NodeType } from './node.t';
7
+ declare const assert_reactflow_node: (node: NodeType, store: NodeStore, fnrf_instance?: FuncNodesReactFlowZustandInterface) => NodeType & RFNode;
8
+ declare const FuncNodesReactFlowZustand: () => FuncNodesReactFlowZustandInterface;
9
+ export default FuncNodesReactFlowZustand;
10
+ export { LibZustand, NodeSpaceZustand, assert_reactflow_node };
11
+ //# sourceMappingURL=fnrfzst.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fnrfzst.d.ts","sourceRoot":"","sources":["../../src/states/fnrfzst.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,OAAO,CAAA;AAC9B,OAAO,gBAAgB,MAAM,aAAa,CAAA;AAI1C,OAAO,EACL,IAAI,IAAI,MAAM,EAKf,MAAM,WAAW,CAAA;AAClB,OAAO,EAAc,SAAS,EAAE,MAAM,UAAU,CAAA;AAMhD,OAAO,KAAK,EACV,kCAAkC,EAInC,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AA4DxC,QAAA,MAAM,qBAAqB,SACnB,QAAQ,SACP,SAAS,kBACA,kCAAkC,KACjD,QAAQ,GAAG,MAyBb,CAAA;AAED,QAAA,MAAM,yBAAyB,QAAO,kCAwSrC,CAAA;AAED,eAAe,yBAAyB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,CAAA"}
@@ -1,100 +1,101 @@
1
- import { StoreApi, UseBoundStore } from "zustand";
2
- import { FuncNodesWorker, WorkerManager } from "../funcnodes";
3
- import { LibType, LibZustandInterface } from "./lib.t";
4
- import { NodeSpaceZustandInterface } from "./nodespace.t";
5
- import { NodeAction, NodeType } from "./node.t";
6
- import { RFStore } from "./reactflow.t";
7
- import { EdgeAction } from "./edge.t";
8
- import { useReactFlow } from "reactflow";
9
- interface RenderOptions {
10
- typemap?: {
11
- [key: string]: string;
12
- };
13
- inputconverter?: {
14
- [key: string]: string;
15
- };
16
- }
17
- interface NodeViewState {
18
- pos: [number, number];
19
- size: [number, number];
20
- collapsed: boolean;
21
- }
22
- interface ViewState {
23
- nodes: {
24
- [key: string]: NodeViewState;
25
- };
26
- renderoptions?: RenderOptions;
27
- }
28
- interface FullNodeSpaceJSON {
29
- nodes: NodeType[];
30
- edges: [string, string, string, string][];
31
- prop: {
32
- [key: string]: any;
33
- };
34
- lib: LibType;
35
- }
36
- interface FullState {
37
- backend: FullNodeSpaceJSON;
38
- view: ViewState;
39
- worker: {
40
- [key: string]: string[];
41
- };
42
- }
43
- interface ProgressState {
44
- message: string;
45
- status: string;
46
- progress: number;
47
- blocking: boolean;
48
- }
49
- interface ProgressStateMessage extends ProgressState {
50
- type: "progress";
51
- }
52
- interface ResultMessage {
53
- type: "result";
54
- id?: string;
55
- result: any;
56
- }
57
- interface ErrorMessage {
58
- type: "error";
59
- error: string;
60
- tb: string[];
61
- id?: string;
62
- }
63
- interface NodeSpaceEvent {
64
- type: "nsevent";
65
- event: string;
66
- data: {
67
- [key: string]: any;
68
- };
69
- }
70
- type JSONMessage = ProgressStateMessage | ResultMessage | ErrorMessage | NodeSpaceEvent;
71
- interface WorkerRepresentation {
72
- uuid: string;
73
- host: string;
74
- port: number;
75
- ssl: boolean;
76
- active: boolean;
77
- name: string | null;
78
- }
79
- interface WorkersState {
80
- [key: string]: WorkerRepresentation;
81
- }
82
- interface FuncNodesReactFlowZustandInterface {
83
- lib: LibZustandInterface;
84
- workermanager: WorkerManager | undefined;
85
- workers: UseBoundStore<StoreApi<WorkersState>>;
86
- worker: FuncNodesWorker | undefined;
87
- nodespace: NodeSpaceZustandInterface;
88
- useReactFlowStore: RFStore;
89
- render_options: UseBoundStore<StoreApi<RenderOptions>>;
90
- progress_state: UseBoundStore<StoreApi<ProgressState>>;
91
- update_render_options: (options: RenderOptions) => void;
92
- rf_instance?: ReturnType<typeof useReactFlow>;
93
- on_node_action: (action: NodeAction) => void;
94
- on_edge_action: (edge: EdgeAction) => void;
95
- set_progress: (progress: ProgressState) => void;
96
- auto_progress: () => void;
97
- reactflowRef: HTMLDivElement | null;
98
- clear_all: () => void;
99
- }
100
- export type { FuncNodesReactFlowZustandInterface, WorkersState, WorkerRepresentation, JSONMessage, FullState, FullNodeSpaceJSON, ViewState, RenderOptions, ProgressState, ProgressStateMessage, ResultMessage, ErrorMessage, NodeSpaceEvent, NodeViewState, };
1
+ import { StoreApi, UseBoundStore } from "zustand";
2
+ import { FuncNodesWorker, WorkerManager } from "../funcnodes";
3
+ import { LibType, LibZustandInterface } from "./lib.t";
4
+ import { NodeSpaceZustandInterface } from "./nodespace.t";
5
+ import { NodeAction, NodeType } from "./node.t";
6
+ import { RFStore } from "./reactflow.t";
7
+ import { EdgeAction } from "./edge.t";
8
+ import { useReactFlow } from "reactflow";
9
+ interface RenderOptions {
10
+ typemap?: {
11
+ [key: string]: string;
12
+ };
13
+ inputconverter?: {
14
+ [key: string]: string;
15
+ };
16
+ }
17
+ interface NodeViewState {
18
+ pos: [number, number];
19
+ size: [number, number];
20
+ collapsed: boolean;
21
+ }
22
+ interface ViewState {
23
+ nodes: {
24
+ [key: string]: NodeViewState;
25
+ };
26
+ renderoptions?: RenderOptions;
27
+ }
28
+ interface FullNodeSpaceJSON {
29
+ nodes: NodeType[];
30
+ edges: [string, string, string, string][];
31
+ prop: {
32
+ [key: string]: any;
33
+ };
34
+ lib: LibType;
35
+ }
36
+ interface FullState {
37
+ backend: FullNodeSpaceJSON;
38
+ view: ViewState;
39
+ worker: {
40
+ [key: string]: string[];
41
+ };
42
+ }
43
+ interface ProgressState {
44
+ message: string;
45
+ status: string;
46
+ progress: number;
47
+ blocking: boolean;
48
+ }
49
+ interface ProgressStateMessage extends ProgressState {
50
+ type: "progress";
51
+ }
52
+ interface ResultMessage {
53
+ type: "result";
54
+ id?: string;
55
+ result: any;
56
+ }
57
+ interface ErrorMessage {
58
+ type: "error";
59
+ error: string;
60
+ tb: string[];
61
+ id?: string;
62
+ }
63
+ interface NodeSpaceEvent {
64
+ type: "nsevent";
65
+ event: string;
66
+ data: {
67
+ [key: string]: any;
68
+ };
69
+ }
70
+ type JSONMessage = ProgressStateMessage | ResultMessage | ErrorMessage | NodeSpaceEvent;
71
+ interface WorkerRepresentation {
72
+ uuid: string;
73
+ host: string;
74
+ port: number;
75
+ ssl: boolean;
76
+ active: boolean;
77
+ name: string | null;
78
+ }
79
+ interface WorkersState {
80
+ [key: string]: WorkerRepresentation;
81
+ }
82
+ interface FuncNodesReactFlowZustandInterface {
83
+ lib: LibZustandInterface;
84
+ workermanager: WorkerManager | undefined;
85
+ workers: UseBoundStore<StoreApi<WorkersState>>;
86
+ worker: FuncNodesWorker | undefined;
87
+ nodespace: NodeSpaceZustandInterface;
88
+ useReactFlowStore: RFStore;
89
+ render_options: UseBoundStore<StoreApi<RenderOptions>>;
90
+ progress_state: UseBoundStore<StoreApi<ProgressState>>;
91
+ update_render_options: (options: RenderOptions) => void;
92
+ rf_instance?: ReturnType<typeof useReactFlow>;
93
+ on_node_action: (action: NodeAction) => void;
94
+ on_edge_action: (edge: EdgeAction) => void;
95
+ set_progress: (progress: ProgressState) => void;
96
+ auto_progress: () => void;
97
+ reactflowRef: HTMLDivElement | null;
98
+ clear_all: () => void;
99
+ }
100
+ export type { FuncNodesReactFlowZustandInterface, WorkersState, WorkerRepresentation, JSONMessage, FullState, FullNodeSpaceJSON, ViewState, RenderOptions, ProgressState, ProgressStateMessage, ResultMessage, ErrorMessage, NodeSpaceEvent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IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAC;CACrC;AACD,UAAU,kCAAkC;IAC1C,GAAG,EAAE,mBAAmB,CAAC;IACzB,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/C,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,SAAS,EAAE,yBAAyB,CAAC;IACrC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IACvD,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IACvD,qBAAqB,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IACxD,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IAC9C,cAAc,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,YAAY,EACV,kCAAkC,EAClC,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,aAAa,GACd,CAAC"}
@@ -1,7 +1,8 @@
1
- import LibZustand from "./lib";
2
- import NodeSpaceZustand from "./nodespace";
3
- import { FuncNodesReactFlowZustandInterface, WorkersState } from "./fnrfzst.t";
4
- import FuncNodesReactFlowZustand from "./fnrfzst";
5
- export default FuncNodesReactFlowZustand;
6
- export { LibZustand, NodeSpaceZustand };
7
- export type { FuncNodesReactFlowZustandInterface, WorkersState };
1
+ import LibZustand from "./lib";
2
+ import NodeSpaceZustand from "./nodespace";
3
+ import { FuncNodesReactFlowZustandInterface, WorkersState } from "./fnrfzst.t";
4
+ import FuncNodesReactFlowZustand from "./fnrfzst";
5
+ export default FuncNodesReactFlowZustand;
6
+ export { LibZustand, NodeSpaceZustand };
7
+ export type { FuncNodesReactFlowZustandInterface, WorkersState };
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/states/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,OAAO,CAAC;AAC/B,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,kCAAkC,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/E,OAAO,yBAAyB,MAAM,WAAW,CAAC;AAClD,eAAe,yBAAyB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC;AACxC,YAAY,EAAE,kCAAkC,EAAE,YAAY,EAAE,CAAC"}
@@ -1,3 +1,4 @@
1
- import { LibZustandInterface } from "./lib.t";
2
- declare const LibZustand: () => LibZustandInterface;
3
- export default LibZustand;
1
+ import { LibZustandInterface } from "./lib.t";
2
+ declare const LibZustand: () => LibZustandInterface;
3
+ export default LibZustand;
4
+ //# sourceMappingURL=lib.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/states/lib.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,mBAAmB,EAAY,MAAM,SAAS,CAAC;AAEjE,QAAA,MAAM,UAAU,QAAO,mBAUtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,24 +1,25 @@
1
- import { UseBoundStore, StoreApi } from "zustand";
2
- type LibNode = {
3
- node_id: string;
4
- description?: string;
5
- node_name?: string;
6
- };
7
- type Shelf = {
8
- name: string;
9
- description?: string;
10
- nodes: LibNode[];
11
- subshelves: Shelf[];
12
- };
13
- type LibType = {
14
- shelves: Shelf[];
15
- };
16
- interface LibState {
17
- state: LibType;
18
- set: (state: LibType) => void;
19
- get: () => LibType;
20
- }
21
- interface LibZustandInterface {
22
- libstate: UseBoundStore<StoreApi<LibState>>;
23
- }
24
- export type { LibZustandInterface, LibState, LibType, Shelf, LibNode };
1
+ import { UseBoundStore, StoreApi } from 'zustand';
2
+ type LibNode = {
3
+ node_id: string;
4
+ description?: string;
5
+ node_name?: string;
6
+ };
7
+ type Shelf = {
8
+ name: string;
9
+ description?: string;
10
+ nodes: LibNode[];
11
+ subshelves: Shelf[];
12
+ };
13
+ type LibType = {
14
+ shelves: Shelf[];
15
+ };
16
+ interface LibState {
17
+ state: LibType;
18
+ set: (state: LibType) => void;
19
+ get: () => LibType;
20
+ }
21
+ interface LibZustandInterface {
22
+ libstate: UseBoundStore<StoreApi<LibState>>;
23
+ }
24
+ export type { LibZustandInterface, LibState, LibType, Shelf, LibNode };
25
+ //# sourceMappingURL=lib.t.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.t.d.ts","sourceRoot":"","sources":["../../src/states/lib.t.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEjD,KAAK,OAAO,GAAG;IACb,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,UAAU,EAAE,KAAK,EAAE,CAAA;CACpB,CAAA;AAED,KAAK,OAAO,GAAG;IACb,OAAO,EAAE,KAAK,EAAE,CAAA;CACjB,CAAA;AAED,UAAU,QAAQ;IAChB,KAAK,EAAE,OAAO,CAAA;IACd,GAAG,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7B,GAAG,EAAE,MAAM,OAAO,CAAA;CACnB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAA;CAC5C;AAED,YAAY,EAAE,mBAAmB,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAA"}
@@ -1,4 +1,5 @@
1
- import { NodeType, PartialNodeType, NodeStore } from "./node.t";
2
- declare const assert_full_node: (node: PartialNodeType) => NodeType;
3
- declare const createNodeStore: (node: NodeType) => NodeStore;
4
- export { createNodeStore, assert_full_node };
1
+ import { NodeType, PartialNodeType, NodeStore } from "./node.t";
2
+ declare const assert_full_node: (node: PartialNodeType) => NodeType;
3
+ declare const createNodeStore: (node: NodeType) => NodeStore;
4
+ export { createNodeStore, assert_full_node };
5
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/states/node.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAehE,QAAA,MAAM,gBAAgB,SAAU,eAAe,KAAG,QAOjD,CAAC;AAEF,QAAA,MAAM,eAAe,SAAU,QAAQ,KAAG,SAkBzC,CAAC;AACF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,73 +1,74 @@
1
- import { UseBoundStore, StoreApi } from "zustand";
2
- import { DeepPartial } from "../utils";
3
- import { IOType } from "./nodeio.t";
4
- import { DataRenderOptions } from "../types/rendering.t";
5
- /**
6
- * Interface for the NodeActionAdd.
7
- * This interface is used when a new node is being added.
8
- * It has a type property set to "add" and a node property of NodeType.
9
- */
10
- interface BaseNodeAction {
11
- type: string;
12
- from_remote: boolean;
13
- id: string;
14
- immediate?: boolean;
15
- }
16
- interface NodeActionAdd extends BaseNodeAction {
17
- type: "add";
18
- node: NodeType;
19
- }
20
- /**
21
- * Interface for the NodeActionUpdate.
22
- * This interface is used when an existing node is being updated.
23
- * It has a type property set to "update", an id property for the node to be updated,
24
- * and a node property of PartialNodeType which contains the properties to be updated.
25
- */
26
- interface NodeActionUpdate extends BaseNodeAction {
27
- type: "update";
28
- node: PartialNodeType;
29
- }
30
- /**
31
- * Interface for the NodeActionDelete.
32
- * This interface is used when a node is being deleted.
33
- * It has a type property set to "delete" and an id property for the node to be deleted.
34
- */
35
- interface NodeActionDelete extends BaseNodeAction {
36
- type: "delete";
37
- }
38
- interface NodeActionError extends BaseNodeAction {
39
- type: "error";
40
- errortype: string;
41
- error: string;
42
- }
43
- interface NodeTrigger extends BaseNodeAction {
44
- type: "trigger";
45
- }
46
- /**
47
- * Type alias for NodeAction.
48
- * A NodeAction can be either a NodeActionAdd, NodeActionUpdate, or NodeActionDelete.
49
- */
50
- type NodeAction = NodeActionAdd | NodeActionUpdate | NodeActionDelete | NodeActionError | NodeTrigger;
51
- type NodeStore = UseBoundStore<StoreApi<NodeType>>;
52
- interface NodeRenderOptions {
53
- data?: DataRenderOptions;
54
- }
55
- interface NodeType {
56
- id: string;
57
- node_name: string;
58
- io: {
59
- [key: string]: IOType;
60
- };
61
- frontend: {
62
- pos: [number, number];
63
- size: [number, number];
64
- collapsed: boolean;
65
- };
66
- name: string;
67
- in_trigger: boolean;
68
- error?: string;
69
- render_options?: NodeRenderOptions;
70
- io_order: string[];
71
- }
72
- type PartialNodeType = DeepPartial<NodeType>;
73
- export type { NodeStore, NodeAction, NodeActionUpdate, NodeActionDelete, NodeActionAdd, NodeActionError, PartialNodeType, NodeType, };
1
+ import { UseBoundStore, StoreApi } from "zustand";
2
+ import { DeepPartial } from "../utils";
3
+ import { IOType } from "./nodeio.t";
4
+ import { DataRenderOptions } from "../types/rendering.t";
5
+ /**
6
+ * Interface for the NodeActionAdd.
7
+ * This interface is used when a new node is being added.
8
+ * It has a type property set to "add" and a node property of NodeType.
9
+ */
10
+ interface BaseNodeAction {
11
+ type: string;
12
+ from_remote: boolean;
13
+ id: string;
14
+ immediate?: boolean;
15
+ }
16
+ interface NodeActionAdd extends BaseNodeAction {
17
+ type: "add";
18
+ node: NodeType;
19
+ }
20
+ /**
21
+ * Interface for the NodeActionUpdate.
22
+ * This interface is used when an existing node is being updated.
23
+ * It has a type property set to "update", an id property for the node to be updated,
24
+ * and a node property of PartialNodeType which contains the properties to be updated.
25
+ */
26
+ interface NodeActionUpdate extends BaseNodeAction {
27
+ type: "update";
28
+ node: PartialNodeType;
29
+ }
30
+ /**
31
+ * Interface for the NodeActionDelete.
32
+ * This interface is used when a node is being deleted.
33
+ * It has a type property set to "delete" and an id property for the node to be deleted.
34
+ */
35
+ interface NodeActionDelete extends BaseNodeAction {
36
+ type: "delete";
37
+ }
38
+ interface NodeActionError extends BaseNodeAction {
39
+ type: "error";
40
+ errortype: string;
41
+ error: string;
42
+ }
43
+ interface NodeTrigger extends BaseNodeAction {
44
+ type: "trigger";
45
+ }
46
+ /**
47
+ * Type alias for NodeAction.
48
+ * A NodeAction can be either a NodeActionAdd, NodeActionUpdate, or NodeActionDelete.
49
+ */
50
+ type NodeAction = NodeActionAdd | NodeActionUpdate | NodeActionDelete | NodeActionError | NodeTrigger;
51
+ type NodeStore = UseBoundStore<StoreApi<NodeType>>;
52
+ interface NodeRenderOptions {
53
+ data?: DataRenderOptions;
54
+ }
55
+ interface NodeType {
56
+ id: string;
57
+ node_name: string;
58
+ io: {
59
+ [key: string]: IOType;
60
+ };
61
+ frontend: {
62
+ pos: [number, number];
63
+ size: [number, number];
64
+ collapsed: boolean;
65
+ };
66
+ name: string;
67
+ in_trigger: boolean;
68
+ error?: string;
69
+ render_options?: NodeRenderOptions;
70
+ io_order: string[];
71
+ }
72
+ type PartialNodeType = DeepPartial<NodeType>;
73
+ export type { NodeStore, NodeAction, NodeActionUpdate, NodeActionDelete, NodeActionAdd, NodeActionError, PartialNodeType, NodeType, };
74
+ //# sourceMappingURL=node.t.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.t.d.ts","sourceRoot":"","sources":["../../src/states/node.t.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;;GAIG;AAEH,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,OAAO,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,UAAU,aAAc,SAAQ,cAAc;IAC5C,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;;;;GAKG;AACH,UAAU,gBAAiB,SAAQ,cAAc;IAC/C,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;;;GAIG;AACH,UAAU,gBAAiB,SAAQ,cAAc;IAC/C,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,eAAgB,SAAQ,cAAc;IAC9C,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,WAAY,SAAQ,cAAc;IAC1C,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;;GAGG;AACH,KAAK,UAAU,GACX,aAAa,GACb,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,WAAW,CAAC;AAEhB,KAAK,SAAS,GAAG,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC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