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-SC54XQDl.js";import{P as p}from"./app-BGgVpkqZ.js";import{i as d,c as _}from"./app-Ba7ZqSpq.js";import{_ as c}from"./app-DFulsyXy.js";import{_ as f}from"./app-CVQkwzlf.js";import{_ as V}from"./app-huVLEujn.js";import{_ as g}from"./app-FlPLZh9D.js";import{_ as h}from"./app-T1ysvErZ.js";import{_ as x}from"./app-DWUwCFNm.js";import{D as w}from"./app-ZeVDYyDS.js";import"./app-yUrwy8EY.js";import"./app-DnXuoh8P.js";import"./app-DZaelcLs.js";import"./app-PPG0ZS4d.js";import"./app-CNHjdV6U.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};
