"use client"; import { Dialog as CommandDialogPrimitive } from "@base-ui/react/dialog"; import { SearchIcon } from "lucide-react"; import type * as React from "react"; import { cn } from "~/lib/utils"; import { Autocomplete, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompleteSeparator, } from "~/components/ui/autocomplete"; import { DIALOG_BACKDROP_CLASS, DIALOG_POPUP_CLASS } from "~/components/ui/dialog-styles"; import { Button } from "~/components/ui/button"; const CommandDialog = CommandDialogPrimitive.Root; const CommandDialogPortal = CommandDialogPrimitive.Portal; const CommandCreateHandle = CommandDialogPrimitive.createHandle; function CommandDialogTrigger(props: CommandDialogPrimitive.Trigger.Props) { return ; } function CommandDialogBackdrop({ className, ...props }: CommandDialogPrimitive.Backdrop.Props) { return ( ); } function CommandDialogViewport({ className, ...props }: CommandDialogPrimitive.Viewport.Props) { return ( ); } function CommandDialogPopup({ className, children, onBackdropPointerDown, ...props }: CommandDialogPrimitive.Popup.Props & { onBackdropPointerDown?: React.PointerEventHandler; }) { return ( {children} ); } function Command({ autoHighlight = "always", keepHighlight = true, ...props }: React.ComponentProps) { return ( ); } function CommandInput({ className, wrapperClassName, placeholder, ...props }: React.ComponentProps & { wrapperClassName?: string | undefined; }) { return (
} {...props} />
); } function CommandList({ className, ...props }: React.ComponentProps) { return ( ); } function CommandEmpty({ className, ...props }: React.ComponentProps) { return ( ); } function CommandPanel({ className, ...props }: React.ComponentProps<"div">) { return (
); } function CommandGroup({ className, ...props }: React.ComponentProps) { return ; } function CommandGroupLabel({ className, ...props }: React.ComponentProps) { return ( ); } function CommandCollection({ ...props }: React.ComponentProps) { return ; } function CommandItem({ className, ...props }: React.ComponentProps) { return ( ); } function CommandSeparator({ className, ...props }: React.ComponentProps) { return ( ); } function CommandShortcut({ className, ...props }: React.ComponentProps<"kbd">) { return ( ); } function CommandFooter({ className, ...props }: React.ComponentProps<"div">) { return (
); } function CommandFooterAction({ className, ...props }: Omit, "size" | "variant">) { return (