import{o as l,c as m,w as o,b as s,a as t,g as i,D as u,t as _,u as n,F as d,d as p,e as f}from"./app-SC54XQDl.js";import{P as h}from"./app-BGgVpkqZ.js";import{i as w,c as x}from"./app-Ba7ZqSpq.js";import{_ as v}from"./app-CVQkwzlf.js";import{_ as c}from"./app-FlPLZh9D.js";import{_ as V}from"./app-huVLEujn.js";import{_ as $}from"./app-DFulsyXy.js";import{_ as g}from"./app-T1ysvErZ.js";import{_ as b}from"./app-DWUwCFNm.js";import{D as k}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(){w(this)}const y=t("td",{class:"title"},"策略名称 *",-1),B=t("p",{class:"comment"},"给策略起一个容易识别的名字。",-1),C=t("td",null,"启用预置的规则",-1),O={class:"grid grid-cols-2 gap-2"},S=t("p",{class:"comment"},"可以启用一些我们预置的规则组。",-1),P={colspan:"2"},F=t("td",null,"描述",-1),L=t("td",null,"启用当前分组",-1),Y={__name:"createPopup",setup(N){const a=x(new D);return(U,E)=>(l(),m(h,null,{default:o(()=>[s($,{action:"$",onSuccess:n(a).success},{default:o(()=>[s(k,null,{default:o(()=>[t("tbody",null,[t("tr",null,[y,t("td",null,[s(v,{name:"name",maxlength:"100",autofocus:"",class:"w-full"}),B])]),t("tr",null,[C,t("td",null,[t("div",O,[(l(!0),i(d,null,u(n(a).groups,e=>(l(),i("div",null,[s(c,{name:"groupCodes",value:e.code,modelValue:e.isOn,"onUpdate:modelValue":r=>e.isOn=r},{default:o(()=>[t("span",null,_(e.name),1)]),_:2},1032,["value","modelValue","onUpdate:modelValue"])]))),256))]),S])]),t("tr",null,[t("td",P,[s(V)])])]),p(t("tbody",null,[t("tr",null,[F,t("td",null,[s(g,{name:"description",rows:"3",class:"w-full"})])]),t("tr",null,[L,t("td",null,[s(c,{name:"isOn",value:"1",checked:"checked"})])])],512),[[f,n(a).moreOptionsVisible]])]),_:1}),s(b)]),_:1},8,["onSuccess"])]),_:1}))}};export{Y as default};
