"use client"; import { CATEGORIES, PROFILES, PROFILE_IDS } from "@transportationer/shared"; import type { CategoryId, TravelMode, ProfileId } from "@transportationer/shared"; const TRAVEL_MODES: Array<{ value: TravelMode; label: string; icon: string }> = [ { value: "walking", label: "Walking", icon: "🚶" }, { value: "cycling", label: "Cycling", icon: "🚲" }, { value: "driving", label: "Driving", icon: "🚗" }, ]; const THRESHOLDS = [5, 8, 10, 12, 15, 20, 25, 30]; interface ControlPanelProps { profile: ProfileId; mode: TravelMode; threshold: number; weights: Record; activeCategory: CategoryId | "composite"; onProfileChange: (p: ProfileId) => void; onModeChange: (m: TravelMode) => void; onThresholdChange: (t: number) => void; onWeightChange: (cat: CategoryId, w: number) => void; onCategoryChange: (cat: CategoryId | "composite") => void; } export function ControlPanel({ profile, mode, threshold, weights, activeCategory, onProfileChange, onModeChange, onThresholdChange, onWeightChange, onCategoryChange, }: ControlPanelProps) { return ( ); }