PageSourceSearch

https://my-biznes.uz/assets/list-3G0Nf3Pi.js

js my-biznes.uz collected 2026-10-02 02:10:22 UTC 2,823 bytes, 1 lines download raw bytes

1import"./base-pe7GV1XZ.js";import{E as x}from"./el-pagination-CFEjM4Hs.js";import"./el-scrollbar-jCUVLUnO.js";import"./el-select-DWefANXt.js";/* empty css                  */import"./el-input-CnmL_t4N.js";import{E as B,a as D}from"./el-table-column-CHhKiIHF.js";import"./el-checkbox-STTymSq4.js";import"./el-tooltip-l0sNRNKZ.js";import{E as S}from"./el-button-DJtZds9M.js";import{z as P,r as i,x as T,o as V,c as q,d as t,b as f,w as l,F,a0 as R,g as j,_ as A}from"./index-yrPBkgLG.js";import{d as h}from"./DistrictService-BOb3kYx_.js";import{l as G}from"./lodash-DedzAbE8.js";import"./event-BB_Ol6Sd.js";import"./index-pfuQmdwN.js";import"./index-M7Y52XAl.js";import"./index-DWme1wXO.js";import"./index-cAzKqqYT.js";import"./aria--JZTNrRr.js";import"./constants-Dnj8X3EN.js";import"./use-form-common-props-C11eZE7M.js";import"./castArray-BFnFmXfp.js";import"./index-DNvpQlGu.js";import"./scroll-CJo2Uqhl.js";import"./toNumber-BXlDze-m.js";import"./index-CCntWDod.js";import"./vnode-B3H-aSbi.js";import"./_baseClone-uLppoVnS.js";import"./omit-DPP0qQjJ.js";import"./debounce-LRtN-bop.js";import"./raf-D65up9Ge.js";import"./index-r5W6hzzQ.js";const I={class:"flex justify-between"},M={class:"mt-4"},$e={__name:"list",emits:["open"],setup(U,{emit:b}){const s=R(),p=P(()=>s.query.search?s.query.search:""),m=i(0),o=i(10),c=i(1),u=i(1),v=b;function y(e){v("open",e)}function C(e){o.value=e,n()}function $(e){m.value=(e-1)*o.value,n()}async function k(e){await h.Delete(e.id)}async function n(){const e=await h.GetAll({params:{ilteringExpression:`name$$${p.value}`,skip:m.value,take:o.value}});c.value=e.total}const E=G.debounce(n,1e3);return T(p,E),V(async()=>{await n()}),(e,d)=>{const a=D,g=A,_=S,w=B,z=x;return j(),q(F,null,[t(w,{data:e.$store.state.districts,stripe:"",style:{width:"100%"}},{default:l(()=>[t(a,{prop:`region.country.name.${e.$store.state.lang}`,label:e.$t("Country")},null,8,["prop","label"]),t(a,{prop:`region.name.${e.$store.state.lang}`,label:e.$t("Region")},null,8,["prop","label"]),t(a,{prop:"name.uz",label:"Nomi uzb"}),t(a,{prop:"name.ru",label:"Nomi rus"}),t(a,{prop:"name.cyrl",label:"Nomi kiril"}),t(a,{prop:"name.eng",label:"Nomi eng"}),t(a,{width:"100px",label:"Tahrirlash"},{default:l(({row:r})=>[f("div",I,[t(_,{circle:"",type:"primary",class:"w-5 h-5",onClick:N=>y(r)},{default:l(()=>[t(g,{name:"penWhite",isSvg:""})]),_:1},8,["onClick"]),t(_,{circle:"",type:"danger",plain:"",onClick:N=>k(r)},{default:l(()=>[t(g,{name:"trash",isSvg:""})]),_:1},8,["onClick"])])]),_:1})]),_:1},8,["data"]),f("div",M,[t(z,{"current-page":u.value,"onUpdate:currentPage":d[0]||(d[0]=r=>u.value=r),"page-size":o.value,"page-sizes":[10,15,20,30,50,100],layout:"sizes, prev, pager, next",total:c.value,onSizeChange:C,onCurrentChange:$},null,8,["current-page","page-size","total"])])],64)}}};export{$e 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.