{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hrm",
  "dependencies": [
    "@radix-ui/react-avatar",
    "@radix-ui/react-collapsible",
    "@radix-ui/react-dialog",
    "@radix-ui/react-dropdown-menu",
    "@radix-ui/react-scroll-area",
    "@radix-ui/react-select",
    "@radix-ui/react-separator",
    "@radix-ui/react-slot",
    "@radix-ui/react-tabs",
    "@radix-ui/react-tooltip",
    "class-variance-authority",
    "lucide-react",
    "next-themes",
    "recharts"
  ],
  "registryDependencies": [
    "avatar",
    "badge",
    "button",
    "card",
    "chart",
    "collapsible",
    "dropdown-menu",
    "input",
    "label",
    "popover",
    "scroll-area",
    "select",
    "separator",
    "sheet",
    "sidebar",
    "skeleton",
    "table",
    "tabs",
    "tooltip",
    "utils"
  ],
  "files": [
    {
      "path": "src/components/dashboards/hrm/components/app-sidebar.tsx",
      "content": "\"use client\";\n\nimport {\n  Home,\n  Users,\n  Building2,\n  FolderKanban,\n  SunMoon,\n  Calendar,\n  Clock,\n  UserSearch,\n  FileUser,\n  MessageSquare,\n  Wallet,\n  BarChart3,\n  Link2,\n  CalendarClock,\n  GraduationCap,\n  TrendingUp,\n  Receipt,\n  FileText,\n  Settings,\n  HelpCircle,\n  ChevronDown,\n  Star,\n  Bell,\n  Headphones,\n  X,\n} from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n  Collapsible,\n  CollapsibleContent,\n  CollapsibleTrigger,\n} from \"@/components/ui/collapsible\";\nimport {\n  Tooltip,\n  TooltipContent,\n  TooltipTrigger,\n} from \"@/components/ui/tooltip\";\nimport { useTheme } from \"next-themes\";\n\ninterface NavItem {\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  icon: any;\n  label: string;\n  href: string;\n  isActive?: boolean;\n  isDisabled?: boolean;\n  bgColor?: string;\n}\n\nconst mainNavItems: NavItem[] = [\n  { icon: Home, label: \"Dashboard\", href: \"/dashboard\" },\n  { icon: Users, label: \"Employees\", href: \"#\", isDisabled: true },\n  { icon: Building2, label: \"Clients\", href: \"#\", isDisabled: true },\n  { icon: FolderKanban, label: \"Projects\", href: \"#\", isDisabled: true },\n];\n\nconst workforceItems: NavItem[] = [\n  { icon: Calendar, label: \"Calendrer\", href: \"#\", isDisabled: true },\n  { icon: Clock, label: \"Attendance\", href: \"#\", isDisabled: true },\n  { icon: UserSearch, label: \"Interviews\", href: \"#\", isDisabled: true },\n  { icon: FileUser, label: \"Job & Applications\", href: \"#\", isDisabled: true },\n];\n\nconst communicationItems: NavItem[] = [\n  { icon: MessageSquare, label: \"Chat Hub\", href: \"#\", isDisabled: true },\n  { icon: Wallet, label: \"Payroll & Finance\", href: \"#\", isDisabled: true },\n  { icon: BarChart3, label: \"Reports & Analytics\", href: \"#\", isDisabled: true },\n  { icon: Link2, label: \"Integrations\", href: \"#\", isDisabled: true },\n];\n\nconst projectItems: NavItem[] = [\n  {\n    icon: CalendarClock,\n    label: \"Shift Planner\",\n    href: \"#\",\n    bgColor: \"bg-orange-500\",\n    isDisabled: true,\n  },\n  {\n    icon: GraduationCap,\n    label: \"Training Portal\",\n    href: \"#\",\n    bgColor: \"bg-purple-500\",\n    isDisabled: true,\n  },\n  {\n    icon: TrendingUp,\n    label: \"Performance Hub\",\n    href: \"#\",\n    bgColor: \"bg-emerald-500\",\n    isDisabled: true,\n  },\n  { icon: Receipt, label: \"Expense Claims\", href: \"#\", bgColor: \"bg-blue-500\", isDisabled: true },\n];\n\nconst adminItems: NavItem[] = [\n  { icon: FileText, label: \"Documents\", href: \"#\", isDisabled: true },\n  { icon: Settings, label: \"Settings\", href: \"#\", isDisabled: true },\n  { icon: HelpCircle, label: \"Help & Center\", href: \"#\", isDisabled: true },\n];\n\nconst iconRailItems = [\n  { icon: Home, label: \"Home\" },\n  { icon: FolderKanban, label: \"Projects\" },\n  { icon: Bell, label: \"Notifications\" },\n  { icon: MessageSquare, label: \"Chat\" },\n];\n\nconst secondaryIconItems = [\n  { icon: Headphones, label: \"Support\" },\n  { icon: Settings, label: \"Settings\" },\n  { icon: SunMoon, label: \"Toggle Theme\", isThemeToggle: true },\n];\n\n// Icon Rail - Panel 1 (Always visible, with toggle rail on right edge)\nexport function IconRail({\n  onToggle,\n}: {\n  onToggle: () => void;\n  isExpanded: boolean;\n}) {\n\n  return (\n    <div className=\"relative flex h-full w-[60px] flex-col items-center border-r border-sidebar-border bg-sidebar py-4\">\n      {/* Logo */}\n      <div className=\"mb-6\">\n        <div className=\"flex size-8 items-center justify-center rounded-lg bg-gradient-to-br from-violet-600 to-indigo-600 text-white shadow-lg border-b-2 border-neutral-400\">\n          <svg\n            xmlns=\"http://www.w3.org/2000/svg\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            strokeWidth=\"2\"\n            strokeLinecap=\"round\"\n            strokeLinejoin=\"round\"\n            className=\"size-4\"\n          >\n            <path d=\"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3\" />\n          </svg>\n        </div>\n      </div>\n\n      {/* Navigation Icons */}\n      <div className=\"flex flex-col items-center gap-1 pb-1\">\n        {iconRailItems.map((item) => (\n          <Tooltip key={item.label}>\n            <TooltipTrigger asChild>\n              <Button\n                variant=\"ghost\"\n                size=\"icon\"\n                className=\"size-10 text-neutral-500 hover:text-foreground hover:bg-muted transition-colors duration-300 cursor-pointer\"\n                asChild\n              >\n                <a href=\"#\" onClick={(e) => e.preventDefault()}>\n                  <item.icon className=\"size-4\" />\n                  <span className=\"sr-only\">{item.label}</span>\n                </a>\n              </Button>\n            </TooltipTrigger>\n            <TooltipContent side=\"right\">{item.label}</TooltipContent>\n          </Tooltip>\n        ))}\n      </div>\n\n      <div className=\"flex flex-col items-center gap-1 border-t border-sidebar-border py-1\">\n        {secondaryIconItems.map((item) => (\n          <ThemeIconButton key={item.label} item={item} />\n        ))}\n      </div>\n\n      <button\n        onClick={onToggle}\n        className=\"absolute inset-y-0 -right-2 w-4 cursor-e-resize hover:after:bg-sidebar-border after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] after:transition-colors z-20\"\n        title=\"Toggle Sidebar\"\n        aria-label=\"Toggle Sidebar\"\n      />\n    </div>\n  );\n}\n\nexport function SecondarySidebar({\n  isOpen,\n  onToggle,\n  onNavigate,\n  currentView\n}: {\n  isOpen: boolean;\n  onToggle: () => void;\n  onNavigate?: (view: string) => void;\n  currentView?: string;\n}) {\n  return (\n    <div\n      className={cn(\n        \"h-full flex-shrink-0 border-r border-sidebar-border bg-sidebar overflow-hidden transition-all duration-300 ease-in-out\",\n        isOpen ? \"w-[240px]\" : \"w-0\"\n      )}\n    >\n      <div className=\"flex h-full w-[240px] flex-col\">\n        {/* Header */}\n        <div className=\"h-14 border-b border-sidebar-border flex items-center justify-center p-1.5\">\n          <div className=\"w-full flex items-center gap-2 rounded-md p-1 bg-muted/60 border border-sidebar-border\">\n            <img\n              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              alt=\"Logo\"\n              className=\"size-7 rounded\"\n            />\n            <div className=\"flex-1 text-left text-sm leading-tight\">\n              <div className=\"truncate font-medium text-foreground\">GR8R HRM</div>\n              <div className=\"truncate text-xs text-muted-foreground/60\">Admin</div>\n            </div>\n            <Button\n              variant=\"ghost\"\n              size=\"icon\"\n              className=\"size-8 text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-300 cursor-pointer\"\n              onClick={onToggle}\n            >\n              <X className=\"size-4\" />\n              <span className=\"sr-only\">Close sidebar</span>\n            </Button>\n          </div>\n        </div>\n\n        <div className=\"flex-1 overflow-auto p-2 no-scrollbar\">\n\n          {/* Main Nav */}\n          <div className=\"space-y-1 mb-4\">\n            {mainNavItems.map((item) => (\n              <a\n                key={item.label}\n                href={item.href}\n                onClick={(e) => {\n                  if (item.isDisabled) {\n                    e.preventDefault();\n                    return;\n                  }\n                  if (onNavigate) {\n                    e.preventDefault();\n                    onNavigate(item.label);\n                  }\n                }}\n                className={cn(\n                  \"flex items-center gap-2 rounded-md px-2.5 py-2 text-sm transition-colors duration-300 cursor-pointer\",\n                  (currentView ? currentView === item.label : item.isActive)\n                    ? \"bg-sidebar-primary text-sidebar-primary-foreground font-medium\"\n                    : \"text-muted-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\"\n                )}\n              >\n                <item.icon className=\"size-4\" />\n                <span>{item.label}</span>\n              </a>\n            ))}\n          </div>\n\n          <div className=\"h-px bg-sidebar-border mb-3\" />\n\n\n          <CollapsibleSection title=\"Workforce\" items={workforceItems} onNavigate={onNavigate} />\n\n          <div className=\"h-px bg-sidebar-border mb-3\" />\n\n          <CollapsibleSection\n            title=\"Communication\"\n            items={communicationItems}\n            onNavigate={onNavigate}\n          />\n\n          <div className=\"h-px bg-sidebar-border mb-3\" />\n\n          <Collapsible defaultOpen className=\"group/collapsible mb-2\">\n            <CollapsibleTrigger className=\"flex w-full items-center justify-between px-2 py-1 text-sm tracking-tight text-sidebar-foreground/30\">\n              Projects\n              <ChevronDown className=\"size-3 transition-transform group-data-[state=open]/collapsible:rotate-180\" />\n            </CollapsibleTrigger>\n            <CollapsibleContent className=\"space-y-1 mt-1\">\n              {projectItems.map((item) => (\n                <a\n                  key={item.label}\n                  href={item.href}\n                  onClick={(e) => {\n                    if (item.isDisabled) {\n                      e.preventDefault();\n                      return;\n                    }\n                  }}\n                  className=\"flex items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors duration-300 cursor-pointer\n                    text-sidebar-foreground/50 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\"\n                >\n                  <div\n                    className={cn(\n                      \"size-4 rounded flex items-center justify-center\",\n                      item.bgColor\n                    )}\n                  >\n                    <item.icon className=\"size-2.5 text-white\" />\n                  </div>\n                  <span>{item.label}</span>\n                  <Star className=\"ml-auto size-3.5 fill-neutral-100\" />\n                </a>\n              ))}\n            </CollapsibleContent>\n          </Collapsible>\n          <div className=\"h-px bg-sidebar-border mb-3\" />\n\n          <CollapsibleSection title=\"Administration\" items={adminItems} onNavigate={onNavigate} />\n        </div>\n      </div>\n    </div>\n  );\n}\n\nfunction ThemeIconButton({ item }: { item: typeof secondaryIconItems[0] }) {\n  const { setTheme, theme } = useTheme();\n\n  if (item.isThemeToggle) {\n    return (\n      <Tooltip key={item.label}>\n        <TooltipTrigger asChild>\n          <Button\n            variant=\"ghost\"\n            size=\"icon\"\n            className=\"size-10 text-neutral-500 hover:text-foreground hover:bg-muted transition-colors duration-300 cursor-pointer\"\n            onClick={() => setTheme(theme === \"dark\" ? \"light\" : \"dark\")}\n          >\n            <item.icon className=\"size-4\" />\n            <span className=\"sr-only\">{item.label}</span>\n          </Button>\n        </TooltipTrigger>\n        <TooltipContent side=\"right\">{item.label}</TooltipContent>\n      </Tooltip>\n    );\n  }\n\n  return (\n    <Tooltip key={item.label}>\n      <TooltipTrigger asChild>\n        <Button\n          variant=\"ghost\"\n          size=\"icon\"\n          className=\"size-10 text-neutral-500 hover:text-foreground hover:bg-muted transition-colors duration-300 cursor-pointer\"\n          asChild\n        >\n          <a href=\"#\" onClick={(e) => e.preventDefault()}>\n            <item.icon className=\"size-4\" />\n            <span className=\"sr-only\">{item.label}</span>\n          </a>\n        </Button>\n      </TooltipTrigger>\n      <TooltipContent side=\"right\">{item.label}</TooltipContent>\n    </Tooltip>\n  );\n}\n\nfunction CollapsibleSection({\n  title,\n  items,\n  onNavigate,\n}: {\n  title: string;\n  items: NavItem[];\n  onNavigate?: (view: string) => void;\n}) {\n  return (\n    <Collapsible defaultOpen className=\"group/collapsible mb-2\">\n      <CollapsibleTrigger className=\"flex w-full items-center justify-between px-2 py-1 text-sm tracking-tight  text-sidebar-foreground/35\">\n        {title}\n        <ChevronDown className=\"size-3 transition-transform group-data-[state=open]/collapsible:rotate-180\" />\n      </CollapsibleTrigger>\n      <CollapsibleContent className=\"space-y-1 mt-1\">\n        {items.map((item) => (\n          <a\n            key={item.label}\n            href={item.href}\n            onClick={(e) => {\n              if (item.isDisabled) {\n                e.preventDefault();\n                return;\n              }\n              if (onNavigate) {\n                e.preventDefault();\n                onNavigate(item.label);\n              }\n            }}\n            className=\"flex items-center gap-1.5 rounded-md px-2 pl-3 py-1.5 text-sm transition-colors duration-300 cursor-pointer\n              text-sidebar-foreground/55 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\"\n          >\n            <item.icon className=\"size-4\" />\n            <span>{item.label}</span>\n          </a>\n        ))}\n      </CollapsibleContent>\n    </Collapsible>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/hrm/components/app-sidebar.tsx"
    },
    {
      "path": "src/components/dashboards/hrm/components/employee-table.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\";\nimport { Badge } from \"@/components/ui/badge\";\nimport {\n  Table,\n  TableBody,\n  TableCell,\n  TableHead,\n  TableHeader,\n  TableRow,\n} from \"@/components/ui/table\";\nimport { type Employee } from \"../data\";\n\ninterface EmployeeTableProps {\n  employees: Employee[];\n  selectedId?: string;\n}\n\nconst statusStyles: Record<Employee[\"status\"], string> = {\n  Active: \"bg-emerald-500/10 text-emerald-500 hover:bg-emerald-500/10\",\n  \"On Leave\": \"bg-amber-500/10 text-amber-500 hover:bg-amber-500/10\",\n  Absent: \"bg-rose-500/10 text-rose-500 hover:bg-rose-500/10\",\n};\n\nexport function EmployeeTable({ employees }: EmployeeTableProps) {\n  return (\n    <div className=\"relative overflow-x-auto no-scrollbar\">\n      <div className=\"relative min-w-max px-0.5\">\n        <div className=\"absolute inset-x-0 top-0 h-10 border rounded-md bg-muted/30 border-border pointer-events-none\"></div>\n        <Table>\n          <TableHeader>\n            <TableRow className=\"hover:bg-transparent border-none\">\n              <TableHead className=\"w-[80px] text-muted-foreground font-medium border-r pl-3\">#ID</TableHead>\n              <TableHead className=\"text-muted-foreground font-medium border-r \">Name</TableHead>\n              <TableHead className=\"text-muted-foreground font-medium border-r\">Email</TableHead>\n              <TableHead className=\"text-muted-foreground font-medium border-r\">Department</TableHead>\n              <TableHead className=\"text-muted-foreground font-medium border-r\">Position</TableHead>\n              <TableHead className=\"text-muted-foreground font-medium border-r\">Join Date</TableHead>\n              <TableHead className=\"text-right text-muted-foreground font-medium pr-3\">Status</TableHead>\n            </TableRow>\n          </TableHeader>\n          <TableBody >\n            {employees.map((employee) => (\n              <TableRow\n                key={employee.id}\n                className={cn(\n                  \"hover:bg-muted/60 cursor-pointer transition-colors duration-300 border-none text-muted-foreground hover:text-foreground\",\n                )}\n              >\n                <TableCell className=\"font-medium  pl-2 py-2\">\n                  {employee.id}\n                </TableCell>\n                <TableCell>\n                  <div className=\"flex items-center gap-3 py-1\">\n                    <Avatar className=\"size-6\">\n                      <AvatarImage src={`https://api.dicebear.com/7.x/avataaars/svg?seed=${employee.name}`} alt={employee.name} />\n                      <AvatarFallback className=\"bg-muted text-xs\">\n                        {employee.avatar}\n                      </AvatarFallback>\n                    </Avatar>\n                    <span className=\"font-medium text-muted-foreground group-hover:text-foreground\">{employee.name}</span>\n                  </div>\n                </TableCell>\n                <TableCell className=\"\">{employee.email}</TableCell>\n                <TableCell className=\"\">{employee.department}</TableCell>\n                <TableCell className=\"\">{employee.position}</TableCell>\n                <TableCell className=\"\">{employee.joinDate}</TableCell>\n                <TableCell className=\"text-right\">\n                  <Badge\n                    variant=\"secondary\"\n                    className={cn(\n                      \"font-medium border-0\",\n                      statusStyles[employee.status]\n                    )}\n                  >\n                    {employee.status}\n                  </Badge>\n                </TableCell>\n              </TableRow>\n            ))}\n          </TableBody>\n        </Table>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/hrm/components/employee-table.tsx"
    },
    {
      "path": "src/components/dashboards/hrm/dashboardLayout.tsx",
      "content": "import { IconRail, SecondarySidebar } from \"./components/app-sidebar\"\nimport { TooltipProvider } from \"@/components/ui/tooltip\";\nimport { Button } from \"@/components/ui/button\";\nimport { Sheet, SheetContent, SheetTrigger, SheetTitle } from \"@/components/ui/sheet\";\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuSeparator,\n  DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { Menu, User, Settings, LogOut } from \"lucide-react\";\nimport { useState } from \"react\";\n\nexport const DashboardLayout = ({\n  children,\n  onNavigate,\n  currentView\n}: {\n  children: React.ReactNode;\n  onNavigate?: (view: string) => void;\n  currentView?: string\n}) => {\n  const [sidebarOpen, setSidebarOpen] = useState(true);\n  const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);\n\n  const handleNavigate = (view: string) => {\n    setIsMobileMenuOpen(false);\n    if (onNavigate) {\n      onNavigate(view);\n    }\n  };\n\n  return (\n    <TooltipProvider delayDuration={0}>\n      <div className=\"flex h-screen overflow-hidden bg-background\">\n        {/* Desktop Sidebar */}\n        <div className=\"hidden lg:flex h-full shrink-0\">\n          <IconRail\n            onToggle={() => setSidebarOpen(!sidebarOpen)}\n            isExpanded={sidebarOpen}\n          />\n\n          <SecondarySidebar\n            isOpen={sidebarOpen}\n            onToggle={() => setSidebarOpen(!sidebarOpen)}\n            onNavigate={handleNavigate}\n            currentView={currentView}\n          />\n        </div>\n\n        <div className=\"flex-1 flex flex-col overflow-hidden\">\n          <header className=\"flex h-14 shrink-0 items-center justify-between gap-2 border-b border-border px-4 lg:px-6\">\n            <div className=\"flex items-center gap-2 text-sm text-muted-foreground\">\n              {/* Mobile Navigation Trigger */}\n              <Sheet open={isMobileMenuOpen} onOpenChange={setIsMobileMenuOpen}>\n                <SheetTrigger asChild>\n                  <Button variant=\"ghost\" size=\"icon\" className=\"lg:hidden -ml-2\">\n                    <Menu className=\"size-5\" />\n                    <span className=\"sr-only\">Toggle Menu</span>\n                  </Button>\n                </SheetTrigger>\n                <SheetContent side=\"left\" className=\"p-0 w-fit flex flex-row gap-0 h-full border-none bg-transparent no-scrollbar [&>button]:hidden\">\n                  <SheetTitle className=\"sr-only\">Navigation Menu</SheetTitle>\n                  <IconRail onToggle={() => setIsMobileMenuOpen(false)} isExpanded={true} />\n                  <SecondarySidebar\n                    isOpen={true}\n                    onToggle={() => setIsMobileMenuOpen(false)}\n                    onNavigate={handleNavigate}\n                    currentView={currentView}\n                  />\n                </SheetContent>\n              </Sheet>\n              <span>{currentView || \"Dashboard\"}</span>\n            </div>\n            <DropdownMenu>\n              <DropdownMenuTrigger asChild>\n                <button className=\"rounded-full outline-none p-1 hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 transition-all active:scale-95 duration-200\">\n                  <img\n                    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                    alt=\"User\"\n                    className=\"size-7 rounded-full object-cover shadow-sm\"\n                  />\n                </button>\n              </DropdownMenuTrigger>\n              <DropdownMenuContent align=\"end\" className=\"w-56 mt-1.5 rounded-xl border-sidebar-border bg-sidebar text-sidebar-foreground shadow-lg\">\n                <DropdownMenuLabel className=\"font-normal flex p-3 gap-3 pb-2\">\n                  <div className=\"flex items-center gap-2 overflow-hidden\">\n                    <img\n                      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                      alt=\"User\"\n                      className=\"size-8 rounded-lg object-cover\"\n                    />\n                    <div className=\"grid flex-1 text-left text-sm leading-tight\">\n                      <span className=\"truncate font-semibold text-foreground\">Admin User</span>\n                      <span className=\"truncate text-xs text-muted-foreground\">admin@gr8r.io</span>\n                    </div>\n                  </div>\n                </DropdownMenuLabel>\n                <DropdownMenuSeparator className=\"bg-sidebar-border\" />\n                <div className=\"p-1\">\n                  <DropdownMenuItem className=\"gap-2 cursor-pointer rounded-md focus:bg-sidebar-accent focus:text-sidebar-accent-foreground py-2 text-sm\">\n                    <User className=\"size-4 text-muted-foreground\" />\n                    <span>My Profile</span>\n                  </DropdownMenuItem>\n                  <DropdownMenuItem className=\"gap-2 cursor-pointer rounded-md focus:bg-sidebar-accent focus:text-sidebar-accent-foreground py-2 text-sm\">\n                    <Settings className=\"size-4 text-muted-foreground\" />\n                    <span>Account Settings</span>\n                  </DropdownMenuItem>\n                </div>\n                <DropdownMenuSeparator className=\"bg-sidebar-border\" />\n                <div className=\"p-1\">\n                  <DropdownMenuItem className=\"gap-2 cursor-pointer text-red-500 rounded-md focus:bg-red-500/10 focus:text-red-500 py-2 text-sm\">\n                    <LogOut className=\"size-4\" />\n                    <span>Log out</span>\n                  </DropdownMenuItem>\n                </div>\n              </DropdownMenuContent>\n            </DropdownMenu>\n          </header>\n\n          <main className=\"flex-1 overflow-auto bg-background\">\n            {children}\n          </main>\n        </div>\n      </div>\n    </TooltipProvider>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/hrm/dashboardLayout.tsx"
    },
    {
      "path": "src/components/dashboards/hrm/dashboardView.tsx",
      "content": "\"use client\";\n\nimport {\n  Users,\n  Calendar,\n  BriefcaseBusiness,\n  Info,\n  ScanFace,\n} from \"lucide-react\";\nimport {\n  ChartContainer,\n  ChartTooltip,\n  ChartTooltipContent,\n} from \"@/components/ui/chart\";\nimport {\n  Area,\n  AreaChart,\n  XAxis,\n  YAxis,\n  CartesianGrid,\n  PieChart,\n  Pie,\n  Cell,\n  Label as RechartsLabel,\n} from \"recharts\";\nimport { Filter, List, LayoutGrid } from \"lucide-react\";\nimport { Button } from \"@/components/ui/button\";\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from \"@/components/ui/tabs\";\nimport { EmployeeTable } from \"./components/employee-table\";\nimport {\n  employees,\n  dashboardCards,\n  attendanceData,\n  attendanceChartConfig,\n  workingFormatData,\n  jobOverviewData,\n  jobChartConfig,\n  totalJobs\n} from \"./data\";\n\nimport {\n  Select,\n  SelectContent,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from \"@/components/ui/select\";\nimport {\n  Popover,\n  PopoverContent,\n  PopoverTrigger,\n} from \"@/components/ui/popover\";\nimport { Label } from \"@/components/ui/label\";\nimport { Input } from \"@/components/ui/input\";\n\nexport const DashboardView = () => {\n  return (\n    <div className=\"min-h-full w-full p-6\">\n      <div className=\"mb-6\">\n        <h1 className=\"text-2xl tracking-tight text-foreground mb-1\">\n          Welcome To, GR8R HRM!\n        </h1>\n        <p className=\"text-sm text-muted-foreground/40\">\n          Manage candidate and track application\n        </p>\n      </div>\n\n      <div className=\"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4\">\n        {dashboardCards.map((card) => {\n          const IconComponent = card.icon;\n          return (\n            <div\n              key={card.id}\n              className=\"bg-card border rounded-lg border-border p-3 flex flex-col transition-colors duration-300 hover:bg-muted/50 cursor-pointer group shadow-none\"\n            >\n              <div className=\"flex items-start justify-between mb-1\">\n                <p className=\"text-xs text-muted-foreground font-medium tracking\">\n                  {card.title}\n                </p>\n                <div className={`bg-muted p-1 rounded`}>\n                  <IconComponent className={`size-3 ${card.iconColor}`} />\n                </div>\n              </div>\n              <p className=\"text-2xl font-medium text-foreground mb-3\">\n                {card.value}\n              </p>\n              <div className=\"flex items-center justify-between\">\n                <p className=\"text-xs text-neutral-500 font-medium\">\n                  {card.subtitle}\n                </p>\n                <div className=\"size-5 border-[1.5px] border-dashed rounded-full border-neutral-500\" />\n              </div>\n            </div>\n          );\n        })}\n      </div>\n\n      {/* Charts Section */}\n      <div className=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 mt-6\">\n        {/* Attendance Overview Chart */}\n        <div className=\"col-span-1 md:col-span-2 lg:col-span-2 bg-card border rounded-lg border-border p-4 transition-colors duration-300 shadow-none\">\n          <div className=\"flex flex-col md:flex-row md:items-center justify-between gap-4 mb-4 border-b-[1.5px] border-border border-dashed pb-4\">\n            <div className=\"flex items-center gap-2\">\n              <div className=\"bg-muted p-1 rounded\">\n                <Calendar className=\"size-4 text-orange-400\" />\n              </div>\n              <h3 className=\"text-sm font-medium text-foreground\">\n                Attendance Overview\n              </h3>\n            </div>\n            <Tabs defaultValue=\"7days\" className=\"w-fit\">\n              <TabsList className=\"bg-neutral-300/10 border border-neutral-300/20 rounded-md p-1 h-9 items-center gap-1\">\n                <TabsTrigger\n                  value=\"7days\"\n                  className=\"px-3 text-xs data-[state=active]:bg-white dark:data-[state=active]:bg-neutral-900 h-7 transition-colors duration-300 hover:bg-neutral-200/50 dark:hover:bg-neutral-700/50 dark:hover:text-foreground cursor-pointer\"\n                >\n                  Last 7 days\n                </TabsTrigger>\n                <TabsTrigger\n                  value=\"30days\"\n                  className=\"px-3 text-xs data-[state=active]:bg-white dark:data-[state=active]:bg-neutral-900 h-7 transition-colors duration-300 hover:bg-neutral-200/50 dark:hover:bg-neutral-700/50 dark:hover:text-foreground cursor-pointer\"\n                >\n                  Last 30 days\n                </TabsTrigger>\n                <TabsTrigger\n                  value=\"year\"\n                  className=\"px-3 text-xs data-[state=active]:bg-white dark:data-[state=active]:bg-neutral-900 h-7 transition-colors duration-300 hover:bg-neutral-200/50 dark:hover:bg-neutral-700/50 dark:hover:text-foreground cursor-pointer\"\n                >\n                  Last Year\n                </TabsTrigger>\n              </TabsList>\n            </Tabs>\n          </div>\n\n          <ChartContainer\n            config={attendanceChartConfig}\n            className=\"h-[270px] w-full\"\n          >\n            <AreaChart\n              data={attendanceData}\n              margin={{ top: 10, right: 10, left: 0, bottom: 0 }}\n            >\n              <defs>\n                <linearGradient\n                  id=\"attendanceGradient\"\n                  x1=\"0\"\n                  y1=\"0\"\n                  x2=\"0\"\n                  y2=\"1\"\n                >\n                  <stop offset=\"0%\" stopColor=\"var(--chart-2)\" stopOpacity={0.3} />\n                  <stop offset=\"100%\" stopColor=\"var(--chart-2)\" stopOpacity={0} />\n                </linearGradient>\n              </defs>\n              <CartesianGrid\n                strokeDasharray=\"3 3\"\n                stroke=\"var(--border)\"\n                vertical={true}\n                horizontal={false}\n              />\n              <XAxis\n                dataKey=\"day\"\n                axisLine={false}\n                tickLine={false}\n                tick={{ fill: \"#6b7280\", fontSize: 12 }}\n                dy={5}\n                tickMargin={8}\n              />\n              <YAxis\n                axisLine={false}\n                tickLine={false}\n                tick={{ fill: \"#6b7280\", fontSize: 12 }}\n                tickFormatter={(value) => `${value}%`}\n                domain={[0, 100]}\n                dx={-10}\n              />\n              <ChartTooltip\n                content={\n                  <ChartTooltipContent\n                    formatter={(_, name) => {\n                      if (name === \"attendance\") {\n                        return (\n                          <div className=\"flex flex-col gap-1\">\n                            <div className=\"flex justify-between gap-4\">\n                              <span>Present:</span>\n                              <span className=\"font-medium\">180</span>\n                            </div>\n                            <div className=\"flex justify-between gap-4\">\n                              <span>Absent:</span>\n                              <span className=\"font-medium\">40</span>\n                            </div>\n                            <div className=\"flex justify-between gap-4\">\n                              <span>On Leave:</span>\n                              <span className=\"font-medium\">08</span>\n                            </div>\n                          </div>\n                        );\n                      }\n                      return null;\n                    }}\n                  />\n                }\n              />\n              <Area\n                type=\"monotone\"\n                dataKey=\"lateArrival\"\n                stroke=\"var(--muted-foreground)\"\n                strokeOpacity={0.3}\n                strokeDasharray=\"5 5\"\n                fill=\"transparent\"\n                strokeWidth={2}\n              />\n              <Area\n                type=\"monotone\"\n                dataKey=\"attendance\"\n                stroke=\"var(--chart-2)\"\n                fill=\"url(#attendanceGradient)\"\n                strokeWidth={2}\n              />\n            </AreaChart>\n          </ChartContainer>\n\n          {/* Legend and Footer */}\n          <div className=\"flex flex-col md:flex-row md:items-center justify-between gap-4 mt-6 border-t-[1.5px] border-border border-dashed pt-4\">\n            <div className=\"flex max-md:justify-between items-center gap-4\">\n              <div className=\"flex items-center gap-2\">\n                <div className=\"w-3 h-3 bg-chart-2 rounded-sm\" />\n                <span className=\"text-xs text-muted-foreground\">Attendance</span>\n              </div>\n              <div className=\"flex items-center gap-2\">\n                <div className=\"w-3 h-3 bg-muted-foreground/30 rounded-sm\" />\n                <span className=\"text-xs text-muted-foreground\">Late arrival</span>\n              </div>\n            </div>\n            <div className=\"flex items-center gap-1 text-xs text-muted-foreground\">\n              <Info className=\"size-4\" />\n              <span>78% </span>\n              <span className=\"text-muted-foreground/60\"> Attendance Today</span>\n            </div>\n          </div>\n        </div>\n\n        {/* Right Side Charts */}\n        <div className=\"col-span-1 md:col-span-2 lg:col-span-1 flex flex-col md:flex-row lg:flex-col gap-4\">\n          {/* Working Format */}\n          <div className=\"flex-1 bg-card border rounded-lg border-border p-4 transition-colors duration-300 hover:bg-muted/50 cursor-pointer group shadow-none\">\n            <div className=\"flex items-center gap-2 mb-4 border-b-[1.5px] border-border border-dashed pb-4\">\n              <div className=\"bg-muted p-1 rounded\">\n                <Users className=\"size-4 text-blue-400\" />\n              </div>\n              <h3 className=\"text-sm font-medium text-foreground\">Working Format</h3>\n            </div>\n\n            <div className=\"flex items-center gap-2 mb-3\">\n              <span className=\"text-xs text-muted-foreground\">TOTAL EMPLOYEES</span>\n              <span className=\"text-lg font-semibold text-foreground\">\n                {workingFormatData.total}\n              </span>\n            </div>\n\n            {/* Progress Bar */}\n            <div className=\"w-full h-3 bg-muted rounded-full overflow-hidden flex\">\n              <div\n                className=\"h-full bg-blue-500\"\n                style={{ width: `${workingFormatData.onSite.percentage}%` }}\n              />\n              <div\n                className=\"h-full bg-purple-500\"\n                style={{ width: `${workingFormatData.hybrid.percentage}%` }}\n              />\n              <div\n                className=\"h-full bg-cyan-500\"\n                style={{ width: `${workingFormatData.remote.percentage}%` }}\n              />\n            </div>\n\n            {/* Legend */}\n            <div className=\"flex items-center gap-4 mt-5 border-t-[1.5px] border-border border-dashed pt-3\">\n              <div className=\"flex items-center gap-2\">\n                <div className=\"w-2 h-2 bg-blue-500 rounded-full\" />\n                <span className=\"text-xs text-muted-foreground\">\n                  {workingFormatData.onSite.percentage}% On Site\n                </span>\n              </div>\n              <div className=\"flex items-center gap-2\">\n                <div className=\"w-2 h-2 bg-purple-500 rounded-full\" />\n                <span className=\"text-xs text-muted-foreground\">\n                  {workingFormatData.hybrid.percentage}% Hybrid\n                </span>\n              </div>\n            </div>\n          </div>\n\n          {/* Job Overview */}\n          <div className=\"flex-1 bg-card border rounded-lg border-border p-4 transition-colors duration-300 hover:bg-muted/50 cursor-pointer group shadow-none\">\n            <div className=\"flex items-center gap-2 mb-4 border-b-[1.5px] border-border border-dashed pb-3\">\n              <div className=\"bg-muted p-1 rounded\">\n                <BriefcaseBusiness className=\"size-4 text-green-400\" />\n              </div>\n              <h3 className=\"text-sm font-medium text-foreground\">Job Overview</h3>\n            </div>\n\n            <ChartContainer\n              config={jobChartConfig}\n              className=\"!aspect-auto h-[90px] w-full\"\n            >\n              <PieChart>\n                <Pie\n                  data={jobOverviewData}\n                  cx=\"50%\"\n                  cy=\"100%\"\n                  innerRadius={60}\n                  outerRadius={80}\n                  startAngle={180}\n                  endAngle={0}\n                  paddingAngle={2}\n                  dataKey=\"value\"\n                >\n                  {jobOverviewData.map((entry, index) => (\n                    <Cell key={`cell-${index}`} fill={entry.fill} />\n                  ))}\n                  <RechartsLabel\n                    content={({ viewBox }) => {\n                      if (viewBox && \"cx\" in viewBox && \"cy\" in viewBox) {\n                        return (\n                          <text\n                            x={viewBox.cx}\n                            y={(viewBox.cy || 0) - 20}\n                            textAnchor=\"middle\"\n                            dominantBaseline=\"middle\"\n                          >\n                            <tspan\n                              x={viewBox.cx}\n                              y={(viewBox.cy || 0) - 35}\n                              className=\"fill-foreground text-2xl font-bold\"\n                            >\n                              {totalJobs}\n                            </tspan>\n                            <tspan\n                              x={viewBox.cx}\n                              y={(viewBox.cy || 0) - 18}\n                              className=\"fill-muted-foreground text-[10px]\"\n                            >\n                              TOTAL JOBS\n                            </tspan>\n                          </text>\n                        );\n                      }\n                    }}\n                  />\n                </Pie>\n              </PieChart>\n            </ChartContainer>\n\n            {/* Legend */}\n            <div className=\"flex items-center justify-center gap-6 border-t-[1.5px] border-border border-dashed pt-3 mt-4\">\n              <div className=\"flex items-center gap-2\">\n                <div className=\"w-2 h-2 bg-amber-500 rounded-full\" />\n                <span className=\"text-xs text-muted-foreground\">40 Active Jobs</span>\n              </div>\n              <div className=\"flex items-center gap-2\">\n                <div className=\"w-2 h-2 bg-blue-500 rounded-full\" />\n                <span className=\"text-xs text-muted-foreground\">20 Interview</span>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      <div className=\"bg-muted/40 p-4 rounded-lg border border-border mt-5 transition-colors duration-300 shadow-none\">\n        <div className=\" flex items-center justify-between\">\n          {/* Left - View Tabs */}\n          <Tabs defaultValue=\"list\" className=\"w-full gap-4\">\n            <div className=\"flex w-full flex-col sm:flex-row items-start sm:items-center justify-between gap-4\">\n              <div className=\"flex items-center gap-2\">\n                <div className=\"bg-muted p-1.5 rounded\">\n                  <ScanFace className=\"size-4 text-orange-400\" />\n                </div>\n                <h3 className=\" font-medium text-foreground\">\n                  Employee Activities\n                </h3>\n              </div>\n\n              <div className=\"flex flex-wrap items-center gap-2 max-md:justify-end\">\n                <TabsList className=\"bg-neutral-300/10 border max-md:w-full max-md:h-10 border-neutral-300/20 rounded-md h-9 p-1 gap-1\">\n                  <TabsTrigger\n                    value=\"list\"\n                    className=\"gap-2 data-[state=active]:bg-white dark:data-[state=active]:bg-neutral-900 h-7 max-md:h-8 transition-colors duration-300 hover:bg-neutral-200/50 dark:hover:bg-neutral-700/50 dark:hover:text-foreground cursor-pointer\"\n                  >\n                    <List className=\"size-4\" />\n                    List View\n                  </TabsTrigger>\n                  <TabsTrigger\n                    value=\"board\"\n                    disabled\n                    className=\"gap-2 data-[state=active]:bg-white dark:data-[state=active]:bg-neutral-900 h-7 max-md:h-8 transition-colors duration-300 hover:bg-neutral-200/50 dark:hover:bg-neutral-700/50 dark:hover:text-foreground cursor-pointer\"\n                  >\n                    <LayoutGrid className=\"size-4\" />\n                    Board View\n                  </TabsTrigger>\n                </TabsList>\n                <div className=\"flex items-center gap-2\">\n                  <Select defaultValue=\"pipeline-value\">\n                    <SelectTrigger\n                      size=\"sm\"\n                      className=\"w-fit py-[17px] text-xs bg-muted/50 transition-colors duration-300 cursor-pointer shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none\"\n                    >\n                      <span className=\"text-muted-foreground text-xs\">Status</span>\n                      <SelectValue placeholder=\"Sort by\" />\n                    </SelectTrigger>\n                    <SelectContent className=\"bg-popover border-border\">\n                      <SelectItem value=\"pipeline-value\" className=\"cursor-pointer focus:bg-neutral-100 dark:focus:bg-neutral-800\">All</SelectItem>\n                      <SelectItem value=\"name\" className=\"cursor-pointer focus:bg-neutral-100 dark:focus:bg-neutral-800\">Active</SelectItem>\n                      <SelectItem value=\"activity\" className=\"cursor-pointer focus:bg-neutral-100 dark:focus:bg-neutral-800\">On Leave</SelectItem>\n                    </SelectContent>\n                  </Select>\n                  <Popover>\n                    <PopoverTrigger asChild>\n                      <Button variant=\"outline\" size=\"icon\" className=\"!size-9 transition-colors duration-300 cursor-pointer shadow-none\">\n                        <Filter className=\"size-4\" />\n                      </Button>\n                    </PopoverTrigger>\n                    <PopoverContent className=\"w-80 p-4\" align=\"end\">\n                      <div className=\"grid gap-4\">\n                        <div className=\"space-y-2\">\n                          <h4 className=\"font-medium leading-none\">Filter Employees</h4>\n                          <p className=\"text-sm text-muted-foreground\">\n                            Set the properties to refine the list.\n                          </p>\n                        </div>\n                        <div className=\"grid gap-3\">\n                          <div className=\"grid grid-cols-3 items-center gap-4\">\n                            <Label htmlFor=\"department\">Department</Label>\n                            <Select defaultValue=\"all\">\n                              <SelectTrigger id=\"department\" className=\"col-span-2 h-8 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                                <SelectValue placeholder=\"Select\" />\n                              </SelectTrigger>\n                              <SelectContent>\n                                <SelectItem value=\"all\">All Departments</SelectItem>\n                                <SelectItem value=\"engineering\">Engineering</SelectItem>\n                                <SelectItem value=\"design\">Design</SelectItem>\n                                <SelectItem value=\"marketing\">Marketing</SelectItem>\n                              </SelectContent>\n                            </Select>\n                          </div>\n                          <div className=\"grid grid-cols-3 items-center gap-4\">\n                            <Label htmlFor=\"search\">Search</Label>\n                            <Input\n                              id=\"search\"\n                              placeholder=\"Name or Email...\"\n                              className=\"col-span-2 h-8\"\n                            />\n                          </div>\n                          <Button className=\"w-full mt-2\" size=\"sm\">Apply Filters</Button>\n                        </div>\n                      </div>\n                    </PopoverContent>\n                  </Popover>\n                </div>\n              </div>\n            </div>\n            <TabsContent value=\"list\">\n              <EmployeeTable employees={employees} />\n            </TabsContent>\n          </Tabs>\n        </div>\n      </div>\n    </div>\n  );\n};\n",
      "type": "registry:component",
      "target": "components/watermelon/hrm/dashboardView.tsx"
    },
    {
      "path": "src/components/dashboards/hrm/data.ts",
      "content": "import {\n  Users,\n  CheckCircle,\n  Briefcase,\n  LogIn,\n  Clock,\n} from \"lucide-react\";\nimport { type ChartConfig } from \"@/components/ui/chart\";\n\nexport interface Employee {\n  id: string;\n  name: string;\n  email: string;\n  department: string;\n  position: string;\n  joinDate: string;\n  status: \"Active\" | \"On Leave\" | \"Absent\";\n  avatar: string;\n}\n\nexport const employees: Employee[] = [\n  {\n    id: \"#001\",\n    name: \"John Doe\",\n    email: \"john@example.com\",\n    department: \"Engineering\",\n    position: \"Senior Developer\",\n    joinDate: \"02 Jan, 2026\",\n    status: \"Active\",\n    avatar: \"JD\",\n  },\n  {\n    id: \"#002\",\n    name: \"Mike Johnson\",\n    email: \"mike@example.com\",\n    department: \"Marketing\",\n    position: \"Marketing Manager\",\n    joinDate: \"04 Jan, 2026\",\n    status: \"Active\",\n    avatar: \"MJ\",\n  },\n  {\n    id: \"#003\",\n    name: \"David Kim\",\n    email: \"david@example.com\",\n    department: \"Finance\",\n    position: \"Accountant\",\n    joinDate: \"02 Feb, 2026\",\n    status: \"On Leave\",\n    avatar: \"DK\",\n  },\n  {\n    id: \"#004\",\n    name: \"Alex Turner\",\n    email: \"alexr@example.com\",\n    department: \"HR\",\n    position: \"HR Specialist\",\n    joinDate: \"08 Feb, 2026\",\n    status: \"Active\",\n    avatar: \"AT\",\n  },\n  {\n    id: \"#005\",\n    name: \"Ryan Pate\",\n    email: \"ryan@example.com\",\n    department: \"Engineering\",\n    position: \"Frontend Developer\",\n    joinDate: \"10 Feb, 2026\",\n    status: \"Absent\",\n    avatar: \"RP\",\n  },\n  {\n    id: \"#006\",\n    name: \"Mason Reed\",\n    email: \"mason@example.com\",\n    department: \"Sales\",\n    position: \"Sales Representative\",\n    joinDate: \"31 Dec, 2025\",\n    status: \"Active\",\n    avatar: \"MR\",\n  },\n  {\n    id: \"#007\",\n    name: \"James Smith\",\n    email: \"james@example.com\",\n    department: \"Sales\",\n    position: \"Sales Representative\",\n    joinDate: \"31 Dec, 2025\",\n    status: \"On Leave\",\n    avatar: \"JS\",\n  },\n  {\n    id: \"#008\",\n    name: \"Emily Johnson\",\n    email: \"emily@example.com\",\n    department: \"Operations\",\n    position: \"Sales Representative\",\n    joinDate: \"25 Nov, 2025\",\n    status: \"Active\",\n    avatar: \"EJ\",\n  },\n  {\n    id: \"#009\",\n    name: \"Michael Williams\",\n    email: \"michael@example.com\",\n    department: \"Engineering\",\n    position: \"Data Analyst\",\n    joinDate: \"24 Nov, 2025\",\n    status: \"On Leave\",\n    avatar: \"MW\",\n  },\n  {\n    id: \"#010\",\n    name: \"Sarah Brown\",\n    email: \"sarah@example.com\",\n    department: \"Operations\",\n    position: \"SaaS Product Designer\",\n    joinDate: \"20 Nov, 2025\",\n    status: \"Active\",\n    avatar: \"SB\",\n  },\n  {\n    id: \"#011\",\n    name: \"David Jones\",\n    email: \"jones@example.com\",\n    department: \"Product\",\n    position: \"Software Developer\",\n    joinDate: \"02 Nov, 2025\",\n    status: \"On Leave\",\n    avatar: \"DJ\",\n  },\n  {\n    id: \"#012\",\n    name: \"Jessica Garcia\",\n    email: \"garcia@example.com\",\n    department: \"Product\",\n    position: \"UI/UX Designer\",\n    joinDate: \"12 Oct, 2025\",\n    status: \"Active\",\n    avatar: \"JG\",\n  },\n];\n\nexport const dashboardCards = [\n  {\n    id: 1,\n    title: \"TOTAL EMPLOYEES\",\n    value: \"230\",\n    subtitle: \"This month\",\n    icon: Users,\n    bgColor: \"bg-blue-500/20\",\n    iconColor: \"text-blue-400\",\n  },\n  {\n    id: 2,\n    title: \"ATTENDANCE TODAY\",\n    value: \"78%\",\n    subtitle: \"228 / 248\",\n    icon: CheckCircle,\n    bgColor: \"bg-green-500/20\",\n    iconColor: \"text-green-400\",\n  },\n  {\n    id: 3,\n    title: \"TOTAL PROJECT\",\n    value: \"120\",\n    subtitle: \"This month\",\n    icon: Briefcase,\n    bgColor: \"bg-purple-500/20\",\n    iconColor: \"text-purple-400\",\n  },\n  {\n    id: 4,\n    title: \"OPEN POSITIONS\",\n    value: \"18\",\n    subtitle: \"5+ Urgent\",\n    icon: LogIn,\n    bgColor: \"bg-yellow-500/20\",\n    iconColor: \"text-yellow-400\",\n  },\n  {\n    id: 5,\n    title: \"PENDING APPROVALS\",\n    value: \"14\",\n    subtitle: \"6 Leaves\",\n    icon: Clock,\n    bgColor: \"bg-red-500/20\",\n    iconColor: \"text-red-400\",\n  },\n];\n\nexport const attendanceData = [\n  { day: \"Monday\", attendance: 65, lateArrival: 45 },\n  { day: \"Tuesday\", attendance: 72, lateArrival: 38 },\n  { day: \"Wednesday\", attendance: 68, lateArrival: 42 },\n  { day: \"Thursday\", attendance: 78, lateArrival: 55 },\n  { day: \"Friday\", attendance: 55, lateArrival: 48 },\n  { day: \"Saturday\", attendance: 48, lateArrival: 35 },\n  { day: \"Sunday\", attendance: 52, lateArrival: 40 },\n];\n\nexport const attendanceChartConfig = {\n  attendance: {\n    label: \"Attendance\",\n    color: \"hsl(0, 0%, 100%)\",\n  },\n  lateArrival: {\n    label: \"Late arrival\",\n    color: \"hsl(0, 0%, 40%)\",\n  },\n} satisfies ChartConfig;\n\nexport const workingFormatData = {\n  total: 230,\n  onSite: { percentage: 46.8, color: \"#3b82f6\" },\n  hybrid: { percentage: 26.8, color: \"#a855f7\" },\n  remote: { percentage: 26.4, color: \"#06b6d4\" },\n};\n\nexport const jobOverviewData = [\n  { name: \"Active Jobs\", value: 40, fill: \"#f59e0b\" },\n  { name: \"Interview\", value: 20, fill: \"#3b82f6\" },\n  { name: \"Remaining\", value: 10, fill: \"#374151\" },\n];\n\nexport const jobChartConfig = {\n  activeJobs: {\n    label: \"Active Jobs\",\n    color: \"#f59e0b\",\n  },\n  interview: {\n    label: \"Interview\",\n    color: \"#3b82f6\",\n  },\n} satisfies ChartConfig;\n\nexport const totalJobs = 70;\n",
      "type": "registry:component",
      "target": "components/watermelon/hrm/data.ts"
    },
    {
      "path": "src/components/dashboards/hrm/demo.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { DashboardLayout } from \"./dashboardLayout\";\nimport { DashboardView } from \"./dashboardView\";\n\nexport default function HrmDashboardDemo() {\n    const [currentView, setCurrentView] = useState(\"Dashboard\");\n\n    const renderContent = () => {\n        switch (currentView) {\n            case \"Dashboard\":\n                return <DashboardView />;\n            default:\n                return <DashboardView />;\n        }\n    };\n\n    return (\n        <DashboardLayout onNavigate={setCurrentView} currentView={currentView}>\n            {renderContent()}\n        </DashboardLayout>\n    );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/hrm/demo.tsx"
    }
  ],
  "type": "registry:block"
}
