import"./nuxt-link.a91ddf68.js";import{y as l}from"./auth.8c936e9a.js";import"./app.config.5ff5ca90.js";import"./entry.0b5898f4.js";import{h as t,q as a}from"./runtime-core.esm-bundler.24b58585.js";import"./composables.050e3231.js";import"./utils.61cc85c6.js";import"./layout.1eaf47bc.js";import"./page.16487999.js";import"./_plugin-vue_export-helper.c27b6911.js";const w=l({props:{entity:{type:Object,required:!0}},emits:["updated","failed"],async setup(e,{emit:i}){if(!e.entity)return()=>t("div",[]);const d=o=>{i("updated",o)},r=o=>{i("failed",o)},s=a("UserForm"),n=a("UserPasswordForm");return()=>t("div",{class:"row"},[t("div",{class:"col-7"},[t("h6",{class:"title"},["General"]),t(s,{entity:e.entity,realmId:e.entity.realm_id,onUpdated:d,onFailed:r})]),t("div",{class:"col-5"},[t("h6",{class:"title"},["Password"]),t(n,{id:e.entity.id,onUpdated:d,onFailed:r})])])}});export{w as default};
