import{P as u}from"./app-YXi6Hc2l.js";import{i as m,c as r}from"./app-BT68AfZ-.js";import{_ as i}from"./app-a9KqBnqw.js";import{_ as p}from"./app-DuUYZNNT.js";import{_ as d}from"./app-DokSVapq.js";import{_}from"./app-CKSEN_Rg.js";import{D as c}from"./app-DNL2FXPk.js";import{o as f,c as x,w as s,b as a,a as o,u as e}from"./app-DA7OTM4Q.js";import"./app-BlCBGn5D.js";import"./app-KNE_24OY.js";import"./app-Dxa5h-uG.js";import"./app-DSiZNBrr.js";import"./app-Zes_jb7S.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};
