import{K as s,$ as e}from"./utils-lib.js?v=1761009159";import{c as r,s as t,g as i,v as o,x as m,e as a,y as l}from"./base-lib.js?v=1761009159";import{m as n,c as p}from"./form-item.js?v=1761009159";import{aI as c}from"./validator.js?v=1761009159";import{c as u}from"./index51.js?v=1761009159";import{L as d}from"./useController8.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./useStore6.js?v=1761009159";import"./index325.js?v=1761009159";import"./index105.js?v=1761009159";import"./config.js?v=1761009159";import"./index126.js?v=1761009159";import"./index119.js?v=1761009159";import"./firewall.js?v=1761009159";import"./useStore7.js?v=1761009159";const g={class:"p-[20px]"},j=r({__name:"keyword-config",setup(r,{expose:j}){const f=d(),{msgForm:x}=t(f),{BtForm:v,submit:y}=s({data:{...x.value},options:s=>(s.cycle=x.value.cycle,s.give=x.value.give,i(()=>[n("周期","cycle","分钟",{attrs:{min:1,max:60,style:"width: 24rem"},rules:[{required:!0,message:"请输入周期",trigger:"blur"}]}),p("关键字","keyword",{attrs:{rows:5,placeholder:"多个用逗号隔开",style:"width: 32rem"},rules:[{required:!0,message:"请输入关键字",trigger:"blur"}]}),c("告警方式","give",{attrs:{class:"!w-[32rem]",limit:["sms"]},rules:{give:[{required:!0,message:"请选择告警方式",trigger:["change"]}]}})])),submit:u});return j({onConfirm:y}),(s,r)=>{const t=e;return o(),m("div",g,[a(l(v)),a(t,{options:[{content:"检查时只检查间隔时间内的日志内容"},{content:"周期时间请勿设置太小，建议10分钟以上以免导致服务器资源异常"}],class:"pl-2rem",style:{"list-style":"disc"}})])}}});export{j as default};
