@goplasmatic/dataflow-ui 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/components/common/ErrorBoundary.d.ts +20 -0
  2. package/dist/components/common/ErrorBoundary.d.ts.map +1 -0
  3. package/dist/components/common/JsonEditor.d.ts +14 -0
  4. package/dist/components/common/JsonEditor.d.ts.map +1 -0
  5. package/dist/components/common/JsonViewer.d.ts +9 -0
  6. package/dist/components/common/JsonViewer.d.ts.map +1 -0
  7. package/dist/components/common/SearchInput.d.ts +10 -0
  8. package/dist/components/common/SearchInput.d.ts.map +1 -0
  9. package/dist/components/common/StatusBar.d.ts +13 -0
  10. package/dist/components/common/StatusBar.d.ts.map +1 -0
  11. package/dist/components/common/index.d.ts +6 -0
  12. package/dist/components/common/index.d.ts.map +1 -0
  13. package/dist/components/workflow-visualizer/WorkflowVisualizer.d.ts +64 -0
  14. package/dist/components/workflow-visualizer/WorkflowVisualizer.d.ts.map +1 -0
  15. package/dist/components/workflow-visualizer/cards/ConditionBadge.d.ts +9 -0
  16. package/dist/components/workflow-visualizer/cards/ConditionBadge.d.ts.map +1 -0
  17. package/dist/components/workflow-visualizer/cards/FunctionTypeBadge.d.ts +7 -0
  18. package/dist/components/workflow-visualizer/cards/FunctionTypeBadge.d.ts.map +1 -0
  19. package/dist/components/workflow-visualizer/cards/TaskRow.d.ts +11 -0
  20. package/dist/components/workflow-visualizer/cards/TaskRow.d.ts.map +1 -0
  21. package/dist/components/workflow-visualizer/cards/WorkflowCard.d.ts +11 -0
  22. package/dist/components/workflow-visualizer/cards/WorkflowCard.d.ts.map +1 -0
  23. package/dist/components/workflow-visualizer/cards/index.d.ts +5 -0
  24. package/dist/components/workflow-visualizer/cards/index.d.ts.map +1 -0
  25. package/dist/components/workflow-visualizer/components/DebugStateIcon.d.ts +8 -0
  26. package/dist/components/workflow-visualizer/components/DebugStateIcon.d.ts.map +1 -0
  27. package/dist/components/workflow-visualizer/components/FolderNode.d.ts +14 -0
  28. package/dist/components/workflow-visualizer/components/FolderNode.d.ts.map +1 -0
  29. package/dist/components/workflow-visualizer/components/TaskNode.d.ts +15 -0
  30. package/dist/components/workflow-visualizer/components/TaskNode.d.ts.map +1 -0
  31. package/dist/components/workflow-visualizer/components/TreeNode.d.ts +21 -0
  32. package/dist/components/workflow-visualizer/components/TreeNode.d.ts.map +1 -0
  33. package/dist/components/workflow-visualizer/components/WorkflowNode.d.ts +14 -0
  34. package/dist/components/workflow-visualizer/components/WorkflowNode.d.ts.map +1 -0
  35. package/dist/components/workflow-visualizer/components/colors.d.ts +13 -0
  36. package/dist/components/workflow-visualizer/components/colors.d.ts.map +1 -0
  37. package/dist/components/workflow-visualizer/components/index.d.ts +8 -0
  38. package/dist/components/workflow-visualizer/components/index.d.ts.map +1 -0
  39. package/dist/components/workflow-visualizer/constants.d.ts +31 -0
  40. package/dist/components/workflow-visualizer/constants.d.ts.map +1 -0
  41. package/dist/components/workflow-visualizer/context/DebuggerContext.d.ts +66 -0
  42. package/dist/components/workflow-visualizer/context/DebuggerContext.d.ts.map +1 -0
  43. package/dist/components/workflow-visualizer/context/ThemeContext.d.ts +15 -0
  44. package/dist/components/workflow-visualizer/context/ThemeContext.d.ts.map +1 -0
  45. package/dist/components/workflow-visualizer/context/index.d.ts +4 -0
  46. package/dist/components/workflow-visualizer/context/index.d.ts.map +1 -0
  47. package/dist/components/workflow-visualizer/debug/DebugInfoBubble.d.ts +26 -0
  48. package/dist/components/workflow-visualizer/debug/DebugInfoBubble.d.ts.map +1 -0
  49. package/dist/components/workflow-visualizer/debug/DebuggerControls.d.ts +12 -0
  50. package/dist/components/workflow-visualizer/debug/DebuggerControls.d.ts.map +1 -0
  51. package/dist/components/workflow-visualizer/debug/IntegratedDebugToolbar.d.ts +22 -0
  52. package/dist/components/workflow-visualizer/debug/IntegratedDebugToolbar.d.ts.map +1 -0
  53. package/dist/components/workflow-visualizer/debug/MessageInputPanel.d.ts +17 -0
  54. package/dist/components/workflow-visualizer/debug/MessageInputPanel.d.ts.map +1 -0
  55. package/dist/components/workflow-visualizer/debug/MessageStatePanel.d.ts +10 -0
  56. package/dist/components/workflow-visualizer/debug/MessageStatePanel.d.ts.map +1 -0
  57. package/dist/components/workflow-visualizer/debug/index.d.ts +6 -0
  58. package/dist/components/workflow-visualizer/debug/index.d.ts.map +1 -0
  59. package/dist/components/workflow-visualizer/hooks/index.d.ts +6 -0
  60. package/dist/components/workflow-visualizer/hooks/index.d.ts.map +1 -0
  61. package/dist/components/workflow-visualizer/hooks/useExpandedState.d.ts +10 -0
  62. package/dist/components/workflow-visualizer/hooks/useExpandedState.d.ts.map +1 -0
  63. package/dist/components/workflow-visualizer/hooks/useResizable.d.ts +28 -0
  64. package/dist/components/workflow-visualizer/hooks/useResizable.d.ts.map +1 -0
  65. package/dist/components/workflow-visualizer/hooks/useSearch.d.ts +10 -0
  66. package/dist/components/workflow-visualizer/hooks/useSearch.d.ts.map +1 -0
  67. package/dist/components/workflow-visualizer/hooks/useTreeNodeDebugState.d.ts +56 -0
  68. package/dist/components/workflow-visualizer/hooks/useTreeNodeDebugState.d.ts.map +1 -0
  69. package/dist/components/workflow-visualizer/index.d.ts +10 -0
  70. package/dist/components/workflow-visualizer/index.d.ts.map +1 -0
  71. package/dist/components/workflow-visualizer/utils/folderTree.d.ts +38 -0
  72. package/dist/components/workflow-visualizer/utils/folderTree.d.ts.map +1 -0
  73. package/dist/components/workflow-visualizer/utils/index.d.ts +3 -0
  74. package/dist/components/workflow-visualizer/utils/index.d.ts.map +1 -0
  75. package/dist/components/workflow-visualizer/views/DetailsPanel.d.ts +8 -0
  76. package/dist/components/workflow-visualizer/views/DetailsPanel.d.ts.map +1 -0
  77. package/dist/components/workflow-visualizer/views/ResultPanel.d.ts +16 -0
  78. package/dist/components/workflow-visualizer/views/ResultPanel.d.ts.map +1 -0
  79. package/dist/components/workflow-visualizer/views/RulesListView.d.ts +10 -0
  80. package/dist/components/workflow-visualizer/views/RulesListView.d.ts.map +1 -0
  81. package/dist/components/workflow-visualizer/views/TreeView.d.ts +12 -0
  82. package/dist/components/workflow-visualizer/views/TreeView.d.ts.map +1 -0
  83. package/dist/components/workflow-visualizer/views/WorkflowFlowView.d.ts +14 -0
  84. package/dist/components/workflow-visualizer/views/WorkflowFlowView.d.ts.map +1 -0
  85. package/dist/components/workflow-visualizer/views/detail-views/DataLogicView.d.ts +8 -0
  86. package/dist/components/workflow-visualizer/views/detail-views/DataLogicView.d.ts.map +1 -0
  87. package/dist/components/workflow-visualizer/views/detail-views/MappingContent.d.ts +9 -0
  88. package/dist/components/workflow-visualizer/views/detail-views/MappingContent.d.ts.map +1 -0
  89. package/dist/components/workflow-visualizer/views/detail-views/TaskContent.d.ts +9 -0
  90. package/dist/components/workflow-visualizer/views/detail-views/TaskContent.d.ts.map +1 -0
  91. package/dist/components/workflow-visualizer/views/detail-views/ValidationRuleContent.d.ts +9 -0
  92. package/dist/components/workflow-visualizer/views/detail-views/ValidationRuleContent.d.ts.map +1 -0
  93. package/dist/components/workflow-visualizer/views/detail-views/index.d.ts +5 -0
  94. package/dist/components/workflow-visualizer/views/detail-views/index.d.ts.map +1 -0
  95. package/dist/components/workflow-visualizer/views/flow-diagram/GroupFlowDiagram.d.ts +10 -0
  96. package/dist/components/workflow-visualizer/views/flow-diagram/GroupFlowDiagram.d.ts.map +1 -0
  97. package/dist/components/workflow-visualizer/views/flow-diagram/WorkflowFlowDiagram.d.ts +9 -0
  98. package/dist/components/workflow-visualizer/views/flow-diagram/WorkflowFlowDiagram.d.ts.map +1 -0
  99. package/dist/components/workflow-visualizer/views/flow-diagram/buildFlowGraph.d.ts +7 -0
  100. package/dist/components/workflow-visualizer/views/flow-diagram/buildFlowGraph.d.ts.map +1 -0
  101. package/dist/components/workflow-visualizer/views/flow-diagram/buildGroupFlowGraph.d.ts +7 -0
  102. package/dist/components/workflow-visualizer/views/flow-diagram/buildGroupFlowGraph.d.ts.map +1 -0
  103. package/dist/components/workflow-visualizer/views/flow-diagram/index.d.ts +3 -0
  104. package/dist/components/workflow-visualizer/views/flow-diagram/index.d.ts.map +1 -0
  105. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowConditionNode.d.ts +8 -0
  106. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowConditionNode.d.ts.map +1 -0
  107. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowSkipNode.d.ts +3 -0
  108. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowSkipNode.d.ts.map +1 -0
  109. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowStartEndNode.d.ts +8 -0
  110. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowStartEndNode.d.ts.map +1 -0
  111. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowTaskNode.d.ts +10 -0
  112. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowTaskNode.d.ts.map +1 -0
  113. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowWorkflowGroupNode.d.ts +11 -0
  114. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/FlowWorkflowGroupNode.d.ts.map +1 -0
  115. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/index.d.ts +6 -0
  116. package/dist/components/workflow-visualizer/views/flow-diagram/nodes/index.d.ts.map +1 -0
  117. package/dist/components/workflow-visualizer/views/index.d.ts +6 -0
  118. package/dist/components/workflow-visualizer/views/index.d.ts.map +1 -0
  119. package/dist/engines/WasmEngineAdapter.d.ts +23 -0
  120. package/dist/engines/WasmEngineAdapter.d.ts.map +1 -0
  121. package/dist/engines/index.d.ts +2 -0
  122. package/dist/engines/index.d.ts.map +1 -0
  123. package/dist/lib.d.ts +14 -0
  124. package/dist/types/debug.d.ts +221 -0
  125. package/dist/types/debug.d.ts.map +1 -0
  126. package/dist/types/debugConfig.d.ts +38 -0
  127. package/dist/types/debugConfig.d.ts.map +1 -0
  128. package/dist/types/engine.d.ts +28 -0
  129. package/dist/types/engine.d.ts.map +1 -0
  130. package/dist/types/index.d.ts +5 -0
  131. package/dist/types/index.d.ts.map +1 -0
  132. package/dist/types/workflow.d.ts +107 -0
  133. package/dist/types/workflow.d.ts.map +1 -0
  134. package/package.json +3 -3
  135. package/dist/index.d.ts +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageInputPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/debug/MessageInputPanel.tsx"],"names":[],"mappings":"AAIA,UAAU,sBAAsB;IAC9B,0CAA0C;IAC1C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,WAAmB,EACnB,SAAc,GACf,EAAE,sBAAsB,2CAwLxB"}
@@ -0,0 +1,10 @@
1
+ interface MessageStatePanelProps {
2
+ /** Additional CSS class */
3
+ className?: string;
4
+ }
5
+ /**
6
+ * Panel showing message state at current execution step
7
+ */
8
+ export declare function MessageStatePanel({ className }: MessageStatePanelProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=MessageStatePanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageStatePanel.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/debug/MessageStatePanel.tsx"],"names":[],"mappings":"AAMA,UAAU,sBAAsB;IAC9B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,SAAc,EAAE,EAAE,sBAAsB,2CA8D3E"}
@@ -0,0 +1,6 @@
1
+ export { DebuggerControls } from './DebuggerControls';
2
+ export { MessageInputPanel } from './MessageInputPanel';
3
+ export { MessageStatePanel } from './MessageStatePanel';
4
+ export { DebugInfoBubble, DebugStateBadge } from './DebugInfoBubble';
5
+ export { IntegratedDebugToolbar } from './IntegratedDebugToolbar';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/debug/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { useSearch } from './useSearch';
2
+ export { useExpandedState } from './useExpandedState';
3
+ export { useResizable } from './useResizable';
4
+ export { useTreeNodeDebugState, useWorkflowDebugState, useWorkflowConditionDebugState, useTaskDebugState, useTaskConditionDebugState, useMappingDebugState, useValidationRuleDebugState, } from './useTreeNodeDebugState';
5
+ export type { TreeNodeDebugState } from './useTreeNodeDebugState';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,8BAA8B,EAC9B,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare function useExpandedState(initialExpanded?: string[]): {
2
+ isExpanded: (id: string) => boolean;
3
+ toggle: (id: string) => void;
4
+ expand: (id: string) => void;
5
+ collapse: (id: string) => void;
6
+ expandAll: (ids: string[]) => void;
7
+ collapseAll: () => void;
8
+ expandedIds: Set<string>;
9
+ };
10
+ //# sourceMappingURL=useExpandedState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExpandedState.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/hooks/useExpandedState.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,eAAe,GAAE,MAAM,EAAO;qBAMtD,MAAM;iBAImB,MAAM;iBAYN,MAAM;mBAIJ,MAAM;qBAQJ,MAAM,EAAE;;;EAiB7C"}
@@ -0,0 +1,28 @@
1
+ import { RefObject } from 'react';
2
+ interface UseResizableOptions {
3
+ /** Ref to the container element used for position calculations */
4
+ containerRef: RefObject<HTMLElement | null>;
5
+ /** Direction of resize: 'horizontal' measures clientX, 'vertical' measures clientY as percentage */
6
+ direction: 'horizontal' | 'vertical';
7
+ /** Minimum size (px for horizontal, % for vertical) */
8
+ min: number;
9
+ /** Maximum size (px for horizontal, % for vertical) */
10
+ max: number;
11
+ /** Initial size (px for horizontal, % for vertical) */
12
+ initial: number;
13
+ }
14
+ interface UseResizableReturn {
15
+ /** Current size value (px for horizontal, % for vertical) */
16
+ size: number;
17
+ /** Whether the user is currently dragging */
18
+ isDragging: boolean;
19
+ /** Mouse down handler to attach to the divider element */
20
+ onMouseDown: (e: React.MouseEvent) => void;
21
+ }
22
+ /**
23
+ * Hook that encapsulates drag-to-resize logic for panels.
24
+ * Handles document-level mousemove/mouseup listeners and cleanup.
25
+ */
26
+ export declare function useResizable({ containerRef, direction, min, max, initial, }: UseResizableOptions): UseResizableReturn;
27
+ export {};
28
+ //# sourceMappingURL=useResizable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useResizable.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/hooks/useResizable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpE,UAAU,mBAAmB;IAC3B,kEAAkE;IAClE,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5C,oGAAoG;IACpG,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;IACrC,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,uDAAuD;IACvD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,kBAAkB;IAC1B,6DAA6D;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,UAAU,EAAE,OAAO,CAAC;IACpB,0DAA0D;IAC1D,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CAC5C;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAC3B,YAAY,EACZ,SAAS,EACT,GAAG,EACH,GAAG,EACH,OAAO,GACR,EAAE,mBAAmB,GAAG,kBAAkB,CAuC1C"}
@@ -0,0 +1,10 @@
1
+ import { Workflow } from '../../../types';
2
+ export declare function useSearch(workflows: Workflow[]): {
3
+ searchQuery: string;
4
+ setSearchQuery: import('react').Dispatch<import('react').SetStateAction<string>>;
5
+ clearSearch: () => void;
6
+ filteredWorkflows: Workflow[];
7
+ matchedTaskIds: Set<string>;
8
+ hasActiveSearch: boolean;
9
+ };
10
+ //# sourceMappingURL=useSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/hooks/useSearch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAkB/C,wBAAgB,SAAS,CAAC,SAAS,EAAE,QAAQ,EAAE;;;;;;;EA6D9C"}
@@ -0,0 +1,56 @@
1
+ import { Workflow, Task, DebugNodeState } from '../../../types';
2
+ /**
3
+ * Result of the debug state hook for a tree node
4
+ */
5
+ export interface TreeNodeDebugState {
6
+ /** Current debug state of this node */
7
+ state: DebugNodeState | null;
8
+ /** Whether this node is the current step being viewed */
9
+ isCurrent: boolean;
10
+ /** Whether this node has been executed (or is being executed) */
11
+ isExecuted: boolean;
12
+ /** Whether this node was skipped due to condition */
13
+ isSkipped: boolean;
14
+ /** Whether this node had an error */
15
+ hasError: boolean;
16
+ /** Condition result if this is a condition node */
17
+ conditionResult?: boolean;
18
+ }
19
+ /**
20
+ * Hook to get debug state for a workflow node
21
+ * Note: Workflows never show as 'current' - only tasks do
22
+ */
23
+ export declare function useWorkflowDebugState(workflow: Workflow): TreeNodeDebugState;
24
+ /**
25
+ * Hook to get debug state for a workflow condition node
26
+ * Note: In the simplified trace format, workflow conditions are implicit
27
+ * A workflow skip step indicates the condition was false
28
+ */
29
+ export declare function useWorkflowConditionDebugState(workflow: Workflow): TreeNodeDebugState;
30
+ /**
31
+ * Hook to get debug state for a task node
32
+ */
33
+ export declare function useTaskDebugState(task: Task, workflow: Workflow): TreeNodeDebugState;
34
+ /**
35
+ * Hook to get debug state for a task condition node
36
+ * Note: In the simplified trace format, task conditions are implicit
37
+ * A task skip step indicates the condition was false
38
+ */
39
+ export declare function useTaskConditionDebugState(task: Task, workflow: Workflow): TreeNodeDebugState;
40
+ /**
41
+ * Hook to get debug state for a mapping node within a task
42
+ */
43
+ export declare function useMappingDebugState(task: Task, workflow: Workflow, _mappingIndex: number): TreeNodeDebugState;
44
+ /**
45
+ * Hook to get debug state for a validation rule node within a task
46
+ */
47
+ export declare function useValidationRuleDebugState(task: Task, workflow: Workflow, ruleIndex: number): TreeNodeDebugState;
48
+ /**
49
+ * Generic hook to get debug state for any node type
50
+ */
51
+ export declare function useTreeNodeDebugState(options: {
52
+ type: 'workflow' | 'workflow-condition' | 'task' | 'task-condition' | 'mapping' | 'validation-rule';
53
+ workflow: Workflow;
54
+ task?: Task;
55
+ }): TreeNodeDebugState;
56
+ //# sourceMappingURL=useTreeNodeDebugState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTreeNodeDebugState.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/hooks/useTreeNodeDebugState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIrE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,uCAAuC;IACvC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,yDAAyD;IACzD,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,UAAU,EAAE,OAAO,CAAC;IACpB,qDAAqD;IACrD,SAAS,EAAE,OAAO,CAAC;IACnB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,mDAAmD;IACnD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAaD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,kBAAkB,CA2B5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,QAAQ,GAAG,kBAAkB,CAmDrF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAG,kBAAkB,CAmCpF;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAG,kBAAkB,CAyD7F;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,GAAG,kBAAkB,CAkC9G;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,GAAG,kBAAkB,CAuDjH;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE;IAC7C,IAAI,EAAE,UAAU,GAAG,oBAAoB,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,CAAC;IACpG,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,kBAAkB,CAyBrB"}
@@ -0,0 +1,10 @@
1
+ export { WorkflowVisualizer } from './WorkflowVisualizer';
2
+ export type { WorkflowVisualizerProps, TreeSelectionType, } from './WorkflowVisualizer';
3
+ export { ThemeProvider, useTheme, DebuggerProvider, useDebugger, useDebuggerOptional } from './context';
4
+ export type { Theme } from './context';
5
+ export { WorkflowCard, TaskRow, FunctionTypeBadge, ConditionBadge } from './cards';
6
+ export { RulesListView, WorkflowFlowView, TreeView } from './views';
7
+ export { DebuggerControls, MessageInputPanel, MessageStatePanel, DebugInfoBubble, DebugStateBadge } from './debug';
8
+ export { useTreeNodeDebugState, useWorkflowDebugState, useWorkflowConditionDebugState, useTaskDebugState, useTaskConditionDebugState, } from './hooks';
9
+ export type { TreeNodeDebugState } from './hooks';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/workflow-visualizer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EACV,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACxG,YAAY,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACnH,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,8BAA8B,EAC9B,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { Workflow } from '../../../types';
2
+ /**
3
+ * Represents a folder node in the tree hierarchy
4
+ */
5
+ export interface FolderTreeNode {
6
+ /** Segment name (e.g., "processing") */
7
+ name: string;
8
+ /** Full path (e.g., "orders/processing") */
9
+ fullPath: string;
10
+ /** Child folders */
11
+ folders: Map<string, FolderTreeNode>;
12
+ /** Workflows directly in this folder */
13
+ workflows: Workflow[];
14
+ /** Total workflow count including nested folders */
15
+ totalWorkflowCount: number;
16
+ }
17
+ /**
18
+ * Represents the root-level folder tree
19
+ */
20
+ export interface FolderTree {
21
+ /** Root-level folders */
22
+ folders: Map<string, FolderTreeNode>;
23
+ /** Root-level workflows (no path) */
24
+ workflows: Workflow[];
25
+ }
26
+ /**
27
+ * Builds a folder tree from a list of workflows
28
+ */
29
+ export declare function buildFolderTree(workflows: Workflow[]): FolderTree;
30
+ /**
31
+ * Gets the IDs of first-level folders for default expansion
32
+ */
33
+ export declare function getFirstLevelFolderIds(tree: FolderTree): string[];
34
+ /**
35
+ * Gets all parent folder IDs for a given path
36
+ */
37
+ export declare function getParentFolderIds(path: string | undefined): string[];
38
+ //# sourceMappingURL=folderTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folderTree.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/utils/folderTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG/C;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB;IACpB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACrC,wCAAwC;IACxC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,oDAAoD;IACpD,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,yBAAyB;IACzB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACrC,qCAAqC;IACrC,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB;AAyCD;;GAEG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,UAAU,CA+CjE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,EAAE,CAEjE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAarE"}
@@ -0,0 +1,3 @@
1
+ export { buildFolderTree, getFirstLevelFolderIds, getParentFolderIds, } from './folderTree';
2
+ export type { FolderTreeNode, FolderTree } from './folderTree';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { TreeSelectionType } from '../WorkflowVisualizer';
2
+ interface DetailsPanelProps {
3
+ selection: TreeSelectionType;
4
+ onSelect?: (selection: TreeSelectionType) => void;
5
+ }
6
+ export declare function DetailsPanel({ selection, onSelect }: DetailsPanelProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=DetailsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/views/DetailsPanel.tsx"],"names":[],"mappings":"AACA,OAAO,8BAA8B,CAAC;AACtC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAW/D,UAAU,iBAAiB;IACzB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACnD;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CA0EtE"}
@@ -0,0 +1,16 @@
1
+ import { Message, Change } from '../../../types';
2
+ interface ResultPanelProps {
3
+ /** The message to display */
4
+ displayMessage: Message;
5
+ /** Current step index (-1 means ready state) */
6
+ currentStepIndex: number;
7
+ /** Changes at the current step */
8
+ currentChanges: Change[];
9
+ /** Theme for the editor */
10
+ theme: 'light' | 'dark';
11
+ /** Whether we're displaying debug trace data */
12
+ hasDebugTrace: boolean;
13
+ }
14
+ export declare function ResultPanel({ displayMessage, currentStepIndex, currentChanges, theme, hasDebugTrace, }: ResultPanelProps): import("react/jsx-runtime").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=ResultPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResultPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/views/ResultPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGtD,UAAU,gBAAgB;IACxB,6BAA6B;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,gDAAgD;IAChD,gBAAgB,EAAE,MAAM,CAAC;IACzB,kCAAkC;IAClC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,2BAA2B;IAC3B,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,gDAAgD;IAChD,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,WAAW,CAAC,EAC1B,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,KAAK,EACL,aAAa,GACd,EAAE,gBAAgB,2CAkClB"}
@@ -0,0 +1,10 @@
1
+ import { Workflow, Task } from '../../../types';
2
+ interface RulesListViewProps {
3
+ workflows: Workflow[];
4
+ highlightedTaskIds?: Set<string>;
5
+ onTaskSelect?: (task: Task, workflow: Workflow) => void;
6
+ defaultExpandedIds?: string[];
7
+ }
8
+ export declare function RulesListView({ workflows, highlightedTaskIds, onTaskSelect, defaultExpandedIds, }: RulesListViewProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=RulesListView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RulesListView.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/views/RulesListView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAIrD,UAAU,kBAAkB;IAC1B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,kBAAkB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxD,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,GACnB,EAAE,kBAAkB,2CAiDpB"}
@@ -0,0 +1,12 @@
1
+ import { Workflow } from '../../../types';
2
+ import { TreeSelectionType } from '../WorkflowVisualizer';
3
+ interface TreeViewProps {
4
+ workflows: Workflow[];
5
+ selection: TreeSelectionType;
6
+ onSelect: (selection: TreeSelectionType) => void;
7
+ /** Enable debug mode with state indicators */
8
+ debugMode?: boolean;
9
+ }
10
+ export declare function TreeView({ workflows, selection, onSelect, debugMode }: TreeViewProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=TreeView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/views/TreeView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM/D,UAAU,aAAa;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,8CAA8C;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAiB,EAAE,EAAE,aAAa,2CAsL5F"}
@@ -0,0 +1,14 @@
1
+ import { Workflow, Task } from '../../../types';
2
+ import { TreeSelectionType } from '../WorkflowVisualizer';
3
+ interface WorkflowFlowViewProps {
4
+ workflows: Workflow[];
5
+ onTaskSelect?: (task: Task, workflow: Workflow) => void;
6
+ onWorkflowSelect?: (workflow: Workflow) => void;
7
+ onWorkflowConditionClick?: (workflow: Workflow) => void;
8
+ onTaskConditionClick?: (task: Task, workflow: Workflow) => void;
9
+ selection?: TreeSelectionType;
10
+ highlightedTaskIds?: Set<string>;
11
+ }
12
+ export declare function WorkflowFlowView({ workflows, onTaskSelect, onWorkflowSelect, onWorkflowConditionClick, onTaskConditionClick, selection, highlightedTaskIds, }: WorkflowFlowViewProps): import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=WorkflowFlowView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowFlowView.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/views/WorkflowFlowView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAkB,MAAM,gBAAgB,CAAC;AAErE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,UAAU,qBAAqB;IAC7B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxD,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChD,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACxD,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChE,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,kBAAkB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAClC;AA+BD,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,SAAS,EACT,kBAAkB,GACnB,EAAE,qBAAqB,2CAuGvB"}
@@ -0,0 +1,8 @@
1
+ import { JsonLogicValue } from '../../../../types';
2
+ interface DataLogicViewProps {
3
+ value: JsonLogicValue;
4
+ data?: Record<string, unknown>;
5
+ }
6
+ export declare function DataLogicView({ value, data }: DataLogicViewProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=DataLogicView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataLogicView.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/detail-views/DataLogicView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,cAAc,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,kBAAkB,2CAgBhE"}
@@ -0,0 +1,9 @@
1
+ import { TreeSelectionType } from '../../WorkflowVisualizer';
2
+ interface MappingContentProps {
3
+ selection: Extract<TreeSelectionType, {
4
+ type: 'mapping';
5
+ }>;
6
+ }
7
+ export declare function MappingContent({ selection }: MappingContentProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=MappingContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MappingContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/detail-views/MappingContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC,iBAAiB,EAAE;QAAE,IAAI,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;CAC5D;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,EAAE,mBAAmB,2CAoChE"}
@@ -0,0 +1,9 @@
1
+ import { TreeSelectionType } from '../../WorkflowVisualizer';
2
+ interface TaskContentProps {
3
+ selection: Extract<TreeSelectionType, {
4
+ type: 'task';
5
+ }>;
6
+ }
7
+ export declare function TaskContent({ selection }: TaskContentProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=TaskContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/detail-views/TaskContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAIlE,UAAU,gBAAgB;IACxB,SAAS,EAAE,OAAO,CAAC,iBAAiB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzD;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CA+E1D"}
@@ -0,0 +1,9 @@
1
+ import { TreeSelectionType } from '../../WorkflowVisualizer';
2
+ interface ValidationRuleContentProps {
3
+ selection: Extract<TreeSelectionType, {
4
+ type: 'validation-rule';
5
+ }>;
6
+ }
7
+ export declare function ValidationRuleContent({ selection }: ValidationRuleContentProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=ValidationRuleContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationRuleContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/detail-views/ValidationRuleContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,0BAA0B;IAClC,SAAS,EAAE,OAAO,CAAC,iBAAiB,EAAE;QAAE,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAAC,CAAC;CACpE;AAED,wBAAgB,qBAAqB,CAAC,EAAE,SAAS,EAAE,EAAE,0BAA0B,2CAgC9E"}
@@ -0,0 +1,5 @@
1
+ export { DataLogicView } from './DataLogicView';
2
+ export { TaskContent } from './TaskContent';
3
+ export { MappingContent } from './MappingContent';
4
+ export { ValidationRuleContent } from './ValidationRuleContent';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/detail-views/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Workflow } from '../../../../types';
2
+ import { TreeSelectionType } from '../../WorkflowVisualizer';
3
+ interface GroupFlowDiagramProps {
4
+ workflows: Workflow[];
5
+ name: string;
6
+ onSelect: (selection: TreeSelectionType) => void;
7
+ }
8
+ export declare function GroupFlowDiagram({ workflows, name: _name, onSelect }: GroupFlowDiagramProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=GroupFlowDiagram.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupFlowDiagram.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/flow-diagram/GroupFlowDiagram.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAkB,MAAM,mBAAmB,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAYlE,UAAU,qBAAqB;IAC7B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAClD;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAsD3F"}
@@ -0,0 +1,9 @@
1
+ import { Workflow } from '../../../../types';
2
+ import { TreeSelectionType } from '../../WorkflowVisualizer';
3
+ interface WorkflowFlowDiagramProps {
4
+ workflow: Workflow;
5
+ onSelect: (selection: TreeSelectionType) => void;
6
+ }
7
+ export declare function WorkflowFlowDiagram({ workflow, onSelect }: WorkflowFlowDiagramProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=WorkflowFlowDiagram.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowFlowDiagram.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/flow-diagram/WorkflowFlowDiagram.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAwB,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAYlE,UAAU,wBAAwB;IAChC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAClD;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,wBAAwB,2CAgEnF"}
@@ -0,0 +1,7 @@
1
+ import { Node, Edge } from '@xyflow/react';
2
+ import { Workflow } from '../../../../types';
3
+ export declare function buildFlowGraph(workflow: Workflow): {
4
+ nodes: Node[];
5
+ edges: Edge[];
6
+ };
7
+ //# sourceMappingURL=buildFlowGraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildFlowGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/flow-diagram/buildFlowGraph.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAYlD,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG;IAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CAyXnF"}
@@ -0,0 +1,7 @@
1
+ import { Node, Edge } from '@xyflow/react';
2
+ import { Workflow } from '../../../../types';
3
+ export declare function buildGroupFlowGraph(workflows: Workflow[]): {
4
+ nodes: Node[];
5
+ edges: Edge[];
6
+ };
7
+ //# sourceMappingURL=buildGroupFlowGraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildGroupFlowGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/flow-diagram/buildGroupFlowGraph.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAYlD,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG;IAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CA6L3F"}
@@ -0,0 +1,3 @@
1
+ export { WorkflowFlowDiagram } from './WorkflowFlowDiagram';
2
+ export { GroupFlowDiagram } from './GroupFlowDiagram';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/workflow-visualizer/views/flow-diagram/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ export interface FlowConditionData {
3
+ label: string;
4
+ conditionType: 'workflow' | 'task';
5
+ [key: string]: unknown;
6
+ }
7
+ export declare const FlowConditionNode: import('react').MemoExoticComponent<({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element>;
8
+ //# sourceMappingURL=FlowConditionNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowConditionNode.d.ts","sourceRoot":"","sources":["../../../../../../src/components/workflow-visualizer/views/flow-diagram/nodes/FlowConditionNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,UAAU,GAAG,MAAM,CAAC;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,iDAA6C,SAAS,6CAgBlF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ export declare const FlowSkipNode: import('react').MemoExoticComponent<({ data: _data }: NodeProps) => import("react/jsx-runtime").JSX.Element>;
3
+ //# sourceMappingURL=FlowSkipNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowSkipNode.d.ts","sourceRoot":"","sources":["../../../../../../src/components/workflow-visualizer/views/flow-diagram/nodes/FlowSkipNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjE,eAAO,MAAM,YAAY,wDAA+C,SAAS,6CAS/E,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ export interface FlowStartEndData {
3
+ label: string;
4
+ variant: 'start' | 'end';
5
+ [key: string]: unknown;
6
+ }
7
+ export declare const FlowStartEndNode: import('react').MemoExoticComponent<({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element>;
8
+ //# sourceMappingURL=FlowStartEndNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowStartEndNode.d.ts","sourceRoot":"","sources":["../../../../../../src/components/workflow-visualizer/views/flow-diagram/nodes/FlowStartEndNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,GAAG,KAAK,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,iDAA4C,SAAS,6CAchF,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ export interface FlowTaskData {
3
+ taskName: string;
4
+ functionName: string;
5
+ description?: string;
6
+ continueOnError?: boolean;
7
+ [key: string]: unknown;
8
+ }
9
+ export declare const FlowTaskNode: import('react').MemoExoticComponent<({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element>;
10
+ //# sourceMappingURL=FlowTaskNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowTaskNode.d.ts","sourceRoot":"","sources":["../../../../../../src/components/workflow-visualizer/views/flow-diagram/nodes/FlowTaskNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAIjE,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,iDAAwC,SAAS,6CAuBxE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ export interface FlowWorkflowGroupData {
3
+ workflowName: string;
4
+ priority?: number;
5
+ taskCount: number;
6
+ hasCondition: boolean;
7
+ workflowId: string;
8
+ [key: string]: unknown;
9
+ }
10
+ export declare const FlowWorkflowGroupNode: import('react').MemoExoticComponent<({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element>;
11
+ //# sourceMappingURL=FlowWorkflowGroupNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowWorkflowGroupNode.d.ts","sourceRoot":"","sources":["../../../../../../src/components/workflow-visualizer/views/flow-diagram/nodes/FlowWorkflowGroupNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjE,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,iDAAiD,SAAS,6CAyB1F,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { FlowStartEndNode } from './FlowStartEndNode';
2
+ export { FlowConditionNode } from './FlowConditionNode';
3
+ export { FlowTaskNode } from './FlowTaskNode';
4
+ export { FlowSkipNode } from './FlowSkipNode';
5
+ export { FlowWorkflowGroupNode } from './FlowWorkflowGroupNode';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/workflow-visualizer/views/flow-diagram/nodes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { RulesListView } from './RulesListView';
2
+ export { WorkflowFlowView } from './WorkflowFlowView';
3
+ export { DetailsPanel } from './DetailsPanel';
4
+ export { TreeView } from './TreeView';
5
+ export { ResultPanel } from './ResultPanel';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/workflow-visualizer/views/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { DataflowEngine, EngineFactory } from '../types/engine';
2
+ import { ExecutionTrace } from '../types/debug';
3
+ import { Workflow } from '../types/workflow';
4
+ /**
5
+ * Default WASM engine adapter implementing the DataflowEngine interface.
6
+ *
7
+ * This adapter wraps the @goplasmatic/dataflow-wasm package to provide
8
+ * the standard workflow execution capability.
9
+ */
10
+ export declare class WasmEngineAdapter implements DataflowEngine {
11
+ private engine;
12
+ constructor(workflows: Workflow[]);
13
+ processWithTrace(payload: Record<string, unknown>): Promise<ExecutionTrace>;
14
+ dispose(): void;
15
+ }
16
+ /**
17
+ * Default engine factory that creates WasmEngineAdapter instances.
18
+ *
19
+ * Use this as the engineFactory prop for DebuggerProvider when you want
20
+ * the standard WASM-based execution.
21
+ */
22
+ export declare const defaultEngineFactory: EngineFactory;
23
+ //# sourceMappingURL=WasmEngineAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WasmEngineAdapter.d.ts","sourceRoot":"","sources":["../../src/engines/WasmEngineAdapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;;GAKG;AACH,qBAAa,iBAAkB,YAAW,cAAc;IACtD,OAAO,CAAC,MAAM,CAAa;gBAEf,SAAS,EAAE,QAAQ,EAAE;IAK3B,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC;IAMjF,OAAO,IAAI,IAAI;CAGhB;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,aACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { WasmEngineAdapter, defaultEngineFactory } from './WasmEngineAdapter';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}