import{o as u,c as r,w as c,b as l,a as n,u as t,g as s,t as m,h as d,d as p,e as _}from"./app-SC54XQDl.js";import{P as f}from"./app-BGgVpkqZ.js";import{i as h,c as v}from"./app-Ba7ZqSpq.js";import{_ as i}from"./app-CVQkwzlf.js";import{_ as b}from"./app-DWUwCFNm.js";import{_ as y}from"./app-DFulsyXy.js";import{D as x}from"./app-ZeVDYyDS.js";import"./app-yUrwy8EY.js";import"./app-DnXuoh8P.js";import"./app-CNHjdV6U.js";function V(){h(this)}const w=n("header",null,"修改账号",-1),K=["value"],k=["value"],B=n("td",null,"账号名称 *",-1),C=n("td",{class:"title"},"服务商 *",-1),g={key:0},D={key:1,class:"disabled"},H=["innerHTML"],L=n("td",null,"EAB Kid *",-1),M=["innerHTML"],T=n("td",null,"EAB HMAC Key *",-1),F={__name:"updatePopup",setup(A){const e=v(new V);return(E,o)=>(u(),r(f,null,{default:c(()=>[w,l(y,{action:"$",onSuccess:t(e).success},{default:c(()=>[n("input",{type:"hidden",name:"accountId",value:t(e).account.id},null,8,K),n("input",{type:"hidden",name:"providerCode",value:t(e).account.providerCode},null,8,k),l(x,null,{default:c(()=>[n("tbody",null,[n("tr",null,[B,n("td",null,[l(i,{name:"name",maxlength:"50",autofocus:"",modelValue:t(e).account.name,"onUpdate:modelValue":o[0]||(o[0]=a=>t(e).account.name=a),tabindex:1,class:"w-full"},null,8,["modelValue"])])]),n("tr",null,[C,n("td",null,[t(e).account.provider!=null?(u(),s("span",g,m(t(e).account.provider.name),1)):(u(),s("span",D,"服务商已失效")),t(e).account.provider!=null?(u(),s("p",{key:2,class:"comment",innerHTML:t(e).account.provider.description},null,8,H)):d("",!0)])])]),p(n("tbody",null,[n("tr",null,[L,n("td",null,[l(i,{name:"eabKid",maxlength:"100",modelValue:t(e).account.eabKid,"onUpdate:modelValue":o[1]||(o[1]=a=>t(e).account.eabKid=a),tabindex:"3",class:"w-full"},null,8,["modelValue"]),t(e).account.provider!=null?(u(),s("p",{key:0,class:"comment",innerHTML:t(e).account.provider.eabDescription},null,8,M)):d("",!0)])]),n("tr",null,[T,n("td",null,[l(i,{name:"eabKey",maxlength:"300",modelValue:t(e).account.eabKey,"onUpdate:modelValue":o[2]||(o[2]=a=>t(e).account.eabKey=a),tabindex:4,class:"w-full"},null,8,["modelValue"])])])],512),[[_,t(e).account.provider!=null&&t(e).account.provider.requireEAB]])]),_:1}),l(b)]),_:1},8,["onSuccess"])]),_:1}))}};export{F as default};
