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-BYcXwl4U.js";import{P as p}from"./app-Doj30F-n.js";import{i as d,c as _}from"./app-a6cKceqE.js";import{_ as c}from"./app-CQ-vNlMj.js";import{_ as f}from"./app-Ufpj4Ll4.js";import{_ as V}from"./app-DiDEoOb6.js";import{_ as g}from"./app-DwtlHtUX.js";import{_ as h}from"./app-DY-0PadZ.js";import{_ as x}from"./app-CignoBaV.js";import{D as w}from"./app-7GBSHA5C.js";import"./app-Ceh-tphd.js";import"./app-ysQ8KbGS.js";import"./app-BHl80pFw.js";import"./app-BG60hdvp.js";import"./app-CrjU8lgK.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};
