PageSourceSearch

https://my-biznes.uz/assets/list-BE0WV8so.js

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

1import"./base-pe7GV1XZ.js";import{E as N}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 S,a as B}from"./el-table-column-CHhKiIHF.js";import"./el-checkbox-STTymSq4.js";import"./el-tooltip-l0sNRNKZ.js";import{E as D}from"./el-button-DJtZds9M.js";import{z as F,r as i,x as P,o as T,c as V,d as t,b as f,w as s,F as q,a0 as R,g as j,_ as A}from"./index-yrPBkgLG.js";import{r as h}from"./RegionService-CfWMsr4Q.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"},ke={__name:"list",emits:["open"],setup(U,{emit:v}){const l=R(),p=F(()=>l.query.search?l.query.search:""),m=i(0),a=i(10),c=i(1),u=i(1),b=v;function y(e){b("open",e)}function C(e){a.value=e,n()}function k(e){m.value=(e-1)*a.value,n()}async function E(e){await h.Delete(e.id)}async function n(){const e=await h.GetAll({params:{FilteringExpression:`name$$${p.value}`,skip:m.value,take:a.value}});c.value=e.total}const z=G.debounce(n,1e3);return P(p,z),T(()=>{n()}),(e,_)=>{const o=B,d=A,g=D,$=S,w=N;return j(),V(q,null,[t($,{data:e.$store.state.regions,stripe:"",style:{width:"100%"}},{default:s(()=>[t(o,{prop:`country.name.${e.$store.state.lang}`,label:"Davlat"},null,8,["prop"]),t(o,{prop:"name.uz",label:"Nomi uzb"}),t(o,{prop:"name.ru",label:"Nomi rus"}),t(o,{prop:"name.cyrl",label:"Nomi kiril"}),t(o,{prop:"name.eng",label:"Nomi eng"}),t(o,{width:"100px",label:"Tahrirlash"},{default:s(({row:r})=>[f("div",I,[t(g,{circle:"",type:"primary",class:"w-5 h-5",onClick:x=>y(r)},{default:s(()=>[t(d,{name:"penWhite",isSvg:""})]),_:1},8,["onClick"]),t(g,{circle:"",type:"danger",plain:"",onClick:x=>E(r)},{default:s(()=>[t(d,{name:"trash",isSvg:""})]),_:1},8,["onClick"])])]),_:1})]),_:1},8,["data"]),f("div",M,[t(w,{"current-page":u.value,"onUpdate:currentPage":_[0]||(_[0]=r=>u.value=r),"page-size":a.value,"page-sizes":[10,15,20,30,50,100],layout:"sizes, prev, pager, next",total:c.value,onSizeChange:C,onCurrentChange:k},null,8,["current-page","page-size","total"])])],64)}}};export{ke 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.