@particle-academy/fancy-flow 0.11.0 → 0.13.0
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/capabilities-B6r1Snfj.d.ts +77 -0
- package/dist/capabilities-D-V9Rxv1.d.cts +77 -0
- package/dist/chunk-BB45F6S3.js +38 -0
- package/dist/chunk-BB45F6S3.js.map +1 -0
- package/dist/{chunk-2NQT2A3I.js → chunk-L4AX73Q6.js} +5 -4
- package/dist/chunk-L4AX73Q6.js.map +1 -0
- package/dist/{chunk-3GMBLHTM.js → chunk-MFMRTRPO.js} +3 -3
- package/dist/{chunk-3GMBLHTM.js.map → chunk-MFMRTRPO.js.map} +1 -1
- package/dist/{chunk-YNOI7ONN.js → chunk-WEZJFMLV.js} +224 -51
- package/dist/chunk-WEZJFMLV.js.map +1 -0
- package/dist/engine.cjs +3 -2
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.cts +4 -2
- package/dist/engine.d.ts +4 -2
- package/dist/engine.js +1 -1
- package/dist/index.cjs +396 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/llm/vercel-ai.cjs +59 -0
- package/dist/llm/vercel-ai.cjs.map +1 -0
- package/dist/llm/vercel-ai.d.cts +59 -0
- package/dist/llm/vercel-ai.d.ts +59 -0
- package/dist/llm/vercel-ai.js +49 -0
- package/dist/llm/vercel-ai.js.map +1 -0
- package/dist/registry/index.d.cts +60 -4
- package/dist/registry/index.d.ts +60 -4
- package/dist/registry.cjs +455 -93
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +3 -1
- package/dist/runtime/index.d.cts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime.cjs +3 -2
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +2 -2
- package/dist/schema/index.d.cts +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/{types-CsEe3EQl.d.ts → types-CnnKPnpt.d.ts} +1 -1
- package/dist/{types-BwLr5tZV.d.cts → types-H60tQAxr.d.cts} +1 -1
- package/dist/{types-BS3Gwnkq.d.cts → types-fc0fFKkf.d.cts} +7 -1
- package/dist/{types-BS3Gwnkq.d.ts → types-fc0fFKkf.d.ts} +7 -1
- package/dist/ux.d.cts +2 -2
- package/dist/ux.d.ts +2 -2
- package/package.json +19 -3
- package/dist/chunk-2NQT2A3I.js.map +0 -1
- package/dist/chunk-YNOI7ONN.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties, ComponentType } from 'react';
|
|
3
3
|
import { ReactFlowProps, Edge, BackgroundVariant, NodeProps, NodeTypes } from '@xyflow/react';
|
|
4
|
-
import {
|
|
5
|
-
export { A as ActionNodeData, B as BaseNodeData, D as DecisionNodeData, c as FlowEdge, d as FlowNodeData, e as FlowNodeKind, N as NodeExecutor, f as NoteNodeData, O as OutputNodeData, P as PortDescriptor, R as RunEvent, S as SubgraphNodeData, T as TriggerNodeData } from './types-
|
|
4
|
+
import { a as FlowNode, F as FlowGraph, b as NodeRunStatus, E as ExecutorRegistry } from './types-fc0fFKkf.cjs';
|
|
5
|
+
export { A as ActionNodeData, B as BaseNodeData, D as DecisionNodeData, c as FlowEdge, d as FlowNodeData, e as FlowNodeKind, N as NodeExecutor, f as NoteNodeData, O as OutputNodeData, P as PortDescriptor, R as RunEvent, S as SubgraphNodeData, T as TriggerNodeData } from './types-fc0fFKkf.cjs';
|
|
6
6
|
import { WorkflowSchema, WorkflowMetadata } from './schema/index.cjs';
|
|
7
7
|
export { ImportIssue, ImportOptions, ImportResult, WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, WorkflowSchemaEdge, WorkflowSchemaNode, exportWorkflow, importWorkflow, workflowToBlob } from './schema/index.cjs';
|
|
8
|
-
import { N as NodeCategory, a as NodeKindDefinition, C as ConfigField } from './types-
|
|
9
|
-
export { D as DocumentConfigField, K as KeyValueConfigField, P as PortSpec, R as RenderBodyContext, d as RepeaterConfigField, e as RepeaterRowField } from './types-
|
|
8
|
+
import { N as NodeCategory, a as NodeKindDefinition, C as ConfigField } from './types-H60tQAxr.cjs';
|
|
9
|
+
export { D as DocumentConfigField, K as KeyValueConfigField, P as PortSpec, R as RenderBodyContext, d as RepeaterConfigField, e as RepeaterRowField } from './types-H60tQAxr.cjs';
|
|
10
10
|
import { FlowRunFeedEntry } from './runtime/index.cjs';
|
|
11
11
|
export { UseFlowRunOptions, UseFlowRunReturn, UseFlowStateReturn, applyStatusesToNodes, useFlowRun, useFlowState } from './runtime/index.cjs';
|
|
12
12
|
export { BUILTIN_KINDS, RegistryNode, RichInputAdapter, RichInputPreview, buildNodeTypes, categoryAccent, defaultConfigFor, getNodeKind, getRichInputAdapter, isRichInputEnabled, listNodeKinds, onNodeKindsChanged, onRichInputAdapterChanged, registerBuiltinKinds, registerNodeKind, registerRichInputAdapter, resolveNodePorts, resolvePortSpec, validateConfig } from './registry/index.cjs';
|
|
13
13
|
export { RunOptions, RunResult, runFlow } from './engine.cjs';
|
|
14
|
+
import './capabilities-D-V9Rxv1.cjs';
|
|
14
15
|
|
|
15
16
|
type FlowCanvasProps = Omit<ReactFlowProps<FlowNode, Edge>, "nodes" | "edges" | "height"> & {
|
|
16
17
|
nodes: FlowNode[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties, ComponentType } from 'react';
|
|
3
3
|
import { ReactFlowProps, Edge, BackgroundVariant, NodeProps, NodeTypes } from '@xyflow/react';
|
|
4
|
-
import {
|
|
5
|
-
export { A as ActionNodeData, B as BaseNodeData, D as DecisionNodeData, c as FlowEdge, d as FlowNodeData, e as FlowNodeKind, N as NodeExecutor, f as NoteNodeData, O as OutputNodeData, P as PortDescriptor, R as RunEvent, S as SubgraphNodeData, T as TriggerNodeData } from './types-
|
|
4
|
+
import { a as FlowNode, F as FlowGraph, b as NodeRunStatus, E as ExecutorRegistry } from './types-fc0fFKkf.js';
|
|
5
|
+
export { A as ActionNodeData, B as BaseNodeData, D as DecisionNodeData, c as FlowEdge, d as FlowNodeData, e as FlowNodeKind, N as NodeExecutor, f as NoteNodeData, O as OutputNodeData, P as PortDescriptor, R as RunEvent, S as SubgraphNodeData, T as TriggerNodeData } from './types-fc0fFKkf.js';
|
|
6
6
|
import { WorkflowSchema, WorkflowMetadata } from './schema/index.js';
|
|
7
7
|
export { ImportIssue, ImportOptions, ImportResult, WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, WorkflowSchemaEdge, WorkflowSchemaNode, exportWorkflow, importWorkflow, workflowToBlob } from './schema/index.js';
|
|
8
|
-
import { N as NodeCategory, a as NodeKindDefinition, C as ConfigField } from './types-
|
|
9
|
-
export { D as DocumentConfigField, K as KeyValueConfigField, P as PortSpec, R as RenderBodyContext, d as RepeaterConfigField, e as RepeaterRowField } from './types-
|
|
8
|
+
import { N as NodeCategory, a as NodeKindDefinition, C as ConfigField } from './types-CnnKPnpt.js';
|
|
9
|
+
export { D as DocumentConfigField, K as KeyValueConfigField, P as PortSpec, R as RenderBodyContext, d as RepeaterConfigField, e as RepeaterRowField } from './types-CnnKPnpt.js';
|
|
10
10
|
import { FlowRunFeedEntry } from './runtime/index.js';
|
|
11
11
|
export { UseFlowRunOptions, UseFlowRunReturn, UseFlowStateReturn, applyStatusesToNodes, useFlowRun, useFlowState } from './runtime/index.js';
|
|
12
12
|
export { BUILTIN_KINDS, RegistryNode, RichInputAdapter, RichInputPreview, buildNodeTypes, categoryAccent, defaultConfigFor, getNodeKind, getRichInputAdapter, isRichInputEnabled, listNodeKinds, onNodeKindsChanged, onRichInputAdapterChanged, registerBuiltinKinds, registerNodeKind, registerRichInputAdapter, resolveNodePorts, resolvePortSpec, validateConfig } from './registry/index.js';
|
|
13
13
|
export { RunOptions, RunResult, runFlow } from './engine.js';
|
|
14
|
+
import './capabilities-B6r1Snfj.js';
|
|
14
15
|
|
|
15
16
|
type FlowCanvasProps = Omit<ReactFlowProps<FlowNode, Edge>, "nodes" | "edges" | "height"> & {
|
|
16
17
|
nodes: FlowNode[];
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useFlowState, useFlowRun, applyStatusesToNodes } from './chunk-
|
|
2
|
-
export { applyStatusesToNodes, useFlowRun, useFlowState } from './chunk-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { BUILTIN_KINDS, RegistryNode, buildNodeTypes, registerBuiltinKinds } from './chunk-YNOI7ONN.js';
|
|
1
|
+
import { useFlowState, useFlowRun, applyStatusesToNodes } from './chunk-MFMRTRPO.js';
|
|
2
|
+
export { applyStatusesToNodes, useFlowRun, useFlowState } from './chunk-MFMRTRPO.js';
|
|
3
|
+
import { buildNodeTypes, registerBuiltinKinds } from './chunk-WEZJFMLV.js';
|
|
4
|
+
export { BUILTIN_KINDS, RegistryNode, buildNodeTypes, registerBuiltinKinds } from './chunk-WEZJFMLV.js';
|
|
6
5
|
import { ReactFlowProvider, useReactFlow, addEdge, applyEdgeChanges, applyNodeChanges, Position, Handle, index, BackgroundVariant, Background, Controls, MiniMap } from './chunk-NF6NPY5N.js';
|
|
6
|
+
export { runFlow } from './chunk-L4AX73Q6.js';
|
|
7
7
|
import { workflowToBlob, importWorkflow, exportWorkflow } from './chunk-D6W5FMCT.js';
|
|
8
8
|
export { WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, exportWorkflow, importWorkflow, workflowToBlob } from './chunk-D6W5FMCT.js';
|
|
9
9
|
export { resolveNodePorts, resolvePortSpec } from './chunk-TITD5W4Y.js';
|
|
@@ -11,6 +11,7 @@ import { onNodeKindsChanged, listNodeKinds, getNodeKind, defaultConfigFor, valid
|
|
|
11
11
|
export { categoryAccent, defaultConfigFor, getNodeKind, listNodeKinds, onNodeKindsChanged, registerNodeKind, validateConfig } from './chunk-U5F22BHV.js';
|
|
12
12
|
import { getRichInputAdapter } from './chunk-F5RPRB7A.js';
|
|
13
13
|
export { RichInputPreview, getRichInputAdapter, isRichInputEnabled, onRichInputAdapterChanged, registerRichInputAdapter } from './chunk-F5RPRB7A.js';
|
|
14
|
+
import './chunk-BB45F6S3.js';
|
|
14
15
|
import { memo, createContext, forwardRef, useState, useEffect, useMemo, useCallback, useImperativeHandle, useRef, useContext } from 'react';
|
|
15
16
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
17
|
|