@goplasmatic/dataflow-ui 2.1.3 → 2.1.5
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/components/common/ErrorBoundary.d.ts +20 -0
- package/dist/components/common/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/common/JsonEditor.d.ts +14 -0
- package/dist/components/common/JsonEditor.d.ts.map +1 -0
- package/dist/components/common/JsonViewer.d.ts +9 -0
- package/dist/components/common/JsonViewer.d.ts.map +1 -0
- package/dist/components/common/SearchInput.d.ts +10 -0
- package/dist/components/common/SearchInput.d.ts.map +1 -0
- package/dist/components/common/StatusBar.d.ts +13 -0
- package/dist/components/common/StatusBar.d.ts.map +1 -0
- package/dist/components/common/index.d.ts +6 -0
- package/dist/components/common/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/WorkflowVisualizer.d.ts +64 -0
- package/dist/components/workflow-visualizer/WorkflowVisualizer.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/cards/ConditionBadge.d.ts +9 -0
- package/dist/components/workflow-visualizer/cards/ConditionBadge.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/cards/FunctionTypeBadge.d.ts +7 -0
- package/dist/components/workflow-visualizer/cards/FunctionTypeBadge.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/cards/TaskRow.d.ts +11 -0
- package/dist/components/workflow-visualizer/cards/TaskRow.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/cards/WorkflowCard.d.ts +11 -0
- package/dist/components/workflow-visualizer/cards/WorkflowCard.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/cards/index.d.ts +5 -0
- package/dist/components/workflow-visualizer/cards/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/DebugStateIcon.d.ts +8 -0
- package/dist/components/workflow-visualizer/components/DebugStateIcon.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/FolderNode.d.ts +14 -0
- package/dist/components/workflow-visualizer/components/FolderNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/TaskNode.d.ts +15 -0
- package/dist/components/workflow-visualizer/components/TaskNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/TreeNode.d.ts +21 -0
- package/dist/components/workflow-visualizer/components/TreeNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/WorkflowNode.d.ts +14 -0
- package/dist/components/workflow-visualizer/components/WorkflowNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/colors.d.ts +13 -0
- package/dist/components/workflow-visualizer/components/colors.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/components/index.d.ts +8 -0
- package/dist/components/workflow-visualizer/components/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/constants.d.ts +31 -0
- package/dist/components/workflow-visualizer/constants.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/context/DebuggerContext.d.ts +66 -0
- package/dist/components/workflow-visualizer/context/DebuggerContext.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/context/ThemeContext.d.ts +15 -0
- package/dist/components/workflow-visualizer/context/ThemeContext.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/context/index.d.ts +4 -0
- package/dist/components/workflow-visualizer/context/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/debug/DebugInfoBubble.d.ts +26 -0
- package/dist/components/workflow-visualizer/debug/DebugInfoBubble.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/debug/DebuggerControls.d.ts +12 -0
- package/dist/components/workflow-visualizer/debug/DebuggerControls.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/debug/IntegratedDebugToolbar.d.ts +22 -0
- package/dist/components/workflow-visualizer/debug/IntegratedDebugToolbar.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/debug/MessageInputPanel.d.ts +17 -0
- package/dist/components/workflow-visualizer/debug/MessageInputPanel.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/debug/MessageStatePanel.d.ts +10 -0
- package/dist/components/workflow-visualizer/debug/MessageStatePanel.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/debug/index.d.ts +6 -0
- package/dist/components/workflow-visualizer/debug/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/hooks/index.d.ts +6 -0
- package/dist/components/workflow-visualizer/hooks/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/hooks/useExpandedState.d.ts +10 -0
- package/dist/components/workflow-visualizer/hooks/useExpandedState.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/hooks/useResizable.d.ts +28 -0
- package/dist/components/workflow-visualizer/hooks/useResizable.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/hooks/useSearch.d.ts +10 -0
- package/dist/components/workflow-visualizer/hooks/useSearch.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/hooks/useTreeNodeDebugState.d.ts +56 -0
- package/dist/components/workflow-visualizer/hooks/useTreeNodeDebugState.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/index.d.ts +10 -0
- package/dist/components/workflow-visualizer/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/utils/folderTree.d.ts +38 -0
- package/dist/components/workflow-visualizer/utils/folderTree.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/utils/index.d.ts +3 -0
- package/dist/components/workflow-visualizer/utils/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/DetailsPanel.d.ts +8 -0
- package/dist/components/workflow-visualizer/views/DetailsPanel.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/ResultPanel.d.ts +16 -0
- package/dist/components/workflow-visualizer/views/ResultPanel.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/RulesListView.d.ts +10 -0
- package/dist/components/workflow-visualizer/views/RulesListView.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/TreeView.d.ts +12 -0
- package/dist/components/workflow-visualizer/views/TreeView.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/WorkflowFlowView.d.ts +14 -0
- package/dist/components/workflow-visualizer/views/WorkflowFlowView.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/detail-views/DataLogicView.d.ts +8 -0
- package/dist/components/workflow-visualizer/views/detail-views/DataLogicView.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/detail-views/MappingContent.d.ts +9 -0
- package/dist/components/workflow-visualizer/views/detail-views/MappingContent.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/detail-views/TaskContent.d.ts +9 -0
- package/dist/components/workflow-visualizer/views/detail-views/TaskContent.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/detail-views/ValidationRuleContent.d.ts +9 -0
- package/dist/components/workflow-visualizer/views/detail-views/ValidationRuleContent.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/detail-views/index.d.ts +5 -0
- package/dist/components/workflow-visualizer/views/detail-views/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/GroupFlowDiagram.d.ts +10 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/GroupFlowDiagram.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/WorkflowFlowDiagram.d.ts +9 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/WorkflowFlowDiagram.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/buildFlowGraph.d.ts +7 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/buildFlowGraph.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/buildGroupFlowGraph.d.ts +7 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/buildGroupFlowGraph.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/index.d.ts +3 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowConditionNode.d.ts +8 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowConditionNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowSkipNode.d.ts +3 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowSkipNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowStartEndNode.d.ts +8 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowStartEndNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowTaskNode.d.ts +10 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowTaskNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowWorkflowGroupNode.d.ts +11 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowWorkflowGroupNode.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/index.d.ts +6 -0
- package/dist/components/workflow-visualizer/views/flow-diagram/nodes/index.d.ts.map +1 -0
- package/dist/components/workflow-visualizer/views/index.d.ts +6 -0
- package/dist/components/workflow-visualizer/views/index.d.ts.map +1 -0
- package/dist/dataflow-ui.css +0 -4942
- package/dist/engines/WasmEngineAdapter.d.ts +23 -0
- package/dist/engines/WasmEngineAdapter.d.ts.map +1 -0
- package/dist/engines/index.d.ts +2 -0
- package/dist/engines/index.d.ts.map +1 -0
- package/dist/index.cjs +204 -29629
- package/dist/index.js +154 -29605
- package/dist/lib.d.ts +14 -0
- package/dist/types/debug.d.ts +221 -0
- package/dist/types/debug.d.ts.map +1 -0
- package/dist/types/debugConfig.d.ts +38 -0
- package/dist/types/debugConfig.d.ts.map +1 -0
- package/dist/types/engine.d.ts +28 -0
- package/dist/types/engine.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/workflow.d.ts +107 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/datalogic_wasm-daWVf40b-DjgvHyxB.cjs +0 -383
- package/dist/datalogic_wasm-daWVf40b-kCXwLQ0R.js +0 -380
- package/dist/index.d.ts +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component, ReactNode, ErrorInfo } from 'react';
|
|
2
|
+
interface ErrorBoundaryProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
fallback?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
interface ErrorBoundaryState {
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error: Error | null;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Error boundary component to catch and display errors in child components
|
|
12
|
+
*/
|
|
13
|
+
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
14
|
+
constructor(props: ErrorBoundaryProps);
|
|
15
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
16
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
17
|
+
render(): ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/common/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;gBACtE,KAAK,EAAE,kBAAkB;IAKrC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,kBAAkB;IAIjE,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI;IAI3D,MAAM,IAAI,SAAS;CA0BpB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface JsonEditorProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onChange: (value: string) => void;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
readOnly?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
theme?: 'light' | 'dark';
|
|
8
|
+
onCursorChange?: (line: number, column: number) => void;
|
|
9
|
+
/** Paths to highlight in the editor (e.g., ["data.user.name", "context.metadata"]) */
|
|
10
|
+
highlightedPaths?: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare function JsonEditor({ value, onChange, readOnly, className, theme, onCursorChange, highlightedPaths, }: JsonEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=JsonEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonEditor.d.ts","sourceRoot":"","sources":["../../../src/components/common/JsonEditor.tsx"],"names":[],"mappings":"AAKA,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAqED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,SAAc,EACd,KAAc,EACd,cAAc,EACd,gBAAgB,GACjB,EAAE,eAAe,2CAmIjB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface JsonViewerProps {
|
|
2
|
+
data: unknown;
|
|
3
|
+
initialExpanded?: boolean;
|
|
4
|
+
maxStringLength?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function JsonViewer({ data, initialExpanded, maxStringLength, className, }: JsonViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=JsonViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonViewer.d.ts","sourceRoot":"","sources":["../../../src/components/common/JsonViewer.tsx"],"names":[],"mappings":"AAGA,UAAU,eAAe;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,eAAuB,EACvB,eAAoB,EACpB,SAAc,GACf,EAAE,eAAe,2CAUjB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface SearchInputProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onChange: (value: string) => void;
|
|
4
|
+
onClear?: () => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function SearchInput({ value, onChange, onClear, placeholder, className, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/common/SearchInput.tsx"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,OAAO,EACP,WAAyB,EACzB,SAAc,GACf,EAAE,gBAAgB,2CAsBlB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Workflow } from '../../types';
|
|
2
|
+
interface StatusBarProps {
|
|
3
|
+
workflows: Workflow[];
|
|
4
|
+
workflowsError: string | null;
|
|
5
|
+
messageError: string | null;
|
|
6
|
+
cursorPosition?: {
|
|
7
|
+
line: number;
|
|
8
|
+
column: number;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function StatusBar({ workflows, workflowsError, messageError, cursorPosition, }: StatusBarProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=StatusBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../src/components/common/StatusBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,UAAU,cAAc;IACtB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD;AAED,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,cAAc,GACf,EAAE,cAAc,2CAwDhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Workflow, Task, JsonLogicValue, Message, MappingItem, ValidationRule } from '../../types';
|
|
2
|
+
import { DebugConfig } from '../../types/debugConfig';
|
|
3
|
+
import { Theme } from './context';
|
|
4
|
+
export type TreeSelectionType = {
|
|
5
|
+
type: 'none';
|
|
6
|
+
} | {
|
|
7
|
+
type: 'folder';
|
|
8
|
+
workflows: Workflow[];
|
|
9
|
+
name: string;
|
|
10
|
+
} | {
|
|
11
|
+
type: 'workflow';
|
|
12
|
+
workflow: Workflow;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'workflow-condition';
|
|
15
|
+
workflow: Workflow;
|
|
16
|
+
condition: JsonLogicValue;
|
|
17
|
+
} | {
|
|
18
|
+
type: 'task';
|
|
19
|
+
task: Task;
|
|
20
|
+
workflow: Workflow;
|
|
21
|
+
} | {
|
|
22
|
+
type: 'task-condition';
|
|
23
|
+
task: Task;
|
|
24
|
+
workflow: Workflow;
|
|
25
|
+
condition: JsonLogicValue;
|
|
26
|
+
} | {
|
|
27
|
+
type: 'mapping';
|
|
28
|
+
task: Task;
|
|
29
|
+
workflow: Workflow;
|
|
30
|
+
mapping: MappingItem;
|
|
31
|
+
mappingIndex: number;
|
|
32
|
+
} | {
|
|
33
|
+
type: 'validation-rule';
|
|
34
|
+
task: Task;
|
|
35
|
+
workflow: Workflow;
|
|
36
|
+
rule: ValidationRule;
|
|
37
|
+
ruleIndex: number;
|
|
38
|
+
};
|
|
39
|
+
export interface WorkflowVisualizerProps {
|
|
40
|
+
/** Array of workflow definitions to display */
|
|
41
|
+
workflows: Workflow[];
|
|
42
|
+
/** Callback when a workflow is selected */
|
|
43
|
+
onWorkflowSelect?: (workflow: Workflow) => void;
|
|
44
|
+
/** Callback when a task is selected */
|
|
45
|
+
onTaskSelect?: (task: Task, workflow: Workflow) => void;
|
|
46
|
+
/** Initial theme setting */
|
|
47
|
+
theme?: Theme;
|
|
48
|
+
/** Class name for the root element */
|
|
49
|
+
className?: string;
|
|
50
|
+
/** Execution result to display in the result panel */
|
|
51
|
+
executionResult?: Message | null;
|
|
52
|
+
/**
|
|
53
|
+
* Debug configuration for integrated debug mode.
|
|
54
|
+
* When enabled, automatically wraps with DebuggerProvider and shows controls.
|
|
55
|
+
*/
|
|
56
|
+
debugConfig?: DebugConfig;
|
|
57
|
+
/**
|
|
58
|
+
* Payload for debugging. Used with debugConfig.
|
|
59
|
+
* Takes precedence over debugConfig.initialPayload.
|
|
60
|
+
*/
|
|
61
|
+
debugPayload?: Record<string, unknown>;
|
|
62
|
+
}
|
|
63
|
+
export declare function WorkflowVisualizer({ workflows, onWorkflowSelect, onTaskSelect, theme, className, executionResult, debugConfig, debugPayload, }: WorkflowVisualizerProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
//# sourceMappingURL=WorkflowVisualizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowVisualizer.d.ts","sourceRoot":"","sources":["../../../src/components/workflow-visualizer/WorkflowVisualizer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAO3D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,oBAAoB,CAAC;AAG5B,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,QAAQ,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACvD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,oBAAoB,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,cAAc,CAAA;CAAE,GAC7E;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,GAChD;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,cAAc,CAAA;CAAE,GACrF;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,WAAW,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,GAC/F;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,cAAc,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAGzG,MAAM,WAAW,uBAAuB;IACtC,+CAA+C;IAC/C,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,2CAA2C;IAC3C,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChD,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxD,4BAA4B;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC;AAqOD,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,KAAgB,EAChB,SAAc,EACd,eAAe,EACf,WAAW,EACX,YAAY,GACb,EAAE,uBAAuB,2CAsCzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JsonLogicValue } from '../../../types';
|
|
2
|
+
interface ConditionBadgeProps {
|
|
3
|
+
condition: JsonLogicValue | undefined;
|
|
4
|
+
className?: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function ConditionBadge({ condition, className, onClick }: ConditionBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ConditionBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/cards/ConditionBadge.tsx"],"names":[],"mappings":"AAIA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,cAAc,GAAG,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAyED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,SAAc,EAAE,OAAO,EAAE,EAAE,mBAAmB,2CAmFzF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface FunctionTypeBadgeProps {
|
|
2
|
+
functionName: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function FunctionTypeBadge({ functionName, className }: FunctionTypeBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=FunctionTypeBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FunctionTypeBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/cards/FunctionTypeBadge.tsx"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,YAAY,EAAE,SAAc,EAAE,EAAE,sBAAsB,2CASzF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Task, Workflow } from '../../../types';
|
|
2
|
+
interface TaskRowProps {
|
|
3
|
+
task: Task;
|
|
4
|
+
workflow: Workflow;
|
|
5
|
+
index: number;
|
|
6
|
+
isHighlighted?: boolean;
|
|
7
|
+
onSelect?: (task: Task, workflow: Workflow) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function TaskRow({ task, workflow, index, isHighlighted, onSelect, }: TaskRowProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=TaskRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskRow.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/cards/TaskRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAA6C,MAAM,gBAAgB,CAAC;AAIhG,UAAU,YAAY;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;CACrD;AAwBD,wBAAgB,OAAO,CAAC,EACtB,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,aAAqB,EACrB,QAAQ,GACT,EAAE,YAAY,2CA+Bd"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Workflow } from '../../../types';
|
|
2
|
+
interface WorkflowCardProps {
|
|
3
|
+
workflow: Workflow;
|
|
4
|
+
isExpanded: boolean;
|
|
5
|
+
onToggle: () => void;
|
|
6
|
+
onTaskSelect?: (task: Workflow['tasks'][0], workflow: Workflow) => void;
|
|
7
|
+
highlightedTaskIds?: Set<string>;
|
|
8
|
+
}
|
|
9
|
+
export declare function WorkflowCard({ workflow, isExpanded, onToggle, onTaskSelect, highlightedTaskIds, }: WorkflowCardProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=WorkflowCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowCard.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/cards/WorkflowCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI/C,UAAU,iBAAiB;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxE,kBAAkB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAClC;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,kBAAkB,GACnB,EAAE,iBAAiB,2CAoFnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/cards/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DebugNodeState } from '../../../types';
|
|
2
|
+
interface DebugStateIconProps {
|
|
3
|
+
state: DebugNodeState;
|
|
4
|
+
conditionResult?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function DebugStateIcon({ state, conditionResult }: DebugStateIconProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=DebugStateIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugStateIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/DebugStateIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,cAAc,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,mBAAmB,kDAwB7E"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TreeSelectionType } from '../WorkflowVisualizer';
|
|
2
|
+
import { FolderTreeNode } from '../utils/folderTree';
|
|
3
|
+
interface FolderNodeProps {
|
|
4
|
+
folder: FolderTreeNode;
|
|
5
|
+
level: number;
|
|
6
|
+
selection: TreeSelectionType;
|
|
7
|
+
onSelect: (selection: TreeSelectionType) => void;
|
|
8
|
+
expandedNodes: Set<string>;
|
|
9
|
+
toggleNode: (id: string) => void;
|
|
10
|
+
debugMode?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function FolderNode({ folder, level, selection, onSelect, expandedNodes, toggleNode, debugMode, }: FolderNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=FolderNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FolderNode.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/FolderNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAc1D,UAAU,eAAe;IACvB,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAiB,GAClB,EAAE,eAAe,2CAwDjB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Workflow, Task } from '../../../types';
|
|
2
|
+
import { TreeSelectionType } from '../WorkflowVisualizer';
|
|
3
|
+
interface TaskNodeProps {
|
|
4
|
+
task: Task;
|
|
5
|
+
workflow: Workflow;
|
|
6
|
+
level: number;
|
|
7
|
+
selection: TreeSelectionType;
|
|
8
|
+
onSelect: (selection: TreeSelectionType) => void;
|
|
9
|
+
expandedNodes: Set<string>;
|
|
10
|
+
toggleNode: (id: string) => void;
|
|
11
|
+
debugMode?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function TaskNode({ task, workflow, level, selection, onSelect, expandedNodes, toggleNode, debugMode, }: TaskNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=TaskNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskNode.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/TaskNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAA+C,MAAM,gBAAgB,CAAC;AAClG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM/D,UAAU,aAAa;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAoFD,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAiB,GAClB,EAAE,aAAa,2CA0Ff"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DebugNodeState } from '../../../types';
|
|
2
|
+
export interface TreeNodeProps {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
iconColor?: string;
|
|
6
|
+
isExpanded?: boolean;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
hasChildren?: boolean;
|
|
9
|
+
level: number;
|
|
10
|
+
onToggle?: () => void;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
/** Debug state for this node */
|
|
14
|
+
debugState?: DebugNodeState | null;
|
|
15
|
+
/** Condition result (for condition nodes) */
|
|
16
|
+
conditionResult?: boolean;
|
|
17
|
+
/** Whether this is the current step */
|
|
18
|
+
isCurrent?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare function TreeNode({ label, icon, iconColor, isExpanded, isSelected, hasChildren, level, onToggle, onClick, children, debugState, conditionResult, isCurrent, }: TreeNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=TreeNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeNode.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/TreeNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGrD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,gCAAgC;IAChC,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uCAAuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,IAAI,EACJ,SAAS,EACT,UAAkB,EAClB,UAAkB,EAClB,WAAmB,EACnB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACV,eAAe,EACf,SAAS,GACV,EAAE,aAAa,2CAoDf"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Workflow } from '../../../types';
|
|
2
|
+
import { TreeSelectionType } from '../WorkflowVisualizer';
|
|
3
|
+
interface WorkflowNodeProps {
|
|
4
|
+
workflow: Workflow;
|
|
5
|
+
level: number;
|
|
6
|
+
selection: TreeSelectionType;
|
|
7
|
+
onSelect: (selection: TreeSelectionType) => void;
|
|
8
|
+
expandedNodes: Set<string>;
|
|
9
|
+
toggleNode: (id: string) => void;
|
|
10
|
+
debugMode?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function WorkflowNode({ workflow, level, selection, onSelect, expandedNodes, toggleNode, debugMode, }: WorkflowNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=WorkflowNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowNode.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/WorkflowNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAkB,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAO/D,UAAU,iBAAiB;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAiB,GAClB,EAAE,iBAAiB,2CAmEnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Color constants for tree icons - VSCode inspired
|
|
3
|
+
*/
|
|
4
|
+
export declare const TREE_COLORS: {
|
|
5
|
+
readonly workflow: "#0078d4";
|
|
6
|
+
readonly condition: "#dcdcaa";
|
|
7
|
+
readonly task: "#c586c0";
|
|
8
|
+
readonly mapping: "#4ec9b0";
|
|
9
|
+
readonly validation: "#ce9178";
|
|
10
|
+
readonly tasks: "#9d9d9d";
|
|
11
|
+
readonly folder: "#dcb67a";
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/colors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;CAQd,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DebugStateIcon } from './DebugStateIcon';
|
|
2
|
+
export { TreeNode } from './TreeNode';
|
|
3
|
+
export type { TreeNodeProps } from './TreeNode';
|
|
4
|
+
export { TaskNode } from './TaskNode';
|
|
5
|
+
export { WorkflowNode } from './WorkflowNode';
|
|
6
|
+
export { FolderNode } from './FolderNode';
|
|
7
|
+
export { TREE_COLORS } from './colors';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const LAYOUT: {
|
|
2
|
+
readonly LEFT_PANEL: {
|
|
3
|
+
readonly DEFAULT: 280;
|
|
4
|
+
readonly MIN: 200;
|
|
5
|
+
readonly MAX: 450;
|
|
6
|
+
};
|
|
7
|
+
readonly APP_PANEL: {
|
|
8
|
+
readonly DEFAULT: 400;
|
|
9
|
+
readonly MIN: 250;
|
|
10
|
+
readonly MAX: 600;
|
|
11
|
+
};
|
|
12
|
+
readonly TREE_HEIGHT_PCT: {
|
|
13
|
+
readonly DEFAULT: 50;
|
|
14
|
+
readonly MIN: 20;
|
|
15
|
+
readonly MAX: 80;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const PLAYBACK: {
|
|
19
|
+
readonly DEFAULT_SPEED_MS: 500;
|
|
20
|
+
readonly MIN_SPEED_MS: 100;
|
|
21
|
+
readonly MAX_SPEED_MS: 2000;
|
|
22
|
+
readonly AUTO_EXECUTE_DEBOUNCE_MS: 500;
|
|
23
|
+
readonly AUTO_SCROLL_DELAY_MS: 50;
|
|
24
|
+
};
|
|
25
|
+
export declare const NODE_IDS: {
|
|
26
|
+
readonly ROOT: "workflows-root";
|
|
27
|
+
readonly workflow: (id: string) => string;
|
|
28
|
+
readonly task: (workflowId: string, taskId: string) => string;
|
|
29
|
+
readonly folder: (path: string) => string;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/workflow-visualizer/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAIT,CAAC;AAGX,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC;AAGX,eAAO,MAAM,QAAQ;;4BAEJ,MAAM;gCACF,MAAM,UAAU,MAAM;4BAC1B,MAAM;CACb,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DebuggerState, DebuggerAction, ExecutionTrace, ExecutionStep, Message, Workflow, EngineFactory, Change } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Context value interface
|
|
5
|
+
*/
|
|
6
|
+
interface DebuggerContextValue {
|
|
7
|
+
state: DebuggerState;
|
|
8
|
+
dispatch: React.Dispatch<DebuggerAction>;
|
|
9
|
+
activate: () => void;
|
|
10
|
+
deactivate: () => void;
|
|
11
|
+
setInputPayload: (payload: Record<string, unknown>) => void;
|
|
12
|
+
executeTrace: (trace: ExecutionTrace) => void;
|
|
13
|
+
startExecution: () => void;
|
|
14
|
+
setExecutionError: (error: string) => void;
|
|
15
|
+
play: () => void;
|
|
16
|
+
pause: () => void;
|
|
17
|
+
stop: () => void;
|
|
18
|
+
reset: () => void;
|
|
19
|
+
stepForward: () => void;
|
|
20
|
+
stepBackward: () => void;
|
|
21
|
+
goToStep: (index: number) => void;
|
|
22
|
+
setSpeed: (speed: number) => void;
|
|
23
|
+
setSkipFailedConditions: (skip: boolean) => void;
|
|
24
|
+
runExecution: (workflows: Workflow[], payload: Record<string, unknown>) => Promise<ExecutionTrace | null>;
|
|
25
|
+
currentStep: ExecutionStep | null;
|
|
26
|
+
currentMessage: Message | null;
|
|
27
|
+
currentChanges: Change[];
|
|
28
|
+
isAtStart: boolean;
|
|
29
|
+
isAtEnd: boolean;
|
|
30
|
+
hasTrace: boolean;
|
|
31
|
+
progress: number;
|
|
32
|
+
totalSteps: number;
|
|
33
|
+
/** Current position within filtered steps (0-indexed), -1 if at ready state */
|
|
34
|
+
currentFilteredPosition: number;
|
|
35
|
+
/** Array of actual step indices that are shown (for navigation) */
|
|
36
|
+
filteredStepIndices: number[];
|
|
37
|
+
isEngineReady: boolean;
|
|
38
|
+
skipFailedConditions: boolean;
|
|
39
|
+
}
|
|
40
|
+
interface DebuggerProviderProps {
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
/** Initial payload to use for debugging */
|
|
43
|
+
initialPayload?: Record<string, unknown>;
|
|
44
|
+
/** Auto-start in debug mode */
|
|
45
|
+
autoActivate?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Factory function to create engine instances when workflows change.
|
|
48
|
+
* Called whenever workflows are updated to create a fresh engine.
|
|
49
|
+
* Use this for custom WASM engines with plugins.
|
|
50
|
+
*/
|
|
51
|
+
engineFactory?: EngineFactory;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Provider component for debugger state
|
|
55
|
+
*/
|
|
56
|
+
export declare function DebuggerProvider({ children, initialPayload, autoActivate, engineFactory, }: DebuggerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
/**
|
|
58
|
+
* Hook to access debugger context
|
|
59
|
+
*/
|
|
60
|
+
export declare function useDebugger(): DebuggerContextValue;
|
|
61
|
+
/**
|
|
62
|
+
* Hook to check if debugger is available (doesn't throw if not in provider)
|
|
63
|
+
*/
|
|
64
|
+
export declare function useDebuggerOptional(): DebuggerContextValue | null;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=DebuggerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebuggerContext.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/context/DebuggerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkF,SAAS,EAAE,MAAM,OAAO,CAAC;AAClH,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,cAAc,EACd,aAAa,EACb,OAAO,EACP,QAAQ,EAER,aAAa,EACd,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAiO7C;;GAEG;AACH,UAAU,oBAAoB;IAC5B,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IAEzC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5D,YAAY,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,uBAAuB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAEjD,YAAY,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAE1G,WAAW,EAAE,aAAa,GAAG,IAAI,CAAC;IAClC,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,uBAAuB,EAAE,MAAM,CAAC;IAChC,mEAAmE;IACnE,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAID,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,cAAc,EACd,YAAoB,EACpB,aAAa,GACd,EAAE,qBAAqB,2CAsNvB;AAED;;GAEG;AACH,wBAAgB,WAAW,yBAM1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,gCAElC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type Theme = 'light' | 'dark' | 'system';
|
|
3
|
+
interface ThemeContextValue {
|
|
4
|
+
theme: Theme;
|
|
5
|
+
resolvedTheme: 'light' | 'dark';
|
|
6
|
+
setTheme: (theme: Theme) => void;
|
|
7
|
+
}
|
|
8
|
+
interface ThemeProviderProps {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
defaultTheme?: Theme;
|
|
11
|
+
}
|
|
12
|
+
export declare function ThemeProvider({ children, defaultTheme }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function useTheme(): ThemeContextValue;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/context/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkD,SAAS,EAAE,MAAM,OAAO,CAAC;AAElF,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEhD,UAAU,iBAAiB;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC;AAWD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,YAAuB,EAAE,EAAE,kBAAkB,2CA4BtF;AAED,wBAAgB,QAAQ,sBAMvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExecutionStep, DebugNodeState } from '../../../types';
|
|
2
|
+
interface DebugInfoBubbleProps {
|
|
3
|
+
/** The execution step to display */
|
|
4
|
+
step: ExecutionStep;
|
|
5
|
+
/** Target element to position near */
|
|
6
|
+
targetRef: React.RefObject<HTMLElement>;
|
|
7
|
+
/** Whether the bubble is visible */
|
|
8
|
+
visible: boolean;
|
|
9
|
+
/** Callback when bubble is closed */
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Tooltip/bubble showing debug step details
|
|
14
|
+
*/
|
|
15
|
+
export declare function DebugInfoBubble({ step, targetRef, visible, onClose, }: DebugInfoBubbleProps): import('react').ReactPortal | null;
|
|
16
|
+
/**
|
|
17
|
+
* Small badge showing debug state on tree nodes
|
|
18
|
+
*/
|
|
19
|
+
interface DebugStateBadgeProps {
|
|
20
|
+
state: DebugNodeState;
|
|
21
|
+
conditionResult?: boolean;
|
|
22
|
+
size?: 'sm' | 'md';
|
|
23
|
+
}
|
|
24
|
+
export declare function DebugStateBadge({ state, conditionResult, size, }: DebugStateBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=DebugInfoBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/debug/DebugInfoBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEpE,UAAU,oBAAoB;IAC5B,oCAAoC;IACpC,IAAI,EAAE,aAAa,CAAC;IACpB,sCAAsC;IACtC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACxC,oCAAoC;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,SAAS,EACT,OAAO,EACP,OAAO,GACR,EAAE,oBAAoB,sCAsGtB;AAkBD;;GAEG;AACH,UAAU,oBAAoB;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,eAAe,EACf,IAAW,GACZ,EAAE,oBAAoB,2CAatB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface DebuggerControlsProps {
|
|
2
|
+
/** Show compact version */
|
|
3
|
+
compact?: boolean;
|
|
4
|
+
/** Additional CSS class */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Playback controls for the debugger
|
|
9
|
+
*/
|
|
10
|
+
export declare function DebuggerControls({ compact, className }: DebuggerControlsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=DebuggerControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebuggerControls.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/debug/DebuggerControls.tsx"],"names":[],"mappings":"AAYA,UAAU,qBAAqB;IAC7B,2BAA2B;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,OAAe,EAAE,SAAc,EAAE,EAAE,qBAAqB,2CAuN1F"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Workflow } from '../../../types';
|
|
2
|
+
interface IntegratedDebugToolbarProps {
|
|
3
|
+
/** Workflows to execute */
|
|
4
|
+
workflows: Workflow[];
|
|
5
|
+
/** Payload for execution */
|
|
6
|
+
payload?: Record<string, unknown>;
|
|
7
|
+
/** Auto-execute on change */
|
|
8
|
+
autoExecute?: boolean;
|
|
9
|
+
/** Callback when execution completes */
|
|
10
|
+
onExecutionComplete?: (trace: import('../../../types').ExecutionTrace) => void;
|
|
11
|
+
/** Callback when execution errors */
|
|
12
|
+
onExecutionError?: (error: string) => void;
|
|
13
|
+
/** Additional CSS class */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Compact debug toolbar for integration into the visualizer header.
|
|
18
|
+
* Includes execution status, step counter, and playback controls.
|
|
19
|
+
*/
|
|
20
|
+
export declare function IntegratedDebugToolbar({ workflows, payload, autoExecute, onExecutionComplete, onExecutionError, className, }: IntegratedDebugToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=IntegratedDebugToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntegratedDebugToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/debug/IntegratedDebugToolbar.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C,UAAU,2BAA2B;IACnC,2BAA2B;IAC3B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,6BAA6B;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wCAAwC;IACxC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,gBAAgB,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/E,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,OAAO,EACP,WAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,SAAc,GACf,EAAE,2BAA2B,2CAmT7B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface MessageInputPanelProps {
|
|
2
|
+
/** Callback to trigger debug execution */
|
|
3
|
+
onExecute: () => void;
|
|
4
|
+
/** Whether execution is in progress */
|
|
5
|
+
isExecuting?: boolean;
|
|
6
|
+
/** Additional CSS class */
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Panel for inputting test payload data
|
|
11
|
+
*
|
|
12
|
+
* Note: This is a simplified version that works with the new ExecutionTrace-based
|
|
13
|
+
* debugging system. The input is a JSON payload that gets processed through workflows.
|
|
14
|
+
*/
|
|
15
|
+
export declare function MessageInputPanel({ onExecute, isExecuting, className, }: MessageInputPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=MessageInputPanel.d.ts.map
|