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