import{aJ as h,a6 as f,k as b}from"./index.17037962789732.js";import"./index.1703796278973301.js";import"./index.170379627897325.js";import"./index.1703796278973312.js";import{d as k,v as x,m as y,o as l,x as p,b as n,u as t,F as g,B as w,G as F,H as j,z as r}from"./vue.1703796278973.js";import{_ as C}from"./_plugin-vue_export-helper.1703796278973.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";const d=s=>(F("data-v-45095df8"),s=s(),j(),s),I={class:"shakeLimit"},S=d(()=>r("span",null,"秒内发送",-1)),z=d(()=>r("span",null,"次及以上时，处理",-1)),B=k({__name:"index",props:{value:{type:Object,default:()=>({})}},emits:["update:value"],setup(s,{emit:m}){const u=s,c=[{label:"第一次",value:!0},{label:"最后一次",value:!1}],e=x({enabled:void 0,time:1,threshold:1,alarmFirst:void 0});return Object.assign(e,u.value),y(()=>e,()=>{m("update:value",{...e})},{deep:!0}),(N,a)=>{const _=h,i=f,v=b;return l(),p("div",I,[n(_,{checkedChildren:"开启防抖",unCheckedChildren:"关闭防抖",checked:t(e).enabled,"onUpdate:checked":a[0]||(a[0]=o=>t(e).enabled=o),style:{"margin-right":"12px"}},null,8,["checked"]),t(e).enabled?(l(),p(g,{key:0},[n(i,{min:1,max:100,precision:0,size:"small",value:t(e).time,"onUpdate:value":a[1]||(a[1]=o=>t(e).time=o),style:{width:"38px"}},null,8,["value"]),S,n(i,{min:1,max:100,precision:0,size:"small",value:t(e).threshold,"onUpdate:value":a[2]||(a[2]=o=>t(e).threshold=o),style:{width:"38px"}},null,8,["value"]),z,n(v,{options:c,optionType:"button",value:t(e).alarmFirst,"onUpdate:value":a[3]||(a[3]=o=>t(e).alarmFirst=o),size:"small"},null,8,["value"])],64)):w("",!0)])}}});const K=C(B,[["__scopeId","data-v-45095df8"]]);export{K as default};
