System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy115.js?v=1761009159","./index-legacy65.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./ace-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./index-legacy114.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./index-legacy119.js?v=1761009159","./form-item-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./useController-legacy9.js?v=1761009159","./useStore-legacy9.js?v=1761009159","./index-legacy103.js?v=1761009159"],function(e,l){"use strict";var n,t,u,a,r,o,c,i,s,d,f,p,m,y,_,g,j,h,b;return{setters:[function(e){n=e.k,t=e.$},function(e){u=e.c,a=e.v,r=e.x,o=e.e,c=e.B,i=e.y,s=e.C,d=e.z,f=e.ab,p=e.ai,m=e.ah,y=e.a9},function(e){_=e.B},function(e){g=e.a,j=e.b,h=e.c,b=e.h},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l={class:"p-20px"},x={class:"h-[16rem]"};e("default",u({__name:"add-script",setup:function(e){return function(e,u){var V=n,v=f,w=p,S=m,U=_,k=y,B=t;return a(),r("div",l,[o(k,{ref_key:"addScriptFormRef",ref:j,model:i(g),"label-width":"80px",rules:i(h)},{default:c(function(){return[o(v,{label:"名称",prop:"name"},{default:c(function(){return[o(V,{modelValue:i(g).name,"onUpdate:modelValue":u[0]||(u[0]=function(e){return i(g).name=e}),placeholder:"请输入脚本名称",width:"36rem"},null,8,["modelValue"])]}),_:1}),o(v,{label:"脚本类型",prop:"script_type"},{default:c(function(){return[o(S,{modelValue:i(g).script_type,"onUpdate:modelValue":u[1]||(u[1]=function(e){return i(g).script_type=e})},{default:c(function(){return[o(w,{label:"shell",value:"shell"},{default:c(function(){return u[4]||(u[4]=[s("Shell",-1)])}),_:1,__:[4]}),o(w,{label:"python",value:"python"},{default:c(function(){return u[5]||(u[5]=[s("Python",-1)])}),_:1,__:[5]})]}),_:1},8,["modelValue"])]}),_:1}),o(v,{label:"内容",prop:"content"},{default:c(function(){return[d("div",x,[o(U,{class:"!h-[16rem] !w-[36rem]",modelValue:i(g).content,"onUpdate:modelValue":u[2]||(u[2]=function(e){return i(g).content=e})},null,8,["modelValue"])])]}),_:1}),o(v,{label:"备注"},{default:c(function(){return[o(V,{modelValue:i(g).description,"onUpdate:modelValue":u[3]||(u[3]=function(e){return i(g).description=e}),placeholder:"备注",width:"36rem"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","rules"]),o(B,{options:i(b),class:"list-disc pl-24px"},null,8,["options"])])}}}))}}});
