"use client"; import type { ReactNode } from "react"; import { CircleDot, CircleDotDashed, CornerDownRight, Disc, Drill, Focus, Grid2X2Plus, LassoSelect, MousePointerClick, Orbit, Radius, SquareDashed, SquareSplitHorizontal, } from "lucide-react"; import { AiSelectionMode, CAD_EDIT_TOOLS } from "@/lib/cad-edit-tools"; const EDIT_TOOL_ICONS = { add_hole: Drill, add_counterbore: CircleDot, add_countersink: CircleDotDashed, add_slot: SquareSplitHorizontal, add_pocket: SquareDashed, add_circular_pocket: Disc, add_hole_pattern: Grid2X2Plus, add_chamfer: CornerDownRight, add_fillet: Radius, }; function ToolbarButton({ label, active = false, disabled = false, children, onClick, }: { label: string; active?: boolean; disabled?: boolean; children: ReactNode; onClick?: () => void; }) { return ( ); } function Divider() { return ; } export function EmbeddedCadEditToolbar({ activeToolId, aiSelectionMode, disabled = false, onSelectTool, onSelectionModeChange, }: { activeToolId: string; aiSelectionMode: AiSelectionMode; disabled?: boolean; onSelectTool: (toolId: string) => void; onSelectionModeChange: (mode: AiSelectionMode) => void; }) { return (