import { jsx as _jsx } from "react/jsx-runtime";
import { Dialog, DialogContent } from "../../components/ui/dialog";
import { TaskDetailPanel } from "./TaskDetailPanel";
export function TaskDetailDialog(props) {
    const { open, onOpenChange, project, projects = [], task, allTasks, dependencies, onTaskChanged, onSelectTask, } = props;
    return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsx(DialogContent, { className: "max-w-2xl max-h-[90vh] flex flex-col p-0", children: _jsx("div", { className: "flex-1 overflow-hidden min-h-0", children: _jsx(TaskDetailPanel, { project: project, projects: projects, task: task, allTasks: allTasks, dependencies: dependencies, onTaskChanged: onTaskChanged, onSelectTask: onSelectTask, onClose: () => onOpenChange(false), variant: "dialog" }) }) }) }));
}
//# sourceMappingURL=TaskDetailDialog.js.map