import{o as u,c as i,w as a,b as l,a as o,u as e,d as r,e as m}from"./app-DA7OTM4Q.js";import{P as p}from"./app-YXi6Hc2l.js";import{i as d,c as _}from"./app-BT68AfZ-.js";import{_ as c}from"./app-DokSVapq.js";import{_ as f}from"./app-DuUYZNNT.js";import{_ as V}from"./app-D2gM4iLU.js";import{_ as g}from"./app-a9KqBnqw.js";import{_ as h}from"./app-BMjG4tWp.js";import{_ as x}from"./app-CKSEN_Rg.js";import{D as w}from"./app-DNL2FXPk.js";import"./app-BlCBGn5D.js";import"./app-DSiZNBrr.js";import"./app-KNE_24OY.js";import"./app-Dxa5h-uG.js";import"./app-Zes_jb7S.js";function $(){d(this)}const b=o("header",null,"修改分组",-1),v=["value"],y=o("td",{class:"title"},"分组名称 *",-1),O=o("p",{class:"comment"},"给分组起一个容易识别的名称",-1),B={colspan:"2"},C=o("td",null,"分组描述",-1),D=o("td",null,"启用当前分组",-1),J={__name:"updateGroupPopup",setup(P){const t=_(new $);return(S,s)=>(u(),i(p,null,{default:a(()=>[b,l(c,{action:"$",onSuccess:e(t).success},{default:a(()=>[o("input",{type:"hidden",name:"groupId",value:e(t).group.id},null,8,v),l(w,null,{default:a(()=>[o("tbody",null,[o("tr",null,[y,o("td",null,[l(f,{name:"name",maxlength:"100",autofocus:"",modelValue:e(t).group.name,"onUpdate:modelValue":s[0]||(s[0]=n=>e(t).group.name=n),class:"w-full"},null,8,["modelValue"]),O])]),o("tr",null,[o("td",B,[l(V)])])]),r(o("tbody",null,[o("tr",null,[C,o("td",null,[l(h,{name:"description",maxlength:"200",rows:"3",modelValue:e(t).group.description,"onUpdate:modelValue":s[1]||(s[1]=n=>e(t).group.description=n),class:"w-full"},null,8,["modelValue"])])]),o("tr",null,[D,o("td",null,[l(g,{name:"isOn",value:"1",modelValue:e(t).group.isOn,"onUpdate:modelValue":s[2]||(s[2]=n=>e(t).group.isOn=n)},null,8,["modelValue"])])])],512),[[m,e(t).moreOptionsVisible]])]),_:1}),l(x)]),_:1},8,["onSuccess"])]),_:1}))}};export{J as default};
