import{l as a}from"./utils-lib.js?v=1761009159";import{c as e,r as t,v as l,x as o,z as s,K as r,A as m,e as c,B as i,C as n,y as p,Q as u,ai as d,ah as f}from"./base-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const x={class:"flex p-[2rem] flex-col"},_={class:"flex items-center mb-[8px]"},g={class:"pl-[4px] text-medium leading-8 ml-[4px]"},v={class:"ml-[5rem] mb-[1.6rem]"},b=e({__name:"transfer-confirm",props:{compData:{default:()=>({sourceNode:{},targetNode:{},sourcePathList:t([]),targetPath:"",complete:()=>{}})}},setup(e,{expose:b}){const h=e,D=t("ignore"),N=[{label:"文件/文件夹名称",prop:"fileName",minWidth:200,showOverflowTooltip:!0}];return b({onConfirm:()=>(h.compData.complete(D.value),!0)}),(e,t)=>{const b=d,h=f,j=a;return l(),o("div",x,[s("div",_,[t[1]||(t[1]=s("i",{class:r("!text-titleLarge text-warning svgtofont-el-warning-filled")},null,-1)),s("div",g,m("是否要将节点【".concat(e.compData.sourceNode.remarks,"】的以下文件/文件夹传输到节点【").concat(e.compData.targetNode.remarks,"】【").concat(e.compData.targetPath,"】的中？")),1)]),s("div",v,[t[4]||(t[4]=s("div",null,"当遇到重复文件时，请选择处理方式",-1)),c(h,{modelValue:p(D),"onUpdate:modelValue":t[0]||(t[0]=a=>u(D)?D.value=a:null)},{default:i(()=>[c(b,{label:"ignore"},{default:i(()=>t[2]||(t[2]=[n("跳过",-1)])),_:1,__:[2]}),c(b,{label:"cover"},{default:i(()=>t[3]||(t[3]=[n("覆盖",-1)])),_:1,__:[3]})]),_:1},8,["modelValue"])]),c(j,{ref:"batchTable",column:N,data:e.compData.sourcePathList.value,"max-height":300},null,8,["data"])])}}});export{b as default};
