PageSourceSearch

https://pavl23.ru/kubcms-front/v5/master/s/c-List-DwZZxwmj.js

js pavl23.ru collected 2026-09-25 07:27:03 UTC 2,669 bytes, 1 lines download raw bytes

1import{a as c,E as f}from"./c-el-table-column-CQPKwBzb.js";import{aR as b,cf as g,c9 as _,ca as i,aV as h,b2 as w,b3 as r,bg as o,bR as s,b6 as l,b1 as C}from"./c-index-C7aDQtMU.js";import"./c-el-checkbox-yCtUXoWo.js";import{s as L,_ as P}from"./c-StandardList.vue_vue_type_script_lang-DmvdCy4t.js";import{S as N}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 S=b({components:{StandardListWrapper:N,...L,ElSwitch:g},setup(){return{...P({filterableColumns:["id","first_name","last_name","email","roles"],apiUrl:"admin/user-v2",editOrCreateRouteName:"ModeratorUser",propNameForGetList:"items",filterOnBackend:!0})}}}),E={class:"d-flex justify-content-around"};function R(e,n,B,T,k,q){const a=f,d=i("FontAwesomeIcon"),p=i("AHrefButton"),m=c,u=i("StandardListWrapper");return h(),w(u,{q:e.q,"onUpdate:q":n[0]||(n[0]=t=>e.q=t),currentPage:e.currentPage,"onUpdate:currentPage":n[1]||(n[1]=t=>e.currentPage=t),addRouteName:e.addRouteName,perPage:e.perPage,allLength:e.cpTotalItems,filteredLength:e.cpFiltered.length,loading:e.loading},{default:r(()=>[o(m,{data:e.filteredAndPaginatedCurrentPage,onSortChange:e.sortChangeHandle,border:!0,style:{width:"100%"}},{default:r(()=>[o(a,{prop:"id",sortable:"",label:"ID","min-width":"70"}),o(a,{prop:"first_name",sortable:"",label:"Имя","min-width":"220"}),o(a,{prop:"last_name",sortable:"",label:"Фамилия","min-width":"220"}),o(a,{prop:"email",sortable:"",label:"Email","min-width":"220"}),o(a,{prop:"totp_secret_encoded",sortable:"",label:"Двухфакторка","min-width":"220"},{default:r(t=>[s(l(t.row.totp_secret_encoded?"ДА":"нет"),1)]),_:1}),o(a,{prop:"active",sortable:"",label:"Активен","min-width":"120"},{default:r(t=>[s(l(t.row.active?"ДА":"нет"),1)]),_:1}),o(a,{prop:"roles",label:"Роли","min-width":"150"},{default:r(t=>[s(l(t.row.roles.join(", ")),1)]),_:1}),o(a,{fixed:"right",label:"",width:"70"},{default:r(t=>[C("div",E,[o(p,{type:"route",to:{name:e.editRouteName,params:{id:t.row.id}}},{default:r(()=>[o(d,{icon:"edit"})]),_:1},8,["to"])])]),_:1})]),_:1},8,["data","onSortChange"])]),_:1},8,["q","currentPage","addRouteName","perPage","allLength","filteredLength","loading"])}const Q=_(S,[["render",R]]);export{Q 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.