import{p as m,m as d,s as p,h as e,x as a,P as u,r as f}from"./entry.e097670d.js";import{i as c}from"./utils.c307b373.js";import{_}from"./nuxt-link.1a4e25e4.js";/* empty css                    */const E=m({emits:["deleted"],setup(b,{emit:i}){const t=d(),{realmManagement:o,realmManagementId:n}=p(t),r=f("PermissionList"),l=s=>{i("deleted",s)};return()=>e(r,{onDeleted:l,query:{filter:{realm_id:[n.value,null]}}},{[a.HEADER]:()=>e("h6",[e("i",{class:"fa-solid fa-list pe-1"}),"Overview"]),[a.ITEM_ACTIONS]:s=>e("div",[e(_,{class:"btn btn-xs btn-outline-primary me-1",to:`/admin/permissions/${s.data.id}`,disabled:!t.has(u.PERMISSION_EDIT)||!c(o.value,s.data.realm_id)},{default:()=>e("i",{class:"fa fa-bars"})})])})}});export{E as default};
