System.register(["./index-legacy119.js?v=1761009159","./index-legacy401.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./store-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./files-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./store-legacy2.js?v=1761009159","./index-legacy103.js?v=1761009159"],function(e,l){"use strict";var n,t,s,a,c,i,o,u,r,d,g,m,v,f,p,x,y,_,j,k,h,b,w;return{setters:[function(e){n=e._},function(e){t=e._},function(e){s=e.ak,a=e.x,c=e.e,i=e._},function(e){o=e.c,u=e.s,r=e.g,d=e.q,g=e.a6,m=e.v,v=e.x,f=e.y,p=e.F,x=e.z,y=e.A,_=e.e,j=e.B,k=e.C,h=e.b0,b=e.D},function(e){w=e.X},null,null,null,null,null,null,null],execute:function(){var l={class:"p-16px realTaskDialog"},C={class:"title"},D=["title"],H={class:"p-[1rem]"},T={class:"mt-[4px] flex justify-between items-center"},q={class:"flex"},z={class:"mr-[25px]"},A={class:"title"},B={class:"truncate max-w-[36rem]"},F={key:2,class:"wait"},I={class:"truncate"},L=["onClick"];e("default",i(o({__name:"index",emits:["close"],setup:function(e,i){i.emit;var o=w(),N=u(o).taskData,S=o.getLog,W=o.cancel,X=o.$reset,$=r(function(){return N.value[0]||{log:"",name:"",shell:""}});return d(function(){S()}),g(function(){X()}),function(e,i){var o,u,r,d,g,w=c,S=t,X=n;return m(),v("div",l,[f(s)(f($).log)?(m(),v(p,{key:0},[x("div",C,[x("span",{class:"truncate max-w-[36rem]",title:f($).shell},"正在下载:"+y(f($).shell),9,D),_(w,{onClick:i[0]||(i[0]=function(e){return f(W)(f($))})},{default:j(function(){return i[2]||(i[2]=[k("取消",-1)])}),_:1,__:[2]})]),x("div",H,[_(S,{strokeWidth:3,percentage:Number((null===(o=f($).log)||void 0===o?void 0:o.pre)||0),showText:!1},null,8,["percentage"]),x("div",T,[x("div",q,[x("span",z,y(null===(u=f($).log)||void 0===u?void 0:u.used)+" / "+y(f(a)(null===(r=f($).log)||void 0===r?void 0:r.total)),1),x("span",null,"预计还要:"+y(null===(d=f($).log)||void 0===d?void 0:d.time),1)]),x("span",null,y(null===(g=f($).log)||void 0===g?void 0:g.speed)+"/s",1)])])],64)):(m(),v(p,{key:1},[x("div",A,[x("span",B,y("".concat(f($).name,":").concat(f($).shell)),1),_(w,{onClick:i[1]||(i[1]=function(e){return f(W)(f($))})},{default:j(function(){return i[3]||(i[3]=[k("取消",-1)])}),_:1,__:[3]})]),_(X,{content:f($).log,isHtml:!0,class:"max-h-[18rem] h-[18rem]"},null,8,["content"])],64)),f(N).length>1?(m(),v("div",F,[i[4]||(i[4]=x("div",{class:"title"},"等待执行任务",-1)),(m(!0),v(p,null,h(f(N).slice(1),function(e){return m(),v("div",{class:"title item w-full !text-disabled items-center",key:e.id},[x("span",I,y("".concat(e.name,":").concat(e.shell)),1),x("span",{class:"svgtofont-el-close-bold text-danger cursor-pointer ml-1rem",onClick:function(l){return f(W)(e)}},null,8,L)])}),128))])):b("",!0)])}}}),[["__scopeId","data-v-9a275a22"]]))}}});
