System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./index-legacy103.js?v=1761009159","./index-legacy481.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./useStore-legacy4.js?v=1761009159","./site-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./validator-legacy.js?v=1761009159"],function(e,l){"use strict";var n,u,o,t,a,r,i,c,d,f,s,p,m,_,y,g,V,j,v,b,x,h,k,C,U;return{setters:[function(e){n=e.c,u=e.q,o=e.v,t=e.x,a=e.e,r=e.B,i=e.y,c=e.C,d=e.I,f=e.J,s=e.z,p=e.aj,m=e.ah,_=e.ab,y=e.a9},function(e){g=e.k,V=e.ax},function(e){j=e._},function(e){v=e.g,b=e.o,x=e.i,h=e.a,k=e.p,C=e.b,U=e.r},null,null,null,null,null,null,null],execute:function(){var l={class:"p-[20px]"},w={class:"flex"};e("default",n({__name:"install-package",props:{compData:{default:function(){}},isConfig:{type:Boolean},formData:{}},emits:[""],setup:function(e,n){var I=n.expose;return n.emit,u(function(){v()}),I({onConfirm:b}),function(e,n){var u=p,v=m,b=_,I=g,B=j,D=V,S=y;return o(),t("div",l,[a(S,{ref_key:"installFormRef",ref:C,model:i(x),rules:i(U)},{default:r(function(){return[a(b,{label:"安装方式"},{default:r(function(){return[a(v,{modelValue:i(x).type,"onUpdate:modelValue":n[0]||(n[0]=function(e){return i(x).type=e})},{default:r(function(){return[a(u,{value:"common"},{default:r(function(){return n[5]||(n[5]=[c("普通安装",-1)])}),_:1,__:[5]}),a(u,{value:"file"},{default:r(function(){return n[6]||(n[6]=[c("从文件批量安装",-1)])}),_:1,__:[6]})]}),_:1},8,["modelValue"])]}),_:1}),d(a(b,{label:"名称",prop:"name"},{default:r(function(){return[s("div",w,[a(I,{modelValue:i(x).name,"onUpdate:modelValue":n[1]||(n[1]=function(e){return i(x).name=e}),placeholder:"请输入名称",width:"22rem"},null,8,["modelValue"]),a(b,{label:"版本",prop:"version"},{default:r(function(){return[a(I,{modelValue:i(x).version,"onUpdate:modelValue":n[2]||(n[2]=function(e){return i(x).version=e}),placeholder:"默认最新版本",width:"22rem"},null,8,["modelValue"])]}),_:1})])]}),_:1},512),[[f,"common"==i(x).type]]),d(a(b,{label:"版本记录文件",prop:"file"},{default:r(function(){return[a(B,{modelValue:i(x).file,"onUpdate:modelValue":n[3]||(n[3]=function(e){return i(x).file=e}),placeholder:"版本记录文件",icon:"el-folder-opened",onIconClick:i(h),width:"40rem"},null,8,["modelValue","onIconClick"])]}),_:1},512),[[f,"file"==i(x).type]]),a(b,{label:"pip镜像源",prop:"pip"},{default:r(function(){return[a(D,{modelValue:i(x).pip,"onUpdate:modelValue":n[4]||(n[4]=function(e){return i(x).pip=e}),options:i(k),class:"!w-[54rem]"},null,8,["modelValue","options"])]}),_:1})]}),_:1},8,["model","rules"])])}}}))}}});
