@particle-academy/fancy-flow 0.27.0 → 0.27.1
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.
- package/dist/{chunk-OFW7GN3Y.js → chunk-HHFOHHAQ.js} +3 -3
- package/dist/{chunk-OFW7GN3Y.js.map → chunk-HHFOHHAQ.js.map} +1 -1
- package/dist/{chunk-U2VJB7HR.js → chunk-RE7T5GKQ.js} +5 -4
- package/dist/chunk-RE7T5GKQ.js.map +1 -0
- package/dist/{chunk-YOFCVO2W.js → chunk-THU5LW22.js} +3 -3
- package/dist/{chunk-YOFCVO2W.js.map → chunk-THU5LW22.js.map} +1 -1
- package/dist/engine.cjs +3 -2
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.js +2 -2
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/registry.cjs +3 -2
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/runtime.cjs +3 -2
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-U2VJB7HR.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useFlowState, useFlowRun, useFlowHistory, applyOutputsToNodes, applyStatusesToNodes } from './chunk-
|
|
2
|
-
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-
|
|
3
|
-
import { buildNodeTypes, FlowEditorProvider, registerBuiltinKinds, NoteNode, createConnectionValidator } from './chunk-
|
|
4
|
-
export { ANY_PORT_TYPE, BUILTIN_KINDS, LaneNode, NoteNode, RegistryNode, buildNodeTypes, createConnectionValidator, defaultPortCompatibility, registerBuiltinKinds, useFlowEditor, useFlowEditorOptional } from './chunk-
|
|
1
|
+
import { useFlowState, useFlowRun, useFlowHistory, applyOutputsToNodes, applyStatusesToNodes } from './chunk-HHFOHHAQ.js';
|
|
2
|
+
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-HHFOHHAQ.js';
|
|
3
|
+
import { buildNodeTypes, FlowEditorProvider, registerBuiltinKinds, NoteNode, createConnectionValidator } from './chunk-THU5LW22.js';
|
|
4
|
+
export { ANY_PORT_TYPE, BUILTIN_KINDS, LaneNode, NoteNode, RegistryNode, buildNodeTypes, createConnectionValidator, defaultPortCompatibility, registerBuiltinKinds, useFlowEditor, useFlowEditorOptional } from './chunk-THU5LW22.js';
|
|
5
5
|
import { ReactFlowProvider, useReactFlow, addEdge, applyEdgeChanges, applyNodeChanges, Position, Handle, reconnectEdge, index, BackgroundVariant, Background, Controls, MiniMap, ViewportPortal } from './chunk-OWENS2H5.js';
|
|
6
6
|
export { LEGACY_PAUSE_PREFIXES, PAUSE_PREFIX, decodePause, encodePause, isPause, pauseForHuman } from './chunk-UEOE6B52.js';
|
|
7
7
|
import './chunk-USL4FMFU.js';
|
|
8
|
-
export { runFlow } from './chunk-
|
|
8
|
+
export { runFlow } from './chunk-RE7T5GKQ.js';
|
|
9
9
|
import { workflowToBlob, importWorkflow, exportWorkflow } from './chunk-N5ICD2WZ.js';
|
|
10
10
|
export { WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, exportWorkflow, importWorkflow, migrateSchema, workflowToBlob } from './chunk-N5ICD2WZ.js';
|
|
11
11
|
export { resolveNodePorts, resolvePortSpec } from './chunk-TITD5W4Y.js';
|
package/dist/registry.cjs
CHANGED
|
@@ -416,8 +416,9 @@ function collectInputs(node, incoming, portValues, initial) {
|
|
|
416
416
|
const inputs = { ...initial[node.id] ?? {} };
|
|
417
417
|
for (const e of incoming) {
|
|
418
418
|
const portId = e.targetHandle ?? "in";
|
|
419
|
-
const
|
|
420
|
-
|
|
419
|
+
const key = `${e.source}:${e.sourceHandle ?? "out"}`;
|
|
420
|
+
if (!portValues.has(key)) continue;
|
|
421
|
+
inputs[portId] = portValues.get(key);
|
|
421
422
|
}
|
|
422
423
|
return inputs;
|
|
423
424
|
}
|