{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "business-operations-dashboard",
  "dependencies": [
    "@tabler/icons-react",
    "class-variance-authority",
    "lucide-react"
  ],
  "registryDependencies": [
    "avatar",
    "badge",
    "breadcrumb",
    "button",
    "card",
    "collapsible",
    "dialog",
    "dropdown-menu",
    "input",
    "label",
    "popover",
    "separator",
    "sheet",
    "sidebar",
    "skeleton",
    "tabs",
    "textarea",
    "tooltip"
  ],
  "files": [
    {
      "path": "src/components/dashboards/business-operations-dashboard/components/app-sidebar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n  IconBuildingSkyscraper,\n  IconDots,\n  IconSearch,\n  IconPlus,\n} from \"@tabler/icons-react\"\n\nimport { NavMain } from \"./nav-main\"\nimport { NavProjects } from \"./nav-projects\"\nimport { NavUser } from \"./nav-user\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n  Sidebar,\n  SidebarContent,\n  SidebarFooter,\n  SidebarHeader,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  SidebarTrigger,\n} from \"@/components/ui/sidebar\"\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuSeparator,\n  DropdownMenuTrigger,  \n} from \"@/components/ui/dropdown-menu\"\nimport { data } from \"../data\"\nexport function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {\n  return (\n    <Sidebar collapsible=\"icon\" variant=\"inset\" {...props}>\n      <SidebarHeader>\n        <SidebarMenu>\n          <SidebarMenuItem>\n            <SidebarMenuButton size=\"lg\" className=\"hover:bg-transparent px-1 group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:justify-center active:bg-transparent transition-all\">\n              <div className=\"flex items-center w-full\">\n                <div className=\"flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground\">\n                  <IconBuildingSkyscraper className=\"size-4\" />\n                </div>\n                <div className=\"flex flex-1 items-center gap-2 group-data-[collapsible=icon]:hidden px-2 min-w-0\">\n                  <span className=\"font-semibold truncate text-[15px] tracking-tight\">Ocean Labs</span>\n                  <DropdownMenu>\n                    <DropdownMenuTrigger asChild>\n                      <Button variant=\"ghost\" size=\"icon\" className=\"size-5 text-muted-foreground hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-colors ml-0.5 cursor-pointer\">\n                        <IconDots className=\"size-3\" />\n                      </Button>\n                    </DropdownMenuTrigger>\n                    <DropdownMenuContent align=\"start\" className=\"w-56\">\n                      <DropdownMenuLabel className=\"text-xs text-muted-foreground\">Workspaces</DropdownMenuLabel>\n                      <DropdownMenuItem className=\"gap-2 p-2\">\n                        <div className=\"flex size-6 items-center justify-center rounded-sm border bg-background\">\n                          <IconBuildingSkyscraper className=\"size-4 shrink-0\" />\n                        </div>\n                        Ocean Labs\n                      </DropdownMenuItem>\n                      <DropdownMenuItem className=\"gap-2 p-2\">\n                        <div className=\"flex size-6 items-center justify-center rounded-sm border bg-background\">\n                          <IconBuildingSkyscraper className=\"size-4 shrink-0 text-muted-foreground\" />\n                        </div>\n                        Personal Projects\n                      </DropdownMenuItem>\n                      <DropdownMenuSeparator />\n                      <DropdownMenuItem className=\"gap-2 p-2\">\n                        <IconPlus className=\"size-4\" />\n                        Add Workspace\n                      </DropdownMenuItem>\n                    </DropdownMenuContent>\n                  </DropdownMenu>\n                </div>\n                <SidebarTrigger className=\"ml-auto text-neutral-500 group-data-[collapsible=icon]:hidden transition-colors duration-200 hover:bg-neutral-100 dark:hover:bg-neutral-800 cursor-pointer\" />\n              </div>\n            </SidebarMenuButton>\n          </SidebarMenuItem>\n        </SidebarMenu>\n        <div className=\"pb-2 group-data-[collapsible=icon]:px-0 group-data-[collapsible=icon]:mt-2\">\n          <div className=\"relative\">\n            <IconSearch className=\"absolute left-2 top-2.5 size-4 text-muted-foreground group-data-[collapsible=icon]:left-1/2 group-data-[collapsible=icon]:top-1/2 group-data-[collapsible=icon]:-translate-x-1/2 group-data-[collapsible=icon]:-translate-y-1/2 group-data-[collapsible=icon]:size-4\" />\n            <input\n              placeholder=\"Search anything...\"\n              className=\"w-full bg-white dark:bg-neutral-800/50 rounded-md py-2 pl-8 pr-4 text-sm focus:outline-hidden border border-sidebar-border group-data-[collapsible=icon]:w-8 group-data-[collapsible=icon]:h-8 group-data-[collapsible=icon]:px-0 group-data-[collapsible=icon]:mx-auto group-data-[collapsible=icon]:placeholder:text-transparent transition-all hover:border-neutral-300 dark:hover:border-neutral-700 hover:shadow-sm focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\"\n            />\n          </div>\n        </div>\n      </SidebarHeader>\n      <SidebarContent>\n        <NavMain items={data.navMain} />\n        <NavMain items={data.settings} />\n        <NavProjects projects={data.favorites} label=\"Favorites\" />\n      </SidebarContent>\n      <SidebarFooter>\n        <NavUser user={data.user} />\n      </SidebarFooter>\n    </Sidebar>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/components/app-sidebar.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/components/invoice-card.tsx",
      "content": "import { IconDots } from \"@tabler/icons-react\"\nimport { Card, CardContent } from \"@/components/ui/card\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n    DropdownMenu,\n    DropdownMenuContent,\n    DropdownMenuItem,\n    DropdownMenuLabel,\n    DropdownMenuSeparator,\n    DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n\nexport interface Invoice {\n    id: string\n    amount: string\n    status: \"unpaid\" | \"paid\" | \"draft\"\n    date: string\n    title: string\n    gradient: string\n}\n\nexport function InvoiceCard({ invoice }: { invoice: Invoice }) {\n    return (\n        <Card className=\"group shadow-xs border-border rounded-lg p-4 transition-colors duration-300 hover:shadow-lg hover:shadow-neutral-200 dark:hover:shadow-neutral-900 cursor-pointer bg-background\">\n            <CardContent className=\"p-0 flex flex-col gap-2\">\n                {/* Top Row */}\n                <div className=\"flex items-center justify-between mb-1\">\n                    <div className={`size-11 rounded-full bg-linear-to-br transition-shadow duration-300 group-hover:shadow-md ${invoice.gradient}`} />\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button variant=\"ghost\" size=\"icon\" className=\"size-8 text-neutral-500 opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity\" onClick={(e) => e.stopPropagation()}>\n                                <IconDots className=\"size-4\" />\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\" className=\"w-40\" onClick={(e) => e.stopPropagation()}>\n                            <DropdownMenuLabel>Actions</DropdownMenuLabel>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem>Edit Invoice</DropdownMenuItem>\n                            <DropdownMenuItem>Copy Link</DropdownMenuItem>\n                            <DropdownMenuItem>Download PDF</DropdownMenuItem>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem variant=\"destructive\">Archive</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                </div>\n\n                {/* Second Row */}\n                <div className=\"flex items-center justify-between font-mono\">\n                    <span className=\"text-lg font-bold\">{invoice.amount}</span>\n                    <span className=\"text-sm text-muted-foreground font-medium\">#{invoice.id}</span>\n                </div>\n\n                {/* Third Row */}\n                <div>\n                    <p className=\"text-sm text-muted-foreground line-clamp-2 leading-relaxed\">\n                        Ein flexibles Abonnementmodell für {invoice.title.toLowerCase()}...\n                    </p>\n                </div>\n\n                {/* Bottom Row */}\n                <div className=\"flex items-center gap-2\">\n                    <span className=\"text-sm font-medium text-muted-foreground tracking-tight\">Due date: {invoice.date}</span>\n                </div>\n            </CardContent>\n        </Card>\n    )\n}",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/components/invoice-card.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/components/nav-main.tsx",
      "content": "\"use client\"\n\nimport {\n  SidebarGroup,\n  SidebarGroupLabel,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\"\n\nexport function NavMain({\n  items,\n  label,\n}: {\n  items: {\n    title: string\n    url: string\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    icon?: any\n    isDisabled?: boolean\n    isActive?: boolean\n  }[]\n  label?: string\n}) {\n  return (\n    <SidebarGroup>\n      {label && <SidebarGroupLabel>{label}</SidebarGroupLabel>}\n      <SidebarMenu>\n        {items.map((item) => (\n          <SidebarMenuItem key={item.title}>\n            <SidebarMenuButton\n              asChild\n              tooltip={item.title}\n              isActive={item.isActive}\n              className=\"h-9 hover:bg-indigo-600/5 hover:text-indigo-600 font-medium text-sidebar-foreground/70 tracking-tight data-[active=true]:bg-indigo-600/5 dark:data-[active=true]:bg-indigo-600/20 dark:data-[active=true]:text-indigo-400 dark:hover:text-indigo-400 dark:hover:bg-indigo-600/20 data-[active=true]:text-indigo-600 transition-colors duration-200\"\n            >\n              <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                if (item.isDisabled) {\n                  e.preventDefault();\n                }\n              }}>\n                {item.icon && <item.icon className=\"size-4\" />}\n                <span>{item.title}</span>\n              </a>\n            </SidebarMenuButton>\n          </SidebarMenuItem>\n        ))}\n      </SidebarMenu>\n    </SidebarGroup>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/components/nav-main.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/components/nav-projects.tsx",
      "content": "\"use client\"\n\nimport {\n  SidebarGroup,\n  SidebarGroupLabel,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\" \n\nexport function NavProjects({\n  projects,\n  label,\n}: {\n  projects: {\n    name: string\n    url: string\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    icon: any\n    color?: string\n    isDisabled?: boolean\n  }[]\n  label?: string\n}) {\n\n  return (\n    <SidebarGroup>\n      {label && <SidebarGroupLabel>{label}</SidebarGroupLabel>}\n      <SidebarMenu>\n        {projects.map((item) => (\n          <SidebarMenuItem key={item.name}>\n            <SidebarMenuButton asChild tooltip={item.name} className=\" hover:bg-indigo-600/5 hover:text-indigo-600  text-sidebar-foreground/70 tracking-tight data-[active=true]:bg-indigo-600/5 data-[active=true]:text-indigo-600 dark:data-[active=true]:bg-indigo-600/20 dark:data-[active=true]:text-indigo-400 dark:hover:text-indigo-400 dark:hover:bg-indigo-600/20 transition-colors duration-200\">\n              <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                if (item.isDisabled) {\n                  e.preventDefault();\n                }\n              }}>\n                <item.icon className={item.color} />\n                <span>{item.name}</span>\n              </a>\n            </SidebarMenuButton>\n          </SidebarMenuItem>\n        ))}\n      </SidebarMenu>\n    </SidebarGroup>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/components/nav-projects.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/components/nav-user.tsx",
      "content": "\"use client\"\n\nimport {\n  BadgeCheck,\n  Bell,\n  CreditCard,\n  LogOut,\n  Sparkles,\n} from \"lucide-react\"\n\nimport {\n  Avatar,\n  AvatarFallback,\n  AvatarImage,\n} from \"@/components/ui/avatar\"\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuGroup,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuSeparator,\n  DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\nimport {\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  useSidebar,\n} from \"@/components/ui/sidebar\"\nimport { IconDots } from \"@tabler/icons-react\"\n\nexport function NavUser({\n  user,\n}: {\n  user: {\n    name: string\n    email: string\n    avatar: string\n  }\n}) {\n  const { isMobile } = useSidebar()\n\n  return (\n    <SidebarMenu>\n      <SidebarMenuItem>\n        <DropdownMenu>\n          <DropdownMenuTrigger asChild>\n            <SidebarMenuButton\n              size=\"lg\"\n              className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground bg-sidebar-accent/50 border border-sidebar-border hover:bg-transparent p-1.5 h-9 group-data-[collapsible=icon]:size-9 group-data-[collapsible=icon]:p-0 group-data-[collapsible=icon]:justify-center transition-colors duration-200\"\n            >\n              <Avatar className=\"size-6 rounded-sm group-data-[collapsible=icon]:size-6\">\n                <AvatarImage src={user.avatar} alt={user.name} />\n                <AvatarFallback className=\"rounded-sm text-xs bg-indigo-500 text-white\">LS</AvatarFallback>\n              </Avatar>\n              <div className=\"grid flex-1 text-left text-sm leading-tight group-data-[collapsible=icon]:hidden\">\n                <div className=\"flex items-center gap-2\">\n                  <span className=\"truncate font-semibold\">{user.name}</span>\n                  <span className=\"flex h-4 items-center rounded bg-indigo-500/10 px-1 text-[9px] font-bold text-indigo-500\">PRO</span>\n                </div>\n              </div>\n              <IconDots className=\"ml-auto size-4 text-neutral-500 group-data-[collapsible=icon]:hidden\" />\n            </SidebarMenuButton>\n          </DropdownMenuTrigger>\n          <DropdownMenuContent\n            className=\"w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg\"\n            side={isMobile ? \"bottom\" : \"right\"}\n            align=\"end\"\n            sideOffset={4}\n          >\n            <DropdownMenuLabel className=\"p-0 font-normal\">\n              <div className=\"flex items-center gap-2 px-1 py-1.5 text-left text-sm\">\n                <Avatar className=\"h-8 w-8 rounded-lg\">\n                  <AvatarImage src={user.avatar} alt={user.name} />\n                  <AvatarFallback className=\"rounded-lg\">CN</AvatarFallback>\n                </Avatar>\n                <div className=\"grid flex-1 text-left text-sm leading-tight\">\n                  <span className=\"truncate font-medium\">{user.name}</span>\n                  <span className=\"truncate text-xs\">{user.email}</span>\n                </div>\n              </div>\n            </DropdownMenuLabel>\n            <DropdownMenuSeparator />\n            <DropdownMenuGroup>\n              <DropdownMenuItem>\n                <Sparkles />\n                Upgrade to Pro\n              </DropdownMenuItem>\n            </DropdownMenuGroup>\n            <DropdownMenuSeparator />\n            <DropdownMenuGroup>\n              <DropdownMenuItem>\n                <BadgeCheck />\n                Account\n              </DropdownMenuItem>\n              <DropdownMenuItem>\n                <CreditCard />\n                Billing\n              </DropdownMenuItem>\n              <DropdownMenuItem>\n                <Bell />\n                Notifications\n              </DropdownMenuItem>\n            </DropdownMenuGroup>\n            <DropdownMenuSeparator />\n            <DropdownMenuItem>\n              <LogOut />\n              Log out\n            </DropdownMenuItem>\n          </DropdownMenuContent>\n        </DropdownMenu>\n      </SidebarMenuItem>\n    </SidebarMenu>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/components/nav-user.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/components/team-switcher.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { ChevronsUpDown, Plus } from \"lucide-react\"\n\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuSeparator,\n  DropdownMenuShortcut,\n  DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\nimport {\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  useSidebar,\n} from \"@/components/ui/sidebar\"\n\nexport function TeamSwitcher({\n  teams,\n}: {\n  teams: {\n    name: string\n    logo: React.ElementType\n    plan: string\n  }[]\n}) {\n  const { isMobile } = useSidebar()\n  const [activeTeam, setActiveTeam] = React.useState(teams[0])\n\n  if (!activeTeam) {\n    return null\n  }\n\n  return (\n    <SidebarMenu>\n      <SidebarMenuItem>\n        <DropdownMenu>\n          <DropdownMenuTrigger asChild>\n            <SidebarMenuButton\n              size=\"lg\"\n              className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground\"\n            >\n              <div className=\"bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg\">\n                <activeTeam.logo className=\"size-4\" />\n              </div>\n              <div className=\"grid flex-1 text-left text-sm leading-tight\">\n                <span className=\"truncate font-medium\">{activeTeam.name}</span>\n                <span className=\"truncate text-xs\">{activeTeam.plan}</span>\n              </div>\n              <ChevronsUpDown className=\"ml-auto\" />\n            </SidebarMenuButton>\n          </DropdownMenuTrigger>\n          <DropdownMenuContent\n            className=\"w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg\"\n            align=\"start\"\n            side={isMobile ? \"bottom\" : \"right\"}\n            sideOffset={4}\n          >\n            <DropdownMenuLabel className=\"text-muted-foreground text-xs\">\n              Teams\n            </DropdownMenuLabel>\n            {teams.map((team, index) => (\n              <DropdownMenuItem\n                key={team.name}\n                onClick={() => setActiveTeam(team)}\n                className=\"gap-2 p-2\"\n              >\n                <div className=\"flex size-6 items-center justify-center rounded-md border\">\n                  <team.logo className=\"size-3.5 shrink-0\" />\n                </div>\n                {team.name}\n                <DropdownMenuShortcut>⌘{index + 1}</DropdownMenuShortcut>\n              </DropdownMenuItem>\n            ))}\n            <DropdownMenuSeparator />\n            <DropdownMenuItem className=\"gap-2 p-2\">\n              <div className=\"flex size-6 items-center justify-center rounded-md border bg-transparent\">\n                <Plus className=\"size-4\" />\n              </div>\n              <div className=\"text-muted-foreground font-medium\">Add team</div>\n            </DropdownMenuItem>\n          </DropdownMenuContent>\n        </DropdownMenu>\n      </SidebarMenuItem>\n    </SidebarMenu>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/components/team-switcher.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/dashboardLayout.tsx",
      "content": "import { AppSidebar } from \"./components/app-sidebar\"\nimport {\n  SidebarInset,\n  SidebarProvider,\n} from \"@/components/ui/sidebar\"\n\nexport const DashboardLayout = ({ children }: { children: React.ReactNode }) => {\n  return (\n    <SidebarProvider className=\"h-svh overflow-hidden\">\n      <AppSidebar />\n      <SidebarInset className=\"border overflow-hidden min-h-0\">\n        {children}\n      </SidebarInset>\n    </SidebarProvider>\n  )\n}",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/dashboardLayout.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/data.ts",
      "content": "import {\n    IconLayoutDashboard,\n    IconCheckbox,\n    IconUsers,\n    IconFileInvoice,\n    IconChartBar,\n    IconSettings,\n    IconUserPlus,\n    IconCircleFilled,\n} from \"@tabler/icons-react\"\nimport { type Invoice } from \"./components/invoice-card\"\n\nexport const data = {\n    user: {\n        name: \"Lily Senate\",\n        email: \"lily@kansas.inc\",\n        avatar: \"/avatars/lily.jpg\",\n    },\n    navMain: [\n        {\n            title: \"Dashboard\",\n            url: \"#\",\n            icon: IconLayoutDashboard,\n            isDisabled: true,\n        },\n        {\n            title: \"Tasks\",\n            url: \"#\",\n            icon: IconCheckbox,\n            isDisabled: true,\n        },\n        {\n            title: \"Customers\",\n            url: \"#\",\n            icon: IconUsers,\n            isDisabled: true,\n        },\n        {\n            title: \"Invoices\",\n            url: \"/dashboard/invoices\",\n            icon: IconFileInvoice,\n            isActive: true,\n            isDisabled: true,\n        },\n        {\n            title: \"Reports\",\n            url: \"#\",\n            icon: IconChartBar,\n            isDisabled: true,\n        },\n    ],\n    settings: [\n        {\n            title: \"Settings\",\n            url: \"#\",\n            icon: IconSettings,\n            isDisabled: true,\n        },\n        {\n            title: \"Invite users\",\n            url: \"#\",\n            icon: IconUserPlus,\n            isDisabled: true,\n        },\n    ],\n    favorites: [\n        {\n            name: \"Neo Gen\",\n            url: \"#\",\n            icon: IconCircleFilled,\n            color: \"text-blue-500\",\n            isDisabled: true,\n        },\n        {\n            name: \"Stacks.com\",\n            url: \"https://www.google.com/search?q=Stacks.com\",\n            icon: IconCircleFilled,\n            color: \"text-orange-500\",\n            isDisabled: true,\n        },\n        {\n            name: \"Aether AI\",\n            url: \"#\",\n            icon: IconCircleFilled,\n            color: \"text-teal-500\",\n            isDisabled: true,\n        },\n        {\n            name: \"CloudChat\",\n            url: \"#\",\n            icon: IconCircleFilled,\n            color: \"text-purple-500\",\n            isDisabled: true,\n        },\n    ],\n}\n\nexport const invoices: Invoice[] = [\n    // Unpaid\n    { id: \"INV-S0030\", amount: \"€12,450.00\", status: \"unpaid\", date: \"March 5, 2027\", title: \"Product Design Service\", gradient: \"from-blue-400 to-purple-500\" },\n    { id: \"INV-S0078\", amount: \"€15,300.00\", status: \"unpaid\", date: \"August 14, 2027\", title: \"Brand Identity\", gradient: \"from-orange-400 to-rose-500\" },\n    { id: \"INV-S0045\", amount: \"€8,750.00\", status: \"unpaid\", date: \"October 22, 2027\", title: \"UI/UX Audit\", gradient: \"from-cyan-400 to-blue-600\" },\n    { id: \"INV-S0067\", amount: \"€2,300.00\", status: \"unpaid\", date: \"May 19, 2027\", title: \"Icon Set\", gradient: \"from-teal-400 to-yellow-500\" },\n    { id: \"INV-S0035\", amount: \"€9,900.00\", status: \"unpaid\", date: \"October 1, 2027\", title: \"Design Systems\", gradient: \"from-pink-400 to-indigo-500\" },\n\n    // Paid\n    { id: \"INV-S0132\", amount: \"€17,650.00\", status: \"paid\", date: \"September 3, 2027\", title: \"SAAS Platform\", gradient: \"from-violet-500 to-fuchsia-500\" },\n    { id: \"INV-S0101\", amount: \"€3,600.00\", status: \"paid\", date: \"December 30, 2027\", title: \"Consulting\", gradient: \"from-blue-300 to-emerald-400\" },\n    { id: \"INV-S0123\", amount: \"€19,200.00\", status: \"paid\", date: \"February 18, 2027\", title: \"Full Scale Design\", gradient: \"from-indigo-400 to-cyan-400\" },\n    { id: \"INV-S0094\", amount: \"€11,100.00\", status: \"paid\", date: \"June 27, 2027\", title: \"Design Support\", gradient: \"from-rose-300 to-pink-500\" },\n    { id: \"INV-S0115\", amount: \"€16,750.00\", status: \"paid\", date: \"November 30, 2027\", title: \"User Research\", gradient: \"from-blue-500 to-indigo-600\" },\n\n    // Draft\n    { id: \"INV-S0056\", amount: \"€1,500.00\", status: \"draft\", date: \"January 25, 2027\", title: \"Maintenance\", gradient: \"from-orange-500 to-yellow-400\" },\n    { id: \"INV-S0089\", amount: \"€5,800.00\", status: \"draft\", date: \"April 9, 2027\", title: \"App Redesign\", gradient: \"from-purple-400 to-pink-400\" },\n    { id: \"INV-S0110\", amount: \"€14,900.00\", status: \"draft\", date: \"November 11, 2027\", title: \"Marketing Web\", gradient: \"from-blue-400 to-emerald-400\" },\n    { id: \"INV-S0120\", amount: \"€4,400.00\", status: \"draft\", date: \"July 15, 2027\", title: \"Landing Page\", gradient: \"from-indigo-400 to-purple-500\" },\n    { id: \"INV-S0108\", amount: \"€7,250.00\", status: \"draft\", date: \"December 12, 2027\", title: \"Illustration\", gradient: \"from-blue-900 to-indigo-950\" },\n]\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/data.ts"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/demo.tsx",
      "content": "\"use client\";\n\nimport { DashboardLayout } from \"./dashboardLayout\";\nimport InvoicesPageView from \"./invoicesPageView\";\n\nexport default function BusinessOperationsDashboardDemo() {\n    return (\n        <DashboardLayout>\n            <InvoicesPageView />\n        </DashboardLayout>\n    );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/demo.tsx"
    },
    {
      "path": "src/components/dashboards/business-operations-dashboard/invoicesPageView.tsx",
      "content": "\"use client\"\n\nimport {\n    IconPlus,\n    IconSearch,\n    IconLayoutGrid,\n    IconFilter,\n    IconLayoutSidebar,\n    IconCalendarEvent,\n    IconFileInvoice,\n    IconDots,\n    IconClockFilled,\n    IconCircleCheckFilled,\n    IconFileStarFilled,\n} from \"@tabler/icons-react\"\nimport { Button } from \"@/components/ui/button\"\nimport { Input } from \"@/components/ui/input\"\nimport { Label } from \"@/components/ui/label\"\nimport { Textarea } from \"@/components/ui/textarea\"\nimport {\n    Tabs,\n    TabsContent,\n    TabsList,\n    TabsTrigger,\n} from \"@/components/ui/tabs\"\nimport {\n    Dialog,\n    DialogContent,\n    DialogDescription,\n    DialogFooter,\n    DialogHeader,\n    DialogTitle,\n    DialogTrigger,\n} from \"@/components/ui/dialog\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n} from \"@/components/ui/popover\"\nimport {\n    DropdownMenu,\n    DropdownMenuContent,\n    DropdownMenuItem,\n    DropdownMenuLabel,\n    DropdownMenuSeparator,\n    DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\nimport { SidebarTrigger, useSidebar } from \"@/components/ui/sidebar\"\nimport { InvoiceCard } from \"./components/invoice-card\"\nimport { Separator } from '@/components/ui/separator'\nimport { invoices } from \"./data\"\n\nexport default function InvoicesPageView() {\n    const { state, isMobile } = useSidebar()\n    return (\n        <div className=\"flex flex-col h-full bg-neutral-50/50 dark:bg-neutral-950/50 rounded-xl overflow-hidden min-h-0\">\n            {/* Header */}\n            <header className=\"flex h-14 shrink-0 items-center justify-between px-5 border-b bg-background rounded-t-xl\">\n                <div className=\"flex items-center gap-2\">\n                    {(state === \"collapsed\" || isMobile) &&\n                        <>\n                            <SidebarTrigger className=\"-ml-1\" />\n                            <div className=\"w-[1px] h-4 bg-border mx-1\" />\n                        </>\n                    }\n                    <div className=\"flex items-center gap-2 h-4\">\n                        <div className=\"flex items-center gap-1.5\">\n                            <IconFileInvoice className=\"size-4 text-muted-foreground\" />\n                            <h1 className=\"text-[15px] font-semibold\">Invoices</h1>\n                            <DropdownMenu>\n                                <DropdownMenuTrigger asChild>\n                                    <Button variant=\"ghost\" size=\"icon\" className=\"size-6 text-muted-foreground/50 hover:text-muted-foreground hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md transition-colors\">\n                                        <IconDots className=\"size-3.5\" />\n                                    </Button>\n                                </DropdownMenuTrigger>\n                                <DropdownMenuContent align=\"start\" className=\"w-56\">\n                                    <DropdownMenuLabel>Page Settings</DropdownMenuLabel>\n                                    <DropdownMenuSeparator />\n                                    <DropdownMenuItem>Rename Page</DropdownMenuItem>\n                                    <DropdownMenuItem>Duplicate Page</DropdownMenuItem>\n                                    <DropdownMenuItem>Export as JSON</DropdownMenuItem>\n                                    <DropdownMenuSeparator />\n                                    <DropdownMenuItem variant=\"destructive\">Delete Page</DropdownMenuItem>\n                                </DropdownMenuContent>\n                            </DropdownMenu>\n                        </div>\n                    </div>\n                </div>\n                <Dialog>\n                    <DialogTrigger asChild>\n                        <Button className=\"group h-8 bg-indigo-600 hover:bg-indigo-700 transition-colors duration-200 hover:shadow-md hover:shadow-indigo-500/20 text-white text-xs px-3 gap-2 rounded-md shrink-0 focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-2\">\n                            <IconPlus className=\"size-3.5\" />\n                            <span className=\"hidden sm:inline\">Create Invoice</span>\n                        </Button>\n                    </DialogTrigger>\n                    <DialogContent className=\"sm:max-w-[425px]\">\n                        <DialogHeader>\n                            <DialogTitle>Create New Invoice</DialogTitle>\n                            <DialogDescription>\n                                Fill in the details to create a new invoice for your client.\n                            </DialogDescription>\n                        </DialogHeader>\n                        <div className=\"grid gap-4 py-4\">\n                            <div className=\"grid gap-2\">\n                                <Label htmlFor=\"client\">Client Name</Label>\n                                <Input id=\"client\" placeholder=\"e.g. Acme Corp\" className=\"focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\" />\n                            </div>\n                            <div className=\"grid grid-cols-2 gap-4\">\n                                <div className=\"grid gap-2\">\n                                    <Label htmlFor=\"amount\">Amount</Label>\n                                    <Input id=\"amount\" type=\"number\" placeholder=\"0.00\" className=\"focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\" />\n                                </div>\n                                <div className=\"grid gap-2\">\n                                    <Label htmlFor=\"due-date\">Due Date</Label>\n                                    <Input id=\"due-date\" type=\"date\" className=\"focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\" />\n                                </div>\n                            </div>\n                            <div className=\"grid gap-2\">\n                                <Label htmlFor=\"notes\">Notes</Label>\n                                <Textarea id=\"notes\" placeholder=\"Optional notes for the client...\" className=\"focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\" />\n                            </div>\n                        </div>\n                        <DialogFooter>\n                            <Button type=\"submit\" className=\"bg-indigo-600 hover:bg-indigo-700 text-white\">Save Invoice</Button>\n                        </DialogFooter>\n                    </DialogContent>\n                </Dialog>\n            </header>\n\n            {/* Toolbar */}\n            <Tabs defaultValue=\"board\" className=\"flex-1 flex flex-col min-h-0 gap-0\">\n                <div className=\"flex flex-col lg:flex-row lg:items-center justify-between px-5 py-3 gap-4 border-b bg-background\">\n                    <div className=\"flex items-center gap-3 w-full overflow-x-auto scrollbar-hide\">\n                        <TabsList className=\"bg-transparent p-1 gap-2\">\n                            <TabsTrigger value=\"board\" className=\"gap-2 h-9 transition-colors duration-200 data-[state=active]:bg-neutral-100 dark:data-[state=active]:bg-neutral-800 data-[state=active]:shadow-none! data-[state=active]:border-neutral-300/80 dark:data-[state=active]:border-neutral-700/50 text-foreground\">\n                                <IconLayoutGrid className=\"size-4\" />\n                                Board\n                            </TabsTrigger>\n                            <TabsTrigger disabled value=\"overview\" className=\"gap-2 h-9 transition-colors duration-200 data-[state=active]:bg-neutral-100 dark:data-[state=active]:bg-neutral-800 data-[state=active]:shadow-none! data-[state=active]:border-neutral-300/80 dark:data-[state=active]:border-neutral-700/50 text-foreground\">\n                                <IconCalendarEvent className=\"size-4\" />\n                                Overview\n                            </TabsTrigger>\n                            <TabsTrigger disabled value=\"list\" className=\"gap-2 h-9 transition-colors duration-200 data-[state=active]:bg-neutral-100 dark:data-[state=active]:bg-neutral-800 data-[state=active]:shadow-none! data-[state=active]:border-neutral-300/80 dark:data-[state=active]:border-neutral-700/50 text-foreground\">\n                                <IconLayoutSidebar className=\"size-4\" />\n                                List\n                            </TabsTrigger>\n                        </TabsList>\n\n                        <Separator\n                            orientation=\"vertical\"\n                            className=\" data-[orientation=vertical]:h-6\"\n                        />\n                        <DropdownMenu>\n                            <DropdownMenuTrigger asChild>\n                                <Button size=\"sm\" className=\"text-muted-foreground gap-1.5 bg-background border hover:bg-neutral-50 dark:hover:bg-neutral-900 transition-colors duration-200 h-9 shrink-0 cursor-pointer\">\n                                    <IconPlus className=\"size-4\" />\n                                    <span className=\"hidden sm:inline\">Add View</span>\n                                </Button>\n                            </DropdownMenuTrigger>\n                            <DropdownMenuContent align=\"start\" className=\"w-48\">\n                                <DropdownMenuLabel>Views</DropdownMenuLabel>\n                                <DropdownMenuSeparator />\n                                <DropdownMenuItem>Grid View</DropdownMenuItem>\n                                <DropdownMenuItem>List View</DropdownMenuItem>\n                                <DropdownMenuItem>Kanban View</DropdownMenuItem>\n                            </DropdownMenuContent>\n                        </DropdownMenu>\n                    </div>\n                    <div className=\"flex items-center gap-2 w-full lg:w-auto\">\n                        <div className=\"relative flex-1 lg:w-64\">\n                            <IconSearch className=\"absolute left-2.5 top-2.5 size-4 text-muted-foreground\" />\n                            <Input placeholder=\"Search invoice...\" className=\"pl-9 bg-muted/50 shadow-none border w-full focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\" />\n                        </div>\n                        <Separator\n                            orientation=\"vertical\"\n                            className=\" data-[orientation=vertical]:h-6\"\n                        />\n                        <Popover>\n                            <PopoverTrigger asChild>\n                                <Button variant=\"outline\" size=\"sm\" className=\"gap-2 h-9 transition-colors duration-200 hover:bg-neutral-50 dark:hover:bg-neutral-900 shadow-xs cursor-pointer\">\n                                    <IconLayoutGrid className=\"size-4\" />\n                                    View\n                                </Button>\n                            </PopoverTrigger>\n                            <PopoverContent className=\"w-56 p-2\">\n                                <div className=\"grid gap-1\">\n                                    <Button variant=\"ghost\" size=\"sm\" className=\"justify-start font-normal h-8\">Board View</Button>\n                                    <Button variant=\"ghost\" size=\"sm\" className=\"justify-start font-normal h-8\">Table View</Button>\n                                    <Button variant=\"ghost\" size=\"sm\" className=\"justify-start font-normal h-8\">List View</Button>\n                                </div>\n                            </PopoverContent>\n                        </Popover>\n\n                        <Popover>\n                            <PopoverTrigger asChild>\n                                <Button variant=\"outline\" size=\"sm\" className=\"gap-2 h-9 transition-colors duration-200 hover:bg-neutral-50 dark:hover:bg-neutral-900 shadow-xs cursor-pointer\">\n                                    <IconFilter className=\"size-4\" />\n                                    Filter\n                                </Button>\n                            </PopoverTrigger>\n                            <PopoverContent className=\"w-64 p-3\">\n                                <div className=\"space-y-3\">\n                                    <h4 className=\"font-medium text-sm leading-none\">Filter Invoices</h4>\n                                    <div className=\"grid gap-2\">\n                                        <Label htmlFor=\"status-filter\" className=\"text-xs\">Status</Label>\n                                        <Input id=\"status-filter\" placeholder=\"Filter by status...\" className=\"h-8 text-xs focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 text-foreground\" />\n                                    </div>\n                                    <div className=\"flex justify-end gap-2 pt-2\">\n                                        <Button variant=\"outline\" size=\"sm\" className=\"h-7 text-xs\">Reset</Button>\n                                        <Button size=\"sm\" className=\"h-7 text-xs bg-indigo-600 hover:bg-indigo-700 text-white\">Apply</Button>\n                                    </div>\n                                </div>\n                            </PopoverContent>\n                        </Popover>\n                    </div>\n                </div>\n                <TabsContent value=\"board\" className=\"flex-1 flex flex-col min-h-0 m-0 data-[state=inactive]:hidden overflow-hidden\">\n                    <div className=\"flex-1 overflow-hidden p-4 md:p-6 md:pb-0  flex flex-col\">\n                        <div className=\"flex w-full gap-4 md:gap-6 flex-1 items-stretch min-h-0 overflow-x-auto md:overflow-visible scrollbar-hide snap-x snap-mandatory pb-4\">\n                            {/* Unpaid Column */}\n                            <div className=\"flex flex-col gap-4 flex-1 min-w-[300px] md:min-w-0 min-h-0 snap-center\">\n                                <div className=\"flex items-center justify-between bg-orange-500/10 dark:bg-orange-500/20 px-3 py-2 rounded-lg shrink-0\">\n                                    <div className=\"flex items-center gap-2 text-orange-600 dark:text-orange-400\">\n                                        <IconClockFilled\n                                            className=\"size-5 \" />\n                                        <span className=\"font-semibold font-mono text-sm tracking-tight \">Unpaid</span>\n                                    </div>\n                                    <div className=\"flex items-center gap-2\">\n                                        <span className=\"text-xs font-medium text-neutral-500 font-mono\">12</span>\n                                        <DropdownMenu>\n                                            <DropdownMenuTrigger asChild>\n                                                <Button variant=\"ghost\" size=\"icon\" className=\"size-6 text-neutral-500 hover:bg-orange-200/50 dark:hover:bg-orange-500/20 transition-colors cursor-pointer\">\n                                                    <IconDots className=\"size-3.5\" />\n                                                </Button>\n                                            </DropdownMenuTrigger>\n                                            <DropdownMenuContent align=\"end\" className=\"w-48\">\n                                                <DropdownMenuLabel>Column Actions</DropdownMenuLabel>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem>Select All</DropdownMenuItem>\n                                                <DropdownMenuItem>Archive All</DropdownMenuItem>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem variant=\"destructive\">Delete Column</DropdownMenuItem>\n                                            </DropdownMenuContent>\n                                        </DropdownMenu>\n                                    </div>\n                                </div>\n                                <div className=\"flex-1 overflow-y-auto scrollbar-hide\">\n                                    <div className=\"flex flex-col gap-4\">\n                                        {invoices.filter(i => i.status === \"unpaid\").map(invoice => (\n                                            <InvoiceCard key={invoice.id} invoice={invoice} />\n                                        ))}\n                                    </div>\n                                </div>\n                            </div>\n\n                            <Separator orientation=\"vertical\" className='hidden md:block data-[orientation=vertical]:h-full data-[orientation=vertical]:bg-border' />\n\n                            {/* Paid Column */}\n                            <div className=\"flex flex-col gap-4 flex-1 min-w-[300px] md:min-w-0 min-h-0 snap-center\">\n                                <div className=\"flex items-center justify-between bg-emerald-500/10 dark:bg-emerald-500/20 px-3 py-2 rounded-lg shrink-0\">\n                                    <div className=\"flex items-center gap-2 text-emerald-600 dark:text-emerald-400\">\n                                        <IconCircleCheckFilled className=\"size-5\" />\n                                        <span className=\"font-semibold font-mono text-sm tracking-tight\">Paid</span>\n                                    </div>\n                                    <div className=\"flex items-center gap-2\">\n                                        <span className=\"text-xs font-medium text-neutral-500 font-mono\">12</span>\n                                        <DropdownMenu>\n                                            <DropdownMenuTrigger asChild>\n                                                <Button variant=\"ghost\" size=\"icon\" className=\"size-6 text-neutral-500 hover:bg-emerald-200/50 dark:hover:bg-emerald-500/20 transition-colors cursor-pointer\">\n                                                    <IconDots className=\"size-3.5\" />\n                                                </Button>\n                                            </DropdownMenuTrigger>\n                                            <DropdownMenuContent align=\"end\" className=\"w-48\">\n                                                <DropdownMenuLabel>Column Actions</DropdownMenuLabel>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem>Select All</DropdownMenuItem>\n                                                <DropdownMenuItem>Archive All</DropdownMenuItem>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem variant=\"destructive\">Delete Column</DropdownMenuItem>\n                                            </DropdownMenuContent>\n                                        </DropdownMenu>\n                                    </div>\n                                </div>\n                                <div className=\"flex-1 overflow-y-auto scrollbar-hide\">\n                                    <div className=\"flex flex-col gap-4\">\n                                        {invoices.filter(i => i.status === \"paid\").map(invoice => (\n                                            <InvoiceCard key={invoice.id} invoice={invoice} />\n                                        ))}\n                                    </div>\n                                </div>\n                            </div>\n\n                            <Separator orientation=\"vertical\" className='hidden md:block data-[orientation=vertical]:h-auto  data-[orientation=vertical]:bg-border' />\n\n                            {/* Draft Column */}\n                            <div className=\"flex flex-col gap-4 flex-1 min-w-[300px] md:min-w-0 min-h-0 snap-center\">\n                                <div className=\"flex items-center justify-between bg-neutral-500/10 dark:bg-neutral-800 px-3 py-2 rounded-lg shrink-0\">\n                                    <div className=\"flex items-center gap-2\">\n                                        <IconFileStarFilled className=\"size-5 text-neutral-600 dark:text-neutral-400\" />\n                                        <span className=\"font-semibold text-neutral-950 dark:text-neutral-50 font-mono text-sm tracking-tight\">Draft</span>\n                                    </div>\n                                    <div className=\"flex items-center gap-2\">\n                                        <span className=\"text-xs font-medium text-neutral-500 font-mono\">12</span>\n                                        <DropdownMenu>\n                                            <DropdownMenuTrigger asChild>\n                                                <Button variant=\"ghost\" size=\"icon\" className=\"size-6 text-neutral-500 hover:bg-neutral-200 dark:hover:bg-neutral-700 transition-colors cursor-pointer\">\n                                                    <IconDots className=\"size-3.5\" />\n                                                </Button>\n                                            </DropdownMenuTrigger>\n                                            <DropdownMenuContent align=\"end\" className=\"w-48\">\n                                                <DropdownMenuLabel>Column Actions</DropdownMenuLabel>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem>Select All</DropdownMenuItem>\n                                                <DropdownMenuItem>Archive All</DropdownMenuItem>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem variant=\"destructive\">Delete Column</DropdownMenuItem>\n                                            </DropdownMenuContent>\n                                        </DropdownMenu>\n                                    </div>\n                                </div>\n                                <div className=\"flex-1 overflow-y-auto scrollbar-hide\">\n                                    <div className=\"flex flex-col gap-4\">\n                                        {invoices.filter(i => i.status === \"draft\").map(invoice => (\n                                            <InvoiceCard key={invoice.id} invoice={invoice} />\n                                        ))}\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </TabsContent>\n            </Tabs>\n        </div>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/business-operations-dashboard/invoicesPageView.tsx"
    }
  ],
  "type": "registry:block"
}
