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