import{P as d}from"./app-CyTk3GnO.js";import{i as _,c as m}from"./app-DckefXYL.js";import{_ as p}from"./app-MnSDCF4P.js";import{_ as f}from"./app-DFWP-E91.js";import{_ as h}from"./app-COct4tsy.js";import{D as x}from"./app-Cx7ENVlu.js";import{o as n,c as V,w as l,b as s,a as t,u as o,f as y,t as a,g as r,h as c}from"./app-DnroACXc.js";import"./app-CUqfl6on.js";import"./app-LqsmzyUT.js";function k(){_(this)}const w=t("header",null,"修改用户",-1),v=["value"],B=t("td",{class:"title"},"用户邮箱 *",-1),C=t("p",{class:"comment"},"用于自动注册用户的邮箱，不允许修改。",-1),N={key:0},$=t("td",null,"所属服务商",-1),b={key:1},g=t("td",null,"所属服务商账号",-1),D=t("td",null,"备注",-1),A={__name:"updatePopup",setup(P){const e=m(new k);return(S,u)=>(n(),V(d,null,{default:l(()=>[w,s(p,{onSuccess:o(e).success,action:"$"},{default:l(()=>[t("input",{type:"hidden",name:"userId",value:o(e).user.id},null,8,v),s(x,null,{default:l(()=>[t("tbody",null,[t("tr",null,[B,t("td",null,[y(a(o(e).user.email)+" ",1),C])]),o(e).user.provider!=null?(n(),r("tr",N,[$,t("td",null,a(o(e).user.provider.name),1)])):c("",!0),o(e).user.account!=null?(n(),r("tr",b,[g,t("td",null,a(o(e).user.account.name),1)])):c("",!0),t("tr",null,[D,t("td",null,[s(f,{name:"description",rows:"3",maxlength:"100",modelValue:o(e).user.description,"onUpdate:modelValue":u[0]||(u[0]=i=>o(e).user.description=i),autofocus:"",class:"w-full"},null,8,["modelValue"])])])])]),_:1}),s(h)]),_:1},8,["onSuccess"])]),_:1}))}};export{A as default};
