evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build a compact travel preferences widget using the dependency's selection and suggestion controls.
export interface DestinationOption { label: string; value: string; disabled?: boolean; }
export interface InterestOption { label: string; value: string; }
export interface HotelOption { label: string; value: string; }
export interface SelectionSummary {
destination?: string;
interests: string[];
hotel?: string;
}
export interface TravelSelectorProps {
destinations: DestinationOption[];
interests: InterestOption[];
hotels: HotelOption[];
modelValue: SelectionSummary;
}
export interface TravelSelectorEmits {
(e: "update:modelValue", value: SelectionSummary): void;
(e: "select-hotel", value: HotelOption): void;
(e: "reset"): void;
}
declare const TravelSelector: DefineComponent<TravelSelectorProps, {}, {}, {}, {}, {}, {}, TravelSelectorEmits>;
export default TravelSelector;Provides selection and suggestion UI controls.