File: /www/server/panel/BTPanel/static/js/files.js
import{o as e}from"./utils-lib.js?v=1777008528";import"./base-lib.js?v=1777008528";const s=s=>e.post("files/GetFileBody",{data:s,check:"object"}),a=s=>e.post("files/GetDirNew",{data:s,check:"ignore"}),t=s=>e.post("/files?action=GetDirNew&tojs=GetFiles",{customType:"model",data:s}),c=s=>e.post("files/MvFile",{data:s,check:"msg"}),o=s=>e.post("files/".concat("dir"===s.type?"CreateDir":"CreateFile"),{data:{path:s.path},check:"msg"}),i=s=>e.post("files/".concat("dir"===s.type?"DeleteDir":"DeleteFile"),{data:{path:s.path},check:"msg"}),l=s=>e.post("files/add_files_store",{data:{path:s.path},check:"msg"}),p=s=>e.post("files/del_files_store",{data:{path:s.path},check:"msg"}),d=s=>e.post("/files/logs/set_topping_status",{customType:"model",data:{sfile:s.path,status:"set"===s.type?1:0},check:"msg"}),m=s=>{const a=s.name?{dfile:s.path,filename:s.name}:{dfile:s.path};return e.post("files/CheckExistsFiles",{loading:"正在粘贴文件,请稍候...",data:a,check:"array"})},f=s=>e.post("files/CopyFile",{data:{sfile:s.sfile,dfile:s.dfile},check:"msg"}),h=s=>e.post("files/MvFile",{data:s,check:"msg"}),_=s=>e.post("/files/logs/copy_file_to",{customType:"model",data:{sfile:s.path},check:"msg"}),g=()=>e.post("system/GetDiskInfo",{check:"array"}),k=()=>e.post("files/get_files_store",{check:"array"}),r=s=>e.post("files/get_download_url_list",{data:{p:1,...s},check:"object"}),n=s=>e.post("files/Get_Recycle_bin",{data:s,check:"object"}),y=s=>e.post("files/Recycle_bin",{data:s,check:"msg"}),u=s=>e.post("files/Close_Recycle_bin_new",{data:s,check:"msg"}),b=s=>e.post("files/Re_Recycle_bin",{data:s,check:"msg"}),T=s=>e.post("files/Del_Recycle_bin_new",{data:s,check:"msg"}),j=s=>e.post("files/Batch_Del_Recycle_bin",{data:s,check:"msg"}),z=s=>e.post("files/download_file",{data:s,check:"object"}),w=s=>e.post("/files/zip/get_zip_files",{data:s,check:"object",customType:"model"}),F=s=>e.post("/files/gz/get_zip_files",{data:s,check:"object",customType:"model"}),D=s=>e.post("files/SplitFile",{data:s,check:"object"}),v=s=>e.post("files/JoinConfigFile",{data:s,check:"msg"}),G=s=>e.post("files/JoinFile",{data:s,check:"msg"}),C=s=>e.post("files/create_download_url",{data:s,check:"msg"}),R=s=>e.post("files/get_download_url_find",{data:s}),S=s=>e.post("files/remove_download_url",{data:s,check:"msg"}),x=s=>e.post("/files/logs/get_logs_info",{data:s,check:"object",customType:"model"}),B=s=>e.post("files/Zip",{data:s,check:"msg"}),A=s=>e.post("files/ZipAndDownload",{data:s,check:"msg"}),J=s=>e.post("files/UnZip",{data:s,check:"msg"}),N=()=>e.post("/files/upload/check_email_config",{check:"object",customType:"model"}),Z=s=>e.post("/files/upload/send_to_email",{data:s,check:"object",customType:"model"}),q=s=>e.post("files/get_file_attribute",{data:s,check:"object"}),I=s=>e.post("files/re_history",{data:s,check:"object"}),M=s=>e.post("files/GetFileAccess",{data:s,check:"object"}),E=s=>e.post("files/SetFileAccess",{data:s,check:"msg"}),H=s=>e.post("database/InputSql",{data:s,check:"msg"}),L=s=>e.post("/files/zip/add_zip_file",{data:s,check:"msg",customType:"model"}),O=s=>e.post("/files/gz/add_zip_file",{data:s,check:"msg",customType:"model"}),P=s=>e.post("/files/zip/get_fileinfo_by",{data:s,check:"object",customType:"model"}),U=s=>e.post("/files/gz/get_fileinfo_by",{data:s,check:"object",customType:"model"}),K=s=>e.post("/files/zip/write_zip_file",{data:s,check:"msg",customType:"model"}),Q=s=>e.post("/files/gz/write_zip_file",{data:s,check:"msg",customType:"model"}),V=s=>e.post("/files/zip/extract_byfiles",{data:s,check:"msg",customType:"model"}),W=s=>e.post("/files/gz/extract_byfiles",{data:s,check:"msg",customType:"model"}),X=s=>e.post("/files/zip/delete_zip_file",{data:s,check:"msg",customType:"model"}),Y=s=>e.post("/files/gz/delete_zip_file",{data:s,check:"msg",customType:"model"}),$=()=>e.post("/files/conversion/get_convert_liet",{check:"msg",customType:"model"}),ee=s=>e.post("/files/conversion/run",{data:s,check:"msg",customType:"model"}),se=s=>e.post("files/DownloadFile",{data:s,check:"msg"}),ae=s=>e.post("/files/size/get_batch_path_size",{data:s,check:"msg",customType:"model"}),te=s=>e.post("files/set_file_ps",{data:s,check:"msg"}),ce=s=>e.post("/plugin?action=a&name=rsync&s=add_module",{data:s,check:"msg",customType:"model"}),oe=s=>e.post("files/add_files_rsync",{data:s,check:"msg"}),ie=s=>e.post("/plugin?action=a&name=rsync&s=add_ormodify_send",{data:s,check:"msg",customType:"model"}),le=()=>e.post("files/file_history_list",{check:"array"}),pe=s=>e.post("files/GetFileHistory",{data:s,check:"msg"}),de=s=>e.post("files/del_file_history",{data:s,check:"object"}),me=s=>e.post("files/SetBatchData",{data:s,check:"msg"}),fe=s=>e.post("files/BatchPaste",{data:s,check:"msg"}),he=s=>e.post("/tamper_core/get_effective_path.json",{data:s,customType:"model"}),_e=s=>e.post("files/upload_files_exists",{data:s,check:"array"}),ge=s=>e.post("/tamper_core/batch_setting.json",{data:s,check:"object",customType:"model"}),ke=s=>e.post("/tamper_core/create_path.json",{data:s,check:"object",customType:"model"}),re=s=>e.post("files/get_images_resize",{data:s,check:"object"}),ne=s=>e.post("files/get_videos",{data:s,check:"array"}),ye=s=>e.post("files/GetDirSize",{data:s,check:"string"}),ue=s=>e.post("files/CheckTaskStatus",{data:s,check:"string"}),be=s=>e.post("files/CreateLink",{data:s,check:"msg"}),Te=s=>e.post("/files/conversion/get_log",{data:s,check:"object",customType:"model"}),je=s=>e.post("files/test_path",{data:s}),ze=s=>e.post("files/file_history",{data:s}),we=s=>e.post("/files/size/get_dir_path_size",{data:{path:s,is_refresh:!0},check:"msg",customType:"model"}),Fe=s=>e.post("files/read_history",{data:s,check:"object"}),De=s=>e.post("files/del_history",{data:s,check:"msg"}),ve=()=>e.post("/files/upload/get_oss_objects",{customType:"model"}),Ge=s=>e.post("/plugin?action=a&s=get_list&name=".concat(s.pname),{data:{path:s.path},check:"object",customType:"model"}),Ce=(s,a)=>e.post("/files/".concat("upload"===a?"upload/upload_file":"down/download_file"),{data:{data:JSON.stringify(s)},check:"msg",customType:"model"});export{I as $,ee as A,Te as B,ue as C,$ as D,m as E,f as F,h as G,fe as H,ge as I,ke as J,he as K,H as L,ne as M,r as N,S as O,C as P,R as Q,N as R,Z as S,D as T,v as U,G as V,K as W,Q as X,J as Y,A as Z,B as _,s as a,E as a0,y as a1,u as a2,b as a3,T as a4,z as a5,n as a6,j as a7,te as a8,k as a9,g as aa,l as ab,d as ac,_ as ad,se as ae,je as af,a as ag,ve as ah,we as ai,re as aj,ce as ak,oe as al,ie as am,_e as an,pe as ao,de as ap,le as aq,Fe as ar,De as as,ye as b,ae as c,i as d,t as e,o as f,x as g,ze as h,M as i,me as j,Ge as k,Ce as l,L as m,O as n,V as o,W as p,P as q,U as r,c as s,Y as t,w as u,F as v,be as w,p as x,q as y,X as z};