1import{E as c,a as f}from"./c-index-C1-Vw1zv.js";import{aR as b,cr as g,cd as _,ce 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-D0PNHfG-.js";/* empty css *//* empty css */import{s as L,_ as P}from"./c-StandardList.vue_vue_type_script_lang-CxVIdnRJ.js";import{S as N}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 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 Y=_(S,[["render",R]]);export{Y 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.