import{P as u}from"./app-CyTk3GnO.js";import{i as m,c as r}from"./app-DckefXYL.js";import{_ as i}from"./app-BbRQPmFH.js";import{_ as p}from"./app-DPkDcD7h.js";import{_ as d}from"./app-MnSDCF4P.js";import{_}from"./app-COct4tsy.js";import{D as c}from"./app-Cx7ENVlu.js";import{o as f,c as x,w as s,b as a,a as o,u as e}from"./app-DnroACXc.js";import"./app-CUqfl6on.js";import"./app-B4bUdtyo.js";import"./app-CYYQ_Zep.js";import"./app-CF0qXH5Q.js";import"./app-LqsmzyUT.js";function V(){m(this)}const g=o("header",null,"修改分组",-1),h=["value"],$=o("td",{class:"title"},"分组名称 *",-1),w=o("td",null,"启用",-1),T={__name:"updatePopup",setup(b){const t=r(new V);return(y,n)=>(f(),x(u,null,{default:s(()=>[g,a(d,{action:"$",onSuccess:e(t).success},{default:s(()=>[o("input",{type:"hidden",name:"groupId",value:e(t).group.id},null,8,h),a(c,null,{default:s(()=>[o("tbody",null,[o("tr",null,[$,o("td",null,[a(p,{name:"name",maxlength:"100",autofocus:"",modelValue:e(t).group.name,"onUpdate:modelValue":n[0]||(n[0]=l=>e(t).group.name=l),class:"w-full"},null,8,["modelValue"])])]),o("tr",null,[w,o("td",null,[a(i,{name:"isOn",modelValue:e(t).group.isOn,"onUpdate:modelValue":n[1]||(n[1]=l=>e(t).group.isOn=l)},null,8,["modelValue"])])])])]),_:1}),a(_)]),_:1},8,["onSuccess"])]),_:1}))}};export{T as default};
