"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LlmOutputMetadata = exports.WorkflowStatus = exports.SharedInsights = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@chakra-ui/react");
const SharedInsights = ({ insights }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.Box, { bg: "white", borderWidth: "1px", borderRadius: "md", p: 4, boxShadow: "sm", fontFamily: "monospace", whiteSpace: "pre-wrap", wordBreak: "break-word", children: [(0, jsx_runtime_1.jsx)(react_1.Heading, { as: "h2", size: "md", mb: 2, children: "Shared Insights" }), (0, jsx_runtime_1.jsx)(react_1.Text, { children: JSON.stringify(insights, null, 2) })] }));
};
exports.SharedInsights = SharedInsights;
const WorkflowStatus = ({ workflow }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.Box, { bg: "white", borderWidth: "1px", borderRadius: "md", p: 4, boxShadow: "sm", fontFamily: "monospace", whiteSpace: "pre-wrap", wordBreak: "break-word", children: [(0, jsx_runtime_1.jsx)(react_1.Heading, { as: "h2", size: "md", mb: 2, children: "Workflow Status" }), (0, jsx_runtime_1.jsx)(react_1.Text, { children: JSON.stringify(workflow, null, 2) })] }));
};
exports.WorkflowStatus = WorkflowStatus;
const LlmOutputMetadata = ({ output }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.Box, { bg: "white", borderWidth: "1px", borderRadius: "md", p: 4, boxShadow: "sm", fontFamily: "monospace", whiteSpace: "pre-wrap", wordBreak: "break-word", children: [(0, jsx_runtime_1.jsx)(react_1.Heading, { as: "h2", size: "md", mb: 2, children: "LLM Output Metadata" }), (0, jsx_runtime_1.jsx)(react_1.Text, { children: JSON.stringify(output, null, 2) })] }));
};
exports.LlmOutputMetadata = LlmOutputMetadata;
const UnifiedDashboard = ({ sharedInsights, workflowStatus, llmOutput, }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.VStack, { spacing: 4, p: 4, align: "stretch", children: [(0, jsx_runtime_1.jsx)(exports.SharedInsights, { insights: sharedInsights }), (0, jsx_runtime_1.jsx)(exports.WorkflowStatus, { workflow: workflowStatus }), (0, jsx_runtime_1.jsx)(exports.LlmOutputMetadata, { output: llmOutput })] }));
};
exports.default = UnifiedDashboard;
//# sourceMappingURL=UnifiedDashboard.js.map