@lvce-editor/server 0.39.0 → 0.40.0
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/ThirdPartyNotices.txt +2 -2
- package/package.json +3 -2
- package/src/server.js +100 -76
- package/static/95c7ea1/config/colorTheme.json +0 -98
- package/static/95c7ea1/config/defaultSettings.json +0 -58
- package/static/95c7ea1/config/fileMap.json +0 -16
- package/static/95c7ea1/config/webExtensions.json +0 -1
- package/static/95c7ea1/css/App.css +0 -2881
- package/static/95c7ea1/css/parts/Animation.css +0 -9
- package/static/95c7ea1/css/parts/DebugButtons.css +0 -22
- package/static/95c7ea1/css/parts/DebugValue.css +0 -24
- package/static/95c7ea1/css/parts/E2eTest.css +0 -48
- package/static/95c7ea1/css/parts/E2eTests.css +0 -30
- package/static/95c7ea1/css/parts/EditorHover.css +0 -6
- package/static/95c7ea1/css/parts/EditorMessage.css +0 -23
- package/static/95c7ea1/css/parts/ImagePreview.css +0 -33
- package/static/95c7ea1/css/parts/InlineDiffEditor.css +0 -27
- package/static/95c7ea1/css/parts/Key.css +0 -12
- package/static/95c7ea1/css/parts/KeyBindingsHeader.css +0 -36
- package/static/95c7ea1/css/parts/KeyBindingsTable.css +0 -51
- package/static/95c7ea1/css/parts/Markdown.css +0 -701
- package/static/95c7ea1/css/parts/Progress.css +0 -5
- package/static/95c7ea1/css/parts/SearchToggleButton.css +0 -16
- package/static/95c7ea1/css/parts/Select.css +0 -11
- package/static/95c7ea1/css/parts/ViewletAbout.css +0 -9
- package/static/95c7ea1/css/parts/ViewletBrowserViewOverview.css +0 -4
- package/static/95c7ea1/css/parts/ViewletDebugConsole.css +0 -16
- package/static/95c7ea1/css/parts/ViewletDefineKeyBinding.css +0 -21
- package/static/95c7ea1/css/parts/ViewletDialog.css +0 -150
- package/static/95c7ea1/css/parts/ViewletDiffEditor.css +0 -31
- package/static/95c7ea1/css/parts/ViewletEditorWidgetError.css +0 -9
- package/static/95c7ea1/css/parts/ViewletExtensionDetail.css +0 -79
- package/static/95c7ea1/css/parts/ViewletExtensions.css +0 -185
- package/static/95c7ea1/css/parts/ViewletKeyBindings.css +0 -34
- package/static/95c7ea1/css/parts/ViewletMedia.css +0 -23
- package/static/95c7ea1/css/parts/ViewletOutput.css +0 -17
- package/static/95c7ea1/css/parts/ViewletPanel.css +0 -23
- package/static/95c7ea1/css/parts/ViewletPanelTabs.css +0 -35
- package/static/95c7ea1/css/parts/ViewletPdf.css +0 -49
- package/static/95c7ea1/css/parts/ViewletProblems.css +0 -95
- package/static/95c7ea1/css/parts/ViewletReferences.css +0 -22
- package/static/95c7ea1/css/parts/ViewletRunAndDebug.css +0 -87
- package/static/95c7ea1/css/parts/ViewletScreenCapture.css +0 -3
- package/static/95c7ea1/css/parts/ViewletSearch.css +0 -34
- package/static/95c7ea1/css/parts/ViewletSimpleBrowser.css +0 -21
- package/static/95c7ea1/css/parts/ViewletSourceControl.css +0 -67
- package/static/95c7ea1/css/parts/ViewletStorage.css +0 -21
- package/static/95c7ea1/css/parts/ViewletTerminal.css +0 -10
- package/static/95c7ea1/css/parts/ViewletTerminalTabs.css +0 -31
- package/static/95c7ea1/extensions/builtin.language-basics-bat/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-bat/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-bat/languageConfiguration.json +0 -17
- package/static/95c7ea1/extensions/builtin.language-basics-bat/src/tokenizeBat.js +0 -33
- package/static/95c7ea1/extensions/builtin.language-basics-c/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-c/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-c/src/tokenizeC.js +0 -211
- package/static/95c7ea1/extensions/builtin.language-basics-coffeescript/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-coffeescript/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-coffeescript/src/tokenizeCoffeeScript.js +0 -257
- package/static/95c7ea1/extensions/builtin.language-basics-cpp/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-cpp/extension.json +0 -32
- package/static/95c7ea1/extensions/builtin.language-basics-cpp/languageConfiguration.json +0 -5
- package/static/95c7ea1/extensions/builtin.language-basics-cpp/src/tokenizeCpp.js +0 -321
- package/static/95c7ea1/extensions/builtin.language-basics-cson/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-cson/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-cson/languageConfiguration.json +0 -21
- package/static/95c7ea1/extensions/builtin.language-basics-cson/src/tokenizeCson.js +0 -207
- package/static/95c7ea1/extensions/builtin.language-basics-css/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-css/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-css/languageConfiguration.json +0 -21
- package/static/95c7ea1/extensions/builtin.language-basics-css/src/tokenizeCss.js +0 -691
- package/static/95c7ea1/extensions/builtin.language-basics-dart/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-dart/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-dart/src/tokenizeDart.js +0 -139
- package/static/95c7ea1/extensions/builtin.language-basics-desktop/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-desktop/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-desktop/src/tokenizeDesktop.js +0 -166
- package/static/95c7ea1/extensions/builtin.language-basics-docker/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-docker/extension.json +0 -24
- package/static/95c7ea1/extensions/builtin.language-basics-docker/src/tokenizeDockerfile.js +0 -131
- package/static/95c7ea1/extensions/builtin.language-basics-dotenv/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-dotenv/extension.json +0 -26
- package/static/95c7ea1/extensions/builtin.language-basics-dotenv/src/tokenizeDotenv.js +0 -341
- package/static/95c7ea1/extensions/builtin.language-basics-editorconfig/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-editorconfig/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-editorconfig/src/tokenizeEditorConfig.js +0 -173
- package/static/95c7ea1/extensions/builtin.language-basics-elixir/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-elixir/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-elixir/src/tokenizeElixir.js +0 -180
- package/static/95c7ea1/extensions/builtin.language-basics-elm/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-elm/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-elm/src/tokenizeElm.js +0 -301
- package/static/95c7ea1/extensions/builtin.language-basics-gitattributes/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-gitattributes/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-gitattributes/src/tokenizeGitAttributes.js +0 -159
- package/static/95c7ea1/extensions/builtin.language-basics-gn/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-gn/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-gn/src/tokenizeGn.js +0 -178
- package/static/95c7ea1/extensions/builtin.language-basics-go/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-go/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-go/src/tokenizeGo.js +0 -295
- package/static/95c7ea1/extensions/builtin.language-basics-graphql/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-graphql/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-graphql/src/tokenizeGraphql.js +0 -452
- package/static/95c7ea1/extensions/builtin.language-basics-html/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-html/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-html/languageConfiguration.json +0 -66
- package/static/95c7ea1/extensions/builtin.language-basics-html/src/tokenizeHtml.js +0 -557
- package/static/95c7ea1/extensions/builtin.language-basics-java/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-java/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-java/languageConfiguration.json +0 -31
- package/static/95c7ea1/extensions/builtin.language-basics-java/src/tokenizeJava.js +0 -284
- package/static/95c7ea1/extensions/builtin.language-basics-javascript/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-javascript/extension.json +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-javascript/languageConfiguration.json +0 -40
- package/static/95c7ea1/extensions/builtin.language-basics-javascript/src/tokenizeJavaScript.js +0 -619
- package/static/95c7ea1/extensions/builtin.language-basics-json/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-json/extension.json +0 -60
- package/static/95c7ea1/extensions/builtin.language-basics-json/src/tokenizeJson.js +0 -362
- package/static/95c7ea1/extensions/builtin.language-basics-json5/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-json5/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-json5/src/tokenizeJson5.js +0 -346
- package/static/95c7ea1/extensions/builtin.language-basics-jsx/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-jsx/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-jsx/src/tokenizeJsx.js +0 -661
- package/static/95c7ea1/extensions/builtin.language-basics-julia/README.md +0 -18
- package/static/95c7ea1/extensions/builtin.language-basics-julia/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-julia/src/tokenizeJulia.js +0 -181
- package/static/95c7ea1/extensions/builtin.language-basics-kotlin/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-kotlin/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-kotlin/src/tokenizeKotlin.js +0 -274
- package/static/95c7ea1/extensions/builtin.language-basics-less/LICENSE +0 -21
- package/static/95c7ea1/extensions/builtin.language-basics-less/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-less/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-less/languageConfiguration.json +0 -17
- package/static/95c7ea1/extensions/builtin.language-basics-less/src/tokenizeLess.js +0 -612
- package/static/95c7ea1/extensions/builtin.language-basics-markdown/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-markdown/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-markdown/src/tokenizeMarkdown.js +0 -471
- package/static/95c7ea1/extensions/builtin.language-basics-mdx/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-mdx/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-mdx/src/tokenizeMdx.js +0 -395
- package/static/95c7ea1/extensions/builtin.language-basics-nix/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-nix/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-nix/languageConfiguration.json +0 -21
- package/static/95c7ea1/extensions/builtin.language-basics-nix/src/tokenizeNix.js +0 -224
- package/static/95c7ea1/extensions/builtin.language-basics-nvmrc/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-nvmrc/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-nvmrc/src/tokenizeNvmrc.js +0 -30
- package/static/95c7ea1/extensions/builtin.language-basics-perl/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-perl/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-perl/src/tokenizePerl.js +0 -200
- package/static/95c7ea1/extensions/builtin.language-basics-plaintext/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-plaintext/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-plaintext/src/tokenizePlaintext.js +0 -28
- package/static/95c7ea1/extensions/builtin.language-basics-powershell/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-powershell/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-powershell/src/tokenizePowershell.js +0 -141
- package/static/95c7ea1/extensions/builtin.language-basics-python/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-python/extension.json +0 -15
- package/static/95c7ea1/extensions/builtin.language-basics-python/languageConfiguration.json +0 -5
- package/static/95c7ea1/extensions/builtin.language-basics-python/src/tokenizePython.js +0 -326
- package/static/95c7ea1/extensions/builtin.language-basics-r/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-r/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-r/src/tokenizeR.js +0 -71
- package/static/95c7ea1/extensions/builtin.language-basics-ruby/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-ruby/extension.json +0 -48
- package/static/95c7ea1/extensions/builtin.language-basics-ruby/src/tokenizeRuby.js +0 -248
- package/static/95c7ea1/extensions/builtin.language-basics-rust/LICENSE +0 -21
- package/static/95c7ea1/extensions/builtin.language-basics-rust/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-rust/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-rust/languageConfiguration.json +0 -17
- package/static/95c7ea1/extensions/builtin.language-basics-rust/src/tokenizeRust.js +0 -205
- package/static/95c7ea1/extensions/builtin.language-basics-scss/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-scss/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.language-basics-scss/languageConfiguration.json +0 -17
- package/static/95c7ea1/extensions/builtin.language-basics-scss/src/tokenizeScss.js +0 -683
- package/static/95c7ea1/extensions/builtin.language-basics-shellscript/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-shellscript/extension.json +0 -56
- package/static/95c7ea1/extensions/builtin.language-basics-shellscript/src/tokenizeShellScript.js +0 -572
- package/static/95c7ea1/extensions/builtin.language-basics-svelte/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-svelte/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-svelte/src/tokenizeSvelte.js +0 -428
- package/static/95c7ea1/extensions/builtin.language-basics-terraform/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-terraform/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-terraform/src/tokenizeTerraform.js +0 -243
- package/static/95c7ea1/extensions/builtin.language-basics-toml/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-toml/extension.json +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-toml/src/tokenizeToml.js +0 -299
- package/static/95c7ea1/extensions/builtin.language-basics-typescript/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-typescript/extension.json +0 -17
- package/static/95c7ea1/extensions/builtin.language-basics-typescript/src/tokenizeTypeScript.js +0 -1683
- package/static/95c7ea1/extensions/builtin.language-basics-vue/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-vue/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-vue/src/tokenizeVue.js +0 -481
- package/static/95c7ea1/extensions/builtin.language-basics-wgsl/README.md +0 -16
- package/static/95c7ea1/extensions/builtin.language-basics-wgsl/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-wgsl/languageConfiguration.json +0 -21
- package/static/95c7ea1/extensions/builtin.language-basics-wgsl/src/tokenizeWgsl.js +0 -226
- package/static/95c7ea1/extensions/builtin.language-basics-xml/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-xml/extension.json +0 -85
- package/static/95c7ea1/extensions/builtin.language-basics-xml/src/tokenizeXml.js +0 -328
- package/static/95c7ea1/extensions/builtin.language-basics-yaml/README.md +0 -14
- package/static/95c7ea1/extensions/builtin.language-basics-yaml/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.language-basics-yaml/src/tokenizeYaml.js +0 -405
- package/static/95c7ea1/extensions/builtin.theme-atom-one-dark/README.md +0 -11
- package/static/95c7ea1/extensions/builtin.theme-atom-one-dark/color-theme.json +0 -235
- package/static/95c7ea1/extensions/builtin.theme-atom-one-dark/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.theme-atom-one-dark/images/demo.png +0 -0
- package/static/95c7ea1/extensions/builtin.theme-ayu/README.md +0 -11
- package/static/95c7ea1/extensions/builtin.theme-ayu/color-theme.json +0 -234
- package/static/95c7ea1/extensions/builtin.theme-ayu/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.theme-cobalt2/README.md +0 -20
- package/static/95c7ea1/extensions/builtin.theme-cobalt2/color-theme.json +0 -208
- package/static/95c7ea1/extensions/builtin.theme-cobalt2/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.theme-cobalt2/images/demo.png +0 -0
- package/static/95c7ea1/extensions/builtin.theme-cobalt2/images/logo.png +0 -0
- package/static/95c7ea1/extensions/builtin.theme-gruvbox/README.md +0 -20
- package/static/95c7ea1/extensions/builtin.theme-gruvbox/color-theme.json +0 -217
- package/static/95c7ea1/extensions/builtin.theme-gruvbox/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.theme-high-contrast/README.md +0 -9
- package/static/95c7ea1/extensions/builtin.theme-high-contrast/color-theme.json +0 -86
- package/static/95c7ea1/extensions/builtin.theme-high-contrast/extension.json +0 -11
- package/static/95c7ea1/extensions/builtin.theme-material/README.md +0 -9
- package/static/95c7ea1/extensions/builtin.theme-material/color-theme.json +0 -183
- package/static/95c7ea1/extensions/builtin.theme-material/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.theme-monokai/README.md +0 -10
- package/static/95c7ea1/extensions/builtin.theme-monokai/color-theme.json +0 -151
- package/static/95c7ea1/extensions/builtin.theme-monokai/extension.json +0 -11
- package/static/95c7ea1/extensions/builtin.theme-noctis-uva/README.md +0 -11
- package/static/95c7ea1/extensions/builtin.theme-noctis-uva/color-theme.json +0 -211
- package/static/95c7ea1/extensions/builtin.theme-noctis-uva/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.theme-noctis-uva/images/demo.png +0 -0
- package/static/95c7ea1/extensions/builtin.theme-palenight/README.md +0 -11
- package/static/95c7ea1/extensions/builtin.theme-palenight/color-theme.json +0 -209
- package/static/95c7ea1/extensions/builtin.theme-palenight/extension.json +0 -12
- package/static/95c7ea1/extensions/builtin.theme-palenight/images/demo.png +0 -0
- package/static/95c7ea1/extensions/builtin.theme-slime/README.md +0 -5
- package/static/95c7ea1/extensions/builtin.theme-slime/color-theme.json +0 -298
- package/static/95c7ea1/extensions/builtin.theme-slime/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.theme-slime/icon.png +0 -0
- package/static/95c7ea1/extensions/builtin.vscode-icons/README.md +0 -20
- package/static/95c7ea1/extensions/builtin.vscode-icons/extension.json +0 -13
- package/static/95c7ea1/extensions/builtin.vscode-icons/icon-theme.json +0 -4151
- package/static/95c7ea1/extensions/builtin.vscode-icons/icon.png +0 -0
- package/static/95c7ea1/file-icons/default_file.svg +0 -1
- package/static/95c7ea1/file-icons/default_folder.svg +0 -1
- package/static/95c7ea1/file-icons/default_folder_opened.svg +0 -1
- package/static/95c7ea1/file-icons/default_root_folder.svg +0 -1
- package/static/95c7ea1/file-icons/default_root_folder_opened.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_access.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_access2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_actionscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_actionscript2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ada.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_advpl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_affectscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_affinitydesigner.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_affinityphoto.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_affinitypublisher.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ai.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ai2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_al.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_al_dal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_allcontributors.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_angular.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ansible.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_antlr.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_anyscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_apache.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_apex.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_api_extractor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_apib.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_apib2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_apl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_applescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_appscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_appsemble.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_appveyor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_arduino.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_asciidoc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_asp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_aspx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_assembly.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_astro.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_astroconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_atom.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ats.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_audio.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_aurelia.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_autohotkey.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_autoit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_avif.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_avro.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_awk.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_aws.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_azure.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_azurepipelines.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_babel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_babel2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ballerina.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bat.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bats.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bazaar.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bazel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bazel_ignore.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bazel_version.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_befunge.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bicep.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_biml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_binary.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_biome.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bitbucketpipeline.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bithound.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_blade.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_blitzbasic.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bolt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bosque.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bower.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bower2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_browserslist.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bruno.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_buckbuild.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_buf.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bun.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bundlemon.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bundler.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_bunfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_c.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_c2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_c3.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_c_al.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cabal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_caddy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cake.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cakephp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_capacitor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cargo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_casc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cddl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cert.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ceylon.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cf.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cf2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cfc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cfc2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cfm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cfm2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cheader.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_chef.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_chef_cookbook.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_circleci.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_class.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_clojure.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_clojurescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cloudfoundry.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cmake.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cobol.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_codacy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_codeclimate.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_codecov.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_codekit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_codeowners.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_codeql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_coderabbit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_coffeelint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_coffeescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_commitizen.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_commitlint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_compass.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_composer.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_conan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_conda.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_config.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_confluence.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_coverage.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_coveralls.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cpp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cpp2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cpp3.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cppheader.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_crowdin.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_crystal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_csharp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_csharp2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cspell.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_csproj.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_css.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_csscomb.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_csslint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cssmap.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cucumber.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cuda.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cvs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cypress.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cypress_spec.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_cython.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_darcs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dartlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dartlang_generated.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dartlang_ignore.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_datadog.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_db.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_debian.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_delphi.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_deno.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_denoify.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dependabot.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dependencies.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_devcontainer.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dhall.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_diff.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_django.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_docker.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_docker2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dockertest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dockertest2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_docpad.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_docz.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dojo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_doppler.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dotenv.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dotjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_doxygen.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_drawio.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_drone.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_drools.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dtd.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dustjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dvc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_dylan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_earthly.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eas-metadata.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_edge.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_edge2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_editorconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eex.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ejs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_elastic.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_elasticbeanstalk.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eleventy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eleventy2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_elixir.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_elm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_elm2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_emacs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ember.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ensime.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eps.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_erb.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_erlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_erlang2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_esbuild.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eslint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_eslint2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_esphome.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_excalidraw.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_excel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_excel2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_expo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_falcon.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fantasticon.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fauna.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_favicon.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fbx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_firebase.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_firebasehosting.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_firestore.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fitbit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fla.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_flareact.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_flash.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_floobits.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_flow.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_flutter.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_flutter_package.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_font.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_formkit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fortran.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fossa.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fossil.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_freemarker.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_frontcommerce.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fsharp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fsharp2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fsproj.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fthtml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_funding.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_fusebox.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_galen.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_galen2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gamemaker.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gamemaker2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gamemaker81.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gatsby.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gcloud.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gcode.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gdscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_genstat.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_git.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_git2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gitlab.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gitpod.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gleam.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gleamconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_glide.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_glitter.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_glsl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_glyphs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gnu.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gnuplot.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_aqua.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_black.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_fuchsia.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_gopher.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_lightblue.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_package.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_white.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_work.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_go_yellow.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_goctl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_godot.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gpg.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gradle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gradle2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_grain.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_graphql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_graphql_config.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_graphviz.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_greenkeeper.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gridsome.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_groovy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_groovy2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_grunt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_gulp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_haml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_handlebars.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_handlebars2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_harbour.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hardhat.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hashicorp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_haskell.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_haskell2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_haxe.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_haxecheckstyle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_haxedevelop.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_helix.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_helm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hjson.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hlsl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_homeassistant.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_horusec.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_host.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_html.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_htmlhint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_htmlvalidate.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_http.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hunspell.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_husky.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hygen.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_hypr.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_icl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_idris.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_idrisbin.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_idrispkg.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_image.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_imba.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_inc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_infopath.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_informix.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ini.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ink.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_innosetup.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_io.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_iodine.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ionic.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jake.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_janet.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jar.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jasmine.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_java.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jbuilder.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jekyll.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jenkins.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jest_snapshot.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jinja.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jpm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_js_official.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jsbeautify.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jsconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jscpd.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jshint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jsmap.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_json.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_json2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_json5.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_json_official.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_json_schema.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jsonld.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jsonnet.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jsp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_juice.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_julia.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_julia2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_jupyter.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_k.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_karma.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_key.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_kitchenci.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_kite.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_kivy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_knip.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_kos.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_kotlin.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_kusto.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_latino.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_layout.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lerna.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_less.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lex.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_liara.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_libreoffice_base.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_libreoffice_calc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_libreoffice_draw.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_libreoffice_impress.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_libreoffice_math.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_libreoffice_writer.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_license.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_licensebat.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_actionscript2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_ada.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_apl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_astro.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_astroconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_babel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_babel2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_cabal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_circleci.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_cloudfoundry.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_codacy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_codeclimate.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_codeowners.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_config.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_crystal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_cypress.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_cypress_spec.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_db.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_deno.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_dhall.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_docpad.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_drone.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_eas-metadata.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_eleventy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_eleventy2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_esphome.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_expo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_firebasehosting.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_fla.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_font.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_gamemaker2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_gradle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_hashicorp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_hjson.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_ini.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_io.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_jsconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_jsmap.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_json.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_json5.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_json_schema.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_jsonld.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_kite.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_lerna.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_mailing.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_mdx-components.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_mdx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_mlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_mustache.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_netlify.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_next.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_nim.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_nx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_objidconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_openHAB.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_pcl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_pnpm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_prettier.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_prisma.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_purescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_quasar.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_raku.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_razzle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_rehype.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_remark.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_replit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_retext.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_rome.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_rubocop.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_rust.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_rust_toolchain.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_safetensors.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_shaderlab.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_solidity.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_spin.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_stylelint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_stylus.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_symfony.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_systemd.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_systemverilog.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_testcafe.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_testjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_tex.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_tm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_tmux.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_todo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_toit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_toml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_tree.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_turbo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_unibeautify.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_vash.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_vercel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_vsix.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_vsixmanifest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_xfl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_xorg.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_yaml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_light_zeit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lighthouse.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lilypond.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lime.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lintstagedrc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_liquid.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lisp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_livescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lnk.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_locale.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_log.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lolcode.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lsl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lua.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_luau.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_lync.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mailing.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_makefile.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_manifest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_manifest_bak.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_manifest_skip.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_map.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mariadb.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_markdown.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_markdownlint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_markdownlint_ignore.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_marko.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_markojs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_master-co.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_matlab.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_maven.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_maxscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_maya.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mdx-components.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mdx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mediawiki.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mercurial.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mermaid.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_meson.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_meteor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mivascript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mjml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mocha.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_modernizr.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mojo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mojolicious.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_moleculer.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mondoo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mongo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_monotone.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_motif.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mson.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mustache.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mvt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mvtcss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mvtjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_mysql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ndst.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nearly.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_adapter_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_adapter_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_controller_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_controller_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_decorator_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_decorator_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_filter_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_filter_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_gateway_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_gateway_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_guard_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_guard_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_interceptor_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_interceptor_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_middleware_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_middleware_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_module_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_module_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_pipe_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_pipe_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_service_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nest_service_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nestjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_netlify.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_next.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nextflow.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_css.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_html.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_less.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_sass.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_scss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_component_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_controller_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_controller_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_directive_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_directive_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_directive_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_directive_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_directive_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_guard_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_guard_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_guard_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_interceptor_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_interceptor_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_interceptor_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_module_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_module_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_module_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_module_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_module_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_pipe_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_pipe_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_pipe_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_pipe_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_pipe_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_routing_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_routing_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_routing_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_routing_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_routing_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_service_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_service_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_service_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_service_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_service_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_smart_component_dart.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_smart_component_js.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_smart_component_js2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_smart_component_ts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_smart_component_ts2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ng_tailwind.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nginx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nim.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nimble.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ninja.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nix.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_njsproj.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_noc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_node.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_node2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nodemon.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_npm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nsi.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nsri-integrity.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nsri.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nuget.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_numpy.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nunjucks.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nuxt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_nyc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_objectivec.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_objectivecpp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_objidconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ocaml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ocaml_intf.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ogone.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_onenote.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_openHAB.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_opencl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_openscad.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_org.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_outlook.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ovpn.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_package.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_paket.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pandacss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_patch.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pcl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pddl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pddl_happenings.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pddl_plan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pdf.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pdf2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pdm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_peeky.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_perl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_perl2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_perl6.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pgsql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_photoshop.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_photoshop2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_php.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_php2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_php3.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_phpcsfixer.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_phpstan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_phpunit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_phraseapp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pine.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pip.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pipeline.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_plantuml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_platformio.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_playwright.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_plsql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_plsql_package.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_plsql_package_body.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_plsql_package_header.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_plsql_package_spec.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pm2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pnpm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_poedit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_poetry.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_polymer.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pony.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_postcss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_postcssconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_postman.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powerpoint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powerpoint2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell_format.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell_psd.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell_psd2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell_psm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell_psm2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_powershell_types.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_preact.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_precommit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_prettier.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_prisma.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_processinglang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_procfile.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_progress.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_prolog.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_prometheus.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_protobuf.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_protractor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_publiccode.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_publisher.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pug.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pulumi.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_puppet.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_purescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pyenv.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pyret.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pyscript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_python.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pythowo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pytyped.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_pyup.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_q.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_qbs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_qlikview.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_qml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_qmldir.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_qsharp.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_quasar.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_r.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ra_syntax_tree.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_racket.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rails.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rake.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_raku.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_raml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_razor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_razzle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_reactjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_reacttemplate.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_reactts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_reason.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_red.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_registry.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rego.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rehype.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_remark.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_renovate.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_replit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_retext.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rexx.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_riot.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rmd.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rnc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_robotframework.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_robots.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rollup.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rome.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ron.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rproj.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rspec.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rubocop.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ruby.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rust.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_rust_toolchain.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_s-lang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_safetensors.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sails.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_saltstack.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_san.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sapphire_framework_cli.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sas.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sass.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sbt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_scala.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_scilab.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_script.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_scss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_scss2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sdlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_search_result.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sentry.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sequelize.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_serverless.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_shaderlab.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_shell.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_shellcheck.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_shuttle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_silverstripe.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sino.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_siyuan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sketch.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_skipper.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_slang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_slashup.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_slice.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_slim.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_slint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sln.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sln2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_smarty.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_snakemake.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_snapcraft.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_snaplet.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_snort.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_snyk.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_solidarity.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_solidity.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_source.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_spacengine.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sparql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_spin.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sqf.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sql.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sqlite.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_squirrel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sst.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stata.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stencil.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_storyboard.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_storybook.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stryker.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stylable.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_style.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_styled.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stylelint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stylish_haskell.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_stylus.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_sublime.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_subversion.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_svelte.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_svelteconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_svg.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_svgo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_swagger.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_swc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_swift.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_swig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_symfony.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_systemd.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_systemverilog.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_t4tt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tailwind.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tamagui.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_taskfile.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tauri.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tcl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_teal.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_templ.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tera.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_terraform.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_test.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_testcafe.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_testjs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_testplane.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_testts.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tex.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_text.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_textile.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tfs.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tiltfile.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tmux.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_todo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_toit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_toml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tox.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_travis.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tree.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tres.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_truffle.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_trunk.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tsbuildinfo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tscn.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tsconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tsconfig_official.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tslint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_ttcn.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_tuc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_turbo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_twig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_typedoc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_typescript.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_typescript_official.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_typescriptdef.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_typescriptdef_official.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_typo3.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_uiua.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_unibeautify.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_unison.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_unlicense.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_unocss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vagrant.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vala.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vanilla_extract.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vapi.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vapor.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vash.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vb.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vba.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vbhtml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vbproj.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vcxproj.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_velocity.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vento.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vercel.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_verilog.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vhdl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_video.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_view.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vim.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vite.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vitest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vlang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_volt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vscode-insiders.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vscode.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vscode2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vscode3.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vscode_test.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vsix.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vsixmanifest.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vue.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vueconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_vyper.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wallaby.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wally.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wasm.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_watchmanconfig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wdio.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_webpack.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wenyan.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wercker.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wgsl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wikitext.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_windi.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wolfram.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_word.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_word2.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wpml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wurst.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wxml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wxss.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_wxt.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xcode.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xfl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xib.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xliff.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xmake.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xo.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xorg.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xquery.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_xsl.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yacc.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yaml.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yamllint.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yandex.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yang.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yarn.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_yeoman.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_zeit.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_zig.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_zip.svg +0 -1
- package/static/95c7ea1/file-icons/file_type_zip2.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_android.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_android_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_api.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_api_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_app.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_app_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_arangodb.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_arangodb_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_asset.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_asset_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_audio.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_audio_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_aurelia.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_aurelia_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_aws.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_aws_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_azure.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_azure_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_azurepipelines.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_azurepipelines_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_binary.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_binary_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_bloc.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_bloc_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_blueprint.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_blueprint_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_bot.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_bot_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_bower.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_bower_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_buildkite.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_buildkite_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cake.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cake_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_certificate.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_certificate_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_changesets.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_changesets_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_chef.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_chef_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_circleci.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_circleci_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cli.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cli_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_client.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_client_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cmake.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cmake_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_common.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_common_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_component.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_component_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_composer.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_composer_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_config.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_config_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_controller.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_controller_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_coverage.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_coverage_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_css.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_css_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cubit.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cubit_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cypress.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_cypress_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_dapr.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_dapr_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_datadog.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_datadog_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_db.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_db_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_debian.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_debian_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_dependabot.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_dependabot_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_devcontainer.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_devcontainer_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_dist.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_dist_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_docker.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_docker_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_docs.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_docs_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_e2e.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_e2e_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_elasticbeanstalk.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_elasticbeanstalk_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_electron.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_electron_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_expo.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_expo_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_favicon.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_favicon_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_flow.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_flow_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_fonts.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_fonts_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_frontcommerce.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_frontcommerce_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gcp.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gcp_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_git.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_git_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_github.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_github_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gitlab.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gitlab_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gradle.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gradle_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_graphql.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_graphql_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_grunt.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_grunt_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gulp.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_gulp_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_haxelib.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_haxelib_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_helper.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_helper_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_hook.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_hook_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_husky.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_husky_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_idea.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_idea_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_images.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_images_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_include.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_include_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_interfaces.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_interfaces_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_ios.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_ios_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_js.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_js_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_json.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_json_official.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_json_official_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_json_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_kubernetes.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_kubernetes_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_less.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_less_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_library.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_library_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_cypress.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_cypress_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_electron.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_electron_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_expo.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_expo_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_fonts.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_fonts_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_gradle.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_gradle_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_meteor.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_meteor_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_mysql.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_mysql_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_node.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_node_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_redux.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_redux_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_sass.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_light_sass_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_linux.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_linux_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_locale.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_locale_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_log.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_log_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_macos.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_macos_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mariadb.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mariadb_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_maven.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_maven_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mediawiki.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mediawiki_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_memcached.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_memcached_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_meteor.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_meteor_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_middleware.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_middleware_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_minikube.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_minikube_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mjml.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mjml_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mock.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mock_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_model.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_model_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_module.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_module_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mojo.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mojo_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mongodb.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mongodb_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mysql.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_mysql_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_next.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_next_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nginx.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nginx_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nix.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nix_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_node.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_node_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_notebooks.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_notebooks_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_notification.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_notification_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nuget.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nuget_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nuxt.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_nuxt_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_package.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_package_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_paket.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_paket_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_php.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_php_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_platformio.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_platformio_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_plugin.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_plugin_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_prisma.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_prisma_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_private.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_private_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_public.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_public_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_python.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_python_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_ravendb.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_ravendb_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_redis.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_redis_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_redux.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_redux_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_route.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_route_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_sass.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_sass_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_script.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_script_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_server.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_server_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_services.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_services_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_shared.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_shared_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_snaplet.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_snaplet_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_spin.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_spin_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_src.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_src_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_sso.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_sso_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_story.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_story_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_style.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_style_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_supabase.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_supabase_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_svelte.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_svelte_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_tauri.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_tauri_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_temp.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_temp_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_template.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_template_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_test.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_test_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_theme.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_theme_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_tools.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_tools_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_travis.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_travis_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_trunk.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_trunk_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_turbo.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_turbo_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_typescript.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_typescript_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_typings.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_typings2.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_typings2_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_typings_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vagrant.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vagrant_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vercel.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vercel_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_video.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_video_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_view.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_view_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vs.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vs2.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vs2_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vs_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode2.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode2_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode3.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode3_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_test.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_test2.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_test2_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_test3.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_test3_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_vscode_test_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_webpack.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_webpack_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_windows.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_windows_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_wit.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_wit_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_www.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_www_opened.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_yarn.svg +0 -1
- package/static/95c7ea1/file-icons/folder_type_yarn_opened.svg +0 -1
- package/static/95c7ea1/fonts/FiraCode-VariableFont.ttf +0 -0
- package/static/95c7ea1/icons/add.svg +0 -1
- package/static/95c7ea1/icons/arrow-down.svg +0 -3
- package/static/95c7ea1/icons/arrow-left.svg +0 -3
- package/static/95c7ea1/icons/arrow-right.svg +0 -3
- package/static/95c7ea1/icons/arrow-up.svg +0 -3
- package/static/95c7ea1/icons/blank.svg +0 -1
- package/static/95c7ea1/icons/book.svg +0 -1
- package/static/95c7ea1/icons/case-sensitive.svg +0 -1
- package/static/95c7ea1/icons/check.svg +0 -1
- package/static/95c7ea1/icons/chevron-down.svg +0 -1
- package/static/95c7ea1/icons/chevron-left.svg +0 -1
- package/static/95c7ea1/icons/chevron-right.svg +0 -3
- package/static/95c7ea1/icons/chevron-up.svg +0 -1
- package/static/95c7ea1/icons/chrome-close.svg +0 -3
- package/static/95c7ea1/icons/chrome-maximize.svg +0 -3
- package/static/95c7ea1/icons/chrome-minimize.svg +0 -3
- package/static/95c7ea1/icons/chrome-restore.svg +0 -1
- package/static/95c7ea1/icons/circle-filled.svg +0 -1
- package/static/95c7ea1/icons/clear-all.svg +0 -1
- package/static/95c7ea1/icons/close.svg +0 -1
- package/static/95c7ea1/icons/cloud.svg +0 -1
- package/static/95c7ea1/icons/collapse-all.svg +0 -1
- package/static/95c7ea1/icons/debug-all.svg +0 -1
- package/static/95c7ea1/icons/debug-alt-2.svg +0 -3
- package/static/95c7ea1/icons/debug-alt-small.svg +0 -1
- package/static/95c7ea1/icons/debug-alt.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-conditional-unverified.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-conditional.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-data-unverified.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-data.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-function-unverified.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-function.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-log-unverified.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-log.svg +0 -1
- package/static/95c7ea1/icons/debug-breakpoint-unsupported.svg +0 -1
- package/static/95c7ea1/icons/debug-console.svg +0 -1
- package/static/95c7ea1/icons/debug-continue-small.svg +0 -1
- package/static/95c7ea1/icons/debug-continue.svg +0 -1
- package/static/95c7ea1/icons/debug-coverage.svg +0 -1
- package/static/95c7ea1/icons/debug-disconnect.svg +0 -1
- package/static/95c7ea1/icons/debug-line-by-line.svg +0 -1
- package/static/95c7ea1/icons/debug-pause.svg +0 -1
- package/static/95c7ea1/icons/debug-rerun.svg +0 -1
- package/static/95c7ea1/icons/debug-restart-frame.svg +0 -1
- package/static/95c7ea1/icons/debug-restart.svg +0 -1
- package/static/95c7ea1/icons/debug-reverse-continue.svg +0 -1
- package/static/95c7ea1/icons/debug-stackframe-active.svg +0 -1
- package/static/95c7ea1/icons/debug-stackframe.svg +0 -1
- package/static/95c7ea1/icons/debug-start.svg +0 -1
- package/static/95c7ea1/icons/debug-step-back.svg +0 -1
- package/static/95c7ea1/icons/debug-step-into.svg +0 -1
- package/static/95c7ea1/icons/debug-step-out.svg +0 -1
- package/static/95c7ea1/icons/debug-step-over.svg +0 -1
- package/static/95c7ea1/icons/debug-stop.svg +0 -1
- package/static/95c7ea1/icons/debug.svg +0 -1
- package/static/95c7ea1/icons/discard.svg +0 -1
- package/static/95c7ea1/icons/edit.svg +0 -1
- package/static/95c7ea1/icons/ellipsis.svg +0 -5
- package/static/95c7ea1/icons/error.svg +0 -1
- package/static/95c7ea1/icons/exclude.svg +0 -1
- package/static/95c7ea1/icons/extensionDefaultIcon.png +0 -0
- package/static/95c7ea1/icons/extensions.svg +0 -3
- package/static/95c7ea1/icons/files.svg +0 -3
- package/static/95c7ea1/icons/filter.svg +0 -1
- package/static/95c7ea1/icons/go-to-file.svg +0 -1
- package/static/95c7ea1/icons/icon-close.svg +0 -3
- package/static/95c7ea1/icons/icon-source-control.svg +0 -3
- package/static/95c7ea1/icons/icon-sync.svg +0 -1
- package/static/95c7ea1/icons/icon.png +0 -0
- package/static/95c7ea1/icons/icon.svg +0 -3
- package/static/95c7ea1/icons/info.svg +0 -1
- package/static/95c7ea1/icons/language-icon.svg +0 -1
- package/static/95c7ea1/icons/link-external.svg +0 -1
- package/static/95c7ea1/icons/list-flat.svg +0 -1
- package/static/95c7ea1/icons/list-tree.svg +0 -1
- package/static/95c7ea1/icons/new-file.svg +0 -1
- package/static/95c7ea1/icons/new-folder.svg +0 -1
- package/static/95c7ea1/icons/newline.svg +0 -1
- package/static/95c7ea1/icons/open-preview.svg +0 -1
- package/static/95c7ea1/icons/play.svg +0 -1
- package/static/95c7ea1/icons/preserve-case.svg +0 -1
- package/static/95c7ea1/icons/progress.svg +0 -1
- package/static/95c7ea1/icons/pwa-icon-192.png +0 -0
- package/static/95c7ea1/icons/pwa-icon-512.png +0 -0
- package/static/95c7ea1/icons/record-keys.svg +0 -1
- package/static/95c7ea1/icons/refresh.svg +0 -1
- package/static/95c7ea1/icons/regex.svg +0 -1
- package/static/95c7ea1/icons/remove.svg +0 -1
- package/static/95c7ea1/icons/replace-all.svg +0 -1
- package/static/95c7ea1/icons/replace.svg +0 -1
- package/static/95c7ea1/icons/run-all.svg +0 -1
- package/static/95c7ea1/icons/search.svg +0 -3
- package/static/95c7ea1/icons/settings-gear.svg +0 -3
- package/static/95c7ea1/icons/source-control.svg +0 -3
- package/static/95c7ea1/icons/split-horizontal.svg +0 -1
- package/static/95c7ea1/icons/squiggly-error.svg +0 -1
- package/static/95c7ea1/icons/squiggly-warning.svg +0 -1
- package/static/95c7ea1/icons/symbol-array.svg +0 -3
- package/static/95c7ea1/icons/symbol-boolean.svg +0 -3
- package/static/95c7ea1/icons/symbol-class.svg +0 -3
- package/static/95c7ea1/icons/symbol-color.svg +0 -3
- package/static/95c7ea1/icons/symbol-constant.svg +0 -4
- package/static/95c7ea1/icons/symbol-enum-member.svg +0 -3
- package/static/95c7ea1/icons/symbol-enum.svg +0 -3
- package/static/95c7ea1/icons/symbol-event.svg +0 -3
- package/static/95c7ea1/icons/symbol-field.svg +0 -3
- package/static/95c7ea1/icons/symbol-file.svg +0 -3
- package/static/95c7ea1/icons/symbol-interface.svg +0 -3
- package/static/95c7ea1/icons/symbol-key.svg +0 -3
- package/static/95c7ea1/icons/symbol-keyword.svg +0 -3
- package/static/95c7ea1/icons/symbol-method.svg +0 -3
- package/static/95c7ea1/icons/symbol-misc.svg +0 -3
- package/static/95c7ea1/icons/symbol-namespace.svg +0 -3
- package/static/95c7ea1/icons/symbol-numeric.svg +0 -3
- package/static/95c7ea1/icons/symbol-operator.svg +0 -3
- package/static/95c7ea1/icons/symbol-parameter.svg +0 -3
- package/static/95c7ea1/icons/symbol-property.svg +0 -3
- package/static/95c7ea1/icons/symbol-ruler.svg +0 -3
- package/static/95c7ea1/icons/symbol-snippet.svg +0 -3
- package/static/95c7ea1/icons/symbol-string.svg +0 -3
- package/static/95c7ea1/icons/symbol-structure.svg +0 -3
- package/static/95c7ea1/icons/symbol-variable.svg +0 -3
- package/static/95c7ea1/icons/tag.svg +0 -1
- package/static/95c7ea1/icons/terminal-bash.svg +0 -1
- package/static/95c7ea1/icons/terminal.svg +0 -1
- package/static/95c7ea1/icons/theme-icon.png +0 -0
- package/static/95c7ea1/icons/trash.svg +0 -1
- package/static/95c7ea1/icons/triangle-down.svg +0 -1
- package/static/95c7ea1/icons/triangle-left.svg +0 -1
- package/static/95c7ea1/icons/triangle-right.svg +0 -1
- package/static/95c7ea1/icons/triangle-up.svg +0 -1
- package/static/95c7ea1/icons/warning.svg +0 -1
- package/static/95c7ea1/icons/whole-word.svg +0 -1
- package/static/95c7ea1/icons/zoom-in.svg +0 -1
- package/static/95c7ea1/icons/zoom-out.svg +0 -1
- package/static/95c7ea1/js/babel-parser.js +0 -14154
- package/static/95c7ea1/js/blob-util.js +0 -149
- package/static/95c7ea1/js/idb/async-iterators.js +0 -56
- package/static/95c7ea1/js/idb/index.js +0 -99
- package/static/95c7ea1/js/idb/with-async-ittr.js +0 -4
- package/static/95c7ea1/js/idb/wrap-idb-value.js +0 -190
- package/static/95c7ea1/js/js-base64.js +0 -296
- package/static/95c7ea1/js/ky.js +0 -489
- package/static/95c7ea1/js/lvce-editor-import-script.js +0 -5
- package/static/95c7ea1/js/lvce-editor-ipc.js +0 -735
- package/static/95c7ea1/js/lvce-editor-json-rpc.js +0 -383
- package/static/95c7ea1/js/lvce-editor-verror.js +0 -55
- package/static/95c7ea1/js/marked.js +0 -1990
- package/static/95c7ea1/js/p-min-delay.js +0 -7
- package/static/95c7ea1/js/pretty-bytes.js +0 -94
- package/static/95c7ea1/js/preview-injected.js +0 -101
- package/static/95c7ea1/js/yoctodelay.js +0 -2
- package/static/95c7ea1/lib-css/termterm.css +0 -39
- package/static/95c7ea1/manifest.json +0 -26
- package/static/95c7ea1/packages/about-view-worker/dist/aboutWorkerMain.js +0 -1556
- package/static/95c7ea1/packages/diff-worker/dist/diffWorkerMain.js +0 -886
- package/static/95c7ea1/packages/editor-worker/dist/editorWorkerMain.js +0 -11885
- package/static/95c7ea1/packages/embeds-worker/dist/embedsWorkerMain.js +0 -1067
- package/static/95c7ea1/packages/embeds-worker/dist/embedsWorkerMain.js.map +0 -1
- package/static/95c7ea1/packages/embeds-worker/src/embedsWorkerMain.ts +0 -3
- package/static/95c7ea1/packages/embeds-worker/src/parts/Assert/Assert.ts +0 -94
- package/static/95c7ea1/packages/embeds-worker/src/parts/AssertionError/AssertionError.ts +0 -6
- package/static/95c7ea1/packages/embeds-worker/src/parts/Callback/Callback.ts +0 -1
- package/static/95c7ea1/packages/embeds-worker/src/parts/Command/Command.ts +0 -10
- package/static/95c7ea1/packages/embeds-worker/src/parts/CommandMap/CommandMap.ts +0 -26
- package/static/95c7ea1/packages/embeds-worker/src/parts/CommandState/CommandState.ts +0 -17
- package/static/95c7ea1/packages/embeds-worker/src/parts/ElectronWebContentsView/ElectronWebContentsView.ts +0 -117
- package/static/95c7ea1/packages/embeds-worker/src/parts/EmbedsProcess/EmbedsProcess.ts +0 -25
- package/static/95c7ea1/packages/embeds-worker/src/parts/Exit/Exit.ts +0 -3
- package/static/95c7ea1/packages/embeds-worker/src/parts/GetPortTuple/GetPortTuple.ts +0 -4
- package/static/95c7ea1/packages/embeds-worker/src/parts/HandleIpc/HandleIpc.ts +0 -35
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcChild/IpcChild.ts +0 -13
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcChildModule/IpcChildModule.ts +0 -14
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcChildType/IpcChildType.ts +0 -14
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcId/IpcId.ts +0 -4
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcParent/IpcParent.ts +0 -7
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcParentWithElectronMessagePort/IpcParentWithElectronMessagePort.ts +0 -39
- package/static/95c7ea1/packages/embeds-worker/src/parts/IpcState/IpcState.ts +0 -14
- package/static/95c7ea1/packages/embeds-worker/src/parts/JsonRpc/JsonRpc.ts +0 -2
- package/static/95c7ea1/packages/embeds-worker/src/parts/LaunchEmbedsProcessIpc/LaunchEmbedsProcessIpc.ts +0 -10
- package/static/95c7ea1/packages/embeds-worker/src/parts/Listen/Listen.ts +0 -13
- package/static/95c7ea1/packages/embeds-worker/src/parts/LoadErrorCode/LoadErrorCode.ts +0 -3
- package/static/95c7ea1/packages/embeds-worker/src/parts/Main/Main.ts +0 -5
- package/static/95c7ea1/packages/embeds-worker/src/parts/ProcessName/ProcessName.ts +0 -1
- package/static/95c7ea1/packages/embeds-worker/src/parts/Rpc/Rpc.ts +0 -21
- package/static/95c7ea1/packages/explorer-worker/dist/explorerViewWorkerMain.js +0 -2730
- package/static/95c7ea1/packages/extension-host-sub-worker/dist/extensionHostSubWorkerMain.js +0 -989
- package/static/95c7ea1/packages/extension-host-sub-worker/dist/extensionHostSubWorkerMain.js.map +0 -1
- package/static/95c7ea1/packages/extension-host-sub-worker/src/extensionHostSubWorkerMain.js +0 -3
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Ajax/Ajax.js +0 -14
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Assert/Assert.js +0 -71
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/AssetDir/AssetDir.js +0 -16
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Callback/Callback.js +0 -42
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Character/Character.js +0 -11
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/CleanImportError/CleanImportError.js +0 -20
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/CodeFrameColumns/CodeFrameColumns.js +0 -126
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Command/Command.js +0 -10
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/CommandMap/CommandMap.js +0 -5
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/CommandState/CommandState.js +0 -17
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/ErrorType/ErrorType.js +0 -4
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetData/GetData.js +0 -3
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetErrorConstructor/GetErrorConstructor.js +0 -28
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetErrorResponse/GetErrorResponse.js +0 -33
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetModulesErrorStack/GetModulesErrorStack.js +0 -49
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetNewLineIndex/GetNewLineIndex.js +0 -9
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetResponse/GetResponse.js +0 -11
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/GetSuccessResponse/GetSuccessResponse.js +0 -9
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/HandleIpc/HandleIpc.js +0 -12
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/HandleJsonRpcMessage/HandleJsonRpcMessage.js +0 -10
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Id/Id.js +0 -7
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/ImportScript/ImportScript.js +0 -12
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcChild/IpcChild.js +0 -8
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcChildModule/IpcChildModule.js +0 -12
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcChildType/IpcChildType.js +0 -18
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcChildWithMessagePort/IpcChildWithMessagePort.js +0 -24
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcChildWithModuleWorker/IpcChildWithModuleWorker.js +0 -40
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcChildWithModuleWorkerAndMessagePort/IpcChildWithModuleWorkerAndMessagePort.js +0 -54
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/IpcError/IpcError.js +0 -6
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JoinLines/JoinLines.js +0 -3
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JsonRpc/JsonRpc.js +0 -16
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JsonRpcError/JsonRpcError.js +0 -6
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JsonRpcErrorCode/JsonRpcErrorCode.js +0 -2
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JsonRpcEvent/JsonRpcEvent.js +0 -9
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JsonRpcRequest/JsonRpcRequest.js +0 -16
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/JsonRpcVersion/JsonRpcVersion.js +0 -1
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Listen/Listen.js +0 -19
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/LoadFile/LoadFile.js +0 -14
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/LoadKy/LoadKy.js +0 -11
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Main/Main.js +0 -5
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/MergeStacks/MergeStacks.js +0 -20
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/NormalizeErrorLine/NormalizeErrorLine.js +0 -9
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/Platform/Platform.js +0 -19
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/PlatformType/PlatformType.js +0 -5
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/PrettyError/PrettyError.js +0 -139
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/PrintPrettyError/PrintPrettyError.js +0 -3
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/ProcessName/ProcessName.js +0 -1
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/RestoreJsonRpcError/RestoreJsonRpcError.js +0 -78
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/SplitLines/SplitLines.js +0 -11
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/UnwrapJsonRpcResult/UnwrapJsonRpcResult.js +0 -13
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/VError/VError.js +0 -27
- package/static/95c7ea1/packages/extension-host-sub-worker/src/parts/WaitForFirstMessage/WaitForFirstMessage.js +0 -13
- package/static/95c7ea1/packages/extension-host-worker/dist/extensionHostWorkerMain.js +0 -3813
- package/static/95c7ea1/packages/extension-search-view-worker/dist/extensionSearchViewWorkerMain.js +0 -1468
- package/static/95c7ea1/packages/file-search-worker/dist/fileSearchWorkerMain.js +0 -1835
- package/static/95c7ea1/packages/iframe-worker/dist/iframeWorkerMain.js +0 -1349
- package/static/95c7ea1/packages/keybindings-view-worker/dist/keyBindingsViewWorkerMain.js +0 -1915
- package/static/95c7ea1/packages/renderer-process/LICENSE +0 -21
- package/static/95c7ea1/packages/renderer-process/README.md +0 -1
- package/static/95c7ea1/packages/renderer-process/dist/rendererProcessMain.js +0 -11834
- package/static/95c7ea1/packages/renderer-process/package.json +0 -27
- package/static/95c7ea1/packages/renderer-worker/dist/rendererWorkerMain.js +0 -39165
- package/static/95c7ea1/packages/syntax-highlighting-worker/dist/syntaxHighlightingWorkerMain.js +0 -1109
- package/static/95c7ea1/packages/terminal-worker/dist/terminalWorkerMain.js +0 -2971
- package/static/95c7ea1/packages/test-worker/dist/testWorkerMain.js +0 -2140
- package/static/95c7ea1/packages/text-search-worker/dist/textSearchWorkerMain.js +0 -4267
- package/static/95c7ea1/playground/languages/index.cpp +0 -22
- package/static/95c7ea1/playground/languages/index.css +0 -19
- package/static/95c7ea1/playground/languages/index.csv +0 -3
- package/static/95c7ea1/playground/languages/index.dart +0 -3
- package/static/95c7ea1/playground/languages/index.env +0 -1
- package/static/95c7ea1/playground/languages/index.ex +0 -8
- package/static/95c7ea1/playground/languages/index.html +0 -1
- package/static/95c7ea1/playground/languages/index.java +0 -5
- package/static/95c7ea1/playground/languages/index.jl +0 -14
- package/static/95c7ea1/playground/languages/index.js +0 -3
- package/static/95c7ea1/playground/languages/index.json +0 -3
- package/static/95c7ea1/playground/languages/index.kt +0 -3
- package/static/95c7ea1/playground/languages/index.pl +0 -11
- package/static/95c7ea1/playground/languages/index.py +0 -25
- package/static/95c7ea1/playground/languages/index.ts +0 -3
- package/static/95c7ea1/playground/languages/scrolling.txt +0 -100
- package/static/95c7ea1/playground/languages/tsconfig.json +0 -24
- package/static/95c7ea1/playground/sample-folder/a.txt +0 -0
- package/static/95c7ea1/playground/sample-folder/b.txt +0 -0
- package/static/95c7ea1/playground/sample-folder/c.txt +0 -0
- package/static/favicon.ico +0 -0
- package/static/index.html +0 -14
|
@@ -1,2730 +0,0 @@
|
|
|
1
|
-
const Two = '2.0';
|
|
2
|
-
const create$4 = (method, params) => {
|
|
3
|
-
return {
|
|
4
|
-
jsonrpc: Two,
|
|
5
|
-
method,
|
|
6
|
-
params
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
const state$1 = {
|
|
10
|
-
callbacks: Object.create(null)
|
|
11
|
-
};
|
|
12
|
-
const set = (id, fn) => {
|
|
13
|
-
state$1.callbacks[id] = fn;
|
|
14
|
-
};
|
|
15
|
-
const get = id => {
|
|
16
|
-
return state$1.callbacks[id];
|
|
17
|
-
};
|
|
18
|
-
const remove$1 = id => {
|
|
19
|
-
delete state$1.callbacks[id];
|
|
20
|
-
};
|
|
21
|
-
let id = 0;
|
|
22
|
-
const create$3 = () => {
|
|
23
|
-
return ++id;
|
|
24
|
-
};
|
|
25
|
-
const warn = (...args) => {
|
|
26
|
-
console.warn(...args);
|
|
27
|
-
};
|
|
28
|
-
const registerPromise = () => {
|
|
29
|
-
const id = create$3();
|
|
30
|
-
const {
|
|
31
|
-
resolve,
|
|
32
|
-
promise
|
|
33
|
-
} = Promise.withResolvers();
|
|
34
|
-
set(id, resolve);
|
|
35
|
-
return {
|
|
36
|
-
id,
|
|
37
|
-
promise
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
const resolve = (id, response) => {
|
|
41
|
-
const fn = get(id);
|
|
42
|
-
if (!fn) {
|
|
43
|
-
console.log(response);
|
|
44
|
-
warn(`callback ${id} may already be disposed`);
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
fn(response);
|
|
48
|
-
remove$1(id);
|
|
49
|
-
};
|
|
50
|
-
const create$2 = (method, params) => {
|
|
51
|
-
const {
|
|
52
|
-
id,
|
|
53
|
-
promise
|
|
54
|
-
} = registerPromise();
|
|
55
|
-
const message = {
|
|
56
|
-
jsonrpc: Two,
|
|
57
|
-
method,
|
|
58
|
-
params,
|
|
59
|
-
id
|
|
60
|
-
};
|
|
61
|
-
return {
|
|
62
|
-
message,
|
|
63
|
-
promise
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
class JsonRpcError extends Error {
|
|
67
|
-
constructor(message) {
|
|
68
|
-
super(message);
|
|
69
|
-
this.name = 'JsonRpcError';
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
const NewLine$2 = '\n';
|
|
73
|
-
const DomException = 'DOMException';
|
|
74
|
-
const ReferenceError$1 = 'ReferenceError';
|
|
75
|
-
const SyntaxError$1 = 'SyntaxError';
|
|
76
|
-
const TypeError$1 = 'TypeError';
|
|
77
|
-
const getErrorConstructor = (message, type) => {
|
|
78
|
-
if (type) {
|
|
79
|
-
switch (type) {
|
|
80
|
-
case DomException:
|
|
81
|
-
return DOMException;
|
|
82
|
-
case TypeError$1:
|
|
83
|
-
return TypeError;
|
|
84
|
-
case SyntaxError$1:
|
|
85
|
-
return SyntaxError;
|
|
86
|
-
case ReferenceError$1:
|
|
87
|
-
return ReferenceError;
|
|
88
|
-
default:
|
|
89
|
-
return Error;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
if (message.startsWith('TypeError: ')) {
|
|
93
|
-
return TypeError;
|
|
94
|
-
}
|
|
95
|
-
if (message.startsWith('SyntaxError: ')) {
|
|
96
|
-
return SyntaxError;
|
|
97
|
-
}
|
|
98
|
-
if (message.startsWith('ReferenceError: ')) {
|
|
99
|
-
return ReferenceError;
|
|
100
|
-
}
|
|
101
|
-
return Error;
|
|
102
|
-
};
|
|
103
|
-
const constructError = (message, type, name) => {
|
|
104
|
-
const ErrorConstructor = getErrorConstructor(message, type);
|
|
105
|
-
if (ErrorConstructor === DOMException && name) {
|
|
106
|
-
return new ErrorConstructor(message, name);
|
|
107
|
-
}
|
|
108
|
-
if (ErrorConstructor === Error) {
|
|
109
|
-
const error = new Error(message);
|
|
110
|
-
if (name && name !== 'VError') {
|
|
111
|
-
error.name = name;
|
|
112
|
-
}
|
|
113
|
-
return error;
|
|
114
|
-
}
|
|
115
|
-
return new ErrorConstructor(message);
|
|
116
|
-
};
|
|
117
|
-
const getNewLineIndex$1 = (string, startIndex = undefined) => {
|
|
118
|
-
return string.indexOf(NewLine$2, startIndex);
|
|
119
|
-
};
|
|
120
|
-
const getParentStack = error => {
|
|
121
|
-
let parentStack = error.stack || error.data || error.message || '';
|
|
122
|
-
if (parentStack.startsWith(' at')) {
|
|
123
|
-
parentStack = error.message + NewLine$2 + parentStack;
|
|
124
|
-
}
|
|
125
|
-
return parentStack;
|
|
126
|
-
};
|
|
127
|
-
const joinLines$1 = lines => {
|
|
128
|
-
return lines.join(NewLine$2);
|
|
129
|
-
};
|
|
130
|
-
const MethodNotFound = -32601;
|
|
131
|
-
const Custom = -32001;
|
|
132
|
-
const splitLines$1 = lines => {
|
|
133
|
-
return lines.split(NewLine$2);
|
|
134
|
-
};
|
|
135
|
-
const restoreJsonRpcError = error => {
|
|
136
|
-
if (error && error instanceof Error) {
|
|
137
|
-
return error;
|
|
138
|
-
}
|
|
139
|
-
const currentStack = joinLines$1(splitLines$1(new Error().stack || '').slice(1));
|
|
140
|
-
if (error && error.code && error.code === MethodNotFound) {
|
|
141
|
-
const restoredError = new JsonRpcError(error.message);
|
|
142
|
-
const parentStack = getParentStack(error);
|
|
143
|
-
restoredError.stack = parentStack + NewLine$2 + currentStack;
|
|
144
|
-
return restoredError;
|
|
145
|
-
}
|
|
146
|
-
if (error && error.message) {
|
|
147
|
-
const restoredError = constructError(error.message, error.type, error.name);
|
|
148
|
-
if (error.data) {
|
|
149
|
-
if (error.data.stack && error.data.type && error.message) {
|
|
150
|
-
restoredError.stack = error.data.type + ': ' + error.message + NewLine$2 + error.data.stack + NewLine$2 + currentStack;
|
|
151
|
-
} else if (error.data.stack) {
|
|
152
|
-
restoredError.stack = error.data.stack;
|
|
153
|
-
}
|
|
154
|
-
if (error.data.codeFrame) {
|
|
155
|
-
// @ts-ignore
|
|
156
|
-
restoredError.codeFrame = error.data.codeFrame;
|
|
157
|
-
}
|
|
158
|
-
if (error.data.code) {
|
|
159
|
-
// @ts-ignore
|
|
160
|
-
restoredError.code = error.data.code;
|
|
161
|
-
}
|
|
162
|
-
if (error.data.type) {
|
|
163
|
-
// @ts-ignore
|
|
164
|
-
restoredError.name = error.data.type;
|
|
165
|
-
}
|
|
166
|
-
} else {
|
|
167
|
-
if (error.stack) {
|
|
168
|
-
const lowerStack = restoredError.stack || '';
|
|
169
|
-
// @ts-ignore
|
|
170
|
-
const indexNewLine = getNewLineIndex$1(lowerStack);
|
|
171
|
-
const parentStack = getParentStack(error);
|
|
172
|
-
// @ts-ignore
|
|
173
|
-
restoredError.stack = parentStack + lowerStack.slice(indexNewLine);
|
|
174
|
-
}
|
|
175
|
-
if (error.codeFrame) {
|
|
176
|
-
// @ts-ignore
|
|
177
|
-
restoredError.codeFrame = error.codeFrame;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
return restoredError;
|
|
181
|
-
}
|
|
182
|
-
if (typeof error === 'string') {
|
|
183
|
-
return new Error(`JsonRpc Error: ${error}`);
|
|
184
|
-
}
|
|
185
|
-
return new Error(`JsonRpc Error: ${error}`);
|
|
186
|
-
};
|
|
187
|
-
const unwrapJsonRpcResult = responseMessage => {
|
|
188
|
-
if ('error' in responseMessage) {
|
|
189
|
-
const restoredError = restoreJsonRpcError(responseMessage.error);
|
|
190
|
-
throw restoredError;
|
|
191
|
-
}
|
|
192
|
-
if ('result' in responseMessage) {
|
|
193
|
-
return responseMessage.result;
|
|
194
|
-
}
|
|
195
|
-
throw new JsonRpcError('unexpected response message');
|
|
196
|
-
};
|
|
197
|
-
const E_COMMAND_NOT_FOUND = 'E_COMMAND_NOT_FOUND';
|
|
198
|
-
const getErrorType = prettyError => {
|
|
199
|
-
if (prettyError && prettyError.type) {
|
|
200
|
-
return prettyError.type;
|
|
201
|
-
}
|
|
202
|
-
if (prettyError && prettyError.constructor && prettyError.constructor.name) {
|
|
203
|
-
return prettyError.constructor.name;
|
|
204
|
-
}
|
|
205
|
-
return undefined;
|
|
206
|
-
};
|
|
207
|
-
const getErrorProperty = (error, prettyError) => {
|
|
208
|
-
if (error && error.code === E_COMMAND_NOT_FOUND) {
|
|
209
|
-
return {
|
|
210
|
-
code: MethodNotFound,
|
|
211
|
-
message: error.message,
|
|
212
|
-
data: error.stack
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
return {
|
|
216
|
-
code: Custom,
|
|
217
|
-
message: prettyError.message,
|
|
218
|
-
data: {
|
|
219
|
-
stack: prettyError.stack,
|
|
220
|
-
codeFrame: prettyError.codeFrame,
|
|
221
|
-
type: getErrorType(prettyError),
|
|
222
|
-
code: prettyError.code,
|
|
223
|
-
name: prettyError.name
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
const create$1$1 = (message, error) => {
|
|
228
|
-
return {
|
|
229
|
-
jsonrpc: Two,
|
|
230
|
-
id: message.id,
|
|
231
|
-
error
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
const getErrorResponse = (message, error, preparePrettyError, logError) => {
|
|
235
|
-
const prettyError = preparePrettyError(error);
|
|
236
|
-
logError(error, prettyError);
|
|
237
|
-
const errorProperty = getErrorProperty(error, prettyError);
|
|
238
|
-
return create$1$1(message, errorProperty);
|
|
239
|
-
};
|
|
240
|
-
const create = (message, result) => {
|
|
241
|
-
return {
|
|
242
|
-
jsonrpc: Two,
|
|
243
|
-
id: message.id,
|
|
244
|
-
result: result ?? null
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
const getSuccessResponse = (message, result) => {
|
|
248
|
-
const resultProperty = result ?? null;
|
|
249
|
-
return create(message, resultProperty);
|
|
250
|
-
};
|
|
251
|
-
const getResponse = async (message, ipc, execute, preparePrettyError, logError, requiresSocket) => {
|
|
252
|
-
try {
|
|
253
|
-
const result = requiresSocket(message.method) ? await execute(message.method, ipc, ...message.params) : await execute(message.method, ...message.params);
|
|
254
|
-
return getSuccessResponse(message, result);
|
|
255
|
-
} catch (error) {
|
|
256
|
-
return getErrorResponse(message, error, preparePrettyError, logError);
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
|
-
const defaultPreparePrettyError = error => {
|
|
260
|
-
return error;
|
|
261
|
-
};
|
|
262
|
-
const defaultLogError = () => {
|
|
263
|
-
// ignore
|
|
264
|
-
};
|
|
265
|
-
const defaultRequiresSocket = () => {
|
|
266
|
-
return false;
|
|
267
|
-
};
|
|
268
|
-
const defaultResolve = resolve;
|
|
269
|
-
|
|
270
|
-
// TODO maybe remove this in v6 or v7, only accept options object to simplify the code
|
|
271
|
-
const normalizeParams = args => {
|
|
272
|
-
if (args.length === 1) {
|
|
273
|
-
const options = args[0];
|
|
274
|
-
return {
|
|
275
|
-
ipc: options.ipc,
|
|
276
|
-
message: options.message,
|
|
277
|
-
execute: options.execute,
|
|
278
|
-
resolve: options.resolve || defaultResolve,
|
|
279
|
-
preparePrettyError: options.preparePrettyError || defaultPreparePrettyError,
|
|
280
|
-
logError: options.logError || defaultLogError,
|
|
281
|
-
requiresSocket: options.requiresSocket || defaultRequiresSocket
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
return {
|
|
285
|
-
ipc: args[0],
|
|
286
|
-
message: args[1],
|
|
287
|
-
execute: args[2],
|
|
288
|
-
resolve: args[3],
|
|
289
|
-
preparePrettyError: args[4],
|
|
290
|
-
logError: args[5],
|
|
291
|
-
requiresSocket: args[6]
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
const handleJsonRpcMessage = async (...args) => {
|
|
295
|
-
const options = normalizeParams(args);
|
|
296
|
-
const {
|
|
297
|
-
message,
|
|
298
|
-
ipc,
|
|
299
|
-
execute,
|
|
300
|
-
resolve,
|
|
301
|
-
preparePrettyError,
|
|
302
|
-
logError,
|
|
303
|
-
requiresSocket
|
|
304
|
-
} = options;
|
|
305
|
-
if ('id' in message) {
|
|
306
|
-
if ('method' in message) {
|
|
307
|
-
const response = await getResponse(message, ipc, execute, preparePrettyError, logError, requiresSocket);
|
|
308
|
-
try {
|
|
309
|
-
ipc.send(response);
|
|
310
|
-
} catch (error) {
|
|
311
|
-
const errorResponse = getErrorResponse(message, error, preparePrettyError, logError);
|
|
312
|
-
ipc.send(errorResponse);
|
|
313
|
-
}
|
|
314
|
-
return;
|
|
315
|
-
}
|
|
316
|
-
resolve(message.id, message);
|
|
317
|
-
return;
|
|
318
|
-
}
|
|
319
|
-
if ('method' in message) {
|
|
320
|
-
await getResponse(message, ipc, execute, preparePrettyError, logError, requiresSocket);
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
throw new JsonRpcError('unexpected message');
|
|
324
|
-
};
|
|
325
|
-
const invokeHelper = async (ipc, method, params, useSendAndTransfer) => {
|
|
326
|
-
const {
|
|
327
|
-
message,
|
|
328
|
-
promise
|
|
329
|
-
} = create$2(method, params);
|
|
330
|
-
if (useSendAndTransfer && ipc.sendAndTransfer) {
|
|
331
|
-
ipc.sendAndTransfer(message);
|
|
332
|
-
} else {
|
|
333
|
-
ipc.send(message);
|
|
334
|
-
}
|
|
335
|
-
const responseMessage = await promise;
|
|
336
|
-
return unwrapJsonRpcResult(responseMessage);
|
|
337
|
-
};
|
|
338
|
-
const send = (transport, method, ...params) => {
|
|
339
|
-
const message = create$4(method, params);
|
|
340
|
-
transport.send(message);
|
|
341
|
-
};
|
|
342
|
-
const invoke$1 = (ipc, method, ...params) => {
|
|
343
|
-
return invokeHelper(ipc, method, params, false);
|
|
344
|
-
};
|
|
345
|
-
const invokeAndTransfer = (ipc, method, ...params) => {
|
|
346
|
-
return invokeHelper(ipc, method, params, true);
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
const commands = Object.create(null);
|
|
350
|
-
const register = commandMap => {
|
|
351
|
-
Object.assign(commands, commandMap);
|
|
352
|
-
};
|
|
353
|
-
const getCommand = key => {
|
|
354
|
-
return commands[key];
|
|
355
|
-
};
|
|
356
|
-
const execute = (command, ...args) => {
|
|
357
|
-
const fn = getCommand(command);
|
|
358
|
-
if (!fn) {
|
|
359
|
-
throw new Error(`command not found ${command}`);
|
|
360
|
-
}
|
|
361
|
-
return fn(...args);
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
const getData$1 = event => {
|
|
365
|
-
return event.data;
|
|
366
|
-
};
|
|
367
|
-
const attachEvents = that => {
|
|
368
|
-
const handleMessage = (...args) => {
|
|
369
|
-
const data = that.getData(...args);
|
|
370
|
-
that.dispatchEvent(new MessageEvent('message', {
|
|
371
|
-
data
|
|
372
|
-
}));
|
|
373
|
-
};
|
|
374
|
-
that.onMessage(handleMessage);
|
|
375
|
-
const handleClose = event => {
|
|
376
|
-
that.dispatchEvent(new Event('close'));
|
|
377
|
-
};
|
|
378
|
-
that.onClose(handleClose);
|
|
379
|
-
};
|
|
380
|
-
class Ipc extends EventTarget {
|
|
381
|
-
constructor(rawIpc) {
|
|
382
|
-
super();
|
|
383
|
-
this._rawIpc = rawIpc;
|
|
384
|
-
attachEvents(this);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
const readyMessage = 'ready';
|
|
388
|
-
const walkValue = (value, transferrables, isTransferrable) => {
|
|
389
|
-
if (!value) {
|
|
390
|
-
return;
|
|
391
|
-
}
|
|
392
|
-
if (isTransferrable(value)) {
|
|
393
|
-
transferrables.push(value);
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
|
-
if (Array.isArray(value)) {
|
|
397
|
-
for (const item of value) {
|
|
398
|
-
walkValue(item, transferrables, isTransferrable);
|
|
399
|
-
}
|
|
400
|
-
return;
|
|
401
|
-
}
|
|
402
|
-
if (typeof value === 'object') {
|
|
403
|
-
for (const property of Object.values(value)) {
|
|
404
|
-
walkValue(property, transferrables, isTransferrable);
|
|
405
|
-
}
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
};
|
|
409
|
-
const isMessagePort = value => {
|
|
410
|
-
return value && value instanceof MessagePort;
|
|
411
|
-
};
|
|
412
|
-
const isMessagePortMain = value => {
|
|
413
|
-
return value && value.constructor && value.constructor.name === 'MessagePortMain';
|
|
414
|
-
};
|
|
415
|
-
const isOffscreenCanvas = value => {
|
|
416
|
-
return typeof OffscreenCanvas !== 'undefined' && value instanceof OffscreenCanvas;
|
|
417
|
-
};
|
|
418
|
-
const isInstanceOf = (value, constructorName) => {
|
|
419
|
-
return value?.constructor?.name === constructorName;
|
|
420
|
-
};
|
|
421
|
-
const isSocket = value => {
|
|
422
|
-
return isInstanceOf(value, 'Socket');
|
|
423
|
-
};
|
|
424
|
-
const transferrables = [isMessagePort, isMessagePortMain, isOffscreenCanvas, isSocket];
|
|
425
|
-
const isTransferrable = value => {
|
|
426
|
-
for (const fn of transferrables) {
|
|
427
|
-
if (fn(value)) {
|
|
428
|
-
return true;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
return false;
|
|
432
|
-
};
|
|
433
|
-
const getTransferrables = value => {
|
|
434
|
-
const transferrables = [];
|
|
435
|
-
walkValue(value, transferrables, isTransferrable);
|
|
436
|
-
return transferrables;
|
|
437
|
-
};
|
|
438
|
-
const listen$2 = () => {
|
|
439
|
-
// @ts-ignore
|
|
440
|
-
if (typeof WorkerGlobalScope === 'undefined') {
|
|
441
|
-
throw new TypeError('module is not in web worker scope');
|
|
442
|
-
}
|
|
443
|
-
return globalThis;
|
|
444
|
-
};
|
|
445
|
-
const signal$2 = global => {
|
|
446
|
-
global.postMessage(readyMessage);
|
|
447
|
-
};
|
|
448
|
-
class IpcChildWithModuleWorker extends Ipc {
|
|
449
|
-
getData(event) {
|
|
450
|
-
return getData$1(event);
|
|
451
|
-
}
|
|
452
|
-
send(message) {
|
|
453
|
-
// @ts-ignore
|
|
454
|
-
this._rawIpc.postMessage(message);
|
|
455
|
-
}
|
|
456
|
-
sendAndTransfer(message) {
|
|
457
|
-
const transfer = getTransferrables(message);
|
|
458
|
-
// @ts-ignore
|
|
459
|
-
this._rawIpc.postMessage(message, transfer);
|
|
460
|
-
}
|
|
461
|
-
dispose() {
|
|
462
|
-
// ignore
|
|
463
|
-
}
|
|
464
|
-
onClose(callback) {
|
|
465
|
-
// ignore
|
|
466
|
-
}
|
|
467
|
-
onMessage(callback) {
|
|
468
|
-
this._rawIpc.addEventListener('message', callback);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
const wrap$5 = global => {
|
|
472
|
-
return new IpcChildWithModuleWorker(global);
|
|
473
|
-
};
|
|
474
|
-
const E_INCOMPATIBLE_NATIVE_MODULE = 'E_INCOMPATIBLE_NATIVE_MODULE';
|
|
475
|
-
const E_MODULES_NOT_SUPPORTED_IN_ELECTRON = 'E_MODULES_NOT_SUPPORTED_IN_ELECTRON';
|
|
476
|
-
const ERR_MODULE_NOT_FOUND = 'ERR_MODULE_NOT_FOUND';
|
|
477
|
-
const NewLine$1 = '\n';
|
|
478
|
-
const joinLines = lines => {
|
|
479
|
-
return lines.join(NewLine$1);
|
|
480
|
-
};
|
|
481
|
-
const splitLines = lines => {
|
|
482
|
-
return lines.split(NewLine$1);
|
|
483
|
-
};
|
|
484
|
-
const isModuleNotFoundMessage = line => {
|
|
485
|
-
return line.includes('[ERR_MODULE_NOT_FOUND]');
|
|
486
|
-
};
|
|
487
|
-
const getModuleNotFoundError = stderr => {
|
|
488
|
-
const lines = splitLines(stderr);
|
|
489
|
-
const messageIndex = lines.findIndex(isModuleNotFoundMessage);
|
|
490
|
-
const message = lines[messageIndex];
|
|
491
|
-
return {
|
|
492
|
-
message,
|
|
493
|
-
code: ERR_MODULE_NOT_FOUND
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
const RE_NATIVE_MODULE_ERROR = /^innerError Error: Cannot find module '.*.node'/;
|
|
497
|
-
const RE_NATIVE_MODULE_ERROR_2 = /was compiled against a different Node.js version/;
|
|
498
|
-
const RE_MESSAGE_CODE_BLOCK_START = /^Error: The module '.*'$/;
|
|
499
|
-
const RE_MESSAGE_CODE_BLOCK_END = /^\s* at/;
|
|
500
|
-
const RE_AT = /^\s+at/;
|
|
501
|
-
const RE_AT_PROMISE_INDEX = /^\s*at async Promise.all \(index \d+\)$/;
|
|
502
|
-
const isUnhelpfulNativeModuleError = stderr => {
|
|
503
|
-
return RE_NATIVE_MODULE_ERROR.test(stderr) && RE_NATIVE_MODULE_ERROR_2.test(stderr);
|
|
504
|
-
};
|
|
505
|
-
const isMessageCodeBlockStartIndex = line => {
|
|
506
|
-
return RE_MESSAGE_CODE_BLOCK_START.test(line);
|
|
507
|
-
};
|
|
508
|
-
const isMessageCodeBlockEndIndex = line => {
|
|
509
|
-
return RE_MESSAGE_CODE_BLOCK_END.test(line);
|
|
510
|
-
};
|
|
511
|
-
const getMessageCodeBlock = stderr => {
|
|
512
|
-
const lines = splitLines(stderr);
|
|
513
|
-
const startIndex = lines.findIndex(isMessageCodeBlockStartIndex);
|
|
514
|
-
const endIndex = startIndex + lines.slice(startIndex).findIndex(isMessageCodeBlockEndIndex, startIndex);
|
|
515
|
-
const relevantLines = lines.slice(startIndex, endIndex);
|
|
516
|
-
const relevantMessage = relevantLines.join(' ').slice('Error: '.length);
|
|
517
|
-
return relevantMessage;
|
|
518
|
-
};
|
|
519
|
-
const getNativeModuleErrorMessage = stderr => {
|
|
520
|
-
const message = getMessageCodeBlock(stderr);
|
|
521
|
-
return {
|
|
522
|
-
message: `Incompatible native node module: ${message}`,
|
|
523
|
-
code: E_INCOMPATIBLE_NATIVE_MODULE
|
|
524
|
-
};
|
|
525
|
-
};
|
|
526
|
-
const isModulesSyntaxError = stderr => {
|
|
527
|
-
if (!stderr) {
|
|
528
|
-
return false;
|
|
529
|
-
}
|
|
530
|
-
return stderr.includes('SyntaxError: Cannot use import statement outside a module');
|
|
531
|
-
};
|
|
532
|
-
const getModuleSyntaxError = () => {
|
|
533
|
-
return {
|
|
534
|
-
message: `ES Modules are not supported in electron`,
|
|
535
|
-
code: E_MODULES_NOT_SUPPORTED_IN_ELECTRON
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
const isModuleNotFoundError = stderr => {
|
|
539
|
-
if (!stderr) {
|
|
540
|
-
return false;
|
|
541
|
-
}
|
|
542
|
-
return stderr.includes('ERR_MODULE_NOT_FOUND');
|
|
543
|
-
};
|
|
544
|
-
const isNormalStackLine = line => {
|
|
545
|
-
return RE_AT.test(line) && !RE_AT_PROMISE_INDEX.test(line);
|
|
546
|
-
};
|
|
547
|
-
const getDetails = lines => {
|
|
548
|
-
const index = lines.findIndex(isNormalStackLine);
|
|
549
|
-
if (index === -1) {
|
|
550
|
-
return {
|
|
551
|
-
actualMessage: joinLines(lines),
|
|
552
|
-
rest: []
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
let lastIndex = index - 1;
|
|
556
|
-
while (++lastIndex < lines.length) {
|
|
557
|
-
if (!isNormalStackLine(lines[lastIndex])) {
|
|
558
|
-
break;
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
return {
|
|
562
|
-
actualMessage: lines[index - 1],
|
|
563
|
-
rest: lines.slice(index, lastIndex)
|
|
564
|
-
};
|
|
565
|
-
};
|
|
566
|
-
const getHelpfulChildProcessError = (stdout, stderr) => {
|
|
567
|
-
if (isUnhelpfulNativeModuleError(stderr)) {
|
|
568
|
-
return getNativeModuleErrorMessage(stderr);
|
|
569
|
-
}
|
|
570
|
-
if (isModulesSyntaxError(stderr)) {
|
|
571
|
-
return getModuleSyntaxError();
|
|
572
|
-
}
|
|
573
|
-
if (isModuleNotFoundError(stderr)) {
|
|
574
|
-
return getModuleNotFoundError(stderr);
|
|
575
|
-
}
|
|
576
|
-
const lines = splitLines(stderr);
|
|
577
|
-
const {
|
|
578
|
-
actualMessage,
|
|
579
|
-
rest
|
|
580
|
-
} = getDetails(lines);
|
|
581
|
-
return {
|
|
582
|
-
message: `${actualMessage}`,
|
|
583
|
-
code: '',
|
|
584
|
-
stack: rest
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
|
-
const normalizeLine = line => {
|
|
588
|
-
if (line.startsWith('Error: ')) {
|
|
589
|
-
return line.slice('Error: '.length);
|
|
590
|
-
}
|
|
591
|
-
if (line.startsWith('VError: ')) {
|
|
592
|
-
return line.slice('VError: '.length);
|
|
593
|
-
}
|
|
594
|
-
return line;
|
|
595
|
-
};
|
|
596
|
-
const getCombinedMessage = (error, message) => {
|
|
597
|
-
const stringifiedError = normalizeLine(`${error}`);
|
|
598
|
-
if (message) {
|
|
599
|
-
return `${message}: ${stringifiedError}`;
|
|
600
|
-
}
|
|
601
|
-
return stringifiedError;
|
|
602
|
-
};
|
|
603
|
-
const NewLine = '\n';
|
|
604
|
-
const getNewLineIndex = (string, startIndex = undefined) => {
|
|
605
|
-
return string.indexOf(NewLine, startIndex);
|
|
606
|
-
};
|
|
607
|
-
const mergeStacks = (parent, child) => {
|
|
608
|
-
if (!child) {
|
|
609
|
-
return parent;
|
|
610
|
-
}
|
|
611
|
-
const parentNewLineIndex = getNewLineIndex(parent);
|
|
612
|
-
const childNewLineIndex = getNewLineIndex(child);
|
|
613
|
-
if (childNewLineIndex === -1) {
|
|
614
|
-
return parent;
|
|
615
|
-
}
|
|
616
|
-
const parentFirstLine = parent.slice(0, parentNewLineIndex);
|
|
617
|
-
const childRest = child.slice(childNewLineIndex);
|
|
618
|
-
const childFirstLine = normalizeLine(child.slice(0, childNewLineIndex));
|
|
619
|
-
if (parentFirstLine.includes(childFirstLine)) {
|
|
620
|
-
return parentFirstLine + childRest;
|
|
621
|
-
}
|
|
622
|
-
return child;
|
|
623
|
-
};
|
|
624
|
-
class VError extends Error {
|
|
625
|
-
constructor(error, message) {
|
|
626
|
-
const combinedMessage = getCombinedMessage(error, message);
|
|
627
|
-
super(combinedMessage);
|
|
628
|
-
this.name = 'VError';
|
|
629
|
-
if (error instanceof Error) {
|
|
630
|
-
this.stack = mergeStacks(this.stack, error.stack);
|
|
631
|
-
}
|
|
632
|
-
if (error.codeFrame) {
|
|
633
|
-
// @ts-ignore
|
|
634
|
-
this.codeFrame = error.codeFrame;
|
|
635
|
-
}
|
|
636
|
-
if (error.code) {
|
|
637
|
-
// @ts-ignore
|
|
638
|
-
this.code = error.code;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
class IpcError extends VError {
|
|
643
|
-
// @ts-ignore
|
|
644
|
-
constructor(betterMessage, stdout = '', stderr = '') {
|
|
645
|
-
if (stdout || stderr) {
|
|
646
|
-
// @ts-ignore
|
|
647
|
-
const {
|
|
648
|
-
message,
|
|
649
|
-
code,
|
|
650
|
-
stack
|
|
651
|
-
} = getHelpfulChildProcessError(stdout, stderr);
|
|
652
|
-
const cause = new Error(message);
|
|
653
|
-
// @ts-ignore
|
|
654
|
-
cause.code = code;
|
|
655
|
-
cause.stack = stack;
|
|
656
|
-
super(cause, betterMessage);
|
|
657
|
-
} else {
|
|
658
|
-
super(betterMessage);
|
|
659
|
-
}
|
|
660
|
-
// @ts-ignore
|
|
661
|
-
this.name = 'IpcError';
|
|
662
|
-
// @ts-ignore
|
|
663
|
-
this.stdout = stdout;
|
|
664
|
-
// @ts-ignore
|
|
665
|
-
this.stderr = stderr;
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
const withResolvers = () => {
|
|
669
|
-
let _resolve;
|
|
670
|
-
const promise = new Promise(resolve => {
|
|
671
|
-
_resolve = resolve;
|
|
672
|
-
});
|
|
673
|
-
return {
|
|
674
|
-
resolve: _resolve,
|
|
675
|
-
promise
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
const waitForFirstMessage = async port => {
|
|
679
|
-
const {
|
|
680
|
-
resolve,
|
|
681
|
-
promise
|
|
682
|
-
} = withResolvers();
|
|
683
|
-
port.addEventListener('message', resolve, {
|
|
684
|
-
once: true
|
|
685
|
-
});
|
|
686
|
-
const event = await promise;
|
|
687
|
-
// @ts-ignore
|
|
688
|
-
return event.data;
|
|
689
|
-
};
|
|
690
|
-
const listen$1$1 = async () => {
|
|
691
|
-
const parentIpcRaw = listen$2();
|
|
692
|
-
signal$2(parentIpcRaw);
|
|
693
|
-
const parentIpc = wrap$5(parentIpcRaw);
|
|
694
|
-
const firstMessage = await waitForFirstMessage(parentIpc);
|
|
695
|
-
if (firstMessage.method !== 'initialize') {
|
|
696
|
-
throw new IpcError('unexpected first message');
|
|
697
|
-
}
|
|
698
|
-
const type = firstMessage.params[0];
|
|
699
|
-
if (type === 'message-port') {
|
|
700
|
-
parentIpc.send({
|
|
701
|
-
jsonrpc: '2.0',
|
|
702
|
-
id: firstMessage.id,
|
|
703
|
-
result: null
|
|
704
|
-
});
|
|
705
|
-
parentIpc.dispose();
|
|
706
|
-
const port = firstMessage.params[1];
|
|
707
|
-
return port;
|
|
708
|
-
}
|
|
709
|
-
return globalThis;
|
|
710
|
-
};
|
|
711
|
-
class IpcChildWithModuleWorkerAndMessagePort extends Ipc {
|
|
712
|
-
constructor(port) {
|
|
713
|
-
super(port);
|
|
714
|
-
}
|
|
715
|
-
getData(event) {
|
|
716
|
-
return getData$1(event);
|
|
717
|
-
}
|
|
718
|
-
send(message) {
|
|
719
|
-
this._rawIpc.postMessage(message);
|
|
720
|
-
}
|
|
721
|
-
sendAndTransfer(message) {
|
|
722
|
-
const transfer = getTransferrables(message);
|
|
723
|
-
this._rawIpc.postMessage(message, transfer);
|
|
724
|
-
}
|
|
725
|
-
dispose() {
|
|
726
|
-
if (this._rawIpc.close) {
|
|
727
|
-
this._rawIpc.close();
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
onClose(callback) {
|
|
731
|
-
// ignore
|
|
732
|
-
}
|
|
733
|
-
onMessage(callback) {
|
|
734
|
-
this._rawIpc.addEventListener('message', callback);
|
|
735
|
-
this._rawIpc.start();
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
const wrap$4 = port => {
|
|
739
|
-
return new IpcChildWithModuleWorkerAndMessagePort(port);
|
|
740
|
-
};
|
|
741
|
-
const IpcChildWithModuleWorkerAndMessagePort$1 = {
|
|
742
|
-
__proto__: null,
|
|
743
|
-
listen: listen$1$1,
|
|
744
|
-
wrap: wrap$4
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
const createRpc = ipc => {
|
|
748
|
-
const rpc = {
|
|
749
|
-
/**
|
|
750
|
-
* @deprecated
|
|
751
|
-
*/
|
|
752
|
-
send(method, ...params) {
|
|
753
|
-
send(ipc, method, ...params);
|
|
754
|
-
},
|
|
755
|
-
invoke(method, ...params) {
|
|
756
|
-
return invoke$1(ipc, method, ...params);
|
|
757
|
-
},
|
|
758
|
-
invokeAndTransfer(method, ...params) {
|
|
759
|
-
return invokeAndTransfer(ipc, method, ...params);
|
|
760
|
-
}
|
|
761
|
-
};
|
|
762
|
-
return rpc;
|
|
763
|
-
};
|
|
764
|
-
const requiresSocket = () => {
|
|
765
|
-
return false;
|
|
766
|
-
};
|
|
767
|
-
const preparePrettyError = error => {
|
|
768
|
-
return error;
|
|
769
|
-
};
|
|
770
|
-
const logError = () => {
|
|
771
|
-
// handled by renderer worker
|
|
772
|
-
};
|
|
773
|
-
const handleMessage = event => {
|
|
774
|
-
return handleJsonRpcMessage(event.target, event.data, execute, resolve, preparePrettyError, logError, requiresSocket);
|
|
775
|
-
};
|
|
776
|
-
const handleIpc = ipc => {
|
|
777
|
-
ipc.addEventListener('message', handleMessage);
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
// @ts-ignore
|
|
781
|
-
const listen$1 = async () => {
|
|
782
|
-
const module = IpcChildWithModuleWorkerAndMessagePort$1;
|
|
783
|
-
const rawIpc = await module.listen();
|
|
784
|
-
const ipc = module.wrap(rawIpc);
|
|
785
|
-
return ipc;
|
|
786
|
-
};
|
|
787
|
-
const create$1 = async ({
|
|
788
|
-
commandMap
|
|
789
|
-
}) => {
|
|
790
|
-
// TODO create a commandMap per rpc instance
|
|
791
|
-
register(commandMap);
|
|
792
|
-
const ipc = await listen$1();
|
|
793
|
-
handleIpc(ipc);
|
|
794
|
-
const rpc = createRpc(ipc);
|
|
795
|
-
return rpc;
|
|
796
|
-
};
|
|
797
|
-
const WebWorkerRpcClient = {
|
|
798
|
-
__proto__: null,
|
|
799
|
-
create: create$1
|
|
800
|
-
};
|
|
801
|
-
|
|
802
|
-
const RE_CHARACTERS = /^[a-zA-Z.-]+$/;
|
|
803
|
-
const compareStringNumeric = (a, b) => {
|
|
804
|
-
if (RE_CHARACTERS.test(a) && RE_CHARACTERS.test(b)) {
|
|
805
|
-
return a < b ? -1 : 1;
|
|
806
|
-
}
|
|
807
|
-
return a.localeCompare(b, 'en', {
|
|
808
|
-
numeric: true
|
|
809
|
-
});
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
const BlockDevice = 1;
|
|
813
|
-
const CharacterDevice = 2;
|
|
814
|
-
const Directory = 3;
|
|
815
|
-
const DirectoryExpanded = 4;
|
|
816
|
-
const DirectoryExpanding = 5;
|
|
817
|
-
const File = 7;
|
|
818
|
-
const Socket = 8;
|
|
819
|
-
const Symlink = 9;
|
|
820
|
-
const SymLinkFile = 10;
|
|
821
|
-
const SymLinkFolder = 11;
|
|
822
|
-
const Unknown = 12;
|
|
823
|
-
|
|
824
|
-
const priorityMapFoldersFirst = {
|
|
825
|
-
[Directory]: 1,
|
|
826
|
-
[SymLinkFolder]: 1,
|
|
827
|
-
[File]: 0,
|
|
828
|
-
[SymLinkFile]: 0,
|
|
829
|
-
[Unknown]: 0,
|
|
830
|
-
[Socket]: 0
|
|
831
|
-
};
|
|
832
|
-
const compareDirentType = (direntA, direntB) => {
|
|
833
|
-
return priorityMapFoldersFirst[direntB.type] - priorityMapFoldersFirst[direntA.type];
|
|
834
|
-
};
|
|
835
|
-
const compareDirentName = (direntA, direntB) => {
|
|
836
|
-
return compareStringNumeric(direntA.name, direntB.name);
|
|
837
|
-
};
|
|
838
|
-
const compareDirent = (direntA, direntB) => {
|
|
839
|
-
return compareDirentType(direntA, direntB) || compareDirentName(direntA, direntB);
|
|
840
|
-
};
|
|
841
|
-
|
|
842
|
-
const getFileIcon = ({
|
|
843
|
-
name
|
|
844
|
-
}) => {
|
|
845
|
-
return '';
|
|
846
|
-
};
|
|
847
|
-
const getIcon = dirent => {
|
|
848
|
-
return '';
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
// TODO use posInSet and setSize properties to compute more effectively
|
|
852
|
-
const computeExplorerRenamedDirent = (dirents, index, newName) => {
|
|
853
|
-
let startIndex = index;
|
|
854
|
-
let innerEndIndex = index + 1;
|
|
855
|
-
let insertIndex = -1;
|
|
856
|
-
let posInSet = -1;
|
|
857
|
-
const oldDirent = dirents[index];
|
|
858
|
-
const newDirent = {
|
|
859
|
-
...oldDirent,
|
|
860
|
-
name: newName,
|
|
861
|
-
path: oldDirent.path.slice(0, -oldDirent.name.length) + newName,
|
|
862
|
-
icon: getFileIcon({
|
|
863
|
-
name: newName
|
|
864
|
-
})
|
|
865
|
-
};
|
|
866
|
-
const depth = newDirent.depth;
|
|
867
|
-
// TODO
|
|
868
|
-
for (; startIndex >= 0; startIndex--) {
|
|
869
|
-
const dirent = dirents[startIndex];
|
|
870
|
-
if (dirent.depth > depth) {
|
|
871
|
-
continue;
|
|
872
|
-
}
|
|
873
|
-
if (dirent.depth < depth) {
|
|
874
|
-
break;
|
|
875
|
-
}
|
|
876
|
-
if (compareDirent(dirent, newDirent) === 1) {
|
|
877
|
-
insertIndex = startIndex;
|
|
878
|
-
posInSet = dirent.posInSet;
|
|
879
|
-
// dirent.posInSet++
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
startIndex++;
|
|
883
|
-
for (; innerEndIndex < dirents.length; innerEndIndex++) {
|
|
884
|
-
const dirent = dirents[innerEndIndex];
|
|
885
|
-
if (dirent.depth <= depth) {
|
|
886
|
-
break;
|
|
887
|
-
}
|
|
888
|
-
dirent.path = newDirent.path + dirent.path.slice(oldDirent.path.length);
|
|
889
|
-
}
|
|
890
|
-
innerEndIndex--;
|
|
891
|
-
let endIndex = innerEndIndex + 1;
|
|
892
|
-
for (; endIndex < dirents.length; endIndex++) {
|
|
893
|
-
const dirent = dirents[endIndex];
|
|
894
|
-
if (dirent.depth > depth) {
|
|
895
|
-
continue;
|
|
896
|
-
}
|
|
897
|
-
if (dirent.depth < depth) {
|
|
898
|
-
break;
|
|
899
|
-
}
|
|
900
|
-
if (insertIndex === -1 && compareDirent(dirent, newDirent === -1)) {
|
|
901
|
-
for (; endIndex < dirents.length; endIndex++) {
|
|
902
|
-
}
|
|
903
|
-
insertIndex = endIndex;
|
|
904
|
-
posInSet = dirent.posInSet + 1;
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
endIndex--;
|
|
908
|
-
for (let j = startIndex; j < index; j++) {
|
|
909
|
-
const dirent = dirents[j];
|
|
910
|
-
if (dirent.depth === depth) {
|
|
911
|
-
dirent.posInSet++;
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
for (let j = index; j < endIndex; j++) {
|
|
915
|
-
const dirent = dirents[j];
|
|
916
|
-
if (dirent.depth === depth) {
|
|
917
|
-
dirent.posInSet--;
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
// for (let j = startIndex; j < index; j++) {
|
|
922
|
-
// const dirent = dirents[j]
|
|
923
|
-
// dirent.posInSet++
|
|
924
|
-
// }
|
|
925
|
-
|
|
926
|
-
if (insertIndex === -1) {
|
|
927
|
-
insertIndex = index;
|
|
928
|
-
return {
|
|
929
|
-
focusedIndex: index,
|
|
930
|
-
newDirents: [...dirents.slice(0, index), newDirent, ...dirents.slice(index + 1)]
|
|
931
|
-
};
|
|
932
|
-
}
|
|
933
|
-
newDirent.posInSet = posInSet;
|
|
934
|
-
const newDirents = [...dirents];
|
|
935
|
-
if (index < insertIndex) {
|
|
936
|
-
insertIndex--;
|
|
937
|
-
}
|
|
938
|
-
newDirents.splice(index, 1);
|
|
939
|
-
newDirents.splice(insertIndex, 0, newDirent);
|
|
940
|
-
return {
|
|
941
|
-
newDirents,
|
|
942
|
-
focusedIndex: insertIndex
|
|
943
|
-
};
|
|
944
|
-
};
|
|
945
|
-
|
|
946
|
-
const None$2 = 0;
|
|
947
|
-
const CreateFile = 1;
|
|
948
|
-
const CreateFolder = 2;
|
|
949
|
-
const Rename = 3;
|
|
950
|
-
|
|
951
|
-
const remove = async diren => {};
|
|
952
|
-
const readDirWithFileTypes = async uri => {};
|
|
953
|
-
const getPathSeparator$1 = async root => {};
|
|
954
|
-
const getRealPath = async path => {};
|
|
955
|
-
const stat = async dirent => {};
|
|
956
|
-
const createFile = async uri => {};
|
|
957
|
-
const mkdir = async uri => {};
|
|
958
|
-
const rename$1 = async (oldUri, newUri) => {};
|
|
959
|
-
|
|
960
|
-
class AssertionError extends Error {
|
|
961
|
-
constructor(message) {
|
|
962
|
-
super(message);
|
|
963
|
-
this.name = 'AssertionError';
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
const getType = value => {
|
|
967
|
-
switch (typeof value) {
|
|
968
|
-
case 'number':
|
|
969
|
-
return 'number';
|
|
970
|
-
case 'function':
|
|
971
|
-
return 'function';
|
|
972
|
-
case 'string':
|
|
973
|
-
return 'string';
|
|
974
|
-
case 'object':
|
|
975
|
-
if (value === null) {
|
|
976
|
-
return 'null';
|
|
977
|
-
}
|
|
978
|
-
if (Array.isArray(value)) {
|
|
979
|
-
return 'array';
|
|
980
|
-
}
|
|
981
|
-
return 'object';
|
|
982
|
-
case 'boolean':
|
|
983
|
-
return 'boolean';
|
|
984
|
-
default:
|
|
985
|
-
return 'unknown';
|
|
986
|
-
}
|
|
987
|
-
};
|
|
988
|
-
const object = value => {
|
|
989
|
-
const type = getType(value);
|
|
990
|
-
if (type !== 'object') {
|
|
991
|
-
throw new AssertionError('expected value to be of type object');
|
|
992
|
-
}
|
|
993
|
-
};
|
|
994
|
-
const number = value => {
|
|
995
|
-
const type = getType(value);
|
|
996
|
-
if (type !== 'number') {
|
|
997
|
-
throw new AssertionError('expected value to be of type number');
|
|
998
|
-
}
|
|
999
|
-
};
|
|
1000
|
-
const array = value => {
|
|
1001
|
-
const type = getType(value);
|
|
1002
|
-
if (type !== 'array') {
|
|
1003
|
-
throw new AssertionError('expected value to be of type array');
|
|
1004
|
-
}
|
|
1005
|
-
};
|
|
1006
|
-
const string = value => {
|
|
1007
|
-
const type = getType(value);
|
|
1008
|
-
if (type !== 'string') {
|
|
1009
|
-
throw new AssertionError('expected value to be of type string');
|
|
1010
|
-
}
|
|
1011
|
-
};
|
|
1012
|
-
|
|
1013
|
-
const dirname = (pathSeparator, path) => {
|
|
1014
|
-
const index = path.lastIndexOf(pathSeparator);
|
|
1015
|
-
if (index === -1) {
|
|
1016
|
-
return path;
|
|
1017
|
-
}
|
|
1018
|
-
return path.slice(0, index);
|
|
1019
|
-
};
|
|
1020
|
-
|
|
1021
|
-
const getParentFolder = (dirents, index, root) => {
|
|
1022
|
-
if (index < 0) {
|
|
1023
|
-
return root;
|
|
1024
|
-
}
|
|
1025
|
-
return dirents[index].path;
|
|
1026
|
-
};
|
|
1027
|
-
const acceptCreate = async (state, newDirentType, createFn) => {
|
|
1028
|
-
const {
|
|
1029
|
-
focusedIndex,
|
|
1030
|
-
editingValue
|
|
1031
|
-
} = state;
|
|
1032
|
-
const newFileName = editingValue;
|
|
1033
|
-
if (!newFileName) {
|
|
1034
|
-
// TODO show error message that file name must not be empty
|
|
1035
|
-
// below input box
|
|
1036
|
-
// await ErrorHandling.showErrorDialog(new Error('file name must not be empty'))
|
|
1037
|
-
return state;
|
|
1038
|
-
}
|
|
1039
|
-
const parentFolder = getParentFolder(state.items, focusedIndex, state.root);
|
|
1040
|
-
const absolutePath = [parentFolder, newFileName].join(state.pathSeparator);
|
|
1041
|
-
// TODO better handle error
|
|
1042
|
-
try {
|
|
1043
|
-
await createFn(absolutePath);
|
|
1044
|
-
} catch (error) {
|
|
1045
|
-
// TODO display error
|
|
1046
|
-
return state;
|
|
1047
|
-
}
|
|
1048
|
-
const parentDirent = focusedIndex >= 0 ? state.items[focusedIndex] : {
|
|
1049
|
-
depth: 0,
|
|
1050
|
-
path: state.root
|
|
1051
|
-
};
|
|
1052
|
-
const depth = parentDirent.depth + 1;
|
|
1053
|
-
const newDirent = {
|
|
1054
|
-
path: absolutePath,
|
|
1055
|
-
posInSet: -1,
|
|
1056
|
-
setSize: 1,
|
|
1057
|
-
depth,
|
|
1058
|
-
name: newFileName,
|
|
1059
|
-
type: newDirentType,
|
|
1060
|
-
icon: ''
|
|
1061
|
-
};
|
|
1062
|
-
newDirent.icon = getIcon();
|
|
1063
|
-
let insertIndex = state.focusedIndex;
|
|
1064
|
-
let deltaPosInSet = 0;
|
|
1065
|
-
let posInSet = 1;
|
|
1066
|
-
let setSize = 1;
|
|
1067
|
-
let i = Math.max(state.focusedIndex, -1) + 1;
|
|
1068
|
-
const {
|
|
1069
|
-
items
|
|
1070
|
-
} = state;
|
|
1071
|
-
// TODO update posinset and setsize of all affected dirents
|
|
1072
|
-
for (; i < items.length; i++) {
|
|
1073
|
-
const dirent = items[i];
|
|
1074
|
-
if (dirent.depth !== depth) {
|
|
1075
|
-
break;
|
|
1076
|
-
}
|
|
1077
|
-
const compareResult = compareDirent(dirent, newDirent);
|
|
1078
|
-
if (compareResult === 1) {
|
|
1079
|
-
insertIndex = i - 1;
|
|
1080
|
-
deltaPosInSet = 1 - 1;
|
|
1081
|
-
break;
|
|
1082
|
-
} else {
|
|
1083
|
-
posInSet = dirent.posInSet + 1;
|
|
1084
|
-
setSize = dirent.setSize + 1;
|
|
1085
|
-
insertIndex = i;
|
|
1086
|
-
}
|
|
1087
|
-
dirent.setSize++;
|
|
1088
|
-
dirent.posInSet += deltaPosInSet;
|
|
1089
|
-
}
|
|
1090
|
-
newDirent.setSize = setSize;
|
|
1091
|
-
newDirent.posInSet = posInSet;
|
|
1092
|
-
items.splice(insertIndex + 1, 0, newDirent);
|
|
1093
|
-
const newDirents = [...items];
|
|
1094
|
-
const newMaxlineY = Math.max(state.maxLineY, newDirents.length);
|
|
1095
|
-
return {
|
|
1096
|
-
...state,
|
|
1097
|
-
items: newDirents,
|
|
1098
|
-
editingIndex: -1,
|
|
1099
|
-
focusedIndex: insertIndex + 1,
|
|
1100
|
-
editingType: None$2,
|
|
1101
|
-
maxLineY: newMaxlineY
|
|
1102
|
-
};
|
|
1103
|
-
};
|
|
1104
|
-
const acceptRename = async state => {
|
|
1105
|
-
const {
|
|
1106
|
-
editingIndex,
|
|
1107
|
-
editingValue,
|
|
1108
|
-
items,
|
|
1109
|
-
pathSeparator
|
|
1110
|
-
} = state;
|
|
1111
|
-
const renamedDirent = items[editingIndex];
|
|
1112
|
-
try {
|
|
1113
|
-
// TODO this does not work with rename of nested file
|
|
1114
|
-
const oldAbsolutePath = renamedDirent.path;
|
|
1115
|
-
const oldParentPath = dirname(pathSeparator, oldAbsolutePath);
|
|
1116
|
-
const newAbsolutePath = [oldParentPath, editingValue].join(pathSeparator);
|
|
1117
|
-
await rename$1(oldAbsolutePath, newAbsolutePath);
|
|
1118
|
-
} catch (error) {
|
|
1119
|
-
// TODO
|
|
1120
|
-
// await ErrorHandling.showErrorDialog(error)
|
|
1121
|
-
return state;
|
|
1122
|
-
}
|
|
1123
|
-
const {
|
|
1124
|
-
newDirents,
|
|
1125
|
-
focusedIndex
|
|
1126
|
-
} = computeExplorerRenamedDirent(items, editingIndex, editingValue);
|
|
1127
|
-
// TODO move focused index
|
|
1128
|
-
state.items = newDirents;
|
|
1129
|
-
return {
|
|
1130
|
-
...state,
|
|
1131
|
-
editingIndex: -1,
|
|
1132
|
-
editingValue: '',
|
|
1133
|
-
editingType: None$2,
|
|
1134
|
-
editingIcon: '',
|
|
1135
|
-
focusedIndex,
|
|
1136
|
-
focused: true
|
|
1137
|
-
};
|
|
1138
|
-
};
|
|
1139
|
-
const acceptEdit = state => {
|
|
1140
|
-
const {
|
|
1141
|
-
editingType
|
|
1142
|
-
} = state;
|
|
1143
|
-
switch (editingType) {
|
|
1144
|
-
case CreateFile:
|
|
1145
|
-
return acceptCreate(state, File, createFile);
|
|
1146
|
-
case CreateFolder:
|
|
1147
|
-
return acceptCreate(state, Directory, mkdir);
|
|
1148
|
-
case Rename:
|
|
1149
|
-
return acceptRename(state);
|
|
1150
|
-
default:
|
|
1151
|
-
return state;
|
|
1152
|
-
}
|
|
1153
|
-
};
|
|
1154
|
-
|
|
1155
|
-
const getFocusedDirent$1 = state => {
|
|
1156
|
-
const {
|
|
1157
|
-
focusedIndex,
|
|
1158
|
-
minLineY,
|
|
1159
|
-
items
|
|
1160
|
-
} = state;
|
|
1161
|
-
const dirent = items[focusedIndex + minLineY];
|
|
1162
|
-
return dirent;
|
|
1163
|
-
};
|
|
1164
|
-
|
|
1165
|
-
const copyPath$1 = async state => {
|
|
1166
|
-
// await Command.execute(RendererWorkerCommandType.ClipBoardWriteText, /* text */ path)
|
|
1167
|
-
return state;
|
|
1168
|
-
};
|
|
1169
|
-
|
|
1170
|
-
const state = {
|
|
1171
|
-
rpc: undefined
|
|
1172
|
-
};
|
|
1173
|
-
const invoke = (method, ...params) => {
|
|
1174
|
-
const rpc = state.rpc;
|
|
1175
|
-
// @ts-ignore
|
|
1176
|
-
return rpc.invoke(method, ...params);
|
|
1177
|
-
};
|
|
1178
|
-
const setRpc = rpc => {
|
|
1179
|
-
state.rpc = rpc;
|
|
1180
|
-
};
|
|
1181
|
-
|
|
1182
|
-
const writeText = async text => {
|
|
1183
|
-
await invoke('ClipBoard.writeText', /* text */text);
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
const copyRelativePath$1 = async state => {
|
|
1187
|
-
const dirent = getFocusedDirent$1(state);
|
|
1188
|
-
const relativePath = dirent.path.slice(1);
|
|
1189
|
-
// TODO handle error
|
|
1190
|
-
await writeText(relativePath);
|
|
1191
|
-
return state;
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1194
|
-
const isSymbolicLink = dirent => {
|
|
1195
|
-
return dirent.type === Symlink;
|
|
1196
|
-
};
|
|
1197
|
-
|
|
1198
|
-
const ENOENT = 'ENOENT';
|
|
1199
|
-
|
|
1200
|
-
const getSymlinkType = type => {
|
|
1201
|
-
switch (type) {
|
|
1202
|
-
case File:
|
|
1203
|
-
return SymLinkFile;
|
|
1204
|
-
case Directory:
|
|
1205
|
-
return SymLinkFolder;
|
|
1206
|
-
default:
|
|
1207
|
-
return Symlink;
|
|
1208
|
-
}
|
|
1209
|
-
};
|
|
1210
|
-
|
|
1211
|
-
// TODO maybe resolving of symbolic links should happen in shared process?
|
|
1212
|
-
// so that there is less code and less work in the frontend
|
|
1213
|
-
const resolveSymbolicLink = async (uri, rawDirent) => {
|
|
1214
|
-
try {
|
|
1215
|
-
// TODO support windows paths
|
|
1216
|
-
const absolutePath = uri + '/' + rawDirent.name;
|
|
1217
|
-
const type = await stat(absolutePath);
|
|
1218
|
-
const symLinkType = getSymlinkType(type);
|
|
1219
|
-
return {
|
|
1220
|
-
name: rawDirent.name,
|
|
1221
|
-
type: symLinkType
|
|
1222
|
-
};
|
|
1223
|
-
} catch (error) {
|
|
1224
|
-
// @ts-ignore
|
|
1225
|
-
if (error && error.code === ENOENT) {
|
|
1226
|
-
return {
|
|
1227
|
-
name: rawDirent.name,
|
|
1228
|
-
type: SymLinkFile
|
|
1229
|
-
};
|
|
1230
|
-
}
|
|
1231
|
-
console.error(`Failed to resolve symbolic link for ${rawDirent.name}: ${error}`);
|
|
1232
|
-
return rawDirent;
|
|
1233
|
-
}
|
|
1234
|
-
};
|
|
1235
|
-
const resolveSymbolicLinks = async (uri, rawDirents) => {
|
|
1236
|
-
const promises = [];
|
|
1237
|
-
for (const rawDirent of rawDirents) {
|
|
1238
|
-
if (isSymbolicLink(rawDirent)) {
|
|
1239
|
-
const resolvedDirent = resolveSymbolicLink(uri, rawDirent);
|
|
1240
|
-
promises.push(resolvedDirent);
|
|
1241
|
-
} else {
|
|
1242
|
-
promises.push(rawDirent);
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
const resolvedDirents = await Promise.all(promises);
|
|
1246
|
-
return resolvedDirents;
|
|
1247
|
-
};
|
|
1248
|
-
|
|
1249
|
-
const sortExplorerItems = rawDirents => {
|
|
1250
|
-
rawDirents.sort(compareDirent);
|
|
1251
|
-
};
|
|
1252
|
-
|
|
1253
|
-
const toDisplayDirents = (pathSeparator, rawDirents, parentDirent, excluded) => {
|
|
1254
|
-
sortExplorerItems(rawDirents);
|
|
1255
|
-
// TODO figure out whether this uses too much memory (name,path -> redundant, depth could be computed on demand)
|
|
1256
|
-
const toDisplayDirent = (rawDirent, index) => {
|
|
1257
|
-
const path = [parentDirent.path, rawDirent.name].join(pathSeparator);
|
|
1258
|
-
return {
|
|
1259
|
-
name: rawDirent.name,
|
|
1260
|
-
posInSet: index + 1,
|
|
1261
|
-
setSize: rawDirents.length,
|
|
1262
|
-
depth: parentDirent.depth + 1,
|
|
1263
|
-
type: rawDirent.type,
|
|
1264
|
-
path,
|
|
1265
|
-
// TODO storing absolute path might be too costly, could also store relative path here
|
|
1266
|
-
icon: getIcon()
|
|
1267
|
-
};
|
|
1268
|
-
};
|
|
1269
|
-
const result = [];
|
|
1270
|
-
let i = 0;
|
|
1271
|
-
for (const rawDirent of rawDirents) {
|
|
1272
|
-
if (excluded.includes(rawDirent.name)) {
|
|
1273
|
-
continue;
|
|
1274
|
-
}
|
|
1275
|
-
result.push(toDisplayDirent(rawDirent, i));
|
|
1276
|
-
i++;
|
|
1277
|
-
}
|
|
1278
|
-
return result;
|
|
1279
|
-
};
|
|
1280
|
-
|
|
1281
|
-
const hasSymbolicLinks = rawDirents => {
|
|
1282
|
-
return rawDirents.some(isSymbolicLink);
|
|
1283
|
-
};
|
|
1284
|
-
const getChildDirentsRaw = async uri => {
|
|
1285
|
-
const rawDirents = await readDirWithFileTypes();
|
|
1286
|
-
array(rawDirents);
|
|
1287
|
-
if (hasSymbolicLinks(rawDirents)) {
|
|
1288
|
-
return resolveSymbolicLinks(uri, rawDirents);
|
|
1289
|
-
}
|
|
1290
|
-
return rawDirents;
|
|
1291
|
-
};
|
|
1292
|
-
const getChildDirents = async (pathSeparator, parentDirent, excluded = []) => {
|
|
1293
|
-
string(pathSeparator);
|
|
1294
|
-
object(parentDirent);
|
|
1295
|
-
// TODO use event/actor based code instead, this is impossible to cancel right now
|
|
1296
|
-
// also cancel updating when opening new folder
|
|
1297
|
-
// const dispose = state => state.pendingRequests.forEach(cancelRequest)
|
|
1298
|
-
// TODO should use FileSystem directly in this case because it is globally available anyway
|
|
1299
|
-
// and more typesafe than Command.execute
|
|
1300
|
-
// and more performant
|
|
1301
|
-
const uri = parentDirent.path;
|
|
1302
|
-
const rawDirents = await getChildDirentsRaw(uri);
|
|
1303
|
-
const displayDirents = toDisplayDirents(pathSeparator, rawDirents, parentDirent, excluded);
|
|
1304
|
-
return displayDirents;
|
|
1305
|
-
};
|
|
1306
|
-
|
|
1307
|
-
// TODO optimize this function to return the minimum number
|
|
1308
|
-
// of visible items needed, e.g. when not scrolled 5 items with
|
|
1309
|
-
// 20px fill 100px but when scrolled 6 items are needed
|
|
1310
|
-
const getNumberOfVisibleItems = (listHeight, itemHeight) => {
|
|
1311
|
-
return Math.ceil(listHeight / itemHeight) + 1;
|
|
1312
|
-
};
|
|
1313
|
-
|
|
1314
|
-
const getExplorerMaxLineY = (minLineY, height, itemHeight, direntsLength) => {
|
|
1315
|
-
const maxLineY = minLineY + Math.min(getNumberOfVisibleItems(height, itemHeight), direntsLength);
|
|
1316
|
-
return maxLineY;
|
|
1317
|
-
};
|
|
1318
|
-
|
|
1319
|
-
const expandAll = async state => {
|
|
1320
|
-
const {
|
|
1321
|
-
items,
|
|
1322
|
-
focusedIndex,
|
|
1323
|
-
pathSeparator,
|
|
1324
|
-
minLineY,
|
|
1325
|
-
height,
|
|
1326
|
-
itemHeight
|
|
1327
|
-
} = state;
|
|
1328
|
-
if (focusedIndex === -1) {
|
|
1329
|
-
return state;
|
|
1330
|
-
}
|
|
1331
|
-
const dirent = items[focusedIndex];
|
|
1332
|
-
const depth = dirent.depth;
|
|
1333
|
-
const newDirents = [...items];
|
|
1334
|
-
// TODO fetch child dirents in parallel
|
|
1335
|
-
for (const dirent of newDirents) {
|
|
1336
|
-
if (dirent.depth === depth && dirent.type === Directory) {
|
|
1337
|
-
// TODO expand
|
|
1338
|
-
// TODO avoid mutating state here
|
|
1339
|
-
dirent.type = DirectoryExpanding;
|
|
1340
|
-
// TODO handle error
|
|
1341
|
-
// TODO race condition
|
|
1342
|
-
const childDirents = await getChildDirents(pathSeparator, dirent);
|
|
1343
|
-
const newIndex = newDirents.indexOf(dirent);
|
|
1344
|
-
if (newIndex === -1) {
|
|
1345
|
-
continue;
|
|
1346
|
-
}
|
|
1347
|
-
newDirents.splice(newIndex + 1, 0, ...childDirents);
|
|
1348
|
-
// TODO avoid mutating state here
|
|
1349
|
-
dirent.type = DirectoryExpanded;
|
|
1350
|
-
// await expand(state, dirent.index)
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
const maxLineY = getExplorerMaxLineY(minLineY, height, itemHeight, newDirents.length);
|
|
1354
|
-
return {
|
|
1355
|
-
...state,
|
|
1356
|
-
items: newDirents,
|
|
1357
|
-
maxLineY
|
|
1358
|
-
};
|
|
1359
|
-
};
|
|
1360
|
-
|
|
1361
|
-
const getParentEndIndex = (dirents, index) => {
|
|
1362
|
-
const dirent = dirents[index];
|
|
1363
|
-
let endIndex = index + 1;
|
|
1364
|
-
while (endIndex < dirents.length && dirents[endIndex].depth > dirent.depth) {
|
|
1365
|
-
endIndex++;
|
|
1366
|
-
}
|
|
1367
|
-
return endIndex;
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
const makeExpanded = dirent => {
|
|
1371
|
-
if (dirent.type === Directory) {
|
|
1372
|
-
return {
|
|
1373
|
-
...dirent,
|
|
1374
|
-
type: DirectoryExpanded
|
|
1375
|
-
};
|
|
1376
|
-
}
|
|
1377
|
-
return dirent;
|
|
1378
|
-
};
|
|
1379
|
-
const expandRecursively = async state => {
|
|
1380
|
-
const {
|
|
1381
|
-
items,
|
|
1382
|
-
focusedIndex,
|
|
1383
|
-
pathSeparator,
|
|
1384
|
-
root,
|
|
1385
|
-
height,
|
|
1386
|
-
itemHeight,
|
|
1387
|
-
minLineY
|
|
1388
|
-
} = state;
|
|
1389
|
-
const dirent = focusedIndex < 0 ? {
|
|
1390
|
-
type: Directory,
|
|
1391
|
-
path: root,
|
|
1392
|
-
depth: 0
|
|
1393
|
-
} : items[focusedIndex];
|
|
1394
|
-
if (dirent.type !== Directory && dirent.type !== DirectoryExpanding && dirent.type !== DirectoryExpanded) {
|
|
1395
|
-
return state;
|
|
1396
|
-
}
|
|
1397
|
-
// TODO this is very inefficient
|
|
1398
|
-
const getChildDirentsRecursively = async dirent => {
|
|
1399
|
-
switch (dirent.type) {
|
|
1400
|
-
case File:
|
|
1401
|
-
return [dirent];
|
|
1402
|
-
case Directory:
|
|
1403
|
-
case DirectoryExpanding:
|
|
1404
|
-
case DirectoryExpanded:
|
|
1405
|
-
const childDirents = await getChildDirents(pathSeparator, dirent);
|
|
1406
|
-
const all = [makeExpanded(dirent)];
|
|
1407
|
-
for (const childDirent of childDirents) {
|
|
1408
|
-
const childAll = await getChildDirentsRecursively(childDirent);
|
|
1409
|
-
all.push(...childAll);
|
|
1410
|
-
}
|
|
1411
|
-
return all;
|
|
1412
|
-
default:
|
|
1413
|
-
return [];
|
|
1414
|
-
}
|
|
1415
|
-
};
|
|
1416
|
-
// TODO race condition: what if folder is being collapse while it is recursively expanding?
|
|
1417
|
-
// TODO race condition: what if folder is being deleted while it is recursively expanding?
|
|
1418
|
-
// TODO race condition: what if a new file/folder is created while the folder is recursively expanding?
|
|
1419
|
-
const childDirents = await getChildDirentsRecursively(dirent);
|
|
1420
|
-
const startIndex = focusedIndex;
|
|
1421
|
-
if (focusedIndex >= 0) {
|
|
1422
|
-
const endIndex = getParentEndIndex(items, focusedIndex);
|
|
1423
|
-
const newDirents = [...items.slice(0, startIndex), ...childDirents, ...items.slice(endIndex)];
|
|
1424
|
-
const maxLineY = getExplorerMaxLineY(minLineY, height, itemHeight, newDirents.length);
|
|
1425
|
-
return {
|
|
1426
|
-
...state,
|
|
1427
|
-
items: newDirents,
|
|
1428
|
-
maxLineY
|
|
1429
|
-
};
|
|
1430
|
-
}
|
|
1431
|
-
const newDirents = childDirents.slice(1);
|
|
1432
|
-
const maxLineY = getExplorerMaxLineY(minLineY, height, itemHeight, newDirents.length);
|
|
1433
|
-
return {
|
|
1434
|
-
...state,
|
|
1435
|
-
items: newDirents,
|
|
1436
|
-
maxLineY
|
|
1437
|
-
};
|
|
1438
|
-
};
|
|
1439
|
-
|
|
1440
|
-
const focusIndex = (state, index) => {
|
|
1441
|
-
const {
|
|
1442
|
-
minLineY,
|
|
1443
|
-
maxLineY
|
|
1444
|
-
} = state;
|
|
1445
|
-
if (index < minLineY) {
|
|
1446
|
-
if (index < 0) {
|
|
1447
|
-
return {
|
|
1448
|
-
...state,
|
|
1449
|
-
focusedIndex: index,
|
|
1450
|
-
focused: true
|
|
1451
|
-
};
|
|
1452
|
-
}
|
|
1453
|
-
const diff = maxLineY - minLineY;
|
|
1454
|
-
return {
|
|
1455
|
-
...state,
|
|
1456
|
-
focusedIndex: index,
|
|
1457
|
-
focused: true,
|
|
1458
|
-
minLineY: index,
|
|
1459
|
-
maxLineY: index + diff
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
if (index >= maxLineY) {
|
|
1463
|
-
const diff = maxLineY - minLineY;
|
|
1464
|
-
return {
|
|
1465
|
-
...state,
|
|
1466
|
-
focusedIndex: index,
|
|
1467
|
-
focused: true,
|
|
1468
|
-
minLineY: index + 1 - diff,
|
|
1469
|
-
maxLineY: index + 1
|
|
1470
|
-
};
|
|
1471
|
-
}
|
|
1472
|
-
return {
|
|
1473
|
-
...state,
|
|
1474
|
-
focusedIndex: index,
|
|
1475
|
-
focused: true
|
|
1476
|
-
};
|
|
1477
|
-
};
|
|
1478
|
-
|
|
1479
|
-
const focusFirst = state => {
|
|
1480
|
-
const {
|
|
1481
|
-
focusedIndex,
|
|
1482
|
-
items
|
|
1483
|
-
} = state;
|
|
1484
|
-
if (items.length === 0 || focusedIndex === 0) {
|
|
1485
|
-
return state;
|
|
1486
|
-
}
|
|
1487
|
-
return focusIndex(state, 0);
|
|
1488
|
-
};
|
|
1489
|
-
|
|
1490
|
-
const lastIndex = array => {
|
|
1491
|
-
return array.length - 1;
|
|
1492
|
-
};
|
|
1493
|
-
|
|
1494
|
-
const focusLast = state => {
|
|
1495
|
-
const {
|
|
1496
|
-
focusedIndex,
|
|
1497
|
-
items
|
|
1498
|
-
} = state;
|
|
1499
|
-
const lastIndex$1 = lastIndex(items);
|
|
1500
|
-
if (items.length === 0 || focusedIndex === lastIndex$1) {
|
|
1501
|
-
return state;
|
|
1502
|
-
}
|
|
1503
|
-
return focusIndex(state, lastIndex$1);
|
|
1504
|
-
};
|
|
1505
|
-
|
|
1506
|
-
const focusNext = state => {
|
|
1507
|
-
const {
|
|
1508
|
-
focusedIndex,
|
|
1509
|
-
items
|
|
1510
|
-
} = state;
|
|
1511
|
-
if (focusedIndex === lastIndex(items)) {
|
|
1512
|
-
return state;
|
|
1513
|
-
}
|
|
1514
|
-
return focusIndex(state, focusedIndex + 1);
|
|
1515
|
-
};
|
|
1516
|
-
|
|
1517
|
-
const focusPrevious = state => {
|
|
1518
|
-
const {
|
|
1519
|
-
focusedIndex,
|
|
1520
|
-
items
|
|
1521
|
-
} = state;
|
|
1522
|
-
switch (focusedIndex) {
|
|
1523
|
-
case -1:
|
|
1524
|
-
if (items.length === 0) {
|
|
1525
|
-
return state;
|
|
1526
|
-
}
|
|
1527
|
-
return focusIndex(state, lastIndex(items));
|
|
1528
|
-
case 0:
|
|
1529
|
-
return state;
|
|
1530
|
-
default:
|
|
1531
|
-
return focusIndex(state, focusedIndex - 1);
|
|
1532
|
-
}
|
|
1533
|
-
};
|
|
1534
|
-
|
|
1535
|
-
const None$1 = 'none';
|
|
1536
|
-
const Tree = 'tree';
|
|
1537
|
-
const TreeItem$1 = 'treeitem';
|
|
1538
|
-
|
|
1539
|
-
const Button$1 = 'Button';
|
|
1540
|
-
const ButtonPrimary = 'ButtonPrimary';
|
|
1541
|
-
const Explorer$1 = 'Explorer';
|
|
1542
|
-
const FileIcon = 'FileIcon';
|
|
1543
|
-
const InputBox = 'InputBox';
|
|
1544
|
-
const Label = 'Label';
|
|
1545
|
-
const TreeItem = 'TreeItem';
|
|
1546
|
-
const TreeItemActive = 'TreeItemActive';
|
|
1547
|
-
const Viewlet = 'Viewlet';
|
|
1548
|
-
const Welcome = 'Welcome';
|
|
1549
|
-
const WelcomeMessage = 'WelcomeMessage';
|
|
1550
|
-
|
|
1551
|
-
const HandleBlur = 'handleBlur';
|
|
1552
|
-
const HandleClick = 'handleClick';
|
|
1553
|
-
const handleClickOpenFolder$1 = 'handleClickOpenFolder';
|
|
1554
|
-
const HandleContextMenu = 'handleContextMenu';
|
|
1555
|
-
const HandleFocus = 'handleFocus';
|
|
1556
|
-
const HandlePointerDown = 'handlePointerDown';
|
|
1557
|
-
const HandleWheel = 'handleWheel';
|
|
1558
|
-
|
|
1559
|
-
const emptyObject = {};
|
|
1560
|
-
const RE_PLACEHOLDER = /\{(PH\d+)\}/g;
|
|
1561
|
-
const i18nString = (key, placeholders = emptyObject) => {
|
|
1562
|
-
if (placeholders === emptyObject) {
|
|
1563
|
-
return key;
|
|
1564
|
-
}
|
|
1565
|
-
const replacer = (match, rest) => {
|
|
1566
|
-
return placeholders[rest];
|
|
1567
|
-
};
|
|
1568
|
-
return key.replaceAll(RE_PLACEHOLDER, replacer);
|
|
1569
|
-
};
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* @enum {string}
|
|
1573
|
-
*/
|
|
1574
|
-
const UiStrings = {
|
|
1575
|
-
NewFile: 'New File...',
|
|
1576
|
-
NewFolder: 'New Folder...',
|
|
1577
|
-
OpenContainingFolder: 'Open Containing Folder',
|
|
1578
|
-
OpenInIntegratedTerminal: 'Open in integrated Terminal',
|
|
1579
|
-
Cut: 'Cut',
|
|
1580
|
-
Copy: 'Copy',
|
|
1581
|
-
Paste: 'Paste',
|
|
1582
|
-
CopyPath: 'Copy Path',
|
|
1583
|
-
CopyRelativePath: 'Copy Relative Path',
|
|
1584
|
-
Rename: 'Rename',
|
|
1585
|
-
Delete: 'Delete',
|
|
1586
|
-
RefreshExplorer: 'Refresh Explorer',
|
|
1587
|
-
CollapseAllFoldersInExplorer: 'Collapse All Folders in Explorer',
|
|
1588
|
-
Explorer: 'Explorer',
|
|
1589
|
-
FilesExplorer: 'Files Explorer',
|
|
1590
|
-
YouHaveNotYetOpenedAFolder: 'You have not yet opened a folder',
|
|
1591
|
-
OpenFolder: 'Open folder',
|
|
1592
|
-
NoFolderOpen: 'No Folder Open'
|
|
1593
|
-
};
|
|
1594
|
-
const newFile = () => {
|
|
1595
|
-
return i18nString(UiStrings.NewFile);
|
|
1596
|
-
};
|
|
1597
|
-
const newFolder = () => {
|
|
1598
|
-
return i18nString(UiStrings.NewFolder);
|
|
1599
|
-
};
|
|
1600
|
-
const openContainingFolder$1 = () => {
|
|
1601
|
-
return i18nString(UiStrings.OpenContainingFolder);
|
|
1602
|
-
};
|
|
1603
|
-
const openInIntegratedTerminal = () => {
|
|
1604
|
-
return i18nString(UiStrings.OpenInIntegratedTerminal);
|
|
1605
|
-
};
|
|
1606
|
-
const cut = () => {
|
|
1607
|
-
return i18nString(UiStrings.Cut);
|
|
1608
|
-
};
|
|
1609
|
-
const copy = () => {
|
|
1610
|
-
return i18nString(UiStrings.Copy);
|
|
1611
|
-
};
|
|
1612
|
-
const paste = () => {
|
|
1613
|
-
return i18nString(UiStrings.Paste);
|
|
1614
|
-
};
|
|
1615
|
-
const copyPath = () => {
|
|
1616
|
-
return i18nString(UiStrings.CopyPath);
|
|
1617
|
-
};
|
|
1618
|
-
const copyRelativePath = () => {
|
|
1619
|
-
return i18nString(UiStrings.CopyRelativePath);
|
|
1620
|
-
};
|
|
1621
|
-
const rename = () => {
|
|
1622
|
-
return i18nString(UiStrings.Rename);
|
|
1623
|
-
};
|
|
1624
|
-
const deleteItem = () => {
|
|
1625
|
-
return i18nString(UiStrings.Delete);
|
|
1626
|
-
};
|
|
1627
|
-
const filesExplorer = () => {
|
|
1628
|
-
return i18nString(UiStrings.FilesExplorer);
|
|
1629
|
-
};
|
|
1630
|
-
const youHaveNotYetOpenedAFolder = () => {
|
|
1631
|
-
return i18nString(UiStrings.YouHaveNotYetOpenedAFolder);
|
|
1632
|
-
};
|
|
1633
|
-
const openFolder$1 = () => {
|
|
1634
|
-
return i18nString(UiStrings.OpenFolder);
|
|
1635
|
-
};
|
|
1636
|
-
|
|
1637
|
-
const Button = 1;
|
|
1638
|
-
const Div = 4;
|
|
1639
|
-
const Input = 6;
|
|
1640
|
-
const Text = 12;
|
|
1641
|
-
const Img = 17;
|
|
1642
|
-
const P = 50;
|
|
1643
|
-
|
|
1644
|
-
const getFileIconVirtualDom = icon => {
|
|
1645
|
-
return {
|
|
1646
|
-
type: Img,
|
|
1647
|
-
className: FileIcon,
|
|
1648
|
-
src: icon,
|
|
1649
|
-
role: None$1,
|
|
1650
|
-
childCount: 0
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
|
|
1654
|
-
const defaultIndent = 1;
|
|
1655
|
-
const getTreeItemIndent = depth => {
|
|
1656
|
-
return `${depth * defaultIndent}rem`;
|
|
1657
|
-
};
|
|
1658
|
-
|
|
1659
|
-
const ExplorerInput = 'ExploreerInput';
|
|
1660
|
-
|
|
1661
|
-
const text = data => {
|
|
1662
|
-
return {
|
|
1663
|
-
type: Text,
|
|
1664
|
-
text: data,
|
|
1665
|
-
childCount: 0
|
|
1666
|
-
};
|
|
1667
|
-
};
|
|
1668
|
-
|
|
1669
|
-
const getItemVirtualDomFile = item => {
|
|
1670
|
-
const {
|
|
1671
|
-
posInSet,
|
|
1672
|
-
setSize,
|
|
1673
|
-
icon,
|
|
1674
|
-
name,
|
|
1675
|
-
path,
|
|
1676
|
-
depth,
|
|
1677
|
-
isFocused,
|
|
1678
|
-
isEditing
|
|
1679
|
-
} = item;
|
|
1680
|
-
const dom = [];
|
|
1681
|
-
dom.push({
|
|
1682
|
-
type: Div,
|
|
1683
|
-
role: TreeItem$1,
|
|
1684
|
-
className: TreeItem,
|
|
1685
|
-
draggable: true,
|
|
1686
|
-
title: path,
|
|
1687
|
-
ariaPosInSet: posInSet,
|
|
1688
|
-
ariaSetSize: setSize,
|
|
1689
|
-
ariaLevel: depth,
|
|
1690
|
-
childCount: 2,
|
|
1691
|
-
paddingLeft: getTreeItemIndent(depth),
|
|
1692
|
-
ariaLabel: name,
|
|
1693
|
-
ariaDescription: ''
|
|
1694
|
-
}, getFileIconVirtualDom(icon));
|
|
1695
|
-
if (isEditing) {
|
|
1696
|
-
dom.push({
|
|
1697
|
-
type: Input,
|
|
1698
|
-
className: InputBox,
|
|
1699
|
-
id: 'ExplorerInput',
|
|
1700
|
-
onInput: 'handleEditingInput',
|
|
1701
|
-
childCount: 0,
|
|
1702
|
-
name: ExplorerInput
|
|
1703
|
-
});
|
|
1704
|
-
} else {
|
|
1705
|
-
dom.push({
|
|
1706
|
-
type: Div,
|
|
1707
|
-
className: Label,
|
|
1708
|
-
childCount: 1
|
|
1709
|
-
}, text(name));
|
|
1710
|
-
}
|
|
1711
|
-
if (isFocused) {
|
|
1712
|
-
// @ts-ignore
|
|
1713
|
-
dom[0].id = 'TreeItemActive';
|
|
1714
|
-
// @ts-ignore
|
|
1715
|
-
dom[0].className += ' ' + TreeItemActive;
|
|
1716
|
-
}
|
|
1717
|
-
return dom;
|
|
1718
|
-
};
|
|
1719
|
-
const getItemVirtualDomFolder = item => {
|
|
1720
|
-
const {
|
|
1721
|
-
posInSet,
|
|
1722
|
-
setSize,
|
|
1723
|
-
icon,
|
|
1724
|
-
name,
|
|
1725
|
-
path,
|
|
1726
|
-
depth,
|
|
1727
|
-
type,
|
|
1728
|
-
isFocused
|
|
1729
|
-
} = item;
|
|
1730
|
-
let ariaExpanded = '';
|
|
1731
|
-
switch (type) {
|
|
1732
|
-
// TODO decide on directory vs folder
|
|
1733
|
-
case Directory:
|
|
1734
|
-
ariaExpanded = 'false';
|
|
1735
|
-
break;
|
|
1736
|
-
case DirectoryExpanding:
|
|
1737
|
-
ariaExpanded = 'true'; // TODO tree should be aria-busy then
|
|
1738
|
-
break;
|
|
1739
|
-
case DirectoryExpanded:
|
|
1740
|
-
ariaExpanded = 'true';
|
|
1741
|
-
break;
|
|
1742
|
-
}
|
|
1743
|
-
const dom = [];
|
|
1744
|
-
dom.push({
|
|
1745
|
-
type: Div,
|
|
1746
|
-
role: TreeItem$1,
|
|
1747
|
-
className: TreeItem,
|
|
1748
|
-
draggable: true,
|
|
1749
|
-
title: path,
|
|
1750
|
-
ariaPosInSet: posInSet,
|
|
1751
|
-
ariaSetSize: setSize,
|
|
1752
|
-
ariaLevel: depth,
|
|
1753
|
-
childCount: 2,
|
|
1754
|
-
paddingLeft: getTreeItemIndent(depth),
|
|
1755
|
-
ariaLabel: name,
|
|
1756
|
-
ariaExpanded,
|
|
1757
|
-
ariaDescription: ''
|
|
1758
|
-
});
|
|
1759
|
-
dom.push(getFileIconVirtualDom(icon), {
|
|
1760
|
-
type: Div,
|
|
1761
|
-
className: Label,
|
|
1762
|
-
childCount: 1
|
|
1763
|
-
}, text(name));
|
|
1764
|
-
if (isFocused) {
|
|
1765
|
-
// @ts-ignore
|
|
1766
|
-
dom[0].id = 'TreeItemActive';
|
|
1767
|
-
}
|
|
1768
|
-
return dom;
|
|
1769
|
-
};
|
|
1770
|
-
const getExplorerItemVirtualDom = item => {
|
|
1771
|
-
const {
|
|
1772
|
-
type
|
|
1773
|
-
} = item;
|
|
1774
|
-
switch (type) {
|
|
1775
|
-
case Directory:
|
|
1776
|
-
case DirectoryExpanding:
|
|
1777
|
-
case DirectoryExpanded:
|
|
1778
|
-
return getItemVirtualDomFolder(item);
|
|
1779
|
-
default:
|
|
1780
|
-
return getItemVirtualDomFile(item);
|
|
1781
|
-
}
|
|
1782
|
-
};
|
|
1783
|
-
|
|
1784
|
-
const mergeClassNames = (...classNames) => {
|
|
1785
|
-
return classNames.filter(Boolean).join(' ');
|
|
1786
|
-
};
|
|
1787
|
-
|
|
1788
|
-
const getExplorerWelcomeVirtualDom = isWide => {
|
|
1789
|
-
return [{
|
|
1790
|
-
type: Div,
|
|
1791
|
-
className: mergeClassNames(Viewlet, Explorer$1),
|
|
1792
|
-
tabIndex: 0,
|
|
1793
|
-
childCount: 1
|
|
1794
|
-
}, {
|
|
1795
|
-
type: Div,
|
|
1796
|
-
className: Welcome,
|
|
1797
|
-
childCount: 2
|
|
1798
|
-
}, {
|
|
1799
|
-
type: P,
|
|
1800
|
-
className: WelcomeMessage,
|
|
1801
|
-
childCount: 1
|
|
1802
|
-
}, text(youHaveNotYetOpenedAFolder()), {
|
|
1803
|
-
type: Button,
|
|
1804
|
-
className: mergeClassNames(Button$1, ButtonPrimary, isWide ? 'ButtonWide' : 'ButtonNarrow'),
|
|
1805
|
-
childCount: 1,
|
|
1806
|
-
onClick: handleClickOpenFolder$1
|
|
1807
|
-
}, text(openFolder$1())];
|
|
1808
|
-
};
|
|
1809
|
-
|
|
1810
|
-
const getExplorerVirtualDom = (visibleItems, focusedIndex, root, isWide) => {
|
|
1811
|
-
if (!root) {
|
|
1812
|
-
return getExplorerWelcomeVirtualDom(isWide);
|
|
1813
|
-
}
|
|
1814
|
-
const dom = [];
|
|
1815
|
-
dom.push({
|
|
1816
|
-
type: Div,
|
|
1817
|
-
className: mergeClassNames(Viewlet, Explorer$1),
|
|
1818
|
-
tabIndex: 0,
|
|
1819
|
-
role: Tree,
|
|
1820
|
-
ariaLabel: filesExplorer(),
|
|
1821
|
-
childCount: visibleItems.length,
|
|
1822
|
-
ariaActiveDescendant: focusedIndex >= 0 ? 'TreeItemActive' : undefined,
|
|
1823
|
-
onFocus: HandleFocus,
|
|
1824
|
-
onBlur: HandleBlur,
|
|
1825
|
-
onContextMenu: HandleContextMenu,
|
|
1826
|
-
onPointerDown: HandlePointerDown,
|
|
1827
|
-
onWheel: HandleWheel,
|
|
1828
|
-
onClick: HandleClick
|
|
1829
|
-
});
|
|
1830
|
-
dom.push(...visibleItems.flatMap(getExplorerItemVirtualDom));
|
|
1831
|
-
return dom;
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
|
-
const Enter = 3;
|
|
1835
|
-
const Escape = 8;
|
|
1836
|
-
const Space = 9;
|
|
1837
|
-
const End = 255;
|
|
1838
|
-
const Home = 12;
|
|
1839
|
-
const LeftArrow = 13;
|
|
1840
|
-
const UpArrow = 14;
|
|
1841
|
-
const RightArrow = 15;
|
|
1842
|
-
const DownArrow = 16;
|
|
1843
|
-
const Delete = 18;
|
|
1844
|
-
const KeyC = 31;
|
|
1845
|
-
const KeyV = 50;
|
|
1846
|
-
const F2 = 58;
|
|
1847
|
-
const Star = 131;
|
|
1848
|
-
|
|
1849
|
-
const CtrlCmd = 1 << 11 >>> 0;
|
|
1850
|
-
const Alt = 1 << 9 >>> 0;
|
|
1851
|
-
|
|
1852
|
-
const FocusExplorer = 13;
|
|
1853
|
-
const FocusExplorerEditBox = 14;
|
|
1854
|
-
|
|
1855
|
-
const getKeyBindings = () => {
|
|
1856
|
-
return [{
|
|
1857
|
-
key: RightArrow,
|
|
1858
|
-
command: 'Explorer.handleArrowRight',
|
|
1859
|
-
when: FocusExplorer
|
|
1860
|
-
}, {
|
|
1861
|
-
key: LeftArrow,
|
|
1862
|
-
command: 'Explorer.handleArrowLeft',
|
|
1863
|
-
when: FocusExplorer
|
|
1864
|
-
}, {
|
|
1865
|
-
key: Home,
|
|
1866
|
-
command: 'Explorer.focusFirst',
|
|
1867
|
-
when: FocusExplorer
|
|
1868
|
-
}, {
|
|
1869
|
-
key: End,
|
|
1870
|
-
command: 'Explorer.focusLast',
|
|
1871
|
-
when: FocusExplorer
|
|
1872
|
-
}, {
|
|
1873
|
-
key: UpArrow,
|
|
1874
|
-
command: 'Explorer.focusPrevious',
|
|
1875
|
-
when: FocusExplorer
|
|
1876
|
-
}, {
|
|
1877
|
-
key: DownArrow,
|
|
1878
|
-
command: 'Explorer.focusNext',
|
|
1879
|
-
when: FocusExplorer
|
|
1880
|
-
}, {
|
|
1881
|
-
key: CtrlCmd | Star,
|
|
1882
|
-
command: 'Explorer.expandAll',
|
|
1883
|
-
when: FocusExplorer
|
|
1884
|
-
}, {
|
|
1885
|
-
key: Alt | RightArrow,
|
|
1886
|
-
command: 'Explorer.expandRecursively',
|
|
1887
|
-
when: FocusExplorer
|
|
1888
|
-
}, {
|
|
1889
|
-
key: CtrlCmd | LeftArrow,
|
|
1890
|
-
command: 'Explorer.collapseAll',
|
|
1891
|
-
when: FocusExplorer
|
|
1892
|
-
}, {
|
|
1893
|
-
key: CtrlCmd | KeyV,
|
|
1894
|
-
command: 'Explorer.handlePaste',
|
|
1895
|
-
when: FocusExplorer
|
|
1896
|
-
}, {
|
|
1897
|
-
key: CtrlCmd | KeyC,
|
|
1898
|
-
command: 'Explorer.handleCopy',
|
|
1899
|
-
when: FocusExplorer
|
|
1900
|
-
}, {
|
|
1901
|
-
key: F2,
|
|
1902
|
-
command: 'Explorer.rename',
|
|
1903
|
-
when: FocusExplorer
|
|
1904
|
-
}, {
|
|
1905
|
-
key: Escape,
|
|
1906
|
-
command: 'Explorer.cancelEdit',
|
|
1907
|
-
when: FocusExplorerEditBox
|
|
1908
|
-
}, {
|
|
1909
|
-
key: Enter,
|
|
1910
|
-
command: 'Explorer.acceptEdit',
|
|
1911
|
-
when: FocusExplorerEditBox
|
|
1912
|
-
}, {
|
|
1913
|
-
key: Delete,
|
|
1914
|
-
command: 'Explorer.removeDirent',
|
|
1915
|
-
when: FocusExplorer
|
|
1916
|
-
}, {
|
|
1917
|
-
key: Escape,
|
|
1918
|
-
command: 'Explorer.focusNone',
|
|
1919
|
-
when: FocusExplorer
|
|
1920
|
-
}, {
|
|
1921
|
-
key: Space,
|
|
1922
|
-
command: 'Explorer.handleClickCurrentButKeepFocus',
|
|
1923
|
-
when: FocusExplorer
|
|
1924
|
-
}, {
|
|
1925
|
-
key: Enter,
|
|
1926
|
-
command: 'Explorer.handleClickCurrent',
|
|
1927
|
-
when: FocusExplorer
|
|
1928
|
-
}];
|
|
1929
|
-
};
|
|
1930
|
-
|
|
1931
|
-
const Separator = 1;
|
|
1932
|
-
const None = 0;
|
|
1933
|
-
const RestoreFocus = 6;
|
|
1934
|
-
|
|
1935
|
-
const menuEntrySeparator = {
|
|
1936
|
-
id: 'separator',
|
|
1937
|
-
label: '',
|
|
1938
|
-
flags: Separator,
|
|
1939
|
-
command: ''
|
|
1940
|
-
};
|
|
1941
|
-
|
|
1942
|
-
const menuEntryNewFile = {
|
|
1943
|
-
id: 'newFile',
|
|
1944
|
-
label: newFile(),
|
|
1945
|
-
flags: None,
|
|
1946
|
-
command: 'Explorer.newFile'
|
|
1947
|
-
};
|
|
1948
|
-
const menuEntryNewFolder = {
|
|
1949
|
-
id: 'newFolder',
|
|
1950
|
-
label: newFolder(),
|
|
1951
|
-
flags: None,
|
|
1952
|
-
command: 'Explorer.newFolder'
|
|
1953
|
-
};
|
|
1954
|
-
const menuEntryOpenContainingFolder = {
|
|
1955
|
-
id: 'openContainingFolder',
|
|
1956
|
-
label: openContainingFolder$1(),
|
|
1957
|
-
flags: RestoreFocus,
|
|
1958
|
-
command: 'Explorer.openContainingFolder'
|
|
1959
|
-
};
|
|
1960
|
-
const menuEntryOpenInIntegratedTerminal = {
|
|
1961
|
-
id: 'openInIntegratedTerminal',
|
|
1962
|
-
label: openInIntegratedTerminal(),
|
|
1963
|
-
flags: None,
|
|
1964
|
-
command: /* TODO */-1
|
|
1965
|
-
};
|
|
1966
|
-
const menuEntryCut = {
|
|
1967
|
-
id: 'cut',
|
|
1968
|
-
label: cut(),
|
|
1969
|
-
flags: RestoreFocus,
|
|
1970
|
-
command: /* TODO */-1
|
|
1971
|
-
};
|
|
1972
|
-
const menuEntryCopy = {
|
|
1973
|
-
id: 'copy',
|
|
1974
|
-
label: copy(),
|
|
1975
|
-
flags: RestoreFocus,
|
|
1976
|
-
command: 'Explorer.handleCopy'
|
|
1977
|
-
};
|
|
1978
|
-
const menuEntryPaste = {
|
|
1979
|
-
id: 'paste',
|
|
1980
|
-
label: paste(),
|
|
1981
|
-
flags: None,
|
|
1982
|
-
command: 'Explorer.handlePaste'
|
|
1983
|
-
};
|
|
1984
|
-
const menuEntryCopyPath = {
|
|
1985
|
-
id: 'copyPath',
|
|
1986
|
-
label: copyPath(),
|
|
1987
|
-
flags: RestoreFocus,
|
|
1988
|
-
command: 'Explorer.copyPath'
|
|
1989
|
-
};
|
|
1990
|
-
const menuEntryCopyRelativePath = {
|
|
1991
|
-
id: 'copyRelativePath',
|
|
1992
|
-
label: copyRelativePath(),
|
|
1993
|
-
flags: RestoreFocus,
|
|
1994
|
-
command: 'Explorer.copyRelativePath'
|
|
1995
|
-
};
|
|
1996
|
-
const menuEntryRename = {
|
|
1997
|
-
id: 'rename',
|
|
1998
|
-
label: rename(),
|
|
1999
|
-
flags: None,
|
|
2000
|
-
command: 'Explorer.renameDirent'
|
|
2001
|
-
};
|
|
2002
|
-
const menuEntryDelete = {
|
|
2003
|
-
id: 'delete',
|
|
2004
|
-
label: deleteItem(),
|
|
2005
|
-
flags: None,
|
|
2006
|
-
command: 'Explorer.removeDirent'
|
|
2007
|
-
};
|
|
2008
|
-
const ALL_ENTRIES = [menuEntryNewFile, menuEntryNewFolder, menuEntryOpenContainingFolder, menuEntryOpenInIntegratedTerminal, menuEntrySeparator, menuEntryCut, menuEntryCopy, menuEntryPaste, menuEntrySeparator, menuEntryCopyPath, menuEntryCopyRelativePath, menuEntrySeparator, menuEntryRename, menuEntryDelete];
|
|
2009
|
-
|
|
2010
|
-
// TODO there are two possible ways of getting the focused dirent of explorer
|
|
2011
|
-
// 1. directly access state of explorer (bad because it directly accesses state of another component)
|
|
2012
|
-
// 2. expose getFocusedDirent method in explorer (bad because explorer code should not know about for menuEntriesExplorer, which needs that method)
|
|
2013
|
-
const getFocusedDirent = explorerState => {
|
|
2014
|
-
if (!explorerState || explorerState.focusedIndex < 0) {
|
|
2015
|
-
return undefined;
|
|
2016
|
-
}
|
|
2017
|
-
return explorerState.items[explorerState.focusedIndex];
|
|
2018
|
-
};
|
|
2019
|
-
const getMenuEntriesDirectory = () => {
|
|
2020
|
-
return ALL_ENTRIES;
|
|
2021
|
-
};
|
|
2022
|
-
const getMenuEntriesFile = () => {
|
|
2023
|
-
return [menuEntryOpenContainingFolder, menuEntryOpenInIntegratedTerminal, menuEntrySeparator, menuEntryCut, menuEntryCopy, menuEntryPaste, menuEntrySeparator, menuEntryCopyPath, menuEntryCopyRelativePath, menuEntrySeparator, menuEntryRename, menuEntryDelete];
|
|
2024
|
-
};
|
|
2025
|
-
const getMenuEntriesDefault = () => {
|
|
2026
|
-
return ALL_ENTRIES;
|
|
2027
|
-
};
|
|
2028
|
-
const getMenuEntriesRoot = () => {
|
|
2029
|
-
return [menuEntryNewFile, menuEntryNewFolder, menuEntryOpenContainingFolder, menuEntryOpenInIntegratedTerminal, menuEntrySeparator, menuEntryPaste, menuEntrySeparator, menuEntryCopyPath, menuEntryCopyRelativePath];
|
|
2030
|
-
};
|
|
2031
|
-
const getMenuEntries = state => {
|
|
2032
|
-
const focusedDirent = getFocusedDirent(state);
|
|
2033
|
-
if (!focusedDirent) {
|
|
2034
|
-
return getMenuEntriesRoot();
|
|
2035
|
-
}
|
|
2036
|
-
switch (focusedDirent.type) {
|
|
2037
|
-
case Directory:
|
|
2038
|
-
return getMenuEntriesDirectory();
|
|
2039
|
-
case File:
|
|
2040
|
-
return getMenuEntriesFile();
|
|
2041
|
-
default:
|
|
2042
|
-
return getMenuEntriesDefault();
|
|
2043
|
-
}
|
|
2044
|
-
};
|
|
2045
|
-
|
|
2046
|
-
const getVisibleExplorerItems = (items, minLineY, maxLineY, focusedIndex, editingIndex, editingType, editingValue) => {
|
|
2047
|
-
const visible = [];
|
|
2048
|
-
for (let i = minLineY; i < Math.min(maxLineY, items.length); i++) {
|
|
2049
|
-
const item = items[i];
|
|
2050
|
-
if (i === editingIndex) {
|
|
2051
|
-
visible.push({
|
|
2052
|
-
...item,
|
|
2053
|
-
isFocused: i === focusedIndex,
|
|
2054
|
-
isEditing: true,
|
|
2055
|
-
icon: getFileIcon({
|
|
2056
|
-
name: editingValue
|
|
2057
|
-
})
|
|
2058
|
-
});
|
|
2059
|
-
} else {
|
|
2060
|
-
visible.push({
|
|
2061
|
-
...item,
|
|
2062
|
-
isFocused: i === focusedIndex
|
|
2063
|
-
});
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
if (editingType !== None$2 && editingIndex === -1) {
|
|
2067
|
-
visible.push({
|
|
2068
|
-
depth: 3,
|
|
2069
|
-
posInSet: 1,
|
|
2070
|
-
setSize: 1,
|
|
2071
|
-
icon: '',
|
|
2072
|
-
isFocused: false,
|
|
2073
|
-
name: 'new',
|
|
2074
|
-
path: '/test/new',
|
|
2075
|
-
type: 2,
|
|
2076
|
-
isEditing: true
|
|
2077
|
-
});
|
|
2078
|
-
}
|
|
2079
|
-
return visible;
|
|
2080
|
-
};
|
|
2081
|
-
|
|
2082
|
-
const getIndexFromPosition = (state, eventX, eventY) => {
|
|
2083
|
-
const {
|
|
2084
|
-
y,
|
|
2085
|
-
itemHeight,
|
|
2086
|
-
items
|
|
2087
|
-
} = state;
|
|
2088
|
-
const index = Math.floor((eventY - y) / itemHeight);
|
|
2089
|
-
if (index < 0) {
|
|
2090
|
-
return 0;
|
|
2091
|
-
}
|
|
2092
|
-
if (index >= items.length) {
|
|
2093
|
-
return -1;
|
|
2094
|
-
}
|
|
2095
|
-
return index;
|
|
2096
|
-
};
|
|
2097
|
-
|
|
2098
|
-
const getParentStartIndex = (dirents, index) => {
|
|
2099
|
-
const dirent = dirents[index];
|
|
2100
|
-
let startIndex = index - 1;
|
|
2101
|
-
while (startIndex >= 0 && dirents[startIndex].depth >= dirent.depth) {
|
|
2102
|
-
startIndex--;
|
|
2103
|
-
}
|
|
2104
|
-
return startIndex;
|
|
2105
|
-
};
|
|
2106
|
-
|
|
2107
|
-
const Keyboard = -1;
|
|
2108
|
-
const LeftClick = 0;
|
|
2109
|
-
|
|
2110
|
-
const openFolder = async () => {
|
|
2111
|
-
// TODO
|
|
2112
|
-
};
|
|
2113
|
-
|
|
2114
|
-
// TODO viewlet should only have create and refresh functions
|
|
2115
|
-
// every thing else can be in a separate module <viewlet>.lazy.js
|
|
2116
|
-
// and <viewlet>.ipc.js
|
|
2117
|
-
|
|
2118
|
-
// viewlet: creating | refreshing | done | disposed
|
|
2119
|
-
// TODO recycle viewlets (maybe)
|
|
2120
|
-
|
|
2121
|
-
// TODO instead of root string, there should be a root dirent
|
|
2122
|
-
|
|
2123
|
-
const updateIcon = dirent => {
|
|
2124
|
-
return {
|
|
2125
|
-
...dirent,
|
|
2126
|
-
icon: getIcon()
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const updateIcons = state => {
|
|
2130
|
-
const newDirents = state.items.map(updateIcon);
|
|
2131
|
-
return {
|
|
2132
|
-
...state,
|
|
2133
|
-
items: newDirents
|
|
2134
|
-
};
|
|
2135
|
-
};
|
|
2136
|
-
const handleIconThemeChange = state => {
|
|
2137
|
-
return updateIcons(state);
|
|
2138
|
-
};
|
|
2139
|
-
|
|
2140
|
-
// TODO rename dirents to items, then can use virtual list component directly
|
|
2141
|
-
const setDeltaY = (state, deltaY) => {
|
|
2142
|
-
const {
|
|
2143
|
-
itemHeight,
|
|
2144
|
-
height,
|
|
2145
|
-
items
|
|
2146
|
-
} = state;
|
|
2147
|
-
if (deltaY < 0) {
|
|
2148
|
-
deltaY = 0;
|
|
2149
|
-
} else if (deltaY > items.length * itemHeight - height) {
|
|
2150
|
-
deltaY = Math.max(items.length * itemHeight - height, 0);
|
|
2151
|
-
}
|
|
2152
|
-
if (state.deltaY === deltaY) {
|
|
2153
|
-
return state;
|
|
2154
|
-
}
|
|
2155
|
-
const minLineY = Math.round(deltaY / itemHeight);
|
|
2156
|
-
const maxLineY = minLineY + Math.round(height / itemHeight);
|
|
2157
|
-
return {
|
|
2158
|
-
...state,
|
|
2159
|
-
deltaY,
|
|
2160
|
-
minLineY,
|
|
2161
|
-
maxLineY
|
|
2162
|
-
};
|
|
2163
|
-
};
|
|
2164
|
-
const handleWheel = (state, deltaMode, deltaY) => {
|
|
2165
|
-
return setDeltaY(state, state.deltaY + deltaY);
|
|
2166
|
-
};
|
|
2167
|
-
|
|
2168
|
-
// TODO support multiselection and removing multiple dirents
|
|
2169
|
-
const removeDirent = async state => {
|
|
2170
|
-
if (state.focusedIndex < 0) {
|
|
2171
|
-
return state;
|
|
2172
|
-
}
|
|
2173
|
-
const dirent = getFocusedDirent$1(state);
|
|
2174
|
-
const absolutePath = dirent.path;
|
|
2175
|
-
try {
|
|
2176
|
-
// TODO handle error
|
|
2177
|
-
await remove(absolutePath);
|
|
2178
|
-
} catch (error) {
|
|
2179
|
-
// TODO vscode shows error as alert (no stacktrace) and retry button
|
|
2180
|
-
// maybe should show alert as well, but where to put stacktrace?
|
|
2181
|
-
// on web should probably show notification (dialog)
|
|
2182
|
-
// ErrorHandling.handleError(error)
|
|
2183
|
-
// await ErrorHandling.showErrorDialog(error)
|
|
2184
|
-
return;
|
|
2185
|
-
}
|
|
2186
|
-
// TODO avoid state mutation
|
|
2187
|
-
const newVersion = ++state.version;
|
|
2188
|
-
// TODO race condition
|
|
2189
|
-
// const newState = await loadContent(state:any)
|
|
2190
|
-
if (state.version !== newVersion || state.disposed) {
|
|
2191
|
-
return state;
|
|
2192
|
-
}
|
|
2193
|
-
// TODO is it possible to make this more functional instead of mutating state?
|
|
2194
|
-
// maybe every function returns a new state?
|
|
2195
|
-
const index = state.items.indexOf(dirent);
|
|
2196
|
-
let deleteEnd = index + 1;
|
|
2197
|
-
for (; deleteEnd < state.items.length; deleteEnd++) {
|
|
2198
|
-
if (state.items[deleteEnd].depth <= dirent.depth) {
|
|
2199
|
-
break;
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
const deleteCount = deleteEnd - index;
|
|
2203
|
-
const newDirents = [...state.items];
|
|
2204
|
-
newDirents.splice(index, deleteCount);
|
|
2205
|
-
let indexToFocus = -1;
|
|
2206
|
-
if (newDirents.length === 0) {
|
|
2207
|
-
indexToFocus = -1;
|
|
2208
|
-
} else if (index < state.focusedIndex) {
|
|
2209
|
-
indexToFocus = state.focusedIndex - 1;
|
|
2210
|
-
} else if (index === state.focusedIndex) {
|
|
2211
|
-
indexToFocus = Math.max(state.focusedIndex - 1, 0);
|
|
2212
|
-
} else {
|
|
2213
|
-
indexToFocus = Math.max(state.focusedIndex - 1, 0);
|
|
2214
|
-
}
|
|
2215
|
-
return {
|
|
2216
|
-
...state,
|
|
2217
|
-
items: newDirents,
|
|
2218
|
-
focusedIndex: indexToFocus
|
|
2219
|
-
};
|
|
2220
|
-
};
|
|
2221
|
-
const renameDirent = state => {
|
|
2222
|
-
const {
|
|
2223
|
-
focusedIndex,
|
|
2224
|
-
items
|
|
2225
|
-
} = state;
|
|
2226
|
-
const item = items[focusedIndex];
|
|
2227
|
-
// Focus.setFocus(FocusKey.ExplorerEditBox)
|
|
2228
|
-
return {
|
|
2229
|
-
...state,
|
|
2230
|
-
editingIndex: focusedIndex,
|
|
2231
|
-
editingType: Rename,
|
|
2232
|
-
editingValue: item.name
|
|
2233
|
-
};
|
|
2234
|
-
};
|
|
2235
|
-
|
|
2236
|
-
// TODO use posInSet and setSize properties to compute more effectively
|
|
2237
|
-
|
|
2238
|
-
const cancelEdit = state => {
|
|
2239
|
-
const {
|
|
2240
|
-
editingIndex
|
|
2241
|
-
} = state;
|
|
2242
|
-
return {
|
|
2243
|
-
...state,
|
|
2244
|
-
focusedIndex: editingIndex,
|
|
2245
|
-
focused: true,
|
|
2246
|
-
editingIndex: -1,
|
|
2247
|
-
editingValue: '',
|
|
2248
|
-
editingType: None$2
|
|
2249
|
-
};
|
|
2250
|
-
};
|
|
2251
|
-
|
|
2252
|
-
// TODO much shared logic with newFolder
|
|
2253
|
-
|
|
2254
|
-
const handleClickFile = async (state, dirent, index, keepFocus = false) => {
|
|
2255
|
-
// await Command.execute(/* Main.openAbsolutePath */ 'Main.openUri', /* absolutePath */ dirent.path, /* focus */ !keepFocus)
|
|
2256
|
-
return {
|
|
2257
|
-
...state,
|
|
2258
|
-
focusedIndex: index,
|
|
2259
|
-
focused: keepFocus
|
|
2260
|
-
};
|
|
2261
|
-
};
|
|
2262
|
-
const handleClickDirectory = async (state, dirent, index, keepFocus) => {
|
|
2263
|
-
dirent.type = DirectoryExpanding;
|
|
2264
|
-
// TODO handle error
|
|
2265
|
-
const dirents = await getChildDirents(state.pathSeparator, dirent);
|
|
2266
|
-
const state2 = {};
|
|
2267
|
-
if (!state2) {
|
|
2268
|
-
return state;
|
|
2269
|
-
}
|
|
2270
|
-
// TODO use Viewlet.getState here and check if it exists
|
|
2271
|
-
const newIndex = state2.items.indexOf(dirent);
|
|
2272
|
-
// TODO if viewlet is disposed or root has changed, return
|
|
2273
|
-
if (newIndex === -1) {
|
|
2274
|
-
return state;
|
|
2275
|
-
}
|
|
2276
|
-
const newDirents = [...state2.items];
|
|
2277
|
-
newDirents.splice(newIndex + 1, 0, ...dirents);
|
|
2278
|
-
dirent.type = DirectoryExpanded;
|
|
2279
|
-
dirent.icon = getIcon();
|
|
2280
|
-
const {
|
|
2281
|
-
height,
|
|
2282
|
-
itemHeight,
|
|
2283
|
-
minLineY
|
|
2284
|
-
} = state2;
|
|
2285
|
-
// TODO when focused index has changed while expanding, don't update it
|
|
2286
|
-
const maxLineY = getExplorerMaxLineY(minLineY, height, itemHeight, newDirents.length);
|
|
2287
|
-
return {
|
|
2288
|
-
...state,
|
|
2289
|
-
items: newDirents,
|
|
2290
|
-
focusedIndex: newIndex,
|
|
2291
|
-
focused: keepFocus,
|
|
2292
|
-
maxLineY
|
|
2293
|
-
};
|
|
2294
|
-
};
|
|
2295
|
-
const handleClickDirectoryExpanding = (state, dirent, index, keepFocus) => {
|
|
2296
|
-
dirent.type = Directory;
|
|
2297
|
-
dirent.icon = getIcon();
|
|
2298
|
-
return {
|
|
2299
|
-
...state,
|
|
2300
|
-
focusedIndex: index,
|
|
2301
|
-
focused: keepFocus
|
|
2302
|
-
};
|
|
2303
|
-
};
|
|
2304
|
-
const handleClickDirectoryExpanded = (state, dirent, index, keepFocus) => {
|
|
2305
|
-
const {
|
|
2306
|
-
minLineY,
|
|
2307
|
-
maxLineY,
|
|
2308
|
-
itemHeight
|
|
2309
|
-
} = state;
|
|
2310
|
-
dirent.type = Directory;
|
|
2311
|
-
dirent.icon = getIcon();
|
|
2312
|
-
const endIndex = getParentEndIndex(state.items, index);
|
|
2313
|
-
const removeCount = endIndex - index - 1;
|
|
2314
|
-
// TODO race conditions and side effects are everywhere
|
|
2315
|
-
const newDirents = [...state.items];
|
|
2316
|
-
newDirents.splice(index + 1, removeCount);
|
|
2317
|
-
const newTotal = newDirents.length;
|
|
2318
|
-
if (newTotal < maxLineY) {
|
|
2319
|
-
const visibleItems = Math.min(maxLineY - minLineY, newTotal);
|
|
2320
|
-
const newMaxLineY = Math.min(maxLineY, newTotal);
|
|
2321
|
-
const newMinLineY = newMaxLineY - visibleItems;
|
|
2322
|
-
const deltaY = newMinLineY * itemHeight;
|
|
2323
|
-
return {
|
|
2324
|
-
...state,
|
|
2325
|
-
items: newDirents,
|
|
2326
|
-
focusedIndex: index,
|
|
2327
|
-
focused: keepFocus,
|
|
2328
|
-
minLineY: newMinLineY,
|
|
2329
|
-
maxLineY: newMaxLineY,
|
|
2330
|
-
deltaY
|
|
2331
|
-
};
|
|
2332
|
-
}
|
|
2333
|
-
return {
|
|
2334
|
-
...state,
|
|
2335
|
-
items: newDirents,
|
|
2336
|
-
focusedIndex: index,
|
|
2337
|
-
focused: keepFocus
|
|
2338
|
-
};
|
|
2339
|
-
};
|
|
2340
|
-
const getClickFn = direntType => {
|
|
2341
|
-
switch (direntType) {
|
|
2342
|
-
case File:
|
|
2343
|
-
case SymLinkFile:
|
|
2344
|
-
return handleClickFile;
|
|
2345
|
-
case Directory:
|
|
2346
|
-
case SymLinkFolder:
|
|
2347
|
-
return handleClickDirectory;
|
|
2348
|
-
case DirectoryExpanding:
|
|
2349
|
-
return handleClickDirectoryExpanding;
|
|
2350
|
-
case DirectoryExpanded:
|
|
2351
|
-
return handleClickDirectoryExpanded;
|
|
2352
|
-
case Symlink:
|
|
2353
|
-
return handleClickSymLink;
|
|
2354
|
-
case CharacterDevice:
|
|
2355
|
-
throw new Error('Cannot open character device files');
|
|
2356
|
-
case BlockDevice:
|
|
2357
|
-
throw new Error('Cannot open block device files');
|
|
2358
|
-
case Socket:
|
|
2359
|
-
throw new Error('Cannot open socket files');
|
|
2360
|
-
default:
|
|
2361
|
-
throw new Error(`unsupported dirent type ${direntType}`);
|
|
2362
|
-
}
|
|
2363
|
-
};
|
|
2364
|
-
const handleClick = (state, index, keepFocus = false) => {
|
|
2365
|
-
const {
|
|
2366
|
-
items,
|
|
2367
|
-
minLineY
|
|
2368
|
-
} = state;
|
|
2369
|
-
if (index === -1) {
|
|
2370
|
-
return focusIndex(state, -1);
|
|
2371
|
-
}
|
|
2372
|
-
const actualIndex = index + minLineY;
|
|
2373
|
-
const dirent = items[actualIndex];
|
|
2374
|
-
if (!dirent) {
|
|
2375
|
-
console.warn(`[explorer] dirent at index ${actualIndex} not found`, state);
|
|
2376
|
-
return state;
|
|
2377
|
-
}
|
|
2378
|
-
const clickFn = getClickFn(dirent.type);
|
|
2379
|
-
return clickFn(state, dirent, actualIndex, keepFocus);
|
|
2380
|
-
};
|
|
2381
|
-
const handleClickAt = (state, button, x, y) => {
|
|
2382
|
-
if (button !== LeftClick) {
|
|
2383
|
-
return state;
|
|
2384
|
-
}
|
|
2385
|
-
const index = getIndexFromPosition(state, x, y);
|
|
2386
|
-
return handleClick(state, index);
|
|
2387
|
-
};
|
|
2388
|
-
const handleClickCurrentButKeepFocus = state => {
|
|
2389
|
-
return handleClick(state, state.focusedIndex - state.minLineY, /* keepFocus */true);
|
|
2390
|
-
};
|
|
2391
|
-
|
|
2392
|
-
// export const handleBlur=()=>{}
|
|
2393
|
-
|
|
2394
|
-
const handleClickSymLink = async (state, dirent, index) => {
|
|
2395
|
-
await getRealPath();
|
|
2396
|
-
const type = await stat();
|
|
2397
|
-
switch (type) {
|
|
2398
|
-
case File:
|
|
2399
|
-
return handleClickFile(state, dirent, index);
|
|
2400
|
-
default:
|
|
2401
|
-
throw new Error(`unsupported file type ${type}`);
|
|
2402
|
-
}
|
|
2403
|
-
};
|
|
2404
|
-
const handleArrowRightDirectoryExpanded = (state, dirent) => {
|
|
2405
|
-
const {
|
|
2406
|
-
items,
|
|
2407
|
-
focusedIndex
|
|
2408
|
-
} = state;
|
|
2409
|
-
if (focusedIndex === items.length - 1) {
|
|
2410
|
-
return state;
|
|
2411
|
-
}
|
|
2412
|
-
const nextDirent = items[focusedIndex + 1];
|
|
2413
|
-
if (nextDirent.depth === dirent.depth + 1) {
|
|
2414
|
-
return focusIndex(state, focusedIndex + 1);
|
|
2415
|
-
}
|
|
2416
|
-
};
|
|
2417
|
-
const handleArrowRight = async state => {
|
|
2418
|
-
const {
|
|
2419
|
-
items,
|
|
2420
|
-
focusedIndex
|
|
2421
|
-
} = state;
|
|
2422
|
-
if (focusedIndex === -1) {
|
|
2423
|
-
return state;
|
|
2424
|
-
}
|
|
2425
|
-
const dirent = items[focusedIndex];
|
|
2426
|
-
switch (dirent.type) {
|
|
2427
|
-
case File:
|
|
2428
|
-
case SymLinkFile:
|
|
2429
|
-
return state;
|
|
2430
|
-
case Directory:
|
|
2431
|
-
case SymLinkFolder:
|
|
2432
|
-
// @ts-ignore
|
|
2433
|
-
return handleClickDirectory(state, dirent);
|
|
2434
|
-
case DirectoryExpanded:
|
|
2435
|
-
return handleArrowRightDirectoryExpanded(state, dirent);
|
|
2436
|
-
case Symlink:
|
|
2437
|
-
return handleClickSymLink(state, dirent, focusedIndex);
|
|
2438
|
-
default:
|
|
2439
|
-
throw new Error(`unsupported file type ${dirent.type}`);
|
|
2440
|
-
}
|
|
2441
|
-
};
|
|
2442
|
-
const focusParentFolder = state => {
|
|
2443
|
-
const parentStartIndex = getParentStartIndex(state.items, state.focusedIndex);
|
|
2444
|
-
if (parentStartIndex === -1) {
|
|
2445
|
-
return state;
|
|
2446
|
-
}
|
|
2447
|
-
return focusIndex(state, parentStartIndex);
|
|
2448
|
-
};
|
|
2449
|
-
const handleArrowLeft = state => {
|
|
2450
|
-
const {
|
|
2451
|
-
items,
|
|
2452
|
-
focusedIndex
|
|
2453
|
-
} = state;
|
|
2454
|
-
if (focusedIndex === -1) {
|
|
2455
|
-
return state;
|
|
2456
|
-
}
|
|
2457
|
-
const dirent = items[focusedIndex];
|
|
2458
|
-
switch (dirent.type) {
|
|
2459
|
-
case Directory:
|
|
2460
|
-
case File:
|
|
2461
|
-
case SymLinkFile:
|
|
2462
|
-
return focusParentFolder(state);
|
|
2463
|
-
case DirectoryExpanded:
|
|
2464
|
-
// @ts-ignore
|
|
2465
|
-
return handleClickDirectoryExpanded(state, dirent, focusedIndex);
|
|
2466
|
-
default:
|
|
2467
|
-
// TODO handle expanding directory and cancel file system call to read child dirents
|
|
2468
|
-
return state;
|
|
2469
|
-
}
|
|
2470
|
-
};
|
|
2471
|
-
|
|
2472
|
-
// TODO what happens when mouse leave and anther mouse enter event occur?
|
|
2473
|
-
// should update preview instead of closing and reopening
|
|
2474
|
-
|
|
2475
|
-
const handleBlur = state => {
|
|
2476
|
-
// TODO when blur event occurs because of context menu, focused index should stay the same
|
|
2477
|
-
// but focus outline should be removed
|
|
2478
|
-
const {
|
|
2479
|
-
editingType
|
|
2480
|
-
} = state;
|
|
2481
|
-
if (editingType !== None$2) {
|
|
2482
|
-
return state;
|
|
2483
|
-
}
|
|
2484
|
-
return {
|
|
2485
|
-
...state,
|
|
2486
|
-
focused: false
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
|
|
2490
|
-
// TODO maybe just insert items into explorer and refresh whole explorer
|
|
2491
|
-
|
|
2492
|
-
const handleClickOpenFolder = async state => {
|
|
2493
|
-
await openFolder();
|
|
2494
|
-
return state;
|
|
2495
|
-
};
|
|
2496
|
-
|
|
2497
|
-
const show = async (x, y, id, ...args) => {
|
|
2498
|
-
return invoke('ContextMenu.show', x, y, id, ...args);
|
|
2499
|
-
};
|
|
2500
|
-
|
|
2501
|
-
const Explorer = 4;
|
|
2502
|
-
|
|
2503
|
-
const handleContextMenuKeyboard = async state => {
|
|
2504
|
-
const {
|
|
2505
|
-
focusedIndex,
|
|
2506
|
-
x,
|
|
2507
|
-
y,
|
|
2508
|
-
minLineY,
|
|
2509
|
-
itemHeight
|
|
2510
|
-
} = state;
|
|
2511
|
-
const menuX = x;
|
|
2512
|
-
const menuY = y + (focusedIndex - minLineY + 1) * itemHeight;
|
|
2513
|
-
await show(menuX, menuY, Explorer);
|
|
2514
|
-
return state;
|
|
2515
|
-
};
|
|
2516
|
-
|
|
2517
|
-
const handleContextMenuMouseAt = async (state, x, y) => {
|
|
2518
|
-
number(x);
|
|
2519
|
-
number(y);
|
|
2520
|
-
const focusedIndex = getIndexFromPosition(state, x, y);
|
|
2521
|
-
await show(x, y, Explorer);
|
|
2522
|
-
return {
|
|
2523
|
-
...state,
|
|
2524
|
-
focusedIndex,
|
|
2525
|
-
focused: false
|
|
2526
|
-
};
|
|
2527
|
-
};
|
|
2528
|
-
|
|
2529
|
-
const handleContextMenu = (state, button, x, y) => {
|
|
2530
|
-
switch (button) {
|
|
2531
|
-
case Keyboard:
|
|
2532
|
-
return handleContextMenuKeyboard(state);
|
|
2533
|
-
default:
|
|
2534
|
-
return handleContextMenuMouseAt(state, x, y);
|
|
2535
|
-
}
|
|
2536
|
-
};
|
|
2537
|
-
|
|
2538
|
-
const handlePointerDown = (state, button, x, y) => {
|
|
2539
|
-
const index = getIndexFromPosition(state, x, y);
|
|
2540
|
-
if (button === LeftClick && index === -1) {
|
|
2541
|
-
return {
|
|
2542
|
-
...state,
|
|
2543
|
-
focused: true,
|
|
2544
|
-
focusedIndex: -1
|
|
2545
|
-
};
|
|
2546
|
-
}
|
|
2547
|
-
return state;
|
|
2548
|
-
};
|
|
2549
|
-
|
|
2550
|
-
// TODO viewlet should only have create and refresh functions
|
|
2551
|
-
// every thing else can be in a separate module <viewlet>.lazy.js
|
|
2552
|
-
// and <viewlet>.ipc.js
|
|
2553
|
-
|
|
2554
|
-
// viewlet: creating | refreshing | done | disposed
|
|
2555
|
-
// TODO recycle viewlets (maybe)
|
|
2556
|
-
|
|
2557
|
-
// TODO instead of root string, there should be a root dirent
|
|
2558
|
-
|
|
2559
|
-
const getPathSeparator = root => {
|
|
2560
|
-
return getPathSeparator$1();
|
|
2561
|
-
};
|
|
2562
|
-
const restoreExpandedState = async (savedState, root, pathSeparator, excluded) => {
|
|
2563
|
-
{
|
|
2564
|
-
return [];
|
|
2565
|
-
}
|
|
2566
|
-
};
|
|
2567
|
-
const getExcluded = () => {
|
|
2568
|
-
const excludedObject = {};
|
|
2569
|
-
const excluded = [];
|
|
2570
|
-
for (const [key, value] of Object.entries(excludedObject)) {
|
|
2571
|
-
if (value) {
|
|
2572
|
-
excluded.push(key);
|
|
2573
|
-
}
|
|
2574
|
-
}
|
|
2575
|
-
return excluded;
|
|
2576
|
-
};
|
|
2577
|
-
const getSavedRoot$1 = (savedState, workspacePath) => {
|
|
2578
|
-
return workspacePath;
|
|
2579
|
-
};
|
|
2580
|
-
const loadContent = async (state, savedState) => {
|
|
2581
|
-
const root = getSavedRoot$1(savedState, '');
|
|
2582
|
-
// TODO path separator could be restored from saved state
|
|
2583
|
-
const pathSeparator = await getPathSeparator(); // TODO only load path separator once
|
|
2584
|
-
const excluded = getExcluded();
|
|
2585
|
-
const restoredDirents = await restoreExpandedState();
|
|
2586
|
-
const {
|
|
2587
|
-
itemHeight,
|
|
2588
|
-
height
|
|
2589
|
-
} = state;
|
|
2590
|
-
let minLineY = 0;
|
|
2591
|
-
if (savedState && typeof savedState.minLineY === 'number') {
|
|
2592
|
-
minLineY = savedState.minLineY;
|
|
2593
|
-
}
|
|
2594
|
-
let deltaY = 0;
|
|
2595
|
-
if (savedState && typeof savedState.deltaY === 'number') {
|
|
2596
|
-
deltaY = savedState.deltaY;
|
|
2597
|
-
}
|
|
2598
|
-
const maxLineY = getExplorerMaxLineY(minLineY, height, itemHeight, restoredDirents.length);
|
|
2599
|
-
return {
|
|
2600
|
-
...state,
|
|
2601
|
-
root,
|
|
2602
|
-
items: restoredDirents,
|
|
2603
|
-
minLineY,
|
|
2604
|
-
deltaY,
|
|
2605
|
-
maxLineY,
|
|
2606
|
-
pathSeparator,
|
|
2607
|
-
excluded
|
|
2608
|
-
};
|
|
2609
|
-
};
|
|
2610
|
-
|
|
2611
|
-
const getContaingingFolder = (root, dirents, focusedIndex, pathSeparator) => {
|
|
2612
|
-
if (focusedIndex < 0) {
|
|
2613
|
-
return root;
|
|
2614
|
-
}
|
|
2615
|
-
const dirent = dirents[focusedIndex];
|
|
2616
|
-
const direntPath = dirent.path;
|
|
2617
|
-
const direntParentPath = direntPath.slice(0, -(dirent.name.length + 1));
|
|
2618
|
-
const path = `${direntParentPath}`;
|
|
2619
|
-
return path;
|
|
2620
|
-
};
|
|
2621
|
-
const openContainingFolder = async state => {
|
|
2622
|
-
const {
|
|
2623
|
-
focusedIndex,
|
|
2624
|
-
root,
|
|
2625
|
-
items,
|
|
2626
|
-
pathSeparator
|
|
2627
|
-
} = state;
|
|
2628
|
-
const path = getContaingingFolder(root, items, focusedIndex);
|
|
2629
|
-
await invoke('OpenNativeFolder.openNativeFolder', /* path */path);
|
|
2630
|
-
return state;
|
|
2631
|
-
};
|
|
2632
|
-
|
|
2633
|
-
const getSavedRoot = (savedState, workspacePath) => {
|
|
2634
|
-
return workspacePath;
|
|
2635
|
-
};
|
|
2636
|
-
const restoreState = savedState => {
|
|
2637
|
-
if (!savedState) {
|
|
2638
|
-
return {
|
|
2639
|
-
minLineY: 0,
|
|
2640
|
-
deltaY: 0
|
|
2641
|
-
};
|
|
2642
|
-
}
|
|
2643
|
-
const root = getSavedRoot(savedState, savedState.workspacePath || '');
|
|
2644
|
-
let minLineY = 0;
|
|
2645
|
-
if (savedState && typeof savedState.minLineY === 'number') {
|
|
2646
|
-
minLineY = savedState.minLineY;
|
|
2647
|
-
}
|
|
2648
|
-
let deltaY = 0;
|
|
2649
|
-
if (savedState && typeof savedState.deltaY === 'number') {
|
|
2650
|
-
deltaY = savedState.deltaY;
|
|
2651
|
-
}
|
|
2652
|
-
return {
|
|
2653
|
-
...savedState,
|
|
2654
|
-
root,
|
|
2655
|
-
minLineY,
|
|
2656
|
-
deltaY
|
|
2657
|
-
};
|
|
2658
|
-
};
|
|
2659
|
-
|
|
2660
|
-
const isExpandedDirectory = dirent => {
|
|
2661
|
-
return dirent.type === DirectoryExpanded;
|
|
2662
|
-
};
|
|
2663
|
-
const getPath = dirent => {
|
|
2664
|
-
return dirent.path;
|
|
2665
|
-
};
|
|
2666
|
-
const saveState = state => {
|
|
2667
|
-
const {
|
|
2668
|
-
items,
|
|
2669
|
-
root,
|
|
2670
|
-
deltaY,
|
|
2671
|
-
minLineY,
|
|
2672
|
-
maxLineY
|
|
2673
|
-
} = state;
|
|
2674
|
-
const expandedPaths = items.filter(isExpandedDirectory).map(getPath);
|
|
2675
|
-
return {
|
|
2676
|
-
expandedPaths,
|
|
2677
|
-
root,
|
|
2678
|
-
minLineY,
|
|
2679
|
-
maxLineY,
|
|
2680
|
-
deltaY
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
|
-
|
|
2684
|
-
const commandMap = {
|
|
2685
|
-
'Explorer.acceptEdit': acceptEdit,
|
|
2686
|
-
'Explorer.cancelEdit': cancelEdit,
|
|
2687
|
-
'Explorer.copyPath': copyPath$1,
|
|
2688
|
-
'Explorer.copyRelativePath': copyRelativePath$1,
|
|
2689
|
-
'Explorer.expandAll': expandAll,
|
|
2690
|
-
'Explorer.expandRecursively': expandRecursively,
|
|
2691
|
-
'Explorer.focusFirst': focusFirst,
|
|
2692
|
-
'Explorer.focusIndex': focusIndex,
|
|
2693
|
-
'Explorer.focusLast': focusLast,
|
|
2694
|
-
'Explorer.focusNext': focusNext,
|
|
2695
|
-
'Explorer.focusPrevious': focusPrevious,
|
|
2696
|
-
'Explorer.getKeyBindings': getKeyBindings,
|
|
2697
|
-
'Explorer.getMenuEntries': getMenuEntries,
|
|
2698
|
-
'Explorer.getVirtualDom': getExplorerVirtualDom,
|
|
2699
|
-
'Explorer.getVisibleItems': getVisibleExplorerItems,
|
|
2700
|
-
'Explorer.handleArrowLeft': handleArrowLeft,
|
|
2701
|
-
'Explorer.handleArrowRight': handleArrowRight,
|
|
2702
|
-
'Explorer.handleBlur': handleBlur,
|
|
2703
|
-
'Explorer.handleClick': handleClick,
|
|
2704
|
-
'Explorer.handleClickAt': handleClickAt,
|
|
2705
|
-
'Explorer.handleClickCurrentButKeepFocus': handleClickCurrentButKeepFocus,
|
|
2706
|
-
'Explorer.handleClickOpenFolder': handleClickOpenFolder,
|
|
2707
|
-
'Explorer.handleContextMenu': handleContextMenu,
|
|
2708
|
-
'Explorer.handleIconThemeChange': handleIconThemeChange,
|
|
2709
|
-
'Explorer.handlePointerDown': handlePointerDown,
|
|
2710
|
-
'Explorer.handleWheel': handleWheel,
|
|
2711
|
-
'Explorer.loadContent': loadContent,
|
|
2712
|
-
'Explorer.openContainingFolder': openContainingFolder,
|
|
2713
|
-
'Explorer.removeDirent': removeDirent,
|
|
2714
|
-
'Explorer.renameDirent': renameDirent,
|
|
2715
|
-
'Explorer.restoreState': restoreState,
|
|
2716
|
-
'Explorer.saveState': saveState
|
|
2717
|
-
};
|
|
2718
|
-
|
|
2719
|
-
const listen = async () => {
|
|
2720
|
-
const rpc = await WebWorkerRpcClient.create({
|
|
2721
|
-
commandMap: commandMap
|
|
2722
|
-
});
|
|
2723
|
-
setRpc(rpc);
|
|
2724
|
-
};
|
|
2725
|
-
|
|
2726
|
-
const main = async () => {
|
|
2727
|
-
await listen();
|
|
2728
|
-
};
|
|
2729
|
-
|
|
2730
|
-
main();
|