@xuda.io/xuda-widget-plugin-xuda-drive 1.0.142 → 1.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime.mjs +23 -6
- package/package.json +1 -1
- package/src/runtime.mjs +17 -2
package/dist/runtime.mjs
CHANGED
|
@@ -39630,7 +39630,7 @@ const isRef$1 = (I) => !!(I && I.__v_isRef === !0), toDisplayString = (I) => isS
|
|
|
39630
39630
|
isSymbol(I) ? `Symbol(${(N = I.description) != null ? N : M})` : I
|
|
39631
39631
|
);
|
|
39632
39632
|
};
|
|
39633
|
-
var define_process_env_default$2 = { NVM_INC: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/include/node", MANPATH: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man::", TERM_PROGRAM: "vscode", NODE: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", INIT_CWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_CD_FLAGS: "-q", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/", npm_config_global_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", VSCODE_PYTHON_AUTOACTIVATE_GUARD: "1", TERM_PROGRAM_VERSION: "1.110.0", ZDOTDIR: "/Users/ishaiavrahami", MallocNanoZone: "0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_DIR: "/Users/ishaiavrahami/.nvm", USER: "ishaiavrahami", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/etc/npmrc", CLAUDE_CODE_SSE_PORT: "42728", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.UlFWkFbCdR/Listeners", VSCODE_PROFILE_INITIALIZED: "1", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/node_modules/.bin:/Users/ishaiavrahami/Downloads/node_modules/.bin:/Users/ishaiavrahami/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", npm_package_json: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/package.json", _: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin/vite", npm_config_userconfig: "/Users/ishaiavrahami/.npmrc", npm_config_init_module: "/Users/ishaiavrahami/.npm-init.js", USER_ZDOTDIR: "/Users/ishaiavrahami", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "@xuda.io/xuda-widget-plugin-xuda-drive", LANG: "C.UTF-8", PYTHONSTARTUP: "/Users/ishaiavrahami/Library/Application Support/Code/User/workspaceStorage/eed9b9879fe5c937b8d79ff0746d5d6f/ms-python.python/pythonrc.py", npm_config_npm_version: "10.8.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "1.0.
|
|
39633
|
+
var define_process_env_default$2 = { NVM_INC: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/include/node", MANPATH: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man::", TERM_PROGRAM: "vscode", NODE: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", INIT_CWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_CD_FLAGS: "-q", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/", npm_config_global_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", VSCODE_PYTHON_AUTOACTIVATE_GUARD: "1", TERM_PROGRAM_VERSION: "1.110.0", ZDOTDIR: "/Users/ishaiavrahami", MallocNanoZone: "0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_DIR: "/Users/ishaiavrahami/.nvm", USER: "ishaiavrahami", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/etc/npmrc", CLAUDE_CODE_SSE_PORT: "42728", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.UlFWkFbCdR/Listeners", VSCODE_PROFILE_INITIALIZED: "1", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/node_modules/.bin:/Users/ishaiavrahami/Downloads/node_modules/.bin:/Users/ishaiavrahami/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", npm_package_json: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/package.json", _: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin/vite", npm_config_userconfig: "/Users/ishaiavrahami/.npmrc", npm_config_init_module: "/Users/ishaiavrahami/.npm-init.js", USER_ZDOTDIR: "/Users/ishaiavrahami", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "@xuda.io/xuda-widget-plugin-xuda-drive", LANG: "C.UTF-8", PYTHONSTARTUP: "/Users/ishaiavrahami/Library/Application Support/Code/User/workspaceStorage/eed9b9879fe5c937b8d79ff0746d5d6f/ms-python.python/pythonrc.py", npm_config_npm_version: "10.8.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "1.0.142", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", SHLVL: "2", HOME: "/Users/ishaiavrahami", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", PYTHON_BASIC_REPL: "1", HOMEBREW_PREFIX: "/opt/homebrew", npm_config_cache: "/Users/ishaiavrahami/.npm", LOGNAME: "ishaiavrahami", npm_lifecycle_script: "vite build", VSCODE_GIT_IPC_HANDLE: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/vscode-git-c14de325ff.sock", NVM_BIN: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin", npm_config_user_agent: "npm/10.8.2 node/v22.5.1 darwin arm64 workspaces/false", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", INFOPATH: "/opt/homebrew/share/info:/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", OSLogRateLimit: "64", npm_node_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", npm_config_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", COLORTERM: "truecolor", NODE_ENV: "production" };
|
|
39634
39634
|
let activeEffectScope;
|
|
39635
39635
|
class EffectScope {
|
|
39636
39636
|
constructor(M = !1) {
|
|
@@ -40668,7 +40668,7 @@ function traverse(I, M = 1 / 0, N) {
|
|
|
40668
40668
|
}
|
|
40669
40669
|
return I;
|
|
40670
40670
|
}
|
|
40671
|
-
var define_process_env_default$1 = { NVM_INC: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/include/node", MANPATH: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man::", TERM_PROGRAM: "vscode", NODE: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", INIT_CWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_CD_FLAGS: "-q", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/", npm_config_global_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", VSCODE_PYTHON_AUTOACTIVATE_GUARD: "1", TERM_PROGRAM_VERSION: "1.110.0", ZDOTDIR: "/Users/ishaiavrahami", MallocNanoZone: "0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_DIR: "/Users/ishaiavrahami/.nvm", USER: "ishaiavrahami", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/etc/npmrc", CLAUDE_CODE_SSE_PORT: "42728", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.UlFWkFbCdR/Listeners", VSCODE_PROFILE_INITIALIZED: "1", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/node_modules/.bin:/Users/ishaiavrahami/Downloads/node_modules/.bin:/Users/ishaiavrahami/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", npm_package_json: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/package.json", _: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin/vite", npm_config_userconfig: "/Users/ishaiavrahami/.npmrc", npm_config_init_module: "/Users/ishaiavrahami/.npm-init.js", USER_ZDOTDIR: "/Users/ishaiavrahami", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "@xuda.io/xuda-widget-plugin-xuda-drive", LANG: "C.UTF-8", PYTHONSTARTUP: "/Users/ishaiavrahami/Library/Application Support/Code/User/workspaceStorage/eed9b9879fe5c937b8d79ff0746d5d6f/ms-python.python/pythonrc.py", npm_config_npm_version: "10.8.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "1.0.
|
|
40671
|
+
var define_process_env_default$1 = { NVM_INC: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/include/node", MANPATH: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man::", TERM_PROGRAM: "vscode", NODE: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", INIT_CWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_CD_FLAGS: "-q", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/", npm_config_global_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", VSCODE_PYTHON_AUTOACTIVATE_GUARD: "1", TERM_PROGRAM_VERSION: "1.110.0", ZDOTDIR: "/Users/ishaiavrahami", MallocNanoZone: "0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_DIR: "/Users/ishaiavrahami/.nvm", USER: "ishaiavrahami", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/etc/npmrc", CLAUDE_CODE_SSE_PORT: "42728", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.UlFWkFbCdR/Listeners", VSCODE_PROFILE_INITIALIZED: "1", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/node_modules/.bin:/Users/ishaiavrahami/Downloads/node_modules/.bin:/Users/ishaiavrahami/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", npm_package_json: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/package.json", _: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin/vite", npm_config_userconfig: "/Users/ishaiavrahami/.npmrc", npm_config_init_module: "/Users/ishaiavrahami/.npm-init.js", USER_ZDOTDIR: "/Users/ishaiavrahami", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "@xuda.io/xuda-widget-plugin-xuda-drive", LANG: "C.UTF-8", PYTHONSTARTUP: "/Users/ishaiavrahami/Library/Application Support/Code/User/workspaceStorage/eed9b9879fe5c937b8d79ff0746d5d6f/ms-python.python/pythonrc.py", npm_config_npm_version: "10.8.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "1.0.142", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", SHLVL: "2", HOME: "/Users/ishaiavrahami", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", PYTHON_BASIC_REPL: "1", HOMEBREW_PREFIX: "/opt/homebrew", npm_config_cache: "/Users/ishaiavrahami/.npm", LOGNAME: "ishaiavrahami", npm_lifecycle_script: "vite build", VSCODE_GIT_IPC_HANDLE: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/vscode-git-c14de325ff.sock", NVM_BIN: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin", npm_config_user_agent: "npm/10.8.2 node/v22.5.1 darwin arm64 workspaces/false", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", INFOPATH: "/opt/homebrew/share/info:/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", OSLogRateLimit: "64", npm_node_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", npm_config_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", COLORTERM: "truecolor", NODE_ENV: "production" };
|
|
40672
40672
|
const stack$1 = [];
|
|
40673
40673
|
function pushWarningContext(I) {
|
|
40674
40674
|
stack$1.push(I);
|
|
@@ -46348,7 +46348,7 @@ const initDirectivesForSSR = () => {
|
|
|
46348
46348
|
withModifiers,
|
|
46349
46349
|
withScopeId
|
|
46350
46350
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
46351
|
-
var define_process_env_default = { NVM_INC: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/include/node", MANPATH: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man::", TERM_PROGRAM: "vscode", NODE: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", INIT_CWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_CD_FLAGS: "-q", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/", npm_config_global_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", VSCODE_PYTHON_AUTOACTIVATE_GUARD: "1", TERM_PROGRAM_VERSION: "1.110.0", ZDOTDIR: "/Users/ishaiavrahami", MallocNanoZone: "0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_DIR: "/Users/ishaiavrahami/.nvm", USER: "ishaiavrahami", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/etc/npmrc", CLAUDE_CODE_SSE_PORT: "42728", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.UlFWkFbCdR/Listeners", VSCODE_PROFILE_INITIALIZED: "1", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/node_modules/.bin:/Users/ishaiavrahami/Downloads/node_modules/.bin:/Users/ishaiavrahami/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", npm_package_json: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/package.json", _: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin/vite", npm_config_userconfig: "/Users/ishaiavrahami/.npmrc", npm_config_init_module: "/Users/ishaiavrahami/.npm-init.js", USER_ZDOTDIR: "/Users/ishaiavrahami", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "@xuda.io/xuda-widget-plugin-xuda-drive", LANG: "C.UTF-8", PYTHONSTARTUP: "/Users/ishaiavrahami/Library/Application Support/Code/User/workspaceStorage/eed9b9879fe5c937b8d79ff0746d5d6f/ms-python.python/pythonrc.py", npm_config_npm_version: "10.8.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "1.0.
|
|
46351
|
+
var define_process_env_default = { NVM_INC: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/include/node", MANPATH: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/share/man:/opt/homebrew/share/man::", TERM_PROGRAM: "vscode", NODE: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", INIT_CWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_CD_FLAGS: "-q", TERM: "xterm-256color", SHELL: "/bin/zsh", HOMEBREW_REPOSITORY: "/opt/homebrew", TMPDIR: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/", npm_config_global_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", VSCODE_PYTHON_AUTOACTIVATE_GUARD: "1", TERM_PROGRAM_VERSION: "1.110.0", ZDOTDIR: "/Users/ishaiavrahami", MallocNanoZone: "0", COLOR: "1", npm_config_noproxy: "", npm_config_local_prefix: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", NVM_DIR: "/Users/ishaiavrahami/.nvm", USER: "ishaiavrahami", COMMAND_MODE: "unix2003", npm_config_globalconfig: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/etc/npmrc", CLAUDE_CODE_SSE_PORT: "42728", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.UlFWkFbCdR/Listeners", VSCODE_PROFILE_INITIALIZED: "1", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/plugins/node_modules/.bin:/Users/ishaiavrahami/Downloads/xuda/node_modules/.bin:/Users/ishaiavrahami/Downloads/node_modules/.bin:/Users/ishaiavrahami/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin", npm_package_json: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/package.json", _: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive/node_modules/.bin/vite", npm_config_userconfig: "/Users/ishaiavrahami/.npmrc", npm_config_init_module: "/Users/ishaiavrahami/.npm-init.js", USER_ZDOTDIR: "/Users/ishaiavrahami", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/ishaiavrahami/Downloads/xuda/plugins/@xuda.io/xuda-widget-plugin-xuda-drive", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "@xuda.io/xuda-widget-plugin-xuda-drive", LANG: "C.UTF-8", PYTHONSTARTUP: "/Users/ishaiavrahami/Library/Application Support/Code/User/workspaceStorage/eed9b9879fe5c937b8d79ff0746d5d6f/ms-python.python/pythonrc.py", npm_config_npm_version: "10.8.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "1.0.142", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", SHLVL: "2", HOME: "/Users/ishaiavrahami", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", PYTHON_BASIC_REPL: "1", HOMEBREW_PREFIX: "/opt/homebrew", npm_config_cache: "/Users/ishaiavrahami/.npm", LOGNAME: "ishaiavrahami", npm_lifecycle_script: "vite build", VSCODE_GIT_IPC_HANDLE: "/var/folders/c7/0ld7263s5xzb2vvz12m3gplc0000gn/T/vscode-git-c14de325ff.sock", NVM_BIN: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin", npm_config_user_agent: "npm/10.8.2 node/v22.5.1 darwin arm64 workspaces/false", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", INFOPATH: "/opt/homebrew/share/info:/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", OSLogRateLimit: "64", npm_node_execpath: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1/bin/node", npm_config_prefix: "/Users/ishaiavrahami/.nvm/versions/node/v22.5.1", COLORTERM: "truecolor", NODE_ENV: "production" };
|
|
46352
46352
|
const FRAGMENT = Symbol(""), TELEPORT = Symbol(""), SUSPENSE = Symbol(""), KEEP_ALIVE = Symbol(""), BASE_TRANSITION = Symbol(
|
|
46353
46353
|
""
|
|
46354
46354
|
), OPEN_BLOCK = Symbol(""), CREATE_BLOCK = Symbol(""), CREATE_ELEMENT_BLOCK = Symbol(
|
|
@@ -79436,7 +79436,7 @@ async function viewer(I, M) {
|
|
|
79436
79436
|
</svg>
|
|
79437
79437
|
<div>
|
|
79438
79438
|
<template v-if="checkingFiles">Checking {{ checkingFilesCount }} file{{ checkingFilesCount > 1 ? 's' : '' }}</template>
|
|
79439
|
-
<template v-else-if="uploadsInProgress > 0">Uploading {{ uploadsInProgress }} item{{ uploadsInProgress > 1 ? 's' : '' }}<template v-if="uploadsFailed">, {{ uploadsFailed }} failed</template></template>
|
|
79439
|
+
<template v-else-if="uploadsInProgress > 0">Uploading {{ uploadsInProgress }} item{{ uploadsInProgress > 1 ? 's' : '' }}<template v-if="uploadsFailed">, {{ uploadsFailed }} failed</template><span v-if="estimatedTimeLeft" class="ml-1 text-white/50 font-normal">· {{ estimatedTimeLeft }}</span></template>
|
|
79440
79440
|
<template v-else>
|
|
79441
79441
|
{{ uploadsDone }} uploaded<template v-if="uploadsFailed">, {{ uploadsFailed }} failed</template>
|
|
79442
79442
|
</template>
|
|
@@ -79620,6 +79620,7 @@ async function viewer(I, M) {
|
|
|
79620
79620
|
checkingFiles: !1,
|
|
79621
79621
|
checkingFilesCount: 0,
|
|
79622
79622
|
failedNavIndex: -1,
|
|
79623
|
+
uploadStartTime: null,
|
|
79623
79624
|
searchOptions: [
|
|
79624
79625
|
{
|
|
79625
79626
|
label: "Filename",
|
|
@@ -79693,7 +79694,7 @@ async function viewer(I, M) {
|
|
|
79693
79694
|
startUpload(ke) {
|
|
79694
79695
|
ke && (this.showExistModal = !1);
|
|
79695
79696
|
const Ue = this.pendingFiles;
|
|
79696
|
-
this.pendingFiles = [], this.jobWindowCollapsed = !1, Ue.forEach((Je) => {
|
|
79697
|
+
this.pendingFiles = [], this.jobWindowCollapsed = !1, this.uploadStartTime = Date.now(), Ue.forEach((Je) => {
|
|
79697
79698
|
const Qe = crypto.randomUUID(), $e = this.overrideAction === "replace" && Je.name in this.existingFiles;
|
|
79698
79699
|
this.uploadJobs.push({
|
|
79699
79700
|
id: Qe,
|
|
@@ -79802,7 +79803,23 @@ async function viewer(I, M) {
|
|
|
79802
79803
|
return this.uploadJobs.filter((ke) => ke.status === "error").length;
|
|
79803
79804
|
},
|
|
79804
79805
|
overallProgress() {
|
|
79805
|
-
|
|
79806
|
+
if (!this.uploadJobs.length) return 0;
|
|
79807
|
+
const ke = this.uploadJobs.reduce((Je, Qe) => {
|
|
79808
|
+
var $e;
|
|
79809
|
+
return Je + ((($e = Qe.file) == null ? void 0 : $e.size) || 0);
|
|
79810
|
+
}, 0);
|
|
79811
|
+
return ke ? this.uploadJobs.reduce((Je, Qe) => {
|
|
79812
|
+
var $e;
|
|
79813
|
+
return Je + ((($e = Qe.file) == null ? void 0 : $e.size) || 0) * (Qe.progress / 100);
|
|
79814
|
+
}, 0) / ke * 100 : this.uploadJobs.reduce((Je, Qe) => Je + Qe.progress, 0) / this.uploadJobs.length;
|
|
79815
|
+
},
|
|
79816
|
+
estimatedTimeLeft() {
|
|
79817
|
+
if (!this.uploadStartTime || this.overallProgress <= 0 || this.uploadsInProgress === 0) return "";
|
|
79818
|
+
const Ue = (Date.now() - this.uploadStartTime) / 1e3 / this.overallProgress * (100 - this.overallProgress);
|
|
79819
|
+
if (Ue < 60) return Math.ceil(Ue) + "s left";
|
|
79820
|
+
if (Ue < 3600) return Math.ceil(Ue / 60) + "m left";
|
|
79821
|
+
const Je = Math.floor(Ue / 3600), Qe = Math.ceil(Ue % 3600 / 60);
|
|
79822
|
+
return Je + "h " + Qe + "m left";
|
|
79806
79823
|
},
|
|
79807
79824
|
acceptTypes() {
|
|
79808
79825
|
if (I.file_upload_mime_type_preset)
|
package/package.json
CHANGED
package/src/runtime.mjs
CHANGED
|
@@ -807,7 +807,7 @@ export async function viewer(fields, e) {
|
|
|
807
807
|
</svg>
|
|
808
808
|
<div>
|
|
809
809
|
<template v-if="checkingFiles">Checking {{ checkingFilesCount }} file{{ checkingFilesCount > 1 ? 's' : '' }}</template>
|
|
810
|
-
<template v-else-if="uploadsInProgress > 0">Uploading {{ uploadsInProgress }} item{{ uploadsInProgress > 1 ? 's' : '' }}<template v-if="uploadsFailed">, {{ uploadsFailed }} failed</template></template>
|
|
810
|
+
<template v-else-if="uploadsInProgress > 0">Uploading {{ uploadsInProgress }} item{{ uploadsInProgress > 1 ? 's' : '' }}<template v-if="uploadsFailed">, {{ uploadsFailed }} failed</template><span v-if="estimatedTimeLeft" class="ml-1 text-white/50 font-normal">· {{ estimatedTimeLeft }}</span></template>
|
|
811
811
|
<template v-else>
|
|
812
812
|
{{ uploadsDone }} uploaded<template v-if="uploadsFailed">, {{ uploadsFailed }} failed</template>
|
|
813
813
|
</template>
|
|
@@ -1015,6 +1015,7 @@ export async function viewer(fields, e) {
|
|
|
1015
1015
|
checkingFiles: false,
|
|
1016
1016
|
checkingFilesCount: 0,
|
|
1017
1017
|
failedNavIndex: -1,
|
|
1018
|
+
uploadStartTime: null,
|
|
1018
1019
|
searchOptions: [
|
|
1019
1020
|
{
|
|
1020
1021
|
label: 'Filename',
|
|
@@ -1145,6 +1146,7 @@ export async function viewer(fields, e) {
|
|
|
1145
1146
|
const filesToUpload = this.pendingFiles;
|
|
1146
1147
|
this.pendingFiles = [];
|
|
1147
1148
|
this.jobWindowCollapsed = false;
|
|
1149
|
+
this.uploadStartTime = Date.now();
|
|
1148
1150
|
|
|
1149
1151
|
filesToUpload.forEach((file) => {
|
|
1150
1152
|
const jobId = crypto.randomUUID();
|
|
@@ -1332,7 +1334,20 @@ export async function viewer(fields, e) {
|
|
|
1332
1334
|
},
|
|
1333
1335
|
overallProgress() {
|
|
1334
1336
|
if (!this.uploadJobs.length) return 0;
|
|
1335
|
-
|
|
1337
|
+
const total = this.uploadJobs.reduce((sum, j) => sum + (j.file?.size || 0), 0);
|
|
1338
|
+
if (!total) return this.uploadJobs.reduce((sum, j) => sum + j.progress, 0) / this.uploadJobs.length;
|
|
1339
|
+
const uploaded = this.uploadJobs.reduce((sum, j) => sum + (j.file?.size || 0) * (j.progress / 100), 0);
|
|
1340
|
+
return (uploaded / total) * 100;
|
|
1341
|
+
},
|
|
1342
|
+
estimatedTimeLeft() {
|
|
1343
|
+
if (!this.uploadStartTime || this.overallProgress <= 0 || this.uploadsInProgress === 0) return '';
|
|
1344
|
+
const elapsed = (Date.now() - this.uploadStartTime) / 1000;
|
|
1345
|
+
const remaining = (elapsed / this.overallProgress) * (100 - this.overallProgress);
|
|
1346
|
+
if (remaining < 60) return Math.ceil(remaining) + 's left';
|
|
1347
|
+
if (remaining < 3600) return Math.ceil(remaining / 60) + 'm left';
|
|
1348
|
+
const h = Math.floor(remaining / 3600);
|
|
1349
|
+
const m = Math.ceil((remaining % 3600) / 60);
|
|
1350
|
+
return h + 'h ' + m + 'm left';
|
|
1336
1351
|
},
|
|
1337
1352
|
acceptTypes() {
|
|
1338
1353
|
if (fields.file_upload_mime_type_preset) {
|