import { Input } from '@/ui/components/ui/input' import { Label } from '@/ui/components/ui/label' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@/ui/components/ui/select' import { Switch as ShadcnSwitch } from '@/ui/components/ui/switch' import { Textarea } from '@/ui/components/ui/textarea' import React from 'react' import { PROVIDERS } from './constants' import { ThinkingLevel } from './types' import { m } from '@/ui/paraglide/messages.js' // --- Section Header --- export const SectionLabel: React.FC<{ label: string subLabel?: string htmlFor?: string }> = ({ label, subLabel, htmlFor }) => (
{subLabel &&

{subLabel}

}
) // --- Text Input --- interface TextInputProps extends React.ComponentProps { label: string } export const TextInput: React.FC = ({ label, className = '', id, ...props }) => (
) // --- Agent Type Selector --- export const AgentTypeSelector: React.FC<{ value: 'chat' | 'autofill' onChange: (val: 'chat' | 'autofill') => void }> = ({ value, onChange }) => { return (
) } // --- Text Area --- interface TextAreaProps extends React.ComponentProps { label: string subLabel?: string } export const TextArea: React.FC = ({ label, subLabel, className = '', id, ...props }) => (