System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./index-legacy127.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./useController-legacy3.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./useStore-legacy2.js?v=1761009159","./index-legacy15.js?v=1761009159","./index-legacy118.js?v=1761009159","./index-legacy125.js?v=1761009159","./index.vue_vue_type_script_setup_true_lang-legacy3.js?v=1761009159"],(function(e,l){"use strict";var a,n,u,t,r,o,s,c,i,d,p,f,_,m,g,v,b,y,x,h,V,j,C,k,w,U,S,E,R;return{setters:[function(e){a=e.c,n=e.o,u=e.a1,t=e.k,r=e.l,o=e.e,s=e.x,c=e.q,i=e.p,d=e.J,p=e.z,f=e.ag,_=e.ah,m=e.a7,g=e.bW,v=e.a4},function(e){b=e.l},function(e){y=e.i,x=e.$,h=e.o,V=e.t,j=e.c,C=e.e,k=e.s,w=e.a,U=e.b,S=e.d,E=e.f,R=e.r},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l={class:"p-20px"},q={class:"flex items-center"},z={class:"flex items-center"};e("default",a({__name:"add-event",setup:function(e,a){var H=a.expose;return n(y),u(x),H({onConfirm:h}),function(e,a){var n=f,u=_,y=b,x=m,h=g,H=v;return t(),r("div",l,[o(H,{ref_key:"taskEventRef",ref:E,"label-width":"80px",model:i(V),rules:i(R)},{default:s((function(){return[o(x,{label:"当执行结果"},{default:s((function(){return[c("div",q,[o(u,{modelValue:i(V).operator,"onUpdate:modelValue":a[0]||(a[0]=function(e){return i(V).operator=e}),class:"!w-[16rem]"},{default:s((function(){return[o(n,{label:"包含",value:"in"}),o(n,{label:"不包含",value:"not in"}),o(n,{label:"等于",value:"="}),o(n,{label:"不等于",value:"!="}),o(n,{label:"大于",value:">"}),o(n,{label:"大于等于",value:">="}),o(n,{label:"小于",value:"<"}),o(n,{label:"小于等于",value:"<="})]})),_:1},8,["modelValue"]),o(x,{label:"",prop:"op_value"},{default:s((function(){return[o(y,{modelValue:i(V).op_value,"onUpdate:modelValue":a[1]||(a[1]=function(e){return i(V).op_value=e}),class:"ml-[6px]",placeholder:"请输入比较值"},null,8,["modelValue"])]})),_:1})])]})),_:1}),o(x,{label:"运行",prop:"run_script_id"},{default:s((function(){return[c("div",z,[o(u,{class:"mr-12px !w-[16rem]",modelValue:i(V).on,"onUpdate:modelValue":a[2]||(a[2]=function(e){return i(V).on=e})},{default:s((function(){return[o(n,{label:"脚本库",value:"script"})]})),_:1},8,["modelValue"]),o(h,{"show-all-levels":!1,onChange:i(j),onExpandChange:i(C),onVisibleChange:i(k),class:"!w-[24rem]","popper-class":"task-cascader",modelValue:i(V).run_script_id,"onUpdate:modelValue":a[3]||(a[3]=function(e){return i(V).run_script_id=e}),ref_key:"scriptSectionRef",ref:w,props:{label:"name",value:"script_id",children:"script_list",multiple:!0,checkStrictly:!0},options:i(U),placeholder:"请选择脚本,支持搜索","collapse-tags":"","collapse-tags-tooltip":"",filterable:""},null,8,["onChange","onExpandChange","onVisibleChange","modelValue","options"])])]})),_:1}),i(S).is_args?(t(),d(x,{key:0,label:i(S).args_title,prop:"args"},{default:s((function(){return[o(y,{placeholder:i(S).args_holder,modelValue:i(V).args,"onUpdate:modelValue":a[4]||(a[4]=function(e){return i(V).args=e}),width:"32.2rem"},null,8,["placeholder","modelValue"])]})),_:1},8,["label"])):p("",!0)]})),_:1},8,["model","rules"])])}}}))}}}));
