{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "invoice-manager-dashboard",
  "dependencies": [
    "@radix-ui/react-avatar",
    "@radix-ui/react-checkbox",
    "@radix-ui/react-collapsible",
    "@radix-ui/react-dialog",
    "@radix-ui/react-dropdown-menu",
    "@radix-ui/react-label",
    "@radix-ui/react-select",
    "@radix-ui/react-separator",
    "@radix-ui/react-slot",
    "@radix-ui/react-tooltip",
    "class-variance-authority",
    "lucide-react"
  ],
  "registryDependencies": [
    "avatar",
    "badge",
    "breadcrumb",
    "button",
    "checkbox",
    "collapsible",
    "dialog",
    "dropdown-menu",
    "input",
    "label",
    "pagination",
    "popover",
    "select",
    "separator",
    "sheet",
    "sidebar",
    "skeleton",
    "table",
    "tooltip"
  ],
  "files": [
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/app-sidebar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n  LayoutDashboard,\n  Users,\n  FolderKanban,\n  DollarSign,\n  Landmark,\n  ChartSpline,\n  Headset,\n  Bell,\n  UsersRound,\n  Workflow,\n  Plug,\n  ShieldCheck,\n  Command,\n  KeyRound,\n  Terminal,\n  Settings,\n} from \"lucide-react\"\nimport { Button } from \"@/components/ui/button\"\n\nimport { TeamSwitcher } from \"./team-switcher\"\nimport {\n  Sidebar,\n  SidebarContent,\n  SidebarHeader,\n  SidebarRail,\n} from \"@/components/ui/sidebar\"\nimport { NavTertiary } from \"./nav-Tertiary\"\nimport { NavMain } from \"./nav-main\"\nimport { NavSecondary } from \"./nav-secondary\"\nimport { NavFooter } from \"./nav-footer\"\nimport { SearchForm } from \"./search-form\"\n\n// This is sample data.\nconst data = {\n  user: {\n    name: \"John Doe\",\n    email: \"john@revnix.com\",\n    avatar: \"/avatars/user.jpg\",\n  },\n  teams: [\n    {\n      name: \"Revnix\",\n      logo: Command,\n      plan: \"Enterprise\",\n    },\n  ],\n  navMain: [\n    {\n      name: \"Overview\",\n      url: \"#\",\n      icon: LayoutDashboard,\n      isDisabled: true,\n    },\n    {\n      name: \"Clients\",\n      url: \"#\",\n      icon: Users,\n      isDisabled: true,\n    },\n    {\n      name: \"Projects\",\n      url: \"#\",\n      icon: FolderKanban,\n      isDisabled: true,\n    },\n\n  ],\n  navSecondary: [\n    {\n      title: \"Payments Hub\",\n      url: \"#\",\n      icon: DollarSign,\n      isDisabled: true,\n    },\n    {\n      title: \"Financial Center\",\n      url: \"#\",\n      icon: Landmark,\n      isActive: true,\n      items: [\n        {\n          title: \"Invoices Dashboard\",\n          url: \"#\",\n          isDisabled: true,\n        },\n        {\n          title: \"Invoice Manager\",\n          url: \"/financial-center/invoice-manager\",\n        },\n        {\n          title: \"Payment History\",\n          url: \"#\",\n          isDisabled: true,\n        },\n        {\n          title: \"Subscriptions\",\n          url: \"#\",\n          isDisabled: true,\n        },\n        {\n          title: \"Revenue Insights\",\n          url: \"#\",\n          isDisabled: true,\n        },\n      ],\n    },\n    {\n      title: \"Analytics\",\n      url: \"#\",\n      icon: ChartSpline,\n      isDisabled: true,\n      items: [\n        {\n          title: \"Growth Overview\",\n          url: \"#\",\n          isDisabled: true,\n        },\n        {\n          title: \"Expense Tracker\",\n          url: \"#\",\n          isDisabled: true,\n        },\n        {\n          title: \"Performance Reports\",\n          url: \"#\",\n          isDisabled: true,\n        },\n      ],\n    },\n    {\n      title: \"Support Center\",\n      url: \"#\",\n      icon: Headset,\n      dialog: {\n        title: \"Customer Support\",\n        description: \"How can we help you today?\",\n        content: (\n          <div className=\"grid gap-4 py-4\">\n            <p className=\"text-sm text-muted-foreground\">Contact our support team for any issues or questions about your account.</p>\n            <div className=\"flex flex-col gap-2\">\n              <Button className=\"w-full\">Open Live Chat</Button>\n              <Button variant=\"outline\" className=\"w-full\">Read Documentation</Button>\n            </div>\n          </div>\n        )\n      }\n    },\n    {\n      title: \"Notifications\",\n      url: \"#\",\n      icon: Bell,\n      dialog: {\n        title: \"System Notifications\",\n        description: \"Stay updated with your latest alerts.\",\n        content: (\n          <div className=\"space-y-4 py-4\">\n            {[1, 2].map((i) => (\n              <div key={i} className=\"flex gap-3 items-start border-b pb-3 last:border-0 last:pb-0\">\n                <div className=\"size-2 bg-primary rounded-full mt-1.5 shrink-0\" />\n                <div>\n                  <p className=\"text-sm font-medium\">New Feature: AI Invoicing</p>\n                  <p className=\"text-xs text-muted-foreground\">You can now use AI to generate invoice descriptions automatically.</p>\n                </div>\n              </div>\n            ))}\n            <Button variant=\"link\" className=\"w-full text-xs h-auto p-0\">View all alerts</Button>\n          </div>\n        )\n      }\n    },\n  ],\n  navTertiary: [\n\n    {\n      name: \"Team Access\",\n      url: \"#\",\n      icon: UsersRound,\n      isDisabled: true,\n    },\n    {\n      name: \"Automation Rules\",\n      url: \"#\",\n      icon: Workflow,\n      isDisabled: true,\n    },\n    {\n      name: \"Integrations\",\n      url: \"#\",\n      icon: Plug,\n      isDisabled: true,\n    },\n    {\n      name: \"Compliance Center\",\n      url: \"#\",\n      icon: ShieldCheck,\n      isDisabled: true,\n    },\n  ],\n  navFooter: [\n    {\n      name: \"API Management\",\n      url: \"#\",\n      icon: KeyRound,\n      isDisabled: true,\n    },\n    {\n      name: \"Developer Console\",\n      url: \"#\",\n      icon: Terminal,\n      isDisabled: true,\n    },\n    {\n      name: \"Admin Panel\",\n      url: \"#\",\n      icon: Settings,\n      isDisabled: true,\n    },\n  ],\n}\n\nexport function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {\n  return (\n    <Sidebar {...props}>\n      <SidebarHeader className=\"border-b\">\n        <TeamSwitcher teams={data.teams} />\n      </SidebarHeader>\n      <SidebarContent className=\"gap-0\">\n        <SearchForm />\n        <NavMain items={data.navMain} />\n        <NavSecondary items={data.navSecondary} />\n        <NavTertiary items={data.navTertiary} />\n        <NavFooter items={data.navFooter} />\n      </SidebarContent>\n      <SidebarRail />\n    </Sidebar>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/components/app-sidebar.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/nav-Tertiary.tsx",
      "content": "\"use client\"\n\nimport {\n  type LucideIcon,\n} from \"lucide-react\"\n\nimport {\n  SidebarGroup,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\"\n\nexport function NavTertiary({\n  items,\n}: {\n  items: {\n    name: string\n    url: string\n    icon: LucideIcon\n    isDisabled?: boolean\n  }[]\n}) {\n  const pathname = \"/financial-center/invoice-manager\";\n  return (\n    <SidebarGroup className=\"group-data-[collapsible=icon]:hidden py-3 border-b\">\n      <SidebarMenu>\n        {items.map((item) => (\n          <SidebarMenuItem key={item.name}>\n            <SidebarMenuButton\n              asChild\n              className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === item.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n              isActive={pathname === item.url}\n            >\n              <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                if (item.isDisabled) {\n                  e.preventDefault();\n                }\n              }}>\n                <item.icon />\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/invoice-manager-dashboard/components/nav-Tertiary.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/nav-footer.tsx",
      "content": "\"use client\"\n\nimport {\n  type LucideIcon,\n} from \"lucide-react\"\n\nimport {\n  SidebarGroup,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\"\n\nexport function NavFooter({\n  items,\n}: {\n  items: {\n    name: string\n    url: string\n    icon: LucideIcon\n    isDisabled?: boolean\n  }[]\n}) {\n  const pathname = \"/financial-center/invoice-manager\";\n  return (\n    <SidebarGroup className=\"group-data-[collapsible=icon]:hidden mt-auto\">\n      <SidebarMenu>\n        {items.map((item) => (\n          <SidebarMenuItem key={item.name}>\n            <SidebarMenuButton\n              asChild\n              className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === item.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n              isActive={pathname === item.url}\n            >\n              <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                if (item.isDisabled) {\n                  e.preventDefault();\n                }\n              }}>\n                <item.icon />\n                <span>{item.name}</span>\n              </a>\n            </SidebarMenuButton>\n          </SidebarMenuItem>\n        ))}\n      </SidebarMenu>\n    </SidebarGroup>\n  )\n}",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/components/nav-footer.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/nav-main.tsx",
      "content": "\"use client\"\n\nimport {\n  type LucideIcon,\n} from \"lucide-react\"\n\nimport {\n  SidebarGroup,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\"\n\nexport function NavMain({\n  items,\n}: {\n  items: {\n    name: string\n    url: string\n    icon: LucideIcon\n    isDisabled?: boolean\n  }[]\n}) {\n  const pathname = \"/financial-center/invoice-manager\"\n\n  return (\n    <SidebarGroup className=\"group-data-[collapsible=icon]:hidden border-b pb-3 pt-0\">\n      <SidebarMenu>\n        {items.map((item) => (\n          <SidebarMenuItem key={item.name}  >\n            <SidebarMenuButton\n              asChild\n              tooltip={item.name}\n              className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === item.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n              isActive={pathname === item.url}\n            >\n\n              <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                if (item.isDisabled) {\n                  e.preventDefault();\n                }\n              }}>\n                <item.icon />\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/invoice-manager-dashboard/components/nav-main.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/nav-secondary.tsx",
      "content": "\"use client\"\n\nimport { ChevronRight, type LucideIcon } from \"lucide-react\"\n\nimport {\n  Collapsible,\n  CollapsibleContent,\n  CollapsibleTrigger,\n} from \"@/components/ui/collapsible\"\nimport {\n  SidebarGroup,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  SidebarMenuSub,\n  SidebarMenuSubButton,\n  SidebarMenuSubItem,\n} from \"@/components/ui/sidebar\"\nimport {\n  Dialog,\n  DialogContent,\n  DialogDescription,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n} from \"@/components/ui/dialog\"\n\nexport function NavSecondary({\n  items,\n}: {\n  items: {\n    title: string\n    url: string\n    icon?: LucideIcon\n    isActive?: boolean\n    isDisabled?: boolean\n    items?: {\n      title: string\n      url: string\n      isDisabled?: boolean\n    }[]\n    dialog?: {\n      title: string\n      description: string\n      content: React.ReactNode\n    }\n  }[]\n}) {\n  const pathname = \"/financial-center/invoice-manager\"\n  return (\n    <SidebarGroup className=\"py-3! border-b\">\n      <SidebarMenu>\n        {items.map((item) =>\n          item.items && item.items.length > 0 ? (\n            <Collapsible\n              key={item.title}\n              asChild\n              defaultOpen={item.isActive}\n              className=\"group/collapsible\"\n            >\n              <SidebarMenuItem>\n                <CollapsibleTrigger asChild>\n                  <SidebarMenuButton\n                    tooltip={item.title}\n                    className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === item.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n                    isActive={pathname === item.url}\n                  >\n\n                    {item.icon && <item.icon />}\n                    <span>{item.title}</span>\n                    <ChevronRight className=\"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90\" />\n                  </SidebarMenuButton>\n                </CollapsibleTrigger>\n                <CollapsibleContent>\n                  <SidebarMenuSub>\n                    {item.items.map((subItem) => (\n                      <SidebarMenuSubItem key={subItem.title}>\n                        <SidebarMenuSubButton\n                          asChild\n                          className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === subItem.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n                          isActive={pathname === subItem.url}\n                        >\n\n                          <a href={subItem.isDisabled ? \"#\" : subItem.url} onClick={(e) => {\n                            if (subItem.isDisabled) {\n                              e.preventDefault();\n                            }\n                          }}>\n                            <span>{subItem.title}</span>\n                          </a>\n                        </SidebarMenuSubButton>\n                      </SidebarMenuSubItem>\n                    ))}\n                  </SidebarMenuSub>\n                </CollapsibleContent>\n              </SidebarMenuItem>\n            </Collapsible>\n          ) : (\n            <SidebarMenuItem key={item.title}>\n              {item.dialog ? (\n                <Dialog>\n                  <DialogTrigger asChild>\n                    <SidebarMenuButton\n                      tooltip={item.title}\n                      className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === item.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n                    >\n                      {item.icon && <item.icon />}\n                      <span>{item.title}</span>\n                    </SidebarMenuButton>\n                  </DialogTrigger>\n                  <DialogContent>\n                    <DialogHeader>\n                      <DialogTitle>{item.dialog.title}</DialogTitle>\n                      <DialogDescription>\n                        {item.dialog.description}\n                      </DialogDescription>\n                    </DialogHeader>\n                    {item.dialog.content}\n                  </DialogContent>\n                </Dialog>\n              ) : (\n                <SidebarMenuButton\n                  asChild\n                  tooltip={item.title}\n                  className={`rounded transition-colors duration-200 hover:bg-muted ${pathname === item.url ? \"text-sidebar-foreground bg-sidebar-accent\" : \"text-sidebar-foreground/70\"}`}\n                  isActive={pathname === item.url}\n                >\n                  <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                    if (item.isDisabled) {\n                      e.preventDefault();\n                    }\n                  }}>\n                    {item.icon && <item.icon />}\n                    <span>{item.title}</span>\n                  </a>\n                </SidebarMenuButton>\n              )}\n            </SidebarMenuItem>\n          )\n        )}\n      </SidebarMenu>\n    </SidebarGroup>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/components/nav-secondary.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/search-form.tsx",
      "content": "import { Search } from \"lucide-react\"\n\nimport { Label } from \"@/components/ui/label\"\nimport {\n    SidebarGroup,\n    SidebarGroupContent,\n    SidebarInput,\n} from \"@/components/ui/sidebar\"\n\nexport function SearchForm({ ...props }: React.ComponentProps<\"form\">) {\n    return (\n        <form {...props}>\n            <SidebarGroup className=\"pt-2 pb-1\">\n                <SidebarGroupContent className=\"relative\">\n                    <Label htmlFor=\"search\" className=\"sr-only\">\n                        Search\n                    </Label>\n                    <SidebarInput\n                        id=\"search\"\n                        placeholder=\"Search\"\n                        className=\"pl-8 bg-neutral-500/5 dark:bg-neutral-500/10 border-border/50 rounded transition-colors duration-200 focus:bg-background focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none\"\n                    />\n                    <Search className=\"pointer-events-none absolute top-1/2 left-2 size-3.5 -translate-y-1/2 text-muted-foreground select-none\" />\n                </SidebarGroupContent>\n            </SidebarGroup>\n        </form>\n    )\n}",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/components/search-form.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/site-header.tsx",
      "content": "\"use client\"\n\nimport {\n    Breadcrumb,\n    BreadcrumbItem,\n    BreadcrumbLink,\n    BreadcrumbList,\n    BreadcrumbPage,\n    BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\nimport { Button } from \"@/components/ui/button\"\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport {\n    ArrowLeft,\n    Grid3X3,\n    Bell,\n    MessageSquare,\n    ChevronRight,\n    User,\n    Settings,\n    LogOut,\n} from \"lucide-react\"\nimport React from \"react\"\nimport { SidebarTrigger } from \"@/components/ui/sidebar\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n    PopoverHeader,\n    PopoverTitle,\n    PopoverDescription,\n} from \"@/components/ui/popover\"\nimport {\n    DropdownMenu,\n    DropdownMenuContent,\n    DropdownMenuItem,\n    DropdownMenuTrigger,\n    DropdownMenuSeparator,\n} from \"@/components/ui/dropdown-menu\"\n\n\n// Convert kebab-case to Title Case (e.g., \"financial-center\" -> \"Financial Center\")\nfunction formatBreadcrumb(segment: string): string {\n    return segment\n        .split(\"-\")\n        .map(word => word.charAt(0).toUpperCase() + word.slice(1))\n        .join(\" \")\n}\n\nexport const SiteHeader = () => {\n    const pathname = \"/financial-center/invoice-manager\"\n    const router = { back: () => { } }\n\n    // Split path and filter empty segments\n    const segments = pathname.split(\"/\").filter(Boolean)\n\n    // Build breadcrumb items with cumulative paths\n    const breadcrumbItems = segments.map((segment, index) => {\n        const href = \"/\" + segments.slice(0, index + 1).join(\"/\")\n        const label = formatBreadcrumb(segment)\n        const isLast = index === segments.length - 1\n\n        return { href, label, isLast }\n    })\n\n    return (\n        <header className=\"flex h-12 shrink-0 items-center justify-between gap-2 border-b px-2\">\n            {/* Left side: Sidebar Trigger + Back button + Breadcrumbs */}\n            <div className=\"flex items-center gap-3\">\n                <SidebarTrigger className=\"-ml-1 md:hidden transition-colors duration-200 hover:shadow-sm\" />\n                <Button\n                    variant=\"ghost\"\n                    size=\"icon\"\n                    className=\"size-6 bg-muted-foreground/5 rounded transition-colors duration-200 hover:bg-muted-foreground/10\"\n                    onClick={() => router.back()}\n                >\n                    <ArrowLeft className=\"size-2.5\" />\n                </Button>\n\n                <Breadcrumb className=\"hidden sm:block\">\n                    <BreadcrumbList>\n                        {breadcrumbItems.map((item, index) => (\n                            <React.Fragment key={item.href}>\n                                {index > 0 && (\n                                    <BreadcrumbSeparator>\n                                        <ChevronRight className=\"size-3.5\" />\n                                    </BreadcrumbSeparator>\n                                )}\n                                <BreadcrumbItem>\n                                    {item.isLast ? (\n                                        <BreadcrumbPage>{item.label}</BreadcrumbPage>\n                                    ) : (\n                                        <BreadcrumbLink href={item.href}>\n                                            {item.label}\n                                        </BreadcrumbLink>\n                                    )}\n                                </BreadcrumbItem>\n                            </React.Fragment>\n                        ))}\n                    </BreadcrumbList>\n                </Breadcrumb>\n\n            </div>\n\n            {/* Right side: Icons + Avatar */}\n            <div className=\"flex items-center gap-2\">\n                <Popover>\n                    <PopoverTrigger asChild>\n                        <Button variant=\"ghost\" size=\"icon\" className=\"size-6 bg-muted-foreground/5 rounded hidden sm:flex transition-colors duration-200 hover:bg-muted-foreground/10\">\n                            <Grid3X3 className=\"size-2.5\" />\n                        </Button>\n                    </PopoverTrigger>\n                    <PopoverContent align=\"end\" className=\"w-64 p-4\">\n                        <PopoverHeader className=\"mb-2\">\n                            <PopoverTitle>Shortcuts</PopoverTitle>\n                            <PopoverDescription>Quick access to your apps.</PopoverDescription>\n                        </PopoverHeader>\n                        <div className=\"grid grid-cols-3 gap-4 py-2\">\n                            {['Email', 'Calendar', 'Files', 'Tasks', 'Notes', 'Chat'].map((app) => (\n                                <div key={app} className=\"flex flex-col items-center gap-1 cursor-pointer hover:bg-accent p-2 rounded-md transition-colors\">\n                                    <div className=\"size-8 bg-primary/10 rounded-lg flex items-center justify-center\">\n                                        <Grid3X3 className=\"size-4 text-primary\" />\n                                    </div>\n                                    <span className=\"text-[10px]\">{app}</span>\n                                </div>\n                            ))}\n                        </div>\n                    </PopoverContent>\n                </Popover>\n\n                <Popover>\n                    <PopoverTrigger asChild>\n                        <Button variant=\"ghost\" size=\"icon\" className=\"size-6 bg-muted-foreground/5 rounded hidden sm:flex transition-colors duration-200 hover:bg-muted-foreground/10\">\n                            <Bell className=\"size-2.5\" />\n                        </Button>\n                    </PopoverTrigger>\n                    <PopoverContent align=\"end\" className=\"w-80 p-0\">\n                        <PopoverHeader className=\"p-4 border-b\">\n                            <PopoverTitle>Notifications</PopoverTitle>\n                        </PopoverHeader>\n                        <div className=\"max-h-64 overflow-y-auto\">\n                            {[1, 2, 3].map((i) => (\n                                <div key={i} className=\"p-4 border-b last:border-0 hover:bg-accent cursor-pointer transition-colors\">\n                                    <p className=\"text-xs font-medium\">New invoice created</p>\n                                    <p className=\"text-[10px] text-muted-foreground mt-1\">Invoice #INV-2024-{i} has been successfully generated.</p>\n                                    <p className=\"text-[9px] text-muted-foreground mt-2 italic\">2 mins ago</p>\n                                </div>\n                            ))}\n                        </div>\n                        <div className=\"p-2 bg-muted/50 text-center\">\n                            <Button variant=\"link\" className=\"text-[10px] h-auto p-0\">View all notifications</Button>\n                        </div>\n                    </PopoverContent>\n                </Popover>\n\n                <Popover>\n                    <PopoverTrigger asChild>\n                        <Button variant=\"ghost\" size=\"icon\" className=\"size-6 bg-muted-foreground/5 rounded hidden sm:flex transition-colors duration-200 hover:bg-muted-foreground/10\">\n                            <MessageSquare className=\"size-2.5\" />\n                        </Button>\n                    </PopoverTrigger>\n                    <PopoverContent align=\"end\" className=\"w-80 p-0\">\n                        <PopoverHeader className=\"p-4 border-b\">\n                            <PopoverTitle>Messages</PopoverTitle>\n                        </PopoverHeader>\n                        <div className=\"max-h-64 overflow-y-auto\">\n                            {[\n                                { name: 'John Doe', msg: \"Hey, can you check the new invoice?\" },\n                                { name: 'Sarah Wilson', msg: \"The payment for INV-882 is pending.\" }\n                            ].map((m, i) => (\n                                <div key={i} className=\"p-4 border-b last:border-0 hover:bg-accent cursor-pointer transition-colors flex gap-3\">\n                                    <Avatar className=\"size-8\">\n                                        <AvatarFallback className=\"text-[10px]\">{m.name[0]}</AvatarFallback>\n                                    </Avatar>\n                                    <div className=\"flex-1 min-w-0\">\n                                        <p className=\"text-xs font-medium\">{m.name}</p>\n                                        <p className=\"text-[10px] text-muted-foreground truncate\">{m.msg}</p>\n                                    </div>\n                                    <div className=\"size-2 bg-primary rounded-full mt-1 shrink-0\" />\n                                </div>\n                            ))}\n                        </div>\n                        <div className=\"p-2 bg-muted/50 text-center\">\n                            <Button variant=\"link\" className=\"text-[10px] h-auto p-0\">Open Message Center</Button>\n                        </div>\n                    </PopoverContent>\n                </Popover>\n\n                <DropdownMenu>\n                    <DropdownMenuTrigger asChild>\n                        <Avatar className=\"size-5 transition-colors duration-200 cursor-pointer hover:ring-2 hover:ring-muted-foreground/20\">\n                            <AvatarImage src=\"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=1480&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\" />\n                            <AvatarFallback className=\"text-xs\">JD</AvatarFallback>\n                        </Avatar>\n                    </DropdownMenuTrigger>\n                    <DropdownMenuContent align=\"end\" className=\"w-56\">\n                        <div className=\"flex items-center gap-2 p-2\">\n                            <Avatar className=\"size-8\">\n                                <AvatarImage src=\"https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=1480&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\" />\n                                <AvatarFallback>JD</AvatarFallback>\n                            </Avatar>\n                            <div className=\"flex flex-col\">\n                                <span className=\"text-sm font-medium\">John Doe</span>\n                                <span className=\"text-xs text-muted-foreground\">john@watermelon.ai</span>\n                            </div>\n                        </div>\n                        <DropdownMenuSeparator />\n                        <DropdownMenuItem>\n                            <User className=\"size-4 mr-2\" />\n                            Profile\n                        </DropdownMenuItem>\n                        <DropdownMenuItem>\n                            <Settings className=\"size-4 mr-2\" />\n                            Settings\n                        </DropdownMenuItem>\n                        <DropdownMenuSeparator />\n                        <DropdownMenuItem className=\"text-destructive\">\n                            <LogOut className=\"size-4 mr-2\" />\n                            Log out\n                        </DropdownMenuItem>\n                    </DropdownMenuContent>\n                </DropdownMenu>\n            </div>\n        </header>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/components/site-header.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/components/team-switcher.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport {\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  SidebarTrigger,\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 [activeTeam] = React.useState(teams[0])\n\n  return (\n    <SidebarMenu>\n      <SidebarMenuItem>\n        <div className=\"flex w-full items-center\">\n          <SidebarMenuButton\n            size=\"default\"\n            className=\"flex-1 data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground hover:bg-transparent active:bg-transparent group-data-[collapsible=icon]:p-0! group-data-[collapsible=icon]:w-auto! group-data-[collapsible=icon]:flex-none\"\n          >\n            <div className=\"bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-7 items-center justify-center rounded transition-transform duration-200 group-hover:scale-110\">\n              <activeTeam.logo className=\"size-3.5\" />\n            </div>\n            <div className=\"grid flex-1 text-left text-sm leading-tight group-data-[collapsible=icon]:hidden\">\n              <span className=\"truncate font-medium text-lg\">{activeTeam.name}</span>\n              {/* <span className=\"truncate text-xs\">{activeTeam.plan}</span> */}\n            </div>\n          </SidebarMenuButton>\n          <SidebarTrigger className=\"group-data-[collapsible=icon]:hidden transition-all duration-200 hover:scale-110 active:scale-95\" />\n        </div>\n      </SidebarMenuItem>\n    </SidebarMenu>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/components/team-switcher.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/dashboardLayout.tsx",
      "content": "import { AppSidebar } from \"./components/app-sidebar\"\nimport { SiteHeader } from \"./components/site-header\"\nimport {\n    SidebarInset,\n    SidebarProvider,\n} from \"@/components/ui/sidebar\"\n\nexport const DashboardLayout = ({ children }: { children: React.ReactNode }) => {\n    return (\n        <SidebarProvider>\n            <AppSidebar />\n            <SidebarInset>\n                <SiteHeader />\n                <main className=\"flex-1\">\n                    {children}\n                </main>\n            </SidebarInset>\n        </SidebarProvider>\n    )\n}",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/dashboardLayout.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/demo.tsx",
      "content": "\"use client\";\n\nimport { DashboardLayout } from \"./dashboardLayout\";\nimport { InvoiceManagerView } from \"./invoiceManagerView\";\n\nexport default function InvoiceManagerDashboardDemo() {\n    return (\n        <DashboardLayout>\n            <InvoiceManagerView />\n        </DashboardLayout>\n    );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/demo.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/invoiceManagerView.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport { Button } from \"@/components/ui/button\"\nimport { Checkbox } from \"@/components/ui/checkbox\"\nimport {\n    Table,\n    TableBody,\n    TableCell,\n    TableHead,\n    TableHeader,\n    TableRow,\n} from \"@/components/ui/table\"\nimport {\n    Select,\n    SelectContent,\n    SelectItem,\n    SelectTrigger,\n    SelectValue,\n} from \"@/components/ui/select\"\nimport {\n    Pagination,\n    PaginationContent,\n    PaginationItem,\n    PaginationLink,\n} from \"@/components/ui/pagination\"\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    DropdownMenuTrigger,\n    DropdownMenuSeparator,\n} from \"@/components/ui/dropdown-menu\"\nimport { Input } from \"@/components/ui/input\"\nimport { Label } from \"@/components/ui/label\"\nimport {\n    ChevronLeft,\n    ChevronRight,\n    Plus,\n    Filter,\n    ArrowUpDown,\n    Search,\n    RefreshCw,\n    GripVertical,\n    Download,\n    Upload,\n    FileJson,\n    FileSpreadsheet,\n    FileText,\n    Share2,\n    Copy,\n} from \"lucide-react\"\nimport { invoiceData } from \"./data\"\n\nconst StatusBadge = ({ status }: { status: string }) => {\n    const statusStyles: Record<string, string> = {\n        Rejected: \"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20\",\n        Accepted: \"bg-green-500/10 text-green-600 dark:text-green-400 border-green-500/20\",\n        \"Under Review\": \"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 border-yellow-500/20\",\n        Processing: \"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20\",\n    }\n\n    return (\n        <span\n            className={`inline-flex items-center px-2.5 py-0.5 rounded-full text-[10px] sm:text-xs font-medium border transition-colors duration-200 cursor-default ${statusStyles[status] || \"bg-muted text-muted-foreground border-border\"\n                }`}\n        >\n            {status}\n        </span>\n    )\n}\n\nexport const InvoiceManagerView = () => {\n    const [selectedRows, setSelectedRows] = useState<number[]>([])\n    const [currentPage, setCurrentPage] = useState(1)\n    const [rowsPerPage, setRowsPerPage] = useState(7)\n\n    const totalResults = 300\n    const totalPages = Math.ceil(totalResults / 20)\n\n    const toggleSelectAll = () => {\n        if (selectedRows.length === invoiceData.length) {\n            setSelectedRows([])\n        } else {\n            setSelectedRows(invoiceData.map((row) => row.id))\n        }\n    }\n\n    const toggleSelectRow = (id: number) => {\n        setSelectedRows((prev) =>\n            prev.includes(id) ? prev.filter((rowId) => rowId !== id) : [...prev, id]\n        )\n    }\n\n    const isAllSelected = selectedRows.length === invoiceData.length\n    const selectedCount = selectedRows.length\n\n    return (\n        <div className=\"w-full h-full flex flex-col bg-background text-foreground\">\n            <div className=\"flex sm:flex-row sm:items-center justify-between px-4 py-3 bg-neutral-950/5 dark:bg-neutral-900 border-b border-border gap-4 sm:gap-2\">\n\n                <div className=\"flex items-center gap-2\">\n                    <button className=\"flex items-center text-muted-foreground hover:text-foreground transition-colors\">\n                        <ChevronLeft className=\"size-4\" />\n                    </button>\n                    <h1 className=\"text-sm font-medium text-foreground\">Invoice Manager</h1>\n                </div>\n                <div className=\"flex flex-wrap items-center gap-2\">\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button\n                                size=\"sm\"\n                                className=\"text-[10px] sm:text-xs bg-white text-muted-foreground rounded hover:bg-white/80 dark:bg-muted dark:hover:bg-muted/80 h-8 sm:h-9 hidden sm:flex border border-border transition-colors duration-200 hover:shadow-sm\"\n                            >\n                                <Download className=\"size-3 mr-1.5\" />\n                                Import & Export\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\" className=\"w-48\">\n                            <DropdownMenuItem>\n                                <Upload className=\"size-4 mr-2\" />\n                                Import CSV\n                            </DropdownMenuItem>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem>\n                                <FileSpreadsheet className=\"size-4 mr-2\" />\n                                Export Excel\n                            </DropdownMenuItem>\n                            <DropdownMenuItem>\n                                <FileText className=\"size-4 mr-2\" />\n                                Export PDF\n                            </DropdownMenuItem>\n                            <DropdownMenuItem>\n                                <FileJson className=\"size-4 mr-2\" />\n                                Export JSON\n                            </DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n\n                    <Dialog>\n                        <DialogTrigger asChild>\n                            <Button\n                                size=\"sm\"\n                                className=\"text-[10px] sm:text-xs bg-white text-muted-foreground rounded hover:bg-white/80 dark:bg-muted dark:hover:bg-muted/80 h-8 sm:h-9 border border-border transition-colors duration-200 hover:shadow-sm\"\n                            >\n                                <Plus className=\"size-3.5\" />\n                                <span className=\"hidden xs:inline\">Add New</span>\n                                <span className=\"xs:hidden\">Add</span>\n                            </Button>\n                        </DialogTrigger>\n                        <DialogContent>\n                            <DialogHeader>\n                                <DialogTitle>Create New Invoice</DialogTitle>\n                                <DialogDescription>\n                                    Enter the details for the new invoice here.\n                                </DialogDescription>\n                            </DialogHeader>\n                            <div className=\"grid gap-4 py-4\">\n                                <div className=\"grid grid-cols-4 items-center gap-4\">\n                                    <Label htmlFor=\"company\" className=\"text-right\">Company</Label>\n                                    <Input id=\"company\" placeholder=\"Acme Inc.\" className=\"col-span-3 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none\" />\n                                </div>\n                                <div className=\"grid grid-cols-4 items-center gap-4\">\n                                    <Label htmlFor=\"client\" className=\"text-right\">Client Name</Label>\n                                    <Input id=\"client\" placeholder=\"John Smith\" className=\"col-span-3 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none\" />\n                                </div>\n                                <div className=\"grid grid-cols-4 items-center gap-4\">\n                                    <Label htmlFor=\"value\" className=\"text-right\">Deal Value</Label>\n                                    <Input id=\"value\" placeholder=\"$0.00\" className=\"col-span-3 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none\" />\n                                </div>\n                            </div>\n                            <DialogFooter>\n                                <Button type=\"submit\">Save Invoice</Button>\n                            </DialogFooter>\n                        </DialogContent>\n                    </Dialog>\n\n                    <Dialog>\n                        <DialogTrigger asChild>\n                            <Button\n                                size=\"sm\"\n                                className=\"text-[10px] sm:text-xs bg-white text-muted-foreground rounded hover:bg-white/80 dark:bg-muted dark:hover:bg-muted/80 h-8 sm:h-9 hidden sm:flex border border-border transition-colors duration-200 hover:shadow-sm\"\n                            >\n                                <Share2 className=\"size-3 mr-1.5\" />\n                                Share\n                            </Button>\n                        </DialogTrigger>\n                        <DialogContent className=\"max-w-md\">\n                            <DialogHeader>\n                                <DialogTitle>Share Invoice</DialogTitle>\n                                <DialogDescription>\n                                    Anyone with the link can view this invoice.\n                                </DialogDescription>\n                            </DialogHeader>\n                            <div className=\"flex items-center space-x-2 py-4\">\n                                <div className=\"grid flex-1 gap-2\">\n                                    <Label htmlFor=\"link\" className=\"sr-only\">\n                                        Link\n                                    </Label>\n                                    <Input\n                                        id=\"link\"\n                                        defaultValue=\"https://watermelon.xyz/invoice/inv-7821\"\n                                        readOnly\n                                        className=\"focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none\"\n                                    />\n                                </div>\n                                <Button type=\"submit\" size=\"sm\" className=\"px-3\">\n                                    <span className=\"sr-only\">Copy</span>\n                                    <Copy className=\"h-4 w-4\" />\n                                </Button>\n                            </div>\n                            <DialogFooter className=\"sm:justify-start\">\n                                <Button type=\"button\" variant=\"secondary\" className=\"w-full\">\n                                    Email Link\n                                </Button>\n                            </DialogFooter>\n                        </DialogContent>\n                    </Dialog>\n\n                </div>\n            </div>\n\n            <div className=\"flex flex-col lg:flex-row lg:items-center justify-between px-4 py-3 border-b border-border gap-4 lg:gap-2\">\n\n                <div className=\"flex flex-wrap items-center gap-2 sm:gap-3\">\n                    <Dialog>\n                        <DialogTrigger asChild>\n                            <Button\n                                size=\"sm\"\n                                variant=\"ghost\"\n                                className=\"text-[10px] sm:text-xs bg-muted text-muted-foreground rounded hover:bg-muted/80 gap-1.5 h-8 sm:h-9 transition-colors duration-200 hover:shadow-sm\"\n                            >\n                                <RefreshCw className=\"size-3.5\" />\n                                Update\n                            </Button>\n                        </DialogTrigger>\n                        <DialogContent className=\"sm:max-w-[425px]\">\n                            <DialogHeader>\n                                <DialogTitle>Data Synchronization</DialogTitle>\n                                <DialogDescription>\n                                    Refreshing your dashboard with the latest data from the server.\n                                </DialogDescription>\n                            </DialogHeader>\n                            <div className=\"flex flex-col items-center justify-center py-8 gap-4\">\n                                <RefreshCw className=\"size-8 text-primary animate-spin\" />\n                                <p className=\"text-sm font-medium\">Syncing invoices...</p>\n                                <div className=\"w-full bg-muted rounded-full h-1.5 overflow-hidden\">\n                                    <div className=\"bg-primary h-full w-[65%] rounded-full animate-pulse\" />\n                                </div>\n                            </div>\n                            <DialogFooter>\n                                <Button type=\"button\" variant=\"secondary\" className=\"w-full\">Cancel Sync</Button>\n                            </DialogFooter>\n                        </DialogContent>\n                    </Dialog>\n                    {selectedCount > 0 && (\n                        <span className=\"text-[10px] sm:text-xs bg-muted flex items-center justify-center text-muted-foreground px-2.5 py-1.5 h-8 sm:h-9 sm:py-2 rounded font-medium transition-all animate-in fade-in zoom-in-95 duration-200\">\n                            {selectedCount} Selected\n                        </span>\n                    )}\n                    <Popover>\n                        <PopoverTrigger asChild>\n                            <Button\n                                size=\"sm\"\n                                variant=\"ghost\"\n                                className=\"text-[10px] sm:text-xs text-muted-foreground bg-muted rounded hover:bg-muted/80 gap-1.5 h-8 sm:h-9 transition-colors duration-200 hover:shadow-sm\"\n                            >\n                                <Filter className=\"size-3.5\" />\n                                Filter\n                            </Button>\n                        </PopoverTrigger>\n                        <PopoverContent className=\"w-56 p-3\">\n                            <div className=\"space-y-3\">\n                                <h4 className=\"font-medium text-xs leading-none\">Filters</h4>\n                                <div className=\"space-y-2\">\n                                    <div className=\"flex items-center gap-2\">\n                                        <Checkbox id=\"status-accepted\" />\n                                        <Label htmlFor=\"status-accepted\" className=\"text-xs\">Accepted</Label>\n                                    </div>\n                                    <div className=\"flex items-center gap-2\">\n                                        <Checkbox id=\"status-review\" />\n                                        <Label htmlFor=\"status-review\" className=\"text-xs\">Under Review</Label>\n                                    </div>\n                                    <div className=\"flex items-center gap-2\">\n                                        <Checkbox id=\"status-rejected\" />\n                                        <Label htmlFor=\"status-rejected\" className=\"text-xs\">Rejected</Label>\n                                    </div>\n                                </div>\n                                <Button size=\"sm\" className=\"w-full text-xs h-7\">Apply Filters</Button>\n                            </div>\n                        </PopoverContent>\n                    </Popover>\n\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button\n                                size=\"sm\"\n                                variant=\"ghost\"\n                                className=\"text-[10px] sm:text-xs text-muted-foreground bg-muted rounded hover:bg-muted/80 gap-1.5 h-8 sm:h-9 transition-colors duration-200 hover:shadow-sm\"\n                            >\n                                <ArrowUpDown className=\"size-3.5\" />\n                                Sort\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"start\" className=\"w-40\">\n                            <DropdownMenuItem>Date: NewestFirst</DropdownMenuItem>\n                            <DropdownMenuItem>Date: Oldest First</DropdownMenuItem>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem>Value: High to Low</DropdownMenuItem>\n                            <DropdownMenuItem>Value: Low to High</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                    <span className=\"text-[10px] sm:text-xs text-muted-foreground font-medium ml-2\">80 Results</span>\n                </div>\n\n                <div className=\"flex items-center gap-2 w-full lg:w-auto\">\n                    <div className=\"relative w-full lg:w-64\">\n                        <Search className=\"absolute left-2.5 top-1/2 -translate-y-1/2 size-3.5 text-muted-foreground\" />\n                        <input\n                            type=\"text\"\n                            placeholder=\"Search for the client\"\n                            className=\"w-full bg-muted/40 border border-border rounded px-8 py-1.5 text-xs text-foreground placeholder:text-muted-foreground focus:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 shadow-none transition-colors\"\n                        />\n                    </div>\n\n                </div>\n            </div>\n            <div className=\"flex-1 overflow-auto\">\n                <Table>\n                    <TableHeader>\n                        <TableRow className=\"border-border bg-neutral-950/5 dark:bg-neutral-950\">\n                            <TableHead className=\"text-xs text-muted-foreground font-medium border-r border-border\">\n                                <div className=\"flex items-center gap-3\">\n                                    <GripVertical className=\"size-4 text-muted-foreground/40\" />\n                                    <Checkbox\n                                        checked={isAllSelected}\n                                        onCheckedChange={toggleSelectAll}\n                                        className=\"border-border\"\n                                    />\n                                    <span>Company</span>\n                                </div>\n                            </TableHead>\n                            <TableHead className=\"text-[10px] sm:text-xs text-muted-foreground font-medium border-r border-border min-w-[150px]\">Client Name</TableHead>\n                            <TableHead className=\"text-[10px] sm:text-xs text-muted-foreground font-medium border-r border-border\">Deal Value</TableHead>\n                            <TableHead className=\"text-[10px] sm:text-xs text-muted-foreground font-medium border-r border-border\">Business Report</TableHead>\n                            <TableHead className=\"text-[10px] sm:text-xs text-muted-foreground font-medium border-r border-border\">Invoice Date</TableHead>\n                            <TableHead className=\"text-[10px] sm:text-xs text-muted-foreground font-medium border-r border-border\">Status</TableHead>\n                            <TableHead className=\"text-[10px] sm:text-xs text-muted-foreground font-medium\">Category</TableHead>\n                        </TableRow>\n                    </TableHeader>\n\n\n                    <TableBody className=\"[&_tr:last-child]:border-b\">\n                        {invoiceData.map((row) => (\n                            <TableRow\n                                key={row.id}\n                                className={`border-border hover:bg-muted/20 border-b transition-colors duration-200 ${selectedRows.includes(row.id) ? \"bg-muted/30\" : \"\"\n                                    }`}\n                                data-state={selectedRows.includes(row.id) ? \"selected\" : undefined}\n                            >\n                                <TableCell className=\"border-r border-border\">\n                                    <div className=\"flex items-center gap-3\">\n                                        <GripVertical className=\"size-4 text-muted-foreground/40 cursor-grab\" />\n                                        <Checkbox\n                                            checked={selectedRows.includes(row.id)}\n                                            onCheckedChange={() => toggleSelectRow(row.id)}\n                                            className=\"border-border\"\n                                        />\n                                        <span className=\"text-xs text-foreground font-medium\">{row.company}</span>\n                                    </div>\n                                </TableCell>\n                                <TableCell className=\"border-r border-border min-w-[150px]\">\n                                    <div className=\"flex items-center gap-2\">\n                                        <img\n                                            src={`https://avatar.vercel.sh/${row.clientName}`}\n                                            alt={row.clientName}\n                                            width={22.5}\n                                            height={22.5}\n                                            className=\"rounded-full\"\n                                        />\n                                        <span className=\"text-[10px] sm:text-xs text-foreground font-medium\">{row.clientName}</span>\n                                    </div>\n                                </TableCell>\n                                <TableCell className=\"text-[10px] sm:text-xs text-foreground font-medium border-r border-border\">\n                                    {row.dealValue}\n                                </TableCell>\n\n                                <TableCell className=\"text-[10px] sm:text-xs text-muted-foreground max-w-xs truncate border-r border-border\">\n                                    {row.businessReport}\n                                </TableCell>\n                                <TableCell className=\"text-[10px] sm:text-xs text-muted-foreground border-r border-border\">\n                                    {row.invoiceDate}\n                                </TableCell>\n                                <TableCell className=\"border-r border-border\">\n                                    <StatusBadge status={row.status} />\n                                </TableCell>\n                                <TableCell className=\"text-[10px] sm:text-xs text-muted-foreground\">\n                                    {row.category}\n                                </TableCell>\n                            </TableRow>\n                        ))}\n                    </TableBody>\n                </Table>\n            </div>\n\n            <div className=\"flex flex-col md:flex-row items-center justify-between px-4 py-3 border-t border-border gap-4 md:gap-2 bg-background\">\n                <div className=\"text-xs text-muted-foreground font-medium order-2 md:order-1 max-w-xs truncate\">\n                    1-20 of 300\n                </div>\n                <Pagination className=\"order-1 md:order-2\">\n                    <PaginationContent className=\"gap-1\">\n                        <PaginationItem>\n                            <button\n                                className=\"size-8 sm:size-7 flex items-center justify-center rounded text-muted-foreground hover:bg-muted transition-colors duration-200 disabled:opacity-50\"\n                                disabled={currentPage === 1}\n                                onClick={() => setCurrentPage((p) => Math.max(1, p - 1))}\n                            >\n                                <ChevronLeft className=\"size-4\" />\n                            </button>\n\n                        </PaginationItem>\n                        {[1, 2, 3, 4, 5].map((page) => (\n                            <PaginationItem key={page} className={page > 3 ? \"hidden sm:block\" : \"\"}>\n                                <PaginationLink\n                                    href=\"#\"\n                                    onClick={(e) => {\n                                        e.preventDefault()\n                                        setCurrentPage(page)\n                                    }}\n                                    isActive={currentPage === page}\n                                    className={`size-8 sm:size-7 text-[10px] sm:text-xs rounded transition-colors duration-200 ${currentPage === page\n                                        ? \"bg-primary text-primary-foreground dark:text-white font-medium\"\n                                        : \"text-muted-foreground hover:bg-muted\"\n                                        }`}\n                                >\n                                    {page}\n                                </PaginationLink>\n                            </PaginationItem>\n                        ))}\n                        <PaginationItem className=\"hidden sm:block\">\n                            <span className=\"text-muted-foreground/30 px-1\">...</span>\n                        </PaginationItem>\n                        <PaginationItem>\n                            <button\n                                className=\"size-8 sm:size-7 flex items-center justify-center rounded text-muted-foreground hover:bg-muted transition-colors duration-200\"\n                                onClick={() => setCurrentPage((p) => Math.min(totalPages, p + 1))}\n                            >\n                                <ChevronRight className=\"size-4\" />\n                            </button>\n\n                        </PaginationItem>\n                    </PaginationContent>\n                </Pagination>\n\n                <div className=\"flex items-center gap-2 order-3\">\n                    <span className=\"text-[10px] sm:text-xs text-muted-foreground font-medium\">Row/Page:</span>\n                    <Select value={String(rowsPerPage)} onValueChange={(v) => setRowsPerPage(Number(v))}>\n                        <SelectTrigger size=\"sm\" className=\"h-6 sm:h-5 w-fit text-[10px] sm:text-xs px-2 sm:px-2.5 bg-muted border-none text-muted-foreground\">\n                            <SelectValue />\n                        </SelectTrigger>\n                        <SelectContent className=\"bg-popover border-border\">\n                            <SelectItem value=\"7\" className=\"text-xs\">7</SelectItem>\n                            <SelectItem value=\"10\" className=\"text-xs\">10</SelectItem>\n                            <SelectItem value=\"20\" className=\"text-xs\">20</SelectItem>\n                        </SelectContent>\n                    </Select>\n                </div>\n\n            </div>\n\n        </div>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/invoiceManagerView.tsx"
    },
    {
      "path": "src/components/dashboards/invoice-manager-dashboard/data.ts",
      "content": "export interface Invoice {\n  id: number;\n  company: string;\n  clientName: string;\n  dealValue: string;\n  businessReport: string;\n  invoiceDate: string;\n  status: string;\n  category: string;\n}\n\nexport const invoiceData: Invoice[] = [\n  {\n    id: 1,\n    company: \"BrightPath\",\n    clientName: \"Olivia Carter\",\n    dealValue: \"$1300\",\n    businessReport: \"Financial dashboard for investment tracking.\",\n    invoiceDate: \"24/10/2025\",\n    status: \"Rejected\",\n    category: \"Finance\",\n  },\n  {\n    id: 2,\n    company: \"CoreVision\",\n    clientName: \"Ethan Miller\",\n    dealValue: \"$2500\",\n    businessReport: \"Designed an AI workflow tool for customer support.\",\n    invoiceDate: \"26/10/2025\",\n    status: \"Accepted\",\n    category: \"AI\",\n  },\n  {\n    id: 3,\n    company: \"VentureEdge\",\n    clientName: \"Amelia Thompson\",\n    dealValue: \"$3600\",\n    businessReport: \"Created a sleek B2B portfolio website.\",\n    invoiceDate: \"31/10/2025\",\n    status: \"Under Review\",\n    category: \"B2B\",\n  },\n  {\n    id: 4,\n    company: \"Skyline Group\",\n    clientName: \"Liam Johnson\",\n    dealValue: \"$800\",\n    businessReport: \"Developed a SaaS analytics platform for performance.\",\n    invoiceDate: \"03/11/2025\",\n    status: \"Processing\",\n    category: \"SaaS\",\n  },\n  {\n    id: 5,\n    company: \"NextLink\",\n    clientName: \"Charlotte Davis\",\n    dealValue: \"$4200\",\n    businessReport: \"Automated internal operations with a central dashboard.\",\n    invoiceDate: \"07/11/2025\",\n    status: \"Accepted\",\n    category: \"Automation\",\n  },\n  {\n    id: 6,\n    company: \"HelloOne\",\n    clientName: \"Noah Anderson\",\n    dealValue: \"$2300\",\n    businessReport: \"Smart AI platform for marketing personalization.\",\n    invoiceDate: \"10/11/2025\",\n    status: \"Rejected\",\n    category: \"Tech\",\n  },\n  {\n    id: 7,\n    company: \"NovaTech\",\n    clientName: \"Isabella White\",\n    dealValue: \"$10,800\",\n    businessReport: \"SaaS client dashboard for enterprise reporting.\",\n    invoiceDate: \"8/11/2025\",\n    status: \"Under Review\",\n    category: \"SaaS\",\n  },\n  {\n    id: 8,\n    company: \"AxisLogic\",\n    clientName: \"James Wilson\",\n    dealValue: \"$2300\",\n    businessReport: \"B2B CRM to streamline client communication.\",\n    invoiceDate: \"12/11/2025\",\n    status: \"Accepted\",\n    category: \"B2B\",\n  },\n  {\n    id: 9,\n    company: \"FusionWorks\",\n    clientName: \"Mia Martinez\",\n    dealValue: \"$7500\",\n    businessReport: \"Automation tool for logistics management.\",\n    invoiceDate: \"14/11/2025\",\n    status: \"Under Review\",\n    category: \"Automation\",\n  },\n  {\n    id: 10,\n    company: \"DataVerse\",\n    clientName: \"Benjamin Moore\",\n    dealValue: \"$15,000\",\n    businessReport: \"Built a big data analytics dashboard.\",\n    invoiceDate: \"15/11/2025\",\n    status: \"Processing\",\n    category: \"Tech\",\n  },\n  {\n    id: 11,\n    company: \"Optima Corp\",\n    clientName: \"Harper Lewis\",\n    dealValue: \"$4200\",\n    businessReport: \"Lead management dashboard for sales teams.\",\n    invoiceDate: \"18/11/2025\",\n    status: \"Rejected\",\n    category: \"B2B\",\n  },\n  {\n    id: 12,\n    company: \"StratusFlow\",\n    clientName: \"Lucas Robinson\",\n    dealValue: \"$2500\",\n    businessReport: \"Engineered a finance forecasting platform.\",\n    invoiceDate: \"19/11/2025\",\n    status: \"Accepted\",\n    category: \"Finance\",\n  },\n  {\n    id: 13,\n    company: \"BluePeak\",\n    clientName: \"Ella Walker\",\n    dealValue: \"$4200\",\n    businessReport: \"Designed a SaaS UI focused on client retention.\",\n    invoiceDate: \"20/11/2025\",\n    status: \"Accepted\",\n    category: \"SaaS\",\n  },\n  {\n    id: 14,\n    company: \"NeuraSys\",\n    clientName: \"Henry Hall\",\n    dealValue: \"$1300\",\n    businessReport: \"Built an AI interface for business predictions.\",\n    invoiceDate: \"22/11/2025\",\n    status: \"Under Review\",\n    category: \"AI\",\n  },\n  {\n    id: 15,\n    company: \"VortexPro\",\n    clientName: \"Grace Allen\",\n    dealValue: \"$15,000\",\n    businessReport: \"Automation dashboard for team operations.\",\n    invoiceDate: \"23/11/2025\",\n    status: \"Rejected\",\n    category: \"Automation\",\n  },\n  {\n    id: 16,\n    company: \"OmniReach\",\n    clientName: \"Jack Turner\",\n    dealValue: \"$4200\",\n    businessReport: \"Developed a B2B outreach portal for marketing.\",\n    invoiceDate: \"24/11/2025\",\n    status: \"Processing\",\n    category: \"B2B\",\n  },\n  {\n    id: 17,\n    company: \"DataFusion\",\n    clientName: \"Scarlett King\",\n    dealValue: \"$4,890\",\n    businessReport: \"Built a corporate finance reporting tool.\",\n    invoiceDate: \"26/11/2025\",\n    status: \"Accepted\",\n    category: \"Finance\",\n  },\n  {\n    id: 18,\n    company: \"Lumeon\",\n    clientName: \"William Scott\",\n    dealValue: \"$1300\",\n    businessReport: \"Designed an AI-driven business insights app.\",\n    invoiceDate: \"29/11/2025\",\n    status: \"Rejected\",\n    category: \"Tech\",\n  },\n];\n",
      "type": "registry:component",
      "target": "components/watermelon/invoice-manager-dashboard/data.ts"
    }
  ],
  "type": "registry:block"
}
