import{u as a,B as s,k as e,f as t}from"./utils-lib.js?v=1761009159";import{c as l,g as o,v as c,x as r,z as i,e as n,y as p,Q as d,B as m,C as u,G as x}from"./base-lib.js?v=1761009159";import{u as f}from"./useStore8.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const v={class:"p-[24px]"},b={class:"flex flex-col mb-[24px]"},_={class:"flex"},j={class:"flex flex-col"},y={class:"flex"},k=l({__name:"index",setup(l){const{ftpPort:k,rowData:U}=f(),{serverIp:w}=a(),C=o(()=>{const{name:a,password:s}=U.value;return"ftp://".concat(a,":").concat(s,"@").concat(w.value,":").concat(k.value)});return(a,l)=>{const o=e,f=x,k=t;return c(),r("div",v,[i("div",b,[l[3]||(l[3]=i("div",{class:"mb-[12px] text-base text-secondary"},"第一步：复制快速连接URL",-1)),i("div",_,[n(o,{modelValue:p(C),"onUpdate:modelValue":l[0]||(l[0]=a=>d(C)?C.value=a:null),readonly:"",width:"35rem",class:"mr-[8px]"},null,8,["modelValue"]),n(f,{type:"primary",id:"quickConnectUrl","data-clipboard-text":p(C),onClick:l[1]||(l[1]=a=>p(s)({value:p(C)}))},{default:m(()=>l[2]||(l[2]=[u(" 复制URL ",-1)])),_:1,__:[2]},8,["data-clipboard-text"])])]),i("div",j,[l[4]||(l[4]=i("div",{class:"mb-[12px] text-base text-secondary"},"第二步：使用FTP工具连接进行一键连接，例如FileZila软件连接操作如下：",-1)),i("div",y,[n(k,{src:"/ftp/quick-connect.png",alt:""})])])])}}});export{k as default};
