import{l as a}from"./utils-lib.js?v=1761009159";import{c as s,r as t,v as e,x as l,z as r,K as i,C as p,A as c,e as o,aD as m}from"./base-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const n={class:"flex p-[2rem] flex-col"},d={class:"flex items-center mb-[16px]"},u={class:"pl-[4px] text-medium leading-8 ml-[4px]"},x={class:"text-primary"},f={class:"text-dangerDark"},g=s({__name:"transfer-result",props:{compData:{default:()=>({success:0,fail:0,sendList:t([])})}},setup(s){const t=[{label:"目标路径",prop:"target_path",minWidth:200,showOverflowTooltip:!0},{label:"状态",prop:"status",fixed:"right",align:"right",render:a=>m("span",{class:"complete"===a.status?"text-primary":"text-dangerDark"},"complete"===a.status?"成功":"失败")}];return(s,m)=>{const g=a;return e(),l("div",n,[r("div",d,[m[3]||(m[3]=r("i",{class:i("!text-titleLarge text-primary svgtofont-el-circle-check-filled")},null,-1)),r("div",u,[m[0]||(m[0]=p(c("传输任务已完成,")+" ",-1)),r("span",x,c(s.compData.success),1),m[1]||(m[1]=p(" "+c("个成功,")+" ",-1)),r("span",f,c(s.compData.fail),1),m[2]||(m[2]=p(" "+c("个失败"),-1))])]),o(g,{ref:"batchTable",column:t,data:s.compData.sendList.value,"max-height":300},null,8,["data"])])}}});export{g as default};
