System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy115.js?v=1761009159","./index-legacy15.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./ace-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./index-legacy114.js?v=1761009159","./useController-legacy3.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(e,l){"use strict";var n,a,u,t,r,o,s,d,c,i,m,f,p,_,g,V,y,b,x,v;return{setters:[function(e){n=e.k,a=e.$},function(e){u=e.c,t=e.v,r=e.x,o=e.e,s=e.B,d=e.y,c=e.z,i=e.D,m=e.ab,f=e.ak,p=e.al,_=e.a9},function(e){g=e.B},function(e){V=e.c,y=e.d,b=e.e,x=e.f,v=e.h},null,null,null,null,null,null,null,null],execute:function(){var l={class:"p-20px"},j={class:"flex items-center"},h={key:0,class:"flex items-center"},w={class:"h-[16rem]"};e("default",u({__name:"index",setup:function(e){return function(e,u){var U=n,k=m,B=f,S=p,z=g,C=_,D=a;return t(),r("div",l,[o(C,{ref_key:"addScriptFormRef",ref:b,model:d(V),"label-width":"80px",rules:d(x)},{default:s(function(){return[o(k,{label:"名称",prop:"name"},{default:s(function(){return[o(U,{modelValue:d(V).name,"onUpdate:modelValue":u[0]||(u[0]=function(e){return d(V).name=e}),placeholder:"请输入脚本名称",width:"36rem"},null,8,["modelValue"])]}),_:1}),o(k,{label:"返回类型"},{default:s(function(){return[o(S,{modelValue:d(V).return_type,"onUpdate:modelValue":u[1]||(u[1]=function(e){return d(V).return_type=e}),class:"!w-[16rem]"},{default:s(function(){return[o(B,{label:"字符串",value:"string"}),o(B,{label:"整数",value:"int"}),o(B,{label:"浮点数",value:"float"})]}),_:1},8,["modelValue"])]}),_:1}),o(k,{label:"脚本参数"},{default:s(function(){return[c("div",j,[o(S,{modelValue:d(V).is_args,"onUpdate:modelValue":u[2]||(u[2]=function(e){return d(V).is_args=e}),class:"!w-[8.2rem]"},{default:s(function(){return[o(B,{label:"需要",value:"1"}),o(B,{label:"不需要",value:"0"})]}),_:1},8,["modelValue"]),"1"==d(V).is_args?(t(),r("div",h,[o(U,{class:"mx-4px",width:"10rem",placeholder:"参数标题",modelValue:d(y).args_title,"onUpdate:modelValue":u[3]||(u[3]=function(e){return d(y).args_title=e})},null,8,["modelValue"]),o(U,{modelValue:d(y).args_ps,"onUpdate:modelValue":u[4]||(u[4]=function(e){return d(y).args_ps=e}),width:"16rem",placeholder:"参数说明"},null,8,["modelValue"])])):i("",!0)])]}),_:1}),o(k,{label:"内容",prop:"script"},{default:s(function(){return[c("div",w,[o(z,{class:"!h-[16rem] !w-[36rem]",modelValue:d(V).script,"onUpdate:modelValue":u[5]||(u[5]=function(e){return d(V).script=e})},null,8,["modelValue"])])]}),_:1}),o(k,{label:"备注"},{default:s(function(){return[o(U,{modelValue:d(V).ps,"onUpdate:modelValue":u[6]||(u[6]=function(e){return d(V).ps=e}),placeholder:"备注",width:"36rem"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","rules"]),o(D,{options:d(v),class:"list-disc pl-24px"},null,8,["options"])])}}}))}}});
