import{P as u}from"./app-BGgVpkqZ.js";import{i as m,c as r}from"./app-Ba7ZqSpq.js";import{_ as i}from"./app-FlPLZh9D.js";import{_ as p}from"./app-CVQkwzlf.js";import{_ as d}from"./app-DFulsyXy.js";import{_}from"./app-DWUwCFNm.js";import{D as c}from"./app-ZeVDYyDS.js";import{o as f,c as x,w as s,b as a,a as o,u as e}from"./app-SC54XQDl.js";import"./app-yUrwy8EY.js";import"./app-DZaelcLs.js";import"./app-PPG0ZS4d.js";import"./app-DnXuoh8P.js";import"./app-CNHjdV6U.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};
