"use client";
import { Dialog as CommandDialogPrimitive } from "@base-ui/react/dialog";
import { SearchIcon } from "lucide-react";
import type * as React from "react";
import {
Autocomplete,
AutocompleteCollection,
AutocompleteEmpty,
AutocompleteGroup,
AutocompleteGroupLabel,
AutocompleteInput,
AutocompleteItem,
AutocompleteList,
AutocompleteSeparator,
} from "@/components/ui/autocomplete";
import { cn } from "@/lib/utils";
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,
...props
}: CommandDialogPrimitive.Popup.Props) {
return (
{children}
);
}
function Command({
autoHighlight = "always",
keepHighlight = true,
...props
}: React.ComponentProps) {
return (
);
}
function CommandInput({
className,
placeholder = undefined,
...props
}: React.ComponentProps) {
return (
);
}
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 (
);
}
export {
Command,
CommandCollection,
CommandCreateHandle,
CommandDialog,
CommandDialogPopup,
CommandDialogTrigger,
CommandEmpty,
CommandFooter,
CommandGroup,
CommandGroupLabel,
CommandInput,
CommandItem,
CommandList,
CommandPanel,
CommandSeparator,
CommandShortcut,
};