/*
Copyright (C) 2023-2026 QuantumNous
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
For commercial licensing, please contact support@quantumnous.com
*/
'use client'
import * as React from 'react'
import { SearchIcon, Tick02Icon } from '@hugeicons/core-free-icons'
import { HugeiconsIcon } from '@hugeicons/react'
import { Command as CommandPrimitive } from 'cmdk'
import { cn } from '@/lib/utils'
import {
Dialog,
DialogContent,
DialogDescription,
DialogHeader,
DialogTitle,
} from '@/components/ui/dialog'
import { InputGroup, InputGroupAddon } from '@/components/ui/input-group'
function Command({
className,
...props
}: React.ComponentProps) {
return (
)
}
function CommandDialog({
title = 'Command Palette',
description = 'Search for a command to run...',
children,
className,
showCloseButton = false,
...props
}: Omit, 'children'> & {
title?: string
description?: string
className?: string
showCloseButton?: boolean
children: React.ReactNode
}) {
return (
)
}
function CommandInput({
className,
...props
}: React.ComponentProps) {
return (
)
}
function CommandList({
className,
...props
}: React.ComponentProps) {
return (
)
}
function CommandEmpty({
className,
...props
}: React.ComponentProps) {
return (
)
}
function CommandGroup({
className,
...props
}: React.ComponentProps) {
return (
)
}
function CommandSeparator({
className,
...props
}: React.ComponentProps) {
return (
)
}
function CommandItem({
className,
children,
...props
}: React.ComponentProps) {
return (
{children}
)
}
function CommandShortcut({
className,
...props
}: React.ComponentProps<'span'>) {
return (
)
}
export {
Command,
CommandDialog,
CommandInput,
CommandList,
CommandEmpty,
CommandGroup,
CommandItem,
CommandShortcut,
CommandSeparator,
}