PageSourceSearch

https://tstu.uz/assets/index-CZINIdWi.js

js tstu.uz collected 2026-09-24 19:46:16 UTC 1,493 bytes, 1 lines download raw bytes

1import{r as e,j as r}from"./react-s6noa07L.js";import{W as g}from"./wrapper-DNhZ6JPo.js";import{a as S}from"./mock-BMUYvaM6.js";import{da as D,cy as _,h as j}from"./index-CK6lfr5g.js";import{D as w}from"./data-table-BiGjjn2y.js";import"./router-CwT0-KLY.js";import"./i18n-CzrDXj-t.js";import"./index-8NSzCpy6.js";import"./index-CUp_myt7.js";import"./useDelete-DRYQIz29.js";import"./index-DYqyOP-Y.js";import"./ActionButton-BwRR-swJ.js";import"./Table-BCNZTWl_.js";import"./index-Wwosw2Pa.js";import"./Pagination-CGOQO_J5.js";import"./index-BSnds0Po.js";const N=()=>{const{old_year:n}=D(),o=new URLSearchParams(window.location.search),[a,i]=e.useState(Number(o.get("old_year"))||n),[l,d]=e.useState([]),[m,c]=e.useState({}),{loading:p,request:u}=_(),x=[{title:"№",dataIndex:"index",key:"index",align:"center",width:10},{title:"Talaba",dataIndex:"student_",align:"center",key:"student_",render:t=>`${t.first_name} ${t.last_name} ${t.middle_name}`},{title:"Title",dataIndex:"title",align:"center",key:"title"}],y=async t=>{const s=await u("/studentrent/getallstudentrent",{params:{old_year:t,new_year:t+1}});s&&d(s.map((f,h)=>({...f,index:h+1,status:"Faol"})))};return e.useEffect(()=>{y(a)},[m,a]),r.jsx(g,{create:"/admin/studentrent/create",title:"Talabalar ijarasi",header:r.jsx(j,{style:{minWidth:"100px"},options:S,value:a,onChange:i,placeholder:"Select Year"}),children:r.jsx(w,{loading:p,dataSource:l,cols:x,setIsDelete:c,del:"/studentrent/deletestudentrent/"})})};export{N 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.