PageSourceSearch

https://lukcbs.ru/kubcms-front/v5/master/s/c-List-CpZlLh5S.js

js lukcbs.ru collected 2026-09-25 13:50:20 UTC 2,709 bytes, 1 lines download raw bytes

1import{aR as g,c9 as b,ca as m,aV as s,b2 as p,b3 as a,bg as t,b1 as _,cx as h,bq as k}from"./c-index-C7aDQtMU.js";import{a as C,E as w}from"./c-el-table-column-CQPKwBzb.js";import"./c-el-checkbox-yCtUXoWo.js";import{s as P,_ as L}from"./c-StandardList.vue_vue_type_script_lang-DmvdCy4t.js";import{S as y}from"./c-StandardListWrapper-XFfB7TYH.js";import"./c-merge-B_kft1BI.js";import"./c-isArrayLikeObject-B68eDwjp.js";import"./c-map-D11rV1oF.js";import"./c-_baseMap-Cu2k9MJB.js";import"./c-debounce-C9zzGgaU.js";import"./c-common-Fsnd349q.js";import"./c-FrontendInterfaces-CP3Br6r3.js";import"./c-AHrefButton-DNhWXJtU.js";import"./e-front-BYMFT9Ax.js";import"./c-el-form-item-lGG0C5Mp.js";import"./c-orderBy-DeVN7W4v.js";import"./c-_baseOrderBy-DHaiweXL.js";import"./c-el-pagination-Cw8uBw8d.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,r,S,B,E,R){const n=w,l=m("FontAwesomeIcon"),i=h,d=k,c=C,u=m("StandardListWrapper");return s(),p(u,{q:e.q,"onUpdate:q":r[0]||(r[0]=o=>e.q=o),currentPage:e.currentPage,"onUpdate:currentPage":r[1]||(r[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(n,{prop:"id",sortable:"",label:"ID",width:"90"}),t(n,{prop:"title",sortable:"",label:"Заголовок"}),t(n,{prop:"type",sortable:"",label:"Тип"}),t(n,{prop:"column",sortable:"",label:"ID колонки"}),t(n,{prop:"position",sortable:"",label:"Позиция"}),t(n,{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 X=b(v,[["render",q]]);export{X 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.