1import{aR as g,cd as b,ce as m,aV as s,b2 as p,b3 as a,bg as t,b1 as _,ci as h,bq as k}from"./c-index-D0PNHfG-.js";import{E as C,a as w}from"./c-index-C1-Vw1zv.js";/* empty css *//* empty css */import{s as P,_ as L}from"./c-StandardList.vue_vue_type_script_lang-CxVIdnRJ.js";import{S as y}from"./c-StandardListWrapper-CDLvJw1W.js";import"./c-merge-CSO2wn0V.js";import"./c-isArrayLikeObject-Can3dch6.js";import"./c-map-DDGos1wu.js";import"./c-_baseMap-vQxfWueh.js";import"./c-debounce-B_JBmozd.js";import"./c-index-MsKR8JGb.js";import"./c-common-C387ZYWx.js";import"./c-FrontendInterfaces-C_tKrs1M.js";import"./c-AHrefButton-CXd6twdJ.js";import"./e-front-DVf7xbkB.js";import"./c-el-form-item-DpapBxAI.js";import"./c-orderBy-uJG_H0AA.js";import"./c-_baseOrderBy-D2fYhRhL.js";import"./c-el-pagination-BlvzLv88.js";const v=g({components:{StandardListWrapper:y,...P},setup(){return L({filterableColumns:["id","title","type"],apiUrl:"admin/block",editOrCreateRouteName:"Block"})}}),$={class:"d-flex justify-content-around"};function q(e,n,S,B,E,R){const r=w,l=m("FontAwesomeIcon"),i=h,d=k,c=C,u=m("StandardListWrapper");return s(),p(u,{q:e.q,"onUpdate:q":n[0]||(n[0]=o=>e.q=o),currentPage:e.currentPage,"onUpdate:currentPage":n[1]||(n[1]=o=>e.currentPage=o),perPage:e.perPage,allLength:e.cpAll.value.length,filteredLength:e.cpFiltered.length,loading:e.loading},{default:a(()=>[t(c,{data:e.filteredAndPaginatedCurrentPage,onSortChange:e.sortChangeHandle,border:!0,style:{width:"100%"}},{default:a(()=>[t(r,{prop:"id",sortable:"",label:"ID",width:"90"}),t(r,{prop:"title",sortable:"",label:"Ðаголовок"}),t(r,{prop:"type",sortable:"",label:"Тип"}),t(r,{prop:"column",sortable:"",label:"ID колонки"}),t(r,{prop:"position",sortable:"",label:"ÐозиÑиÑ"}),t(r,{fixed:"right",label:"ÐейÑÑвиÑ",width:"130"},{default:a(o=>[_("div",$,[t(i,{to:{name:e.editRouteName,params:{id:o.row.id}},size:"small",tag:"router-link"},{default:a(()=>[t(l,{icon:"edit"})]),_:1},8,["to"]),o.row.deleted_at?(s(),p(d,{key:1,class:"item",effect:"dark",content:"ÐоÑÑÑановиÑÑ",placement:"top-start"},{default:a(()=>[t(i,{onClick:f=>e.deleteOrRestoreHandle(o.row.id),type:"warning",size:"small",tag:"div"},{default:a(()=>[t(l,{icon:"repeat"})]),_:1},8,["onClick"])]),_:2},1024)):(s(),p(d,{key:0,class:"item",effect:"dark",content:"УдалиÑÑ",placement:"top-start"},{default:a(()=>[t(i,{onClick:f=>e.deleteOrRestoreHandle(o.row.id),type:"danger",size:"small",tag:"div"},{default:a(()=>[t(l,{icon:"trash"})]),_:1},8,["onClick"])]),_:2},1024))])]),_:1})]),_:1},8,["data","onSortChange"])]),_:1},8,["q","currentPage","perPage","allLength","filteredLength","loading"])}const Z=b(v,[["render",q]]);export{Z 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.