/* 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 { ChevronDownIcon, SearchIcon } from 'lucide-react' import type { ComponentProps } from 'react' import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from '@/components/ui/collapsible' import { cn } from '@/lib/utils' export type TaskItemFileProps = ComponentProps<'div'> export const TaskItemFile = ({ children, className, ...props }: TaskItemFileProps) => (
{children}
) export type TaskItemProps = ComponentProps<'div'> export const TaskItem = ({ children, className, ...props }: TaskItemProps) => (
{children}
) export type TaskProps = ComponentProps export const Task = ({ defaultOpen = true, className, ...props }: TaskProps) => ( ) export type TaskTriggerProps = ComponentProps & { title: string } export const TaskTrigger = ({ children, className, title, ...props }: TaskTriggerProps) => ( {children ?? ( <>

{title}

)} } /> ) export type TaskContentProps = ComponentProps export const TaskContent = ({ children, className, ...props }: TaskContentProps) => (
{children}
)