← Back
Editing: files-legacy.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,c)}return o}function o(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?e(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(e,o,c){return(o=function(e){var o=function(e,o){if("object"!=t(e)||!e)return e;var c=e[Symbol.toPrimitive];if(void 0!==c){var n=c.call(e,o||"default");if("object"!=t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(e)}(e,"string");return"symbol"==t(o)?o:o+""}(o))in e?Object.defineProperty(e,o,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[o]=c,e}System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER"],(function(t,e){"use strict";var c;return{setters:[function(t){c=t.o},null],execute:function(){t("a",(function(t){return c.post("files/GetFileBody",{data:t,check:"object"})})),t("ag",(function(t){return c.post("files/GetDirNew",{data:t,check:"ignore"})})),t("e",(function(t){return c.post("/files?action=GetDirNew&tojs=GetFiles",{customType:"model",data:t})})),t("s",(function(t){return c.post("files/MvFile",{data:t,check:"msg"})})),t("f",(function(t){return c.post("files/".concat("dir"===t.type?"CreateDir":"CreateFile"),{data:{path:t.path},check:"msg"})})),t("d",(function(t){return c.post("files/".concat("dir"===t.type?"DeleteDir":"DeleteFile"),{data:{path:t.path},check:"msg"})})),t("ab",(function(t){return c.post("files/add_files_store",{data:{path:t.path},check:"msg"})})),t("x",(function(t){return c.post("files/del_files_store",{data:{path:t.path},check:"msg"})})),t("ac",(function(t){return c.post("/files/logs/set_topping_status",{customType:"model",data:{sfile:t.path,status:"set"===t.type?1:0},check:"msg"})})),t("E",(function(t){var e=t.name?{dfile:t.path,filename:t.name}:{dfile:t.path};return c.post("files/CheckExistsFiles",{loading:"正在粘贴文件,请稍候...",data:e,check:"array"})})),t("F",(function(t){return c.post("files/CopyFile",{data:{sfile:t.sfile,dfile:t.dfile},check:"msg"})})),t("G",(function(t){return c.post("files/MvFile",{data:t,check:"msg"})})),t("ad",(function(t){return c.post("/files/logs/copy_file_to",{customType:"model",data:{sfile:t.path},check:"msg"})})),t("aa",(function(){return c.post("system/GetDiskInfo",{check:"array"})})),t("a9",(function(){return c.post("files/get_files_store",{check:"array"})})),t("N",(function(t){return c.post("files/get_download_url_list",{data:o({p:1},t),check:"object"})})),t("a6",(function(t){return c.post("files/Get_Recycle_bin",{data:t,check:"object"})})),t("a1",(function(t){return c.post("files/Recycle_bin",{data:t,check:"msg"})})),t("a2",(function(t){return c.post("files/Close_Recycle_bin_new",{data:t,check:"msg"})})),t("a3",(function(t){return c.post("files/Re_Recycle_bin",{data:t,check:"msg"})})),t("a4",(function(t){return c.post("files/Del_Recycle_bin_new",{data:t,check:"msg"})})),t("a7",(function(t){return c.post("files/Batch_Del_Recycle_bin",{data:t,check:"msg"})})),t("a5",(function(t){return c.post("files/download_file",{data:t,check:"object"})})),t("u",(function(t){return c.post("/files/zip/get_zip_files",{data:t,check:"object",customType:"model"})})),t("v",(function(t){return c.post("/files/gz/get_zip_files",{data:t,check:"object",customType:"model"})})),t("T",(function(t){return c.post("files/SplitFile",{data:t,check:"object"})})),t("U",(function(t){return c.post("files/JoinConfigFile",{data:t,check:"msg"})})),t("V",(function(t){return c.post("files/JoinFile",{data:t,check:"msg"})})),t("P",(function(t){return c.post("files/create_download_url",{data:t,check:"msg"})})),t("Q",(function(t){return c.post("files/get_download_url_find",{data:t})})),t("O",(function(t){return c.post("files/remove_download_url",{data:t,check:"msg"})})),t("g",(function(t){return c.post("/files/logs/get_logs_info",{data:t,check:"object",customType:"model"})})),t("_",(function(t){return c.post("files/Zip",{data:t,check:"msg"})})),t("Z",(function(t){return c.post("files/ZipAndDownload",{data:t,check:"msg"})})),t("Y",(function(t){return c.post("files/UnZip",{data:t,check:"msg"})})),t("R",(function(){return c.post("/files/upload/check_email_config",{check:"object",customType:"model"})})),t("S",(function(t){return c.post("/files/upload/send_to_email",{data:t,check:"object",customType:"model"})})),t("y",(function(t){return c.post("files/get_file_attribute",{data:t,check:"object"})})),t("$",(function(t){return c.post("files/re_history",{data:t,check:"object"})})),t("i",(function(t){return c.post("files/GetFileAccess",{data:t,check:"object"})})),t("a0",(function(t){return c.post("files/SetFileAccess",{data:t,check:"msg"})})),t("L",(function(t){return c.post("database/InputSql",{data:t,check:"msg"})})),t("m",(function(t){return c.post("/files/zip/add_zip_file",{data:t,check:"msg",customType:"model"})})),t("n",(function(t){return c.post("/files/gz/add_zip_file",{data:t,check:"msg",customType:"model"})})),t("q",(function(t){return c.post("/files/zip/get_fileinfo_by",{data:t,check:"object",customType:"model"})})),t("r",(function(t){return c.post("/files/gz/get_fileinfo_by",{data:t,check:"object",customType:"model"})})),t("W",(function(t){return c.post("/files/zip/write_zip_file",{data:t,check:"msg",customType:"model"})})),t("X",(function(t){return c.post("/files/gz/write_zip_file",{data:t,check:"msg",customType:"model"})})),t("o",(function(t){return c.post("/files/zip/extract_byfiles",{data:t,check:"msg",customType:"model"})})),t("p",(function(t){return c.post("/files/gz/extract_byfiles",{data:t,check:"msg",customType:"model"})})),t("z",(function(t){return c.post("/files/zip/delete_zip_file",{data:t,check:"msg",customType:"model"})})),t("t",(function(t){return c.post("/files/gz/delete_zip_file",{data:t,check:"msg",customType:"model"})})),t("D",(function(){return c.post("/files/conversion/get_convert_liet",{check:"msg",customType:"model"})})),t("A",(function(t){return c.post("/files/conversion/run",{data:t,check:"msg",customType:"model"})})),t("ae",(function(t){return c.post("files/DownloadFile",{data:t,check:"msg"})})),t("c",(function(t){return c.post("/files/size/get_batch_path_size",{data:t,check:"msg",customType:"model"})})),t("a8",(function(t){return c.post("files/set_file_ps",{data:t,check:"msg"})})),t("ak",(function(t){return c.post("/plugin?action=a&name=rsync&s=add_module",{data:t,check:"msg",customType:"model"})})),t("al",(function(t){return c.post("files/add_files_rsync",{data:t,check:"msg"})})),t("am",(function(t){return c.post("/plugin?action=a&name=rsync&s=add_ormodify_send",{data:t,check:"msg",customType:"model"})})),t("aq",(function(){return c.post("files/file_history_list",{check:"array"})})),t("ao",(function(t){return c.post("files/GetFileHistory",{data:t,check:"msg"})})),t("ap",(function(t){return c.post("files/del_file_history",{data:t,check:"object"})})),t("j",(function(t){return c.post("files/SetBatchData",{data:t,check:"msg"})})),t("H",(function(t){return c.post("files/BatchPaste",{data:t,check:"msg"})})),t("K",(function(t){return c.post("/tamper_core/get_effective_path.json",{data:t,customType:"model"})})),t("an",(function(t){return c.post("files/upload_files_exists",{data:t,check:"array"})})),t("I",(function(t){return c.post("/tamper_core/batch_setting.json",{data:t,check:"object",customType:"model"})})),t("J",(function(t){return c.post("/tamper_core/create_path.json",{data:t,check:"object",customType:"model"})})),t("aj",(function(t){return c.post("files/get_images_resize",{data:t,check:"object"})})),t("M",(function(t){return c.post("files/get_videos",{data:t,check:"array"})})),t("b",(function(t){return c.post("files/GetDirSize",{data:t,check:"string"})})),t("C",(function(t){return c.post("files/CheckTaskStatus",{data:t,check:"string"})})),t("w",(function(t){return c.post("files/CreateLink",{data:t,check:"msg"})})),t("B",(function(t){return c.post("/files/conversion/get_log",{data:t,check:"object",customType:"model"})})),t("af",(function(t){return c.post("files/test_path",{data:t})})),t("h",(function(t){return c.post("files/file_history",{data:t})})),t("ai",(function(t){return c.post("/files/size/get_dir_path_size",{data:{path:t,is_refresh:!0},check:"msg",customType:"model"})})),t("ar",(function(t){return c.post("files/read_history",{data:t,check:"object"})})),t("as",(function(t){return c.post("files/del_history",{data:t,check:"msg"})})),t("ah",(function(){return c.post("/files/upload/get_oss_objects",{customType:"model"})})),t("k",(function(t){return c.post("/plugin?action=a&s=get_list&name=".concat(t.pname),{data:{path:t.path},check:"object",customType:"model"})})),t("l",(function(t,e){return c.post("/files/".concat("upload"===e?"upload/upload_file":"down/download_file"),{data:{data:JSON.stringify(t)},check:"msg",customType:"model"})}))}}}))}();
Save File
Cancel