1import{j as e,Y as t}from"./app-B1zCEdht.js";import{D as l}from"./DashboardLayout-BLvXkXtq.js";import{N as i}from"./Navbar-yHDWR6Bb.js";import"./SubNavbar-DQ7EKFjn.js";function h({applications:a}){return e.jsxs(e.Fragment,{children:[e.jsx(i,{}),e.jsxs(l,{title:"New Applicants",children:[e.jsx("h1",{className:"text-xl font-bold mb-4",children:"Fresh Applicantions"}),e.jsx("div",{className:"overflow-x-auto bg-white rounded shadow",children:e.jsxs("table",{className:"min-w-full table-auto",children:[e.jsx("thead",{className:"bg-gray-100 text-left text-sm font-semibold text-gray-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"p-3",children:"ID"}),e.jsx("th",{className:"p-3",children:"Name"}),e.jsx("th",{className:"p-3",children:"Status"}),e.jsx("th",{className:"p-3",children:"Actions"})]})}),e.jsx("tbody",{className:"text-sm text-gray-600",children:a.data.map(s=>e.jsxs("tr",{className:"border-b hover:bg-gray-50",children:[e.jsx("td",{className:"p-3",children:s.id}),e.jsx("td",{className:"p-3",children:s.name}),e.jsx("td",{className:"p-3 capitalize",children:s.status??"Pending"}),e.jsx("td",{className:"p-3",children:e.jsx(t,{href:route("admin.applications.show",s.id),className:"text-blue-600 hover:underline",children:"View"})})]},s.id))})]})}),e.jsx("div",{className:"mt-4 flex justify-end space-x-2",children:a.links.map((s,r)=>e.jsx(t,{href:s.url??"#",dangerouslySetInnerHTML:{__html:s.label},className:`px-3 py-1 border rounded ${s.active?"bg-indigo-600 text-white":"text-gray-700 hover:bg-gray-200"} ${!s.url&&"pointer-events-none text-gray-400"}`},r))})]})]})}export{h as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.