import{n as e}from"./index-y6crcKNt.js";import{t}from"./useFilePwd-DcTv9OSJ.js";var{getPathPwd:n}=t(),r=(e,t=`password`)=>{typeof e[t]!=`string`&&(e[t]=n(e.path))},i=(t,n)=>(r(t),e({url:`/api/file/operator/mkdir`,method:`post`,data:t,config:n})),a=(t,n)=>(r(t),e({url:`/api/file/operator/new/file`,method:`post`,data:t,config:n})),o=t=>e({url:`/api/file/operator/delete/batch`,method:`post`,data:t}),s=(t,n)=>(r(t),e({url:`/api/file/operator/rename/file`,method:`post`,data:t,config:n})),c=(t,n)=>(r(t,`parentPathPassword`),e({url:`/api/file/operator/rename/folder`,method:`post`,data:t,config:n})),l=(t,n)=>(r(t),e({url:`/api/file/operator/upload/file`,method:`post`,data:t,config:n})),u=(t,n)=>(r(t),e({url:`/api/file/operator/upload/empty/file`,method:`post`,data:t,config:n})),d=(t,n)=>(r(t),e({url:`/api/file/operator/upload/file/prepare`,method:`post`,data:t,config:n})),f=(t,n)=>e({url:`/api/file/operator/upload/conflicts/check`,method:`post`,data:t,config:n}),p=t=>e({url:`/api/file/operator/move/file`,method:`post`,data:t}),m=t=>e({url:`/api/file/operator/move/folder`,method:`post`,data:t}),h=t=>e({url:`/api/file/operator/copy/file`,method:`post`,data:t}),g=t=>e({url:`/api/file/operator/copy/folder`,method:`post`,data:t});export{p as a,i as c,c as d,u as f,g as i,d as l,f as n,m as o,l as p,h as r,a as s,o as t,s as u};