Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/
Upload File :
Current File : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/DataTable-BI0viTlC.js

import{X as a,j as e}from"./app-Yxy9xw5U.js";import{T as p,a as h,b as n,c as t,d as j,e as s}from"./table-z2Ib4EE0.js";import{u as g,T as u,a as b}from"./useDebouncedSearch-CvNOooOy.js";import{B as f}from"./button-CzS_Hj1L.js";import{E as T}from"./eye-DdsmrH-P.js";import"./utils-CytzSlOG.js";import"./createLucideIcon-DRNdzIzh.js";import"./chevron-left-C34Dg3Xq.js";import"./chevron-right-lAYxTRWO.js";import"./input-tIYjlS4e.js";import"./select-CyhTndWq.js";import"./Combination-Cdai1BqT.js";import"./index-BN4LioMV.js";import"./index-Cv0PThbv.js";import"./index-CTHE9COP.js";function X(){a().props.auth.user;const{filters:o}=a().props,c=a().props.datatable,{data:i,links:d}=a().props.datatable,{params:l,setParams:m,setTimeDebounce:x}=g(route(`${route().current()}`),o);return e.jsxs("div",{className:"space-y-4",children:[e.jsx(u,{placeholder:"Cari tugas",search:l.search,params:l,setParams:m,setTimeDebounce:x}),e.jsx("div",{className:"",children:e.jsxs(p,{children:[e.jsx(h,{children:e.jsxs(n,{children:[e.jsx(t,{children:"Nama Tugas"}),e.jsx(t,{children:"Tanggal Akhir"}),e.jsx(t,{children:"Status"}),e.jsx(t,{children:"Action"})]})}),e.jsx(j,{children:i.length>0?i.map(r=>e.jsxs(n,{className:"bg-white",children:[e.jsx(s,{children:r.materi_tugas.name}),e.jsx(s,{children:r.materi_tugas.due_date}),e.jsx(s,{children:r.status=="pending"?e.jsx("span",{className:"inline-flex items-center rounded bg-orange-50 px-2 py-0.5 text-xs font-medium text-orange-500 ring-1 ring-inset ring-orange-600/20",children:"Pending"}):r.status=="reject"?e.jsx("span",{className:"inline-flex items-center rounded bg-red-50 px-2 py-0.5 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/10",children:"Reject"}):e.jsx("span",{className:"inline-flex items-center rounded bg-green-50 px-2 py-0.5 text-xs font-medium text-green-700 ring-1 ring-inset ring-green-600/20",children:"Approve"})}),e.jsx(s,{children:e.jsx("div",{className:"flex items-center gap-2",children:e.jsx("a",{href:r.file?route("storage.file",{path:r.file}):r.link,target:"_blank",children:e.jsx(f,{variant:"outline",children:e.jsx(T,{className:"w-4 h-4 text-blue-500"})})})})})]},r.id)):e.jsx(n,{children:e.jsx(s,{colSpan:6,className:"h-24 text-center bg-white",children:"No results found."})})})]})}),e.jsx(b,{links:d,meta:c})]})}export{X as default};

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]