import{a as l,h as e,r as i}from"./entry.e097670d.js";const m=l({props:{entity:{type:Object,required:!0}},emits:["updated","failed"],async setup(t,{emit:a}){if(!t.entity)return()=>e("div",[]);const s=d=>{a("updated",d)},n=d=>{a("failed",d)},o=i("UserForm"),r=i("UserPasswordForm");return()=>e("div",{class:"row"},[e("div",{class:"col-7"},[e("h6",{class:"title"},["General"]),e(o,{entity:t.entity,realmId:t.entity.realm_id,onUpdated:s,onFailed:n})]),e("div",{class:"col-5"},[e("h6",{class:"title"},["Password"]),e(r,{id:t.entity.id,onUpdated:s,onFailed:n})])])}});export{m as default};
