@theia/plugin-ext 1.67.0-next.13 → 1.67.0-next.56
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/README.md +1 -1
- package/package.json +29 -29
- package/src/common/plugin-api-rpc.ts +2 -1
- package/src/main/browser/languages-main.ts +14 -4
- package/src/main/browser/notebooks/notebook-editors-main.ts +2 -2
- package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +1 -1
- package/src/plugin/authentication-ext.ts +1 -0
- package/src/plugin/languages.ts +17 -13
- package/src/plugin/plugin-context.ts +5 -1
- package/src/plugin/timeline.ts +7 -3
- package/src/plugin/types-impl.ts +55 -18
- package/lib/common/arrays.d.ts +0 -24
- package/lib/common/arrays.d.ts.map +0 -1
- package/lib/common/arrays.js +0 -61
- package/lib/common/arrays.js.map +0 -1
- package/lib/common/assert.d.ts +0 -2
- package/lib/common/assert.d.ts.map +0 -1
- package/lib/common/assert.js +0 -26
- package/lib/common/assert.js.map +0 -1
- package/lib/common/cache.d.ts +0 -12
- package/lib/common/cache.d.ts.map +0 -1
- package/lib/common/cache.js +0 -48
- package/lib/common/cache.js.map +0 -1
- package/lib/common/character-classifier.d.ts +0 -19
- package/lib/common/character-classifier.d.ts.map +0 -1
- package/lib/common/character-classifier.js +0 -61
- package/lib/common/character-classifier.js.map +0 -1
- package/lib/common/collections.d.ts +0 -9
- package/lib/common/collections.d.ts.map +0 -1
- package/lib/common/collections.js +0 -56
- package/lib/common/collections.js.map +0 -1
- package/lib/common/commands.d.ts +0 -4
- package/lib/common/commands.d.ts.map +0 -1
- package/lib/common/commands.js +0 -17
- package/lib/common/commands.js.map +0 -1
- package/lib/common/connection.d.ts +0 -55
- package/lib/common/connection.d.ts.map +0 -1
- package/lib/common/connection.js +0 -108
- package/lib/common/connection.js.map +0 -1
- package/lib/common/disposable-util.d.ts +0 -7
- package/lib/common/disposable-util.d.ts.map +0 -1
- package/lib/common/disposable-util.js +0 -38
- package/lib/common/disposable-util.js.map +0 -1
- package/lib/common/editor-options.d.ts +0 -31
- package/lib/common/editor-options.d.ts.map +0 -1
- package/lib/common/editor-options.js +0 -73
- package/lib/common/editor-options.js.map +0 -1
- package/lib/common/env.d.ts +0 -4
- package/lib/common/env.d.ts.map +0 -1
- package/lib/common/env.js +0 -18
- package/lib/common/env.js.map +0 -1
- package/lib/common/errors.d.ts +0 -18
- package/lib/common/errors.d.ts.map +0 -1
- package/lib/common/errors.js +0 -59
- package/lib/common/errors.js.map +0 -1
- package/lib/common/id-generator.d.ts +0 -7
- package/lib/common/id-generator.d.ts.map +0 -1
- package/lib/common/id-generator.js +0 -29
- package/lib/common/id-generator.js.map +0 -1
- package/lib/common/index.d.ts +0 -4
- package/lib/common/index.d.ts.map +0 -1
- package/lib/common/index.js +0 -25
- package/lib/common/index.js.map +0 -1
- package/lib/common/language-pack-service.d.ts +0 -16
- package/lib/common/language-pack-service.d.ts.map +0 -1
- package/lib/common/language-pack-service.js +0 -21
- package/lib/common/language-pack-service.js.map +0 -1
- package/lib/common/link-computer.d.ts +0 -42
- package/lib/common/link-computer.d.ts.map +0 -1
- package/lib/common/link-computer.js +0 -276
- package/lib/common/link-computer.js.map +0 -1
- package/lib/common/lm-protocol.d.ts +0 -103
- package/lib/common/lm-protocol.d.ts.map +0 -1
- package/lib/common/lm-protocol.js +0 -21
- package/lib/common/lm-protocol.js.map +0 -1
- package/lib/common/object-identifier.d.ts +0 -9
- package/lib/common/object-identifier.d.ts.map +0 -1
- package/lib/common/object-identifier.js +0 -33
- package/lib/common/object-identifier.js.map +0 -1
- package/lib/common/objects.d.ts +0 -2
- package/lib/common/objects.d.ts.map +0 -1
- package/lib/common/objects.js +0 -47
- package/lib/common/objects.js.map +0 -1
- package/lib/common/paths-util.d.ts +0 -4
- package/lib/common/paths-util.d.ts.map +0 -1
- package/lib/common/paths-util.js +0 -145
- package/lib/common/paths-util.js.map +0 -1
- package/lib/common/plugin-api-rpc-model.d.ts +0 -776
- package/lib/common/plugin-api-rpc-model.d.ts.map +0 -1
- package/lib/common/plugin-api-rpc-model.js +0 -179
- package/lib/common/plugin-api-rpc-model.js.map +0 -1
- package/lib/common/plugin-api-rpc.d.ts +0 -2220
- package/lib/common/plugin-api-rpc.d.ts.map +0 -1
- package/lib/common/plugin-api-rpc.js +0 -341
- package/lib/common/plugin-api-rpc.js.map +0 -1
- package/lib/common/plugin-ext-api-contribution.d.ts +0 -89
- package/lib/common/plugin-ext-api-contribution.d.ts.map +0 -1
- package/lib/common/plugin-ext-api-contribution.js +0 -6
- package/lib/common/plugin-ext-api-contribution.js.map +0 -1
- package/lib/common/plugin-identifiers.d.ts +0 -47
- package/lib/common/plugin-identifiers.d.ts.map +0 -1
- package/lib/common/plugin-identifiers.js +0 -90
- package/lib/common/plugin-identifiers.js.map +0 -1
- package/lib/common/plugin-protocol.d.ts +0 -960
- package/lib/common/plugin-protocol.d.ts.map +0 -1
- package/lib/common/plugin-protocol.js +0 -73
- package/lib/common/plugin-protocol.js.map +0 -1
- package/lib/common/reference-map.d.ts +0 -8
- package/lib/common/reference-map.d.ts.map +0 -1
- package/lib/common/reference-map.js +0 -40
- package/lib/common/reference-map.js.map +0 -1
- package/lib/common/rpc-protocol.d.ts +0 -83
- package/lib/common/rpc-protocol.d.ts.map +0 -1
- package/lib/common/rpc-protocol.js +0 -262
- package/lib/common/rpc-protocol.js.map +0 -1
- package/lib/common/semantic-tokens-dto.d.ts +0 -19
- package/lib/common/semantic-tokens-dto.d.ts.map +0 -1
- package/lib/common/semantic-tokens-dto.js +0 -163
- package/lib/common/semantic-tokens-dto.js.map +0 -1
- package/lib/common/test-types.d.ts +0 -103
- package/lib/common/test-types.d.ts.map +0 -1
- package/lib/common/test-types.js +0 -83
- package/lib/common/test-types.js.map +0 -1
- package/lib/common/types.d.ts +0 -38
- package/lib/common/types.d.ts.map +0 -1
- package/lib/common/types.js +0 -122
- package/lib/common/types.js.map +0 -1
- package/lib/common/uint.d.ts +0 -8
- package/lib/common/uint.d.ts.map +0 -1
- package/lib/common/uint.js +0 -34
- package/lib/common/uint.js.map +0 -1
- package/lib/common/uri-components.d.ts +0 -40
- package/lib/common/uri-components.d.ts.map +0 -1
- package/lib/common/uri-components.js +0 -65
- package/lib/common/uri-components.js.map +0 -1
- package/lib/hosted/browser/hosted-plugin-watcher.d.ts +0 -16
- package/lib/hosted/browser/hosted-plugin-watcher.d.ts.map +0 -1
- package/lib/hosted/browser/hosted-plugin-watcher.js +0 -55
- package/lib/hosted/browser/hosted-plugin-watcher.js.map +0 -1
- package/lib/hosted/browser/hosted-plugin.d.ts +0 -101
- package/lib/hosted/browser/hosted-plugin.d.ts.map +0 -1
- package/lib/hosted/browser/hosted-plugin.js +0 -605
- package/lib/hosted/browser/hosted-plugin.js.map +0 -1
- package/lib/hosted/browser/plugin-worker.d.ts +0 -7
- package/lib/hosted/browser/plugin-worker.d.ts.map +0 -1
- package/lib/hosted/browser/plugin-worker.js +0 -50
- package/lib/hosted/browser/plugin-worker.js.map +0 -1
- package/lib/hosted/browser/worker/debug-stub.d.ts +0 -4
- package/lib/hosted/browser/worker/debug-stub.d.ts.map +0 -1
- package/lib/hosted/browser/worker/debug-stub.js +0 -30
- package/lib/hosted/browser/worker/debug-stub.js.map +0 -1
- package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts +0 -3
- package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts.map +0 -1
- package/lib/hosted/browser/worker/plugin-manifest-loader.js +0 -108
- package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +0 -1
- package/lib/hosted/browser/worker/worker-env-ext.d.ts +0 -11
- package/lib/hosted/browser/worker/worker-env-ext.d.ts.map +0 -1
- package/lib/hosted/browser/worker/worker-env-ext.js +0 -43
- package/lib/hosted/browser/worker/worker-env-ext.js.map +0 -1
- package/lib/hosted/browser/worker/worker-main.d.ts +0 -2
- package/lib/hosted/browser/worker/worker-main.d.ts.map +0 -1
- package/lib/hosted/browser/worker/worker-main.js +0 -183
- package/lib/hosted/browser/worker/worker-main.js.map +0 -1
- package/lib/hosted/browser/worker/worker-plugin-module.d.ts +0 -5
- package/lib/hosted/browser/worker/worker-plugin-module.d.ts.map +0 -1
- package/lib/hosted/browser/worker/worker-plugin-module.js +0 -80
- package/lib/hosted/browser/worker/worker-plugin-module.js.map +0 -1
- package/lib/hosted/common/hosted-plugin.d.ts +0 -97
- package/lib/hosted/common/hosted-plugin.d.ts.map +0 -1
- package/lib/hosted/common/hosted-plugin.js +0 -408
- package/lib/hosted/common/hosted-plugin.js.map +0 -1
- package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts +0 -17
- package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts.map +0 -1
- package/lib/hosted/node/hosted-plugin-cli-contribution.js +0 -72
- package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +0 -1
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts +0 -47
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +0 -1
- package/lib/hosted/node/hosted-plugin-localization-service.js +0 -380
- package/lib/hosted/node/hosted-plugin-localization-service.js.map +0 -1
- package/lib/hosted/node/hosted-plugin-process.d.ts +0 -42
- package/lib/hosted/node/hosted-plugin-process.d.ts.map +0 -1
- package/lib/hosted/node/hosted-plugin-process.js +0 -205
- package/lib/hosted/node/hosted-plugin-process.js.map +0 -1
- package/lib/hosted/node/hosted-plugin-protocol.d.ts +0 -22
- package/lib/hosted/node/hosted-plugin-protocol.d.ts.map +0 -1
- package/lib/hosted/node/hosted-plugin-protocol.js +0 -37
- package/lib/hosted/node/hosted-plugin-protocol.js.map +0 -1
- package/lib/hosted/node/hosted-plugin.d.ts +0 -29
- package/lib/hosted/node/hosted-plugin.d.ts.map +0 -1
- package/lib/hosted/node/hosted-plugin.js +0 -99
- package/lib/hosted/node/hosted-plugin.js.map +0 -1
- package/lib/hosted/node/metadata-scanner.d.ts +0 -18
- package/lib/hosted/node/metadata-scanner.d.ts.map +0 -1
- package/lib/hosted/node/metadata-scanner.js +0 -73
- package/lib/hosted/node/metadata-scanner.js.map +0 -1
- package/lib/hosted/node/plugin-activation-events.d.ts +0 -7
- package/lib/hosted/node/plugin-activation-events.d.ts.map +0 -1
- package/lib/hosted/node/plugin-activation-events.js +0 -96
- package/lib/hosted/node/plugin-activation-events.js.map +0 -1
- package/lib/hosted/node/plugin-deployer-handler-impl.d.ts +0 -48
- package/lib/hosted/node/plugin-deployer-handler-impl.d.ts.map +0 -1
- package/lib/hosted/node/plugin-deployer-handler-impl.js +0 -277
- package/lib/hosted/node/plugin-deployer-handler-impl.js.map +0 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts +0 -4
- package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts.map +0 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js +0 -83
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +0 -1
- package/lib/hosted/node/plugin-host-logger.d.ts +0 -3
- package/lib/hosted/node/plugin-host-logger.d.ts.map +0 -1
- package/lib/hosted/node/plugin-host-logger.js +0 -39
- package/lib/hosted/node/plugin-host-logger.js.map +0 -1
- package/lib/hosted/node/plugin-host-module.d.ts +0 -5
- package/lib/hosted/node/plugin-host-module.d.ts.map +0 -1
- package/lib/hosted/node/plugin-host-module.js +0 -75
- package/lib/hosted/node/plugin-host-module.js.map +0 -1
- package/lib/hosted/node/plugin-host-proxy.d.ts +0 -19
- package/lib/hosted/node/plugin-host-proxy.d.ts.map +0 -1
- package/lib/hosted/node/plugin-host-proxy.js +0 -71
- package/lib/hosted/node/plugin-host-proxy.js.map +0 -1
- package/lib/hosted/node/plugin-host-rpc.d.ts +0 -108
- package/lib/hosted/node/plugin-host-rpc.d.ts.map +0 -1
- package/lib/hosted/node/plugin-host-rpc.js +0 -333
- package/lib/hosted/node/plugin-host-rpc.js.map +0 -1
- package/lib/hosted/node/plugin-host.d.ts +0 -2
- package/lib/hosted/node/plugin-host.d.ts.map +0 -1
- package/lib/hosted/node/plugin-host.js +0 -114
- package/lib/hosted/node/plugin-host.js.map +0 -1
- package/lib/hosted/node/plugin-language-pack-service.d.ts +0 -8
- package/lib/hosted/node/plugin-language-pack-service.d.ts.map +0 -1
- package/lib/hosted/node/plugin-language-pack-service.js +0 -49
- package/lib/hosted/node/plugin-language-pack-service.js.map +0 -1
- package/lib/hosted/node/plugin-manifest-loader.d.ts +0 -3
- package/lib/hosted/node/plugin-manifest-loader.d.ts.map +0 -1
- package/lib/hosted/node/plugin-manifest-loader.js +0 -36
- package/lib/hosted/node/plugin-manifest-loader.js.map +0 -1
- package/lib/hosted/node/plugin-reader.d.ts +0 -26
- package/lib/hosted/node/plugin-reader.d.ts.map +0 -1
- package/lib/hosted/node/plugin-reader.js +0 -140
- package/lib/hosted/node/plugin-reader.js.map +0 -1
- package/lib/hosted/node/plugin-require-override.d.ts +0 -25
- package/lib/hosted/node/plugin-require-override.d.ts.map +0 -1
- package/lib/hosted/node/plugin-require-override.js +0 -56
- package/lib/hosted/node/plugin-require-override.js.map +0 -1
- package/lib/hosted/node/plugin-service.d.ts +0 -56
- package/lib/hosted/node/plugin-service.d.ts.map +0 -1
- package/lib/hosted/node/plugin-service.js +0 -203
- package/lib/hosted/node/plugin-service.js.map +0 -1
- package/lib/hosted/node/scanners/backend-init-theia.d.ts +0 -3
- package/lib/hosted/node/scanners/backend-init-theia.d.ts.map +0 -1
- package/lib/hosted/node/scanners/backend-init-theia.js +0 -61
- package/lib/hosted/node/scanners/backend-init-theia.js.map +0 -1
- package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts +0 -11
- package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts.map +0 -1
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js +0 -36
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +0 -1
- package/lib/hosted/node/scanners/grammars-reader.d.ts +0 -6
- package/lib/hosted/node/scanners/grammars-reader.d.ts.map +0 -1
- package/lib/hosted/node/scanners/grammars-reader.js +0 -59
- package/lib/hosted/node/scanners/grammars-reader.js.map +0 -1
- package/lib/hosted/node/scanners/plugin-uri-factory.d.ts +0 -17
- package/lib/hosted/node/scanners/plugin-uri-factory.d.ts.map +0 -1
- package/lib/hosted/node/scanners/plugin-uri-factory.js +0 -20
- package/lib/hosted/node/scanners/plugin-uri-factory.js.map +0 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts +0 -113
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +0 -1
- package/lib/hosted/node/scanners/scanner-theia.js +0 -923
- package/lib/hosted/node/scanners/scanner-theia.js.map +0 -1
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts +0 -3
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts.map +0 -1
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js +0 -27
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js.map +0 -1
- package/lib/hosted/node-electron/scanner-theia-electron.d.ts +0 -6
- package/lib/hosted/node-electron/scanner-theia-electron.d.ts.map +0 -1
- package/lib/hosted/node-electron/scanner-theia-electron.js +0 -36
- package/lib/hosted/node-electron/scanner-theia-electron.js.map +0 -1
- package/lib/main/browser/authentication-main.d.ts +0 -52
- package/lib/main/browser/authentication-main.d.ts.map +0 -1
- package/lib/main/browser/authentication-main.js +0 -324
- package/lib/main/browser/authentication-main.js.map +0 -1
- package/lib/main/browser/clipboard-main.d.ts +0 -10
- package/lib/main/browser/clipboard-main.d.ts.map +0 -1
- package/lib/main/browser/clipboard-main.js +0 -33
- package/lib/main/browser/clipboard-main.js.map +0 -1
- package/lib/main/browser/command-registry-main.d.ts +0 -28
- package/lib/main/browser/command-registry-main.d.ts.map +0 -1
- package/lib/main/browser/command-registry-main.js +0 -113
- package/lib/main/browser/command-registry-main.js.map +0 -1
- package/lib/main/browser/commands.d.ts +0 -13
- package/lib/main/browser/commands.d.ts.map +0 -1
- package/lib/main/browser/commands.js +0 -92
- package/lib/main/browser/commands.js.map +0 -1
- package/lib/main/browser/comments/comment-glyph-widget.d.ts +0 -13
- package/lib/main/browser/comments/comment-glyph-widget.d.ts.map +0 -1
- package/lib/main/browser/comments/comment-glyph-widget.js +0 -43
- package/lib/main/browser/comments/comment-glyph-widget.js.map +0 -1
- package/lib/main/browser/comments/comment-thread-widget.d.ts +0 -178
- package/lib/main/browser/comments/comment-thread-widget.d.ts.map +0 -1
- package/lib/main/browser/comments/comment-thread-widget.js +0 -523
- package/lib/main/browser/comments/comment-thread-widget.js.map +0 -1
- package/lib/main/browser/comments/comments-context.d.ts +0 -13
- package/lib/main/browser/comments/comments-context.d.ts.map +0 -1
- package/lib/main/browser/comments/comments-context.js +0 -56
- package/lib/main/browser/comments/comments-context.js.map +0 -1
- package/lib/main/browser/comments/comments-contribution.d.ts +0 -32
- package/lib/main/browser/comments/comments-contribution.d.ts.map +0 -1
- package/lib/main/browser/comments/comments-contribution.js +0 -258
- package/lib/main/browser/comments/comments-contribution.js.map +0 -1
- package/lib/main/browser/comments/comments-decorator.d.ts +0 -16
- package/lib/main/browser/comments/comments-decorator.d.ts.map +0 -1
- package/lib/main/browser/comments/comments-decorator.js +0 -100
- package/lib/main/browser/comments/comments-decorator.js.map +0 -1
- package/lib/main/browser/comments/comments-main.d.ts +0 -116
- package/lib/main/browser/comments/comments-main.d.ts.map +0 -1
- package/lib/main/browser/comments/comments-main.js +0 -358
- package/lib/main/browser/comments/comments-main.js.map +0 -1
- package/lib/main/browser/comments/comments-service.d.ts +0 -76
- package/lib/main/browser/comments/comments-service.d.ts.map +0 -1
- package/lib/main/browser/comments/comments-service.js +0 -118
- package/lib/main/browser/comments/comments-service.js.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-opener.d.ts +0 -29
- package/lib/main/browser/custom-editors/custom-editor-opener.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-opener.js +0 -196
- package/lib/main/browser/custom-editors/custom-editor-opener.js.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-service.d.ts +0 -17
- package/lib/main/browser/custom-editors/custom-editor-service.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-service.js +0 -98
- package/lib/main/browser/custom-editors/custom-editor-service.js.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts +0 -10
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js +0 -49
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts +0 -10
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.js +0 -40
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +0 -35
- package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/custom-editor-widget.js +0 -108
- package/lib/main/browser/custom-editors/custom-editor-widget.js.map +0 -1
- package/lib/main/browser/custom-editors/custom-editors-main.d.ts +0 -123
- package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/custom-editors-main.js +0 -380
- package/lib/main/browser/custom-editors/custom-editors-main.js.map +0 -1
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +0 -22
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +0 -1
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +0 -128
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +0 -1
- package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts +0 -9
- package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts.map +0 -1
- package/lib/main/browser/data-transfer/data-transfer-type-converters.js +0 -63
- package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +0 -1
- package/lib/main/browser/debug/debug-main.d.ts +0 -52
- package/lib/main/browser/debug/debug-main.d.ts.map +0 -1
- package/lib/main/browser/debug/debug-main.js +0 -314
- package/lib/main/browser/debug/debug-main.js.map +0 -1
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts +0 -19
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts.map +0 -1
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.js +0 -43
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.js.map +0 -1
- package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts +0 -18
- package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts.map +0 -1
- package/lib/main/browser/debug/plugin-debug-configuration-provider.js +0 -40
- package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +0 -1
- package/lib/main/browser/debug/plugin-debug-service.d.ts +0 -56
- package/lib/main/browser/debug/plugin-debug-service.d.ts.map +0 -1
- package/lib/main/browser/debug/plugin-debug-service.js +0 -365
- package/lib/main/browser/debug/plugin-debug-service.js.map +0 -1
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts +0 -31
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts.map +0 -1
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +0 -68
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +0 -1
- package/lib/main/browser/debug/plugin-debug-session-factory.d.ts +0 -59
- package/lib/main/browser/debug/plugin-debug-session-factory.d.ts.map +0 -1
- package/lib/main/browser/debug/plugin-debug-session-factory.js +0 -72
- package/lib/main/browser/debug/plugin-debug-session-factory.js.map +0 -1
- package/lib/main/browser/decorations/decorations-main.d.ts +0 -16
- package/lib/main/browser/decorations/decorations-main.d.ts.map +0 -1
- package/lib/main/browser/decorations/decorations-main.js +0 -120
- package/lib/main/browser/decorations/decorations-main.js.map +0 -1
- package/lib/main/browser/dialogs/modal-notification.d.ts +0 -19
- package/lib/main/browser/dialogs/modal-notification.d.ts.map +0 -1
- package/lib/main/browser/dialogs/modal-notification.js +0 -102
- package/lib/main/browser/dialogs/modal-notification.js.map +0 -1
- package/lib/main/browser/dialogs-main.d.ts +0 -17
- package/lib/main/browser/dialogs-main.d.ts.map +0 -1
- package/lib/main/browser/dialogs-main.js +0 -163
- package/lib/main/browser/dialogs-main.js.map +0 -1
- package/lib/main/browser/documents-main.d.ts +0 -51
- package/lib/main/browser/documents-main.d.ts.map +0 -1
- package/lib/main/browser/documents-main.js +0 -252
- package/lib/main/browser/documents-main.js.map +0 -1
- package/lib/main/browser/editors-and-documents-main.d.ts +0 -41
- package/lib/main/browser/editors-and-documents-main.d.ts.map +0 -1
- package/lib/main/browser/editors-and-documents-main.js +0 -357
- package/lib/main/browser/editors-and-documents-main.js.map +0 -1
- package/lib/main/browser/env-main.d.ts +0 -7
- package/lib/main/browser/env-main.d.ts.map +0 -1
- package/lib/main/browser/env-main.js +0 -64
- package/lib/main/browser/env-main.js.map +0 -1
- package/lib/main/browser/file-system-main-impl.d.ts +0 -29
- package/lib/main/browser/file-system-main-impl.d.ts.map +0 -1
- package/lib/main/browser/file-system-main-impl.js +0 -208
- package/lib/main/browser/file-system-main-impl.js.map +0 -1
- package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts +0 -25
- package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts.map +0 -1
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js +0 -185
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +0 -1
- package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts +0 -10
- package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts.map +0 -1
- package/lib/main/browser/keybindings/keybindings-contribution-handler.js +0 -70
- package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +0 -1
- package/lib/main/browser/label-service-main.d.ts +0 -11
- package/lib/main/browser/label-service-main.d.ts.map +0 -1
- package/lib/main/browser/label-service-main.js +0 -47
- package/lib/main/browser/label-service-main.js.map +0 -1
- package/lib/main/browser/languages-main.d.ts +0 -144
- package/lib/main/browser/languages-main.d.ts.map +0 -1
- package/lib/main/browser/languages-main.js +0 -1172
- package/lib/main/browser/languages-main.js.map +0 -1
- package/lib/main/browser/lm-main.d.ts +0 -17
- package/lib/main/browser/lm-main.d.ts.map +0 -1
- package/lib/main/browser/lm-main.js +0 -154
- package/lib/main/browser/lm-main.js.map +0 -1
- package/lib/main/browser/localization-main.d.ts +0 -9
- package/lib/main/browser/localization-main.d.ts.map +0 -1
- package/lib/main/browser/localization-main.js +0 -32
- package/lib/main/browser/localization-main.js.map +0 -1
- package/lib/main/browser/logger-main.d.ts +0 -8
- package/lib/main/browser/logger-main.d.ts.map +0 -1
- package/lib/main/browser/logger-main.js +0 -53
- package/lib/main/browser/logger-main.js.map +0 -1
- package/lib/main/browser/main-context.d.ts +0 -4
- package/lib/main/browser/main-context.d.ts.map +0 -1
- package/lib/main/browser/main-context.js +0 -161
- package/lib/main/browser/main-context.js.map +0 -1
- package/lib/main/browser/main-file-system-event-service.d.ts +0 -8
- package/lib/main/browser/main-file-system-event-service.d.ts.map +0 -1
- package/lib/main/browser/main-file-system-event-service.js +0 -66
- package/lib/main/browser/main-file-system-event-service.js.map +0 -1
- package/lib/main/browser/menus/menus-contribution-handler.d.ts +0 -24
- package/lib/main/browser/menus/menus-contribution-handler.d.ts.map +0 -1
- package/lib/main/browser/menus/menus-contribution-handler.js +0 -208
- package/lib/main/browser/menus/menus-contribution-handler.js.map +0 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +0 -24
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +0 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.js +0 -281
- package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +0 -1
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +0 -19
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +0 -1
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js +0 -115
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +0 -1
- package/lib/main/browser/message-registry-main.d.ts +0 -11
- package/lib/main/browser/message-registry-main.d.ts.map +0 -1
- package/lib/main/browser/message-registry-main.js +0 -41
- package/lib/main/browser/message-registry-main.js.map +0 -1
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts +0 -52
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +0 -208
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +0 -1
- package/lib/main/browser/notebooks/notebook-documents-main.d.ts +0 -30
- package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebook-documents-main.js +0 -164
- package/lib/main/browser/notebooks/notebook-documents-main.js.map +0 -1
- package/lib/main/browser/notebooks/notebook-dto.d.ts +0 -18
- package/lib/main/browser/notebooks/notebook-dto.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebook-dto.js +0 -131
- package/lib/main/browser/notebooks/notebook-dto.js.map +0 -1
- package/lib/main/browser/notebooks/notebook-editors-main.d.ts +0 -21
- package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebook-editors-main.js +0 -77
- package/lib/main/browser/notebooks/notebook-editors-main.js.map +0 -1
- package/lib/main/browser/notebooks/notebook-kernels-main.d.ts +0 -43
- package/lib/main/browser/notebooks/notebook-kernels-main.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebook-kernels-main.js +0 -274
- package/lib/main/browser/notebooks/notebook-kernels-main.js.map +0 -1
- package/lib/main/browser/notebooks/notebook-renderers-main.d.ts +0 -12
- package/lib/main/browser/notebooks/notebook-renderers-main.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebook-renderers-main.js +0 -39
- package/lib/main/browser/notebooks/notebook-renderers-main.js.map +0 -1
- package/lib/main/browser/notebooks/notebooks-main.d.ts +0 -25
- package/lib/main/browser/notebooks/notebooks-main.d.ts.map +0 -1
- package/lib/main/browser/notebooks/notebooks-main.js +0 -134
- package/lib/main/browser/notebooks/notebooks-main.js.map +0 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +0 -75
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +0 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js +0 -571
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +0 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts +0 -14
- package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +0 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js +0 -660
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +0 -1
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +0 -127
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +0 -1
- package/lib/main/browser/notebooks/renderers/webview-communication.js +0 -22
- package/lib/main/browser/notebooks/renderers/webview-communication.js.map +0 -1
- package/lib/main/browser/notification-main.d.ts +0 -7
- package/lib/main/browser/notification-main.d.ts.map +0 -1
- package/lib/main/browser/notification-main.js +0 -27
- package/lib/main/browser/notification-main.js.map +0 -1
- package/lib/main/browser/output-channel-registry-main.d.ts +0 -11
- package/lib/main/browser/output-channel-registry-main.d.ts.map +0 -1
- package/lib/main/browser/output-channel-registry-main.js +0 -53
- package/lib/main/browser/output-channel-registry-main.js.map +0 -1
- package/lib/main/browser/plugin-authentication-service.d.ts +0 -14
- package/lib/main/browser/plugin-authentication-service.d.ts.map +0 -1
- package/lib/main/browser/plugin-authentication-service.js +0 -73
- package/lib/main/browser/plugin-authentication-service.js.map +0 -1
- package/lib/main/browser/plugin-contribution-handler.d.ts +0 -75
- package/lib/main/browser/plugin-contribution-handler.d.ts.map +0 -1
- package/lib/main/browser/plugin-contribution-handler.js +0 -640
- package/lib/main/browser/plugin-contribution-handler.js.map +0 -1
- package/lib/main/browser/plugin-ext-argument-processor.d.ts +0 -12
- package/lib/main/browser/plugin-ext-argument-processor.d.ts.map +0 -1
- package/lib/main/browser/plugin-ext-argument-processor.js +0 -41
- package/lib/main/browser/plugin-ext-argument-processor.js.map +0 -1
- package/lib/main/browser/plugin-ext-frontend-module.d.ts +0 -8
- package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +0 -1
- package/lib/main/browser/plugin-ext-frontend-module.js +0 -257
- package/lib/main/browser/plugin-ext-frontend-module.js.map +0 -1
- package/lib/main/browser/plugin-ext-widget.d.ts +0 -29
- package/lib/main/browser/plugin-ext-widget.d.ts.map +0 -1
- package/lib/main/browser/plugin-ext-widget.js +0 -122
- package/lib/main/browser/plugin-ext-widget.js.map +0 -1
- package/lib/main/browser/plugin-frontend-contribution.d.ts +0 -10
- package/lib/main/browser/plugin-frontend-contribution.d.ts.map +0 -1
- package/lib/main/browser/plugin-frontend-contribution.js +0 -72
- package/lib/main/browser/plugin-frontend-contribution.js.map +0 -1
- package/lib/main/browser/plugin-frontend-view-contribution.d.ts +0 -7
- package/lib/main/browser/plugin-frontend-view-contribution.d.ts.map +0 -1
- package/lib/main/browser/plugin-frontend-view-contribution.js +0 -43
- package/lib/main/browser/plugin-frontend-view-contribution.js.map +0 -1
- package/lib/main/browser/plugin-icon-service.d.ts +0 -17
- package/lib/main/browser/plugin-icon-service.d.ts.map +0 -1
- package/lib/main/browser/plugin-icon-service.js +0 -89
- package/lib/main/browser/plugin-icon-service.js.map +0 -1
- package/lib/main/browser/plugin-icon-theme-service.d.ts +0 -147
- package/lib/main/browser/plugin-icon-theme-service.d.ts.map +0 -1
- package/lib/main/browser/plugin-icon-theme-service.js +0 -554
- package/lib/main/browser/plugin-icon-theme-service.js.map +0 -1
- package/lib/main/browser/plugin-shared-style.d.ts +0 -41
- package/lib/main/browser/plugin-shared-style.d.ts.map +0 -1
- package/lib/main/browser/plugin-shared-style.js +0 -137
- package/lib/main/browser/plugin-shared-style.js.map +0 -1
- package/lib/main/browser/plugin-storage.d.ts +0 -14
- package/lib/main/browser/plugin-storage.d.ts.map +0 -1
- package/lib/main/browser/plugin-storage.js +0 -47
- package/lib/main/browser/plugin-storage.js.map +0 -1
- package/lib/main/browser/plugin-terminal-registry.d.ts +0 -5
- package/lib/main/browser/plugin-terminal-registry.d.ts.map +0 -1
- package/lib/main/browser/plugin-terminal-registry.js +0 -30
- package/lib/main/browser/plugin-terminal-registry.js.map +0 -1
- package/lib/main/browser/preference-registry-main.d.ts +0 -20
- package/lib/main/browser/preference-registry-main.d.ts.map +0 -1
- package/lib/main/browser/preference-registry-main.js +0 -107
- package/lib/main/browser/preference-registry-main.js.map +0 -1
- package/lib/main/browser/quick-open-main.d.ts +0 -36
- package/lib/main/browser/quick-open-main.d.ts.map +0 -1
- package/lib/main/browser/quick-open-main.js +0 -314
- package/lib/main/browser/quick-open-main.js.map +0 -1
- package/lib/main/browser/scm-main.d.ts +0 -108
- package/lib/main/browser/scm-main.d.ts.map +0 -1
- package/lib/main/browser/scm-main.js +0 -348
- package/lib/main/browser/scm-main.js.map +0 -1
- package/lib/main/browser/secrets-main.d.ts +0 -16
- package/lib/main/browser/secrets-main.d.ts.map +0 -1
- package/lib/main/browser/secrets-main.js +0 -91
- package/lib/main/browser/secrets-main.js.map +0 -1
- package/lib/main/browser/selection-provider-command.d.ts +0 -13
- package/lib/main/browser/selection-provider-command.d.ts.map +0 -1
- package/lib/main/browser/selection-provider-command.js +0 -49
- package/lib/main/browser/selection-provider-command.js.map +0 -1
- package/lib/main/browser/status-bar-message-registry-main.d.ts +0 -19
- package/lib/main/browser/status-bar-message-registry-main.d.ts.map +0 -1
- package/lib/main/browser/status-bar-message-registry-main.js +0 -60
- package/lib/main/browser/status-bar-message-registry-main.js.map +0 -1
- package/lib/main/browser/tabs/tabs-main.d.ts +0 -54
- package/lib/main/browser/tabs/tabs-main.d.ts.map +0 -1
- package/lib/main/browser/tabs/tabs-main.js +0 -368
- package/lib/main/browser/tabs/tabs-main.js.map +0 -1
- package/lib/main/browser/tasks-main.d.ts +0 -34
- package/lib/main/browser/tasks-main.d.ts.map +0 -1
- package/lib/main/browser/tasks-main.js +0 -209
- package/lib/main/browser/tasks-main.js.map +0 -1
- package/lib/main/browser/terminal-main.d.ts +0 -64
- package/lib/main/browser/terminal-main.d.ts.map +0 -1
- package/lib/main/browser/terminal-main.js +0 -331
- package/lib/main/browser/terminal-main.js.map +0 -1
- package/lib/main/browser/test-main.d.ts +0 -144
- package/lib/main/browser/test-main.d.ts.map +0 -1
- package/lib/main/browser/test-main.js +0 -563
- package/lib/main/browser/test-main.js.map +0 -1
- package/lib/main/browser/text-editor-main.d.ts +0 -53
- package/lib/main/browser/text-editor-main.d.ts.map +0 -1
- package/lib/main/browser/text-editor-main.js +0 -443
- package/lib/main/browser/text-editor-main.js.map +0 -1
- package/lib/main/browser/text-editor-model-service.d.ts +0 -35
- package/lib/main/browser/text-editor-model-service.d.ts.map +0 -1
- package/lib/main/browser/text-editor-model-service.js +0 -111
- package/lib/main/browser/text-editor-model-service.js.map +0 -1
- package/lib/main/browser/text-editors-main.d.ts +0 -41
- package/lib/main/browser/text-editors-main.d.ts.map +0 -1
- package/lib/main/browser/text-editors-main.js +0 -180
- package/lib/main/browser/text-editors-main.js.map +0 -1
- package/lib/main/browser/theme-icon-override.d.ts +0 -2
- package/lib/main/browser/theme-icon-override.d.ts.map +0 -1
- package/lib/main/browser/theme-icon-override.js +0 -245
- package/lib/main/browser/theme-icon-override.js.map +0 -1
- package/lib/main/browser/theming-main.d.ts +0 -10
- package/lib/main/browser/theming-main.d.ts.map +0 -1
- package/lib/main/browser/theming-main.js +0 -36
- package/lib/main/browser/theming-main.js.map +0 -1
- package/lib/main/browser/timeline-main.d.ts +0 -14
- package/lib/main/browser/timeline-main.d.ts.map +0 -1
- package/lib/main/browser/timeline-main.js +0 -51
- package/lib/main/browser/timeline-main.js.map +0 -1
- package/lib/main/browser/uri-main.d.ts +0 -16
- package/lib/main/browser/uri-main.d.ts.map +0 -1
- package/lib/main/browser/uri-main.js +0 -64
- package/lib/main/browser/uri-main.js.map +0 -1
- package/lib/main/browser/view/dnd-file-content-store.d.ts +0 -8
- package/lib/main/browser/view/dnd-file-content-store.d.ts.map +0 -1
- package/lib/main/browser/view/dnd-file-content-store.js +0 -47
- package/lib/main/browser/view/dnd-file-content-store.js.map +0 -1
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts +0 -12
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts.map +0 -1
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +0 -83
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +0 -1
- package/lib/main/browser/view/plugin-view-registry.d.ts +0 -112
- package/lib/main/browser/view/plugin-view-registry.d.ts.map +0 -1
- package/lib/main/browser/view/plugin-view-registry.js +0 -901
- package/lib/main/browser/view/plugin-view-registry.js.map +0 -1
- package/lib/main/browser/view/plugin-view-widget.d.ts +0 -53
- package/lib/main/browser/view/plugin-view-widget.d.ts.map +0 -1
- package/lib/main/browser/view/plugin-view-widget.js +0 -164
- package/lib/main/browser/view/plugin-view-widget.js.map +0 -1
- package/lib/main/browser/view/tree-view-decorator-service.d.ts +0 -31
- package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +0 -1
- package/lib/main/browser/view/tree-view-decorator-service.js +0 -58
- package/lib/main/browser/view/tree-view-decorator-service.js.map +0 -1
- package/lib/main/browser/view/tree-view-widget.d.ts +0 -166
- package/lib/main/browser/view/tree-view-widget.d.ts.map +0 -1
- package/lib/main/browser/view/tree-view-widget.js +0 -848
- package/lib/main/browser/view/tree-view-widget.js.map +0 -1
- package/lib/main/browser/view/tree-views-main.d.ts +0 -35
- package/lib/main/browser/view/tree-views-main.d.ts.map +0 -1
- package/lib/main/browser/view/tree-views-main.js +0 -179
- package/lib/main/browser/view/tree-views-main.js.map +0 -1
- package/lib/main/browser/view/view-context-key-service.d.ts +0 -17
- package/lib/main/browser/view/view-context-key-service.d.ts.map +0 -1
- package/lib/main/browser/view/view-context-key-service.js +0 -63
- package/lib/main/browser/view/view-context-key-service.js.map +0 -1
- package/lib/main/browser/webview/webview-context-keys.d.ts +0 -17
- package/lib/main/browser/webview/webview-context-keys.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-context-keys.js +0 -65
- package/lib/main/browser/webview/webview-context-keys.js.map +0 -1
- package/lib/main/browser/webview/webview-environment.d.ts +0 -17
- package/lib/main/browser/webview/webview-environment.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-environment.js +0 -89
- package/lib/main/browser/webview/webview-environment.js.map +0 -1
- package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts +0 -5
- package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-frontend-preference-contribution.js +0 -40
- package/lib/main/browser/webview/webview-frontend-preference-contribution.js.map +0 -1
- package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts +0 -12
- package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-frontend-security-warnings.js +0 -66
- package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +0 -1
- package/lib/main/browser/webview/webview-resource-cache.d.ts +0 -18
- package/lib/main/browser/webview/webview-resource-cache.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-resource-cache.js +0 -83
- package/lib/main/browser/webview/webview-resource-cache.js.map +0 -1
- package/lib/main/browser/webview/webview-secondary-window-support.d.ts +0 -8
- package/lib/main/browser/webview/webview-secondary-window-support.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-secondary-window-support.js +0 -52
- package/lib/main/browser/webview/webview-secondary-window-support.js.map +0 -1
- package/lib/main/browser/webview/webview-theme-data-provider.d.ts +0 -31
- package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-theme-data-provider.js +0 -125
- package/lib/main/browser/webview/webview-theme-data-provider.js.map +0 -1
- package/lib/main/browser/webview/webview-widget-factory.d.ts +0 -9
- package/lib/main/browser/webview/webview-widget-factory.d.ts.map +0 -1
- package/lib/main/browser/webview/webview-widget-factory.js +0 -40
- package/lib/main/browser/webview/webview-widget-factory.js.map +0 -1
- package/lib/main/browser/webview/webview.d.ts +0 -150
- package/lib/main/browser/webview/webview.d.ts.map +0 -1
- package/lib/main/browser/webview/webview.js +0 -591
- package/lib/main/browser/webview/webview.js.map +0 -1
- package/lib/main/browser/webview-views/webview-views-main.d.ts +0 -34
- package/lib/main/browser/webview-views/webview-views-main.d.ts.map +0 -1
- package/lib/main/browser/webview-views/webview-views-main.js +0 -133
- package/lib/main/browser/webview-views/webview-views-main.js.map +0 -1
- package/lib/main/browser/webview-views/webview-views.d.ts +0 -16
- package/lib/main/browser/webview-views/webview-views.d.ts.map +0 -1
- package/lib/main/browser/webview-views/webview-views.js +0 -23
- package/lib/main/browser/webview-views/webview-views.js.map +0 -1
- package/lib/main/browser/webviews-main.d.ts +0 -40
- package/lib/main/browser/webviews-main.d.ts.map +0 -1
- package/lib/main/browser/webviews-main.js +0 -247
- package/lib/main/browser/webviews-main.js.map +0 -1
- package/lib/main/browser/window-activity-tracker.d.ts +0 -20
- package/lib/main/browser/window-activity-tracker.d.ts.map +0 -1
- package/lib/main/browser/window-activity-tracker.js +0 -86
- package/lib/main/browser/window-activity-tracker.js.map +0 -1
- package/lib/main/browser/window-state-main.d.ts +0 -18
- package/lib/main/browser/window-state-main.d.ts.map +0 -1
- package/lib/main/browser/window-state-main.js +0 -69
- package/lib/main/browser/window-state-main.js.map +0 -1
- package/lib/main/browser/workspace-main.d.ts +0 -98
- package/lib/main/browser/workspace-main.d.ts.map +0 -1
- package/lib/main/browser/workspace-main.js +0 -384
- package/lib/main/browser/workspace-main.js.map +0 -1
- package/lib/main/common/basic-message-registry-main.d.ts +0 -14
- package/lib/main/common/basic-message-registry-main.d.ts.map +0 -1
- package/lib/main/common/basic-message-registry-main.js +0 -50
- package/lib/main/common/basic-message-registry-main.js.map +0 -1
- package/lib/main/common/basic-notification-main.d.ts +0 -19
- package/lib/main/common/basic-notification-main.d.ts.map +0 -1
- package/lib/main/common/basic-notification-main.js +0 -75
- package/lib/main/common/basic-notification-main.js.map +0 -1
- package/lib/main/common/env-main.d.ts +0 -11
- package/lib/main/common/env-main.d.ts.map +0 -1
- package/lib/main/common/env-main.js +0 -40
- package/lib/main/common/env-main.js.map +0 -1
- package/lib/main/common/plugin-paths-protocol.d.ts +0 -9
- package/lib/main/common/plugin-paths-protocol.d.ts.map +0 -1
- package/lib/main/common/plugin-paths-protocol.js +0 -22
- package/lib/main/common/plugin-paths-protocol.js.map +0 -1
- package/lib/main/common/plugin-theia-environment.d.ts +0 -8
- package/lib/main/common/plugin-theia-environment.d.ts.map +0 -1
- package/lib/main/common/plugin-theia-environment.js +0 -40
- package/lib/main/common/plugin-theia-environment.js.map +0 -1
- package/lib/main/common/webview-preferences.d.ts +0 -13
- package/lib/main/common/webview-preferences.d.ts.map +0 -1
- package/lib/main/common/webview-preferences.js +0 -47
- package/lib/main/common/webview-preferences.js.map +0 -1
- package/lib/main/common/webview-protocol.d.ts +0 -13
- package/lib/main/common/webview-protocol.d.ts.map +0 -1
- package/lib/main/common/webview-protocol.js +0 -32
- package/lib/main/common/webview-protocol.js.map +0 -1
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts +0 -4
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts.map +0 -1
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js +0 -26
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js.map +0 -1
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts +0 -24
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts.map +0 -1
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.js +0 -54
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.js.map +0 -1
- package/lib/main/node/errors.spec.d.ts +0 -2
- package/lib/main/node/errors.spec.d.ts.map +0 -1
- package/lib/main/node/errors.spec.js +0 -36
- package/lib/main/node/errors.spec.js.map +0 -1
- package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts +0 -19
- package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts.map +0 -1
- package/lib/main/node/handlers/plugin-theia-directory-handler.js +0 -130
- package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +0 -1
- package/lib/main/node/handlers/plugin-theia-file-handler.d.ts +0 -11
- package/lib/main/node/handlers/plugin-theia-file-handler.d.ts.map +0 -1
- package/lib/main/node/handlers/plugin-theia-file-handler.js +0 -67
- package/lib/main/node/handlers/plugin-theia-file-handler.js.map +0 -1
- package/lib/main/node/paths/const.d.ts +0 -6
- package/lib/main/node/paths/const.d.ts.map +0 -1
- package/lib/main/node/paths/const.js +0 -25
- package/lib/main/node/paths/const.js.map +0 -1
- package/lib/main/node/paths/plugin-paths-service.d.ts +0 -26
- package/lib/main/node/paths/plugin-paths-service.d.ts.map +0 -1
- package/lib/main/node/paths/plugin-paths-service.js +0 -153
- package/lib/main/node/paths/plugin-paths-service.js.map +0 -1
- package/lib/main/node/plugin-cli-contribution.d.ts +0 -22
- package/lib/main/node/plugin-cli-contribution.d.ts.map +0 -1
- package/lib/main/node/plugin-cli-contribution.js +0 -80
- package/lib/main/node/plugin-cli-contribution.js.map +0 -1
- package/lib/main/node/plugin-deployer-contribution.d.ts +0 -9
- package/lib/main/node/plugin-deployer-contribution.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-contribution.js +0 -41
- package/lib/main/node/plugin-deployer-contribution.js.map +0 -1
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts +0 -8
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.js +0 -45
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +0 -1
- package/lib/main/node/plugin-deployer-entry-impl.d.ts +0 -35
- package/lib/main/node/plugin-deployer-entry-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-entry-impl.js +0 -112
- package/lib/main/node/plugin-deployer-entry-impl.js.map +0 -1
- package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts +0 -8
- package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-file-handler-context-impl.js +0 -32
- package/lib/main/node/plugin-deployer-file-handler-context-impl.js.map +0 -1
- package/lib/main/node/plugin-deployer-impl.d.ts +0 -64
- package/lib/main/node/plugin-deployer-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-impl.js +0 -350
- package/lib/main/node/plugin-deployer-impl.js.map +0 -1
- package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts +0 -30
- package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-proxy-entry-impl.js +0 -93
- package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +0 -1
- package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts +0 -16
- package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-deployer-resolver-context-impl.js +0 -43
- package/lib/main/node/plugin-deployer-resolver-context-impl.js.map +0 -1
- package/lib/main/node/plugin-ext-backend-module.d.ts +0 -3
- package/lib/main/node/plugin-ext-backend-module.d.ts.map +0 -1
- package/lib/main/node/plugin-ext-backend-module.js +0 -84
- package/lib/main/node/plugin-ext-backend-module.js.map +0 -1
- package/lib/main/node/plugin-github-resolver.d.ts +0 -24
- package/lib/main/node/plugin-github-resolver.d.ts.map +0 -1
- package/lib/main/node/plugin-github-resolver.js +0 -136
- package/lib/main/node/plugin-github-resolver.js.map +0 -1
- package/lib/main/node/plugin-http-resolver.d.ts +0 -21
- package/lib/main/node/plugin-http-resolver.d.ts.map +0 -1
- package/lib/main/node/plugin-http-resolver.js +0 -92
- package/lib/main/node/plugin-http-resolver.js.map +0 -1
- package/lib/main/node/plugin-localization-server.d.ts +0 -10
- package/lib/main/node/plugin-localization-server.d.ts.map +0 -1
- package/lib/main/node/plugin-localization-server.js +0 -51
- package/lib/main/node/plugin-localization-server.js.map +0 -1
- package/lib/main/node/plugin-mgmt-cli-contribution.d.ts +0 -13
- package/lib/main/node/plugin-mgmt-cli-contribution.d.ts.map +0 -1
- package/lib/main/node/plugin-mgmt-cli-contribution.js +0 -63
- package/lib/main/node/plugin-mgmt-cli-contribution.js.map +0 -1
- package/lib/main/node/plugin-remote-cli-contribution.d.ts +0 -8
- package/lib/main/node/plugin-remote-cli-contribution.d.ts.map +0 -1
- package/lib/main/node/plugin-remote-cli-contribution.js +0 -40
- package/lib/main/node/plugin-remote-cli-contribution.js.map +0 -1
- package/lib/main/node/plugin-remote-copy-contribution.d.ts +0 -7
- package/lib/main/node/plugin-remote-copy-contribution.d.ts.map +0 -1
- package/lib/main/node/plugin-remote-copy-contribution.js +0 -44
- package/lib/main/node/plugin-remote-copy-contribution.js.map +0 -1
- package/lib/main/node/plugin-server-impl.d.ts +0 -24
- package/lib/main/node/plugin-server-impl.d.ts.map +0 -1
- package/lib/main/node/plugin-server-impl.js +0 -88
- package/lib/main/node/plugin-server-impl.js.map +0 -1
- package/lib/main/node/plugin-service.d.ts +0 -24
- package/lib/main/node/plugin-service.d.ts.map +0 -1
- package/lib/main/node/plugin-service.js +0 -102
- package/lib/main/node/plugin-service.js.map +0 -1
- package/lib/main/node/plugin-theia-deployer-participant.d.ts +0 -7
- package/lib/main/node/plugin-theia-deployer-participant.d.ts.map +0 -1
- package/lib/main/node/plugin-theia-deployer-participant.js +0 -36
- package/lib/main/node/plugin-theia-deployer-participant.js.map +0 -1
- package/lib/main/node/plugin-uninstallation-manager.d.ts +0 -27
- package/lib/main/node/plugin-uninstallation-manager.d.ts.map +0 -1
- package/lib/main/node/plugin-uninstallation-manager.js +0 -133
- package/lib/main/node/plugin-uninstallation-manager.js.map +0 -1
- package/lib/main/node/plugins-key-value-storage.d.ts +0 -29
- package/lib/main/node/plugins-key-value-storage.d.ts.map +0 -1
- package/lib/main/node/plugins-key-value-storage.js +0 -160
- package/lib/main/node/plugins-key-value-storage.js.map +0 -1
- package/lib/main/node/plugins-key-value-storage.spec.d.ts +0 -17
- package/lib/main/node/plugins-key-value-storage.spec.d.ts.map +0 -1
- package/lib/main/node/plugins-key-value-storage.spec.js +0 -101
- package/lib/main/node/plugins-key-value-storage.spec.js.map +0 -1
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts +0 -8
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts.map +0 -1
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +0 -39
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +0 -1
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts +0 -9
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts.map +0 -1
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +0 -55
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +0 -1
- package/lib/main/node/temp-dir-util.d.ts +0 -3
- package/lib/main/node/temp-dir-util.d.ts.map +0 -1
- package/lib/main/node/temp-dir-util.js +0 -40
- package/lib/main/node/temp-dir-util.js.map +0 -1
- package/lib/main/node/webview-backend-security-warnings.d.ts +0 -6
- package/lib/main/node/webview-backend-security-warnings.d.ts.map +0 -1
- package/lib/main/node/webview-backend-security-warnings.js +0 -47
- package/lib/main/node/webview-backend-security-warnings.js.map +0 -1
- package/lib/plugin/authentication-ext.d.ts +0 -32
- package/lib/plugin/authentication-ext.d.ts.map +0 -1
- package/lib/plugin/authentication-ext.js +0 -107
- package/lib/plugin/authentication-ext.js.map +0 -1
- package/lib/plugin/clipboard-ext.d.ts +0 -11
- package/lib/plugin/clipboard-ext.d.ts.map +0 -1
- package/lib/plugin/clipboard-ext.js +0 -48
- package/lib/plugin/clipboard-ext.js.map +0 -1
- package/lib/plugin/command-registry.d.ts +0 -42
- package/lib/plugin/command-registry.d.ts.map +0 -1
- package/lib/plugin/command-registry.js +0 -183
- package/lib/plugin/command-registry.js.map +0 -1
- package/lib/plugin/comments.d.ts +0 -96
- package/lib/plugin/comments.d.ts.map +0 -1
- package/lib/plugin/comments.js +0 -406
- package/lib/plugin/comments.js.map +0 -1
- package/lib/plugin/custom-editors.d.ts +0 -46
- package/lib/plugin/custom-editors.d.ts.map +0 -1
- package/lib/plugin/custom-editors.js +0 -254
- package/lib/plugin/custom-editors.js.map +0 -1
- package/lib/plugin/debug/debug-ext.d.ts +0 -97
- package/lib/plugin/debug/debug-ext.d.ts.map +0 -1
- package/lib/plugin/debug/debug-ext.js +0 -459
- package/lib/plugin/debug/debug-ext.js.map +0 -1
- package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +0 -11
- package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +0 -1
- package/lib/plugin/debug/plugin-debug-adapter-creator.js +0 -42
- package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +0 -1
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +0 -27
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +0 -1
- package/lib/plugin/debug/plugin-debug-adapter-session.js +0 -97
- package/lib/plugin/debug/plugin-debug-adapter-session.js.map +0 -1
- package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +0 -13
- package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +0 -1
- package/lib/plugin/debug/plugin-debug-adapter-tracker.js +0 -78
- package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +0 -1
- package/lib/plugin/decorations.d.ts +0 -16
- package/lib/plugin/decorations.d.ts.map +0 -1
- package/lib/plugin/decorations.js +0 -115
- package/lib/plugin/decorations.js.map +0 -1
- package/lib/plugin/dialogs.d.ts +0 -11
- package/lib/plugin/dialogs.d.ts.map +0 -1
- package/lib/plugin/dialogs.js +0 -92
- package/lib/plugin/dialogs.js.map +0 -1
- package/lib/plugin/document-data.d.ts +0 -41
- package/lib/plugin/document-data.d.ts.map +0 -1
- package/lib/plugin/document-data.js +0 -316
- package/lib/plugin/document-data.js.map +0 -1
- package/lib/plugin/documents.d.ts +0 -63
- package/lib/plugin/documents.d.ts.map +0 -1
- package/lib/plugin/documents.js +0 -272
- package/lib/plugin/documents.js.map +0 -1
- package/lib/plugin/editors-and-documents.d.ts +0 -27
- package/lib/plugin/editors-and-documents.d.ts.map +0 -1
- package/lib/plugin/editors-and-documents.js +0 -150
- package/lib/plugin/editors-and-documents.js.map +0 -1
- package/lib/plugin/env.d.ts +0 -41
- package/lib/plugin/env.d.ts.map +0 -1
- package/lib/plugin/env.js +0 -114
- package/lib/plugin/env.js.map +0 -1
- package/lib/plugin/file-system-event-service-ext-impl.d.ts +0 -56
- package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +0 -1
- package/lib/plugin/file-system-event-service-ext-impl.js +0 -206
- package/lib/plugin/file-system-event-service-ext-impl.js.map +0 -1
- package/lib/plugin/file-system-ext-impl.d.ts +0 -82
- package/lib/plugin/file-system-ext-impl.d.ts.map +0 -1
- package/lib/plugin/file-system-ext-impl.js +0 -361
- package/lib/plugin/file-system-ext-impl.js.map +0 -1
- package/lib/plugin/file-system-watcher.spec.d.ts +0 -2
- package/lib/plugin/file-system-watcher.spec.d.ts.map +0 -1
- package/lib/plugin/file-system-watcher.spec.js +0 -108
- package/lib/plugin/file-system-watcher.spec.js.map +0 -1
- package/lib/plugin/known-commands.d.ts +0 -6
- package/lib/plugin/known-commands.d.ts.map +0 -1
- package/lib/plugin/known-commands.js +0 -402
- package/lib/plugin/known-commands.js.map +0 -1
- package/lib/plugin/known-commands.spec.d.ts +0 -2
- package/lib/plugin/known-commands.spec.d.ts.map +0 -1
- package/lib/plugin/known-commands.spec.js +0 -43
- package/lib/plugin/known-commands.spec.js.map +0 -1
- package/lib/plugin/label-service.d.ts +0 -12
- package/lib/plugin/label-service.d.ts.map +0 -1
- package/lib/plugin/label-service.js +0 -36
- package/lib/plugin/label-service.js.map +0 -1
- package/lib/plugin/languages/call-hierarchy.d.ts +0 -21
- package/lib/plugin/languages/call-hierarchy.d.ts.map +0 -1
- package/lib/plugin/languages/call-hierarchy.js +0 -102
- package/lib/plugin/languages/call-hierarchy.js.map +0 -1
- package/lib/plugin/languages/code-action.d.ts +0 -25
- package/lib/plugin/languages/code-action.d.ts.map +0 -1
- package/lib/plugin/languages/code-action.js +0 -138
- package/lib/plugin/languages/code-action.js.map +0 -1
- package/lib/plugin/languages/color.d.ts +0 -13
- package/lib/plugin/languages/color.d.ts.map +0 -1
- package/lib/plugin/languages/color.js +0 -59
- package/lib/plugin/languages/color.js.map +0 -1
- package/lib/plugin/languages/completion.d.ts +0 -21
- package/lib/plugin/languages/completion.d.ts.map +0 -1
- package/lib/plugin/languages/completion.js +0 -165
- package/lib/plugin/languages/completion.js.map +0 -1
- package/lib/plugin/languages/declaration.d.ts +0 -12
- package/lib/plugin/languages/declaration.d.ts.map +0 -1
- package/lib/plugin/languages/declaration.js +0 -59
- package/lib/plugin/languages/declaration.js.map +0 -1
- package/lib/plugin/languages/definition.d.ts +0 -12
- package/lib/plugin/languages/definition.d.ts.map +0 -1
- package/lib/plugin/languages/definition.js +0 -59
- package/lib/plugin/languages/definition.js.map +0 -1
- package/lib/plugin/languages/diagnostics.d.ts +0 -51
- package/lib/plugin/languages/diagnostics.d.ts.map +0 -1
- package/lib/plugin/languages/diagnostics.js +0 -288
- package/lib/plugin/languages/diagnostics.js.map +0 -1
- package/lib/plugin/languages/document-drop-edit.d.ts +0 -16
- package/lib/plugin/languages/document-drop-edit.d.ts.map +0 -1
- package/lib/plugin/languages/document-drop-edit.js +0 -23
- package/lib/plugin/languages/document-drop-edit.js.map +0 -1
- package/lib/plugin/languages/document-formatting.d.ts +0 -11
- package/lib/plugin/languages/document-formatting.d.ts.map +0 -1
- package/lib/plugin/languages/document-formatting.js +0 -41
- package/lib/plugin/languages/document-formatting.js.map +0 -1
- package/lib/plugin/languages/document-highlight.d.ts +0 -13
- package/lib/plugin/languages/document-highlight.d.ts.map +0 -1
- package/lib/plugin/languages/document-highlight.js +0 -51
- package/lib/plugin/languages/document-highlight.js.map +0 -1
- package/lib/plugin/languages/evaluatable-expression.d.ts +0 -12
- package/lib/plugin/languages/evaluatable-expression.d.ts.map +0 -1
- package/lib/plugin/languages/evaluatable-expression.js +0 -41
- package/lib/plugin/languages/evaluatable-expression.js.map +0 -1
- package/lib/plugin/languages/folding.d.ts +0 -11
- package/lib/plugin/languages/folding.d.ts.map +0 -1
- package/lib/plugin/languages/folding.js +0 -40
- package/lib/plugin/languages/folding.js.map +0 -1
- package/lib/plugin/languages/hover.d.ts +0 -12
- package/lib/plugin/languages/hover.d.ts.map +0 -1
- package/lib/plugin/languages/hover.js +0 -49
- package/lib/plugin/languages/hover.js.map +0 -1
- package/lib/plugin/languages/implementation.d.ts +0 -12
- package/lib/plugin/languages/implementation.d.ts.map +0 -1
- package/lib/plugin/languages/implementation.js +0 -59
- package/lib/plugin/languages/implementation.js.map +0 -1
- package/lib/plugin/languages/inlay-hints.d.ts +0 -20
- package/lib/plugin/languages/inlay-hints.d.ts.map +0 -1
- package/lib/plugin/languages/inlay-hints.js +0 -128
- package/lib/plugin/languages/inlay-hints.js.map +0 -1
- package/lib/plugin/languages/inline-completion.d.ts +0 -21
- package/lib/plugin/languages/inline-completion.d.ts.map +0 -1
- package/lib/plugin/languages/inline-completion.js +0 -94
- package/lib/plugin/languages/inline-completion.js.map +0 -1
- package/lib/plugin/languages/inline-values.d.ts +0 -11
- package/lib/plugin/languages/inline-values.d.ts.map +0 -1
- package/lib/plugin/languages/inline-values.js +0 -45
- package/lib/plugin/languages/inline-values.js.map +0 -1
- package/lib/plugin/languages/lens.d.ts +0 -20
- package/lib/plugin/languages/lens.d.ts.map +0 -1
- package/lib/plugin/languages/lens.js +0 -90
- package/lib/plugin/languages/lens.js.map +0 -1
- package/lib/plugin/languages/link-provider.d.ts +0 -15
- package/lib/plugin/languages/link-provider.d.ts.map +0 -1
- package/lib/plugin/languages/link-provider.js +0 -74
- package/lib/plugin/languages/link-provider.js.map +0 -1
- package/lib/plugin/languages/linked-editing-range.d.ts +0 -12
- package/lib/plugin/languages/linked-editing-range.d.ts.map +0 -1
- package/lib/plugin/languages/linked-editing-range.js +0 -41
- package/lib/plugin/languages/linked-editing-range.js.map +0 -1
- package/lib/plugin/languages/on-type-formatting.d.ts +0 -12
- package/lib/plugin/languages/on-type-formatting.d.ts.map +0 -1
- package/lib/plugin/languages/on-type-formatting.js +0 -42
- package/lib/plugin/languages/on-type-formatting.js.map +0 -1
- package/lib/plugin/languages/outline.d.ts +0 -21
- package/lib/plugin/languages/outline.d.ts.map +0 -1
- package/lib/plugin/languages/outline.js +0 -116
- package/lib/plugin/languages/outline.js.map +0 -1
- package/lib/plugin/languages/range-formatting.d.ts +0 -11
- package/lib/plugin/languages/range-formatting.d.ts.map +0 -1
- package/lib/plugin/languages/range-formatting.js +0 -42
- package/lib/plugin/languages/range-formatting.js.map +0 -1
- package/lib/plugin/languages/reference.d.ts +0 -12
- package/lib/plugin/languages/reference.d.ts.map +0 -1
- package/lib/plugin/languages/reference.js +0 -48
- package/lib/plugin/languages/reference.js.map +0 -1
- package/lib/plugin/languages/rename.d.ts +0 -15
- package/lib/plugin/languages/rename.d.ts.map +0 -1
- package/lib/plugin/languages/rename.js +0 -115
- package/lib/plugin/languages/rename.js.map +0 -1
- package/lib/plugin/languages/selection-range.d.ts +0 -12
- package/lib/plugin/languages/selection-range.d.ts.map +0 -1
- package/lib/plugin/languages/selection-range.js +0 -66
- package/lib/plugin/languages/selection-range.js.map +0 -1
- package/lib/plugin/languages/semantic-highlighting.d.ts +0 -29
- package/lib/plugin/languages/semantic-highlighting.d.ts.map +0 -1
- package/lib/plugin/languages/semantic-highlighting.js +0 -176
- package/lib/plugin/languages/semantic-highlighting.js.map +0 -1
- package/lib/plugin/languages/signature.d.ts +0 -16
- package/lib/plugin/languages/signature.d.ts.map +0 -1
- package/lib/plugin/languages/signature.js +0 -72
- package/lib/plugin/languages/signature.js.map +0 -1
- package/lib/plugin/languages/type-definition.d.ts +0 -12
- package/lib/plugin/languages/type-definition.d.ts.map +0 -1
- package/lib/plugin/languages/type-definition.js +0 -59
- package/lib/plugin/languages/type-definition.js.map +0 -1
- package/lib/plugin/languages/type-hierarchy.d.ts +0 -19
- package/lib/plugin/languages/type-hierarchy.d.ts.map +0 -1
- package/lib/plugin/languages/type-hierarchy.js +0 -96
- package/lib/plugin/languages/type-hierarchy.js.map +0 -1
- package/lib/plugin/languages/util.d.ts +0 -5
- package/lib/plugin/languages/util.d.ts.map +0 -1
- package/lib/plugin/languages/util.js +0 -28
- package/lib/plugin/languages/util.js.map +0 -1
- package/lib/plugin/languages/workspace-symbol.d.ts +0 -9
- package/lib/plugin/languages/workspace-symbol.d.ts.map +0 -1
- package/lib/plugin/languages/workspace-symbol.js +0 -62
- package/lib/plugin/languages/workspace-symbol.js.map +0 -1
- package/lib/plugin/languages-utils.d.ts +0 -7
- package/lib/plugin/languages-utils.d.ts.map +0 -1
- package/lib/plugin/languages-utils.js +0 -66
- package/lib/plugin/languages-utils.js.map +0 -1
- package/lib/plugin/languages.d.ts +0 -128
- package/lib/plugin/languages.d.ts.map +0 -1
- package/lib/plugin/languages.js +0 -713
- package/lib/plugin/languages.js.map +0 -1
- package/lib/plugin/lm-ext.d.ts +0 -28
- package/lib/plugin/lm-ext.d.ts.map +0 -1
- package/lib/plugin/lm-ext.js +0 -131
- package/lib/plugin/lm-ext.js.map +0 -1
- package/lib/plugin/localization-ext.d.ts +0 -19
- package/lib/plugin/localization-ext.d.ts.map +0 -1
- package/lib/plugin/localization-ext.js +0 -94
- package/lib/plugin/localization-ext.js.map +0 -1
- package/lib/plugin/logger.d.ts +0 -16
- package/lib/plugin/logger.d.ts.map +0 -1
- package/lib/plugin/logger.js +0 -56
- package/lib/plugin/logger.js.map +0 -1
- package/lib/plugin/markdown-string.d.ts +0 -25
- package/lib/plugin/markdown-string.d.ts.map +0 -1
- package/lib/plugin/markdown-string.js +0 -106
- package/lib/plugin/markdown-string.js.map +0 -1
- package/lib/plugin/message-registry.d.ts +0 -10
- package/lib/plugin/message-registry.d.ts.map +0 -1
- package/lib/plugin/message-registry.js +0 -77
- package/lib/plugin/message-registry.js.map +0 -1
- package/lib/plugin/node/debug/debug.spec.d.ts +0 -2
- package/lib/plugin/node/debug/debug.spec.d.ts.map +0 -1
- package/lib/plugin/node/debug/debug.spec.js +0 -88
- package/lib/plugin/node/debug/debug.spec.js.map +0 -1
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +0 -18
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +0 -1
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js +0 -155
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +0 -1
- package/lib/plugin/node/env-node-ext.d.ts +0 -17
- package/lib/plugin/node/env-node-ext.d.ts.map +0 -1
- package/lib/plugin/node/env-node-ext.js +0 -64
- package/lib/plugin/node/env-node-ext.js.map +0 -1
- package/lib/plugin/node/plugin-container-module.d.ts +0 -75
- package/lib/plugin/node/plugin-container-module.d.ts.map +0 -1
- package/lib/plugin/node/plugin-container-module.js +0 -115
- package/lib/plugin/node/plugin-container-module.js.map +0 -1
- package/lib/plugin/notebook/notebook-document.d.ts +0 -60
- package/lib/plugin/notebook/notebook-document.d.ts.map +0 -1
- package/lib/plugin/notebook/notebook-document.js +0 -383
- package/lib/plugin/notebook/notebook-document.js.map +0 -1
- package/lib/plugin/notebook/notebook-documents.d.ts +0 -17
- package/lib/plugin/notebook/notebook-documents.d.ts.map +0 -1
- package/lib/plugin/notebook/notebook-documents.js +0 -48
- package/lib/plugin/notebook/notebook-documents.js.map +0 -1
- package/lib/plugin/notebook/notebook-editor.d.ts +0 -21
- package/lib/plugin/notebook/notebook-editor.d.ts.map +0 -1
- package/lib/plugin/notebook/notebook-editor.js +0 -99
- package/lib/plugin/notebook/notebook-editor.js.map +0 -1
- package/lib/plugin/notebook/notebook-editors.d.ts +0 -14
- package/lib/plugin/notebook/notebook-editors.d.ts.map +0 -1
- package/lib/plugin/notebook/notebook-editors.js +0 -65
- package/lib/plugin/notebook/notebook-editors.js.map +0 -1
- package/lib/plugin/notebook/notebook-kernels.d.ts +0 -40
- package/lib/plugin/notebook/notebook-kernels.d.ts.map +0 -1
- package/lib/plugin/notebook/notebook-kernels.js +0 -536
- package/lib/plugin/notebook/notebook-kernels.js.map +0 -1
- package/lib/plugin/notebook/notebook-renderers.d.ts +0 -14
- package/lib/plugin/notebook/notebook-renderers.d.ts.map +0 -1
- package/lib/plugin/notebook/notebook-renderers.js +0 -63
- package/lib/plugin/notebook/notebook-renderers.js.map +0 -1
- package/lib/plugin/notebook/notebooks.d.ts +0 -62
- package/lib/plugin/notebook/notebooks.d.ts.map +0 -1
- package/lib/plugin/notebook/notebooks.js +0 -381
- package/lib/plugin/notebook/notebooks.js.map +0 -1
- package/lib/plugin/notification.d.ts +0 -18
- package/lib/plugin/notification.d.ts.map +0 -1
- package/lib/plugin/notification.js +0 -68
- package/lib/plugin/notification.js.map +0 -1
- package/lib/plugin/output-channel/log-output-channel.d.ts +0 -24
- package/lib/plugin/output-channel/log-output-channel.d.ts.map +0 -1
- package/lib/plugin/output-channel/log-output-channel.js +0 -101
- package/lib/plugin/output-channel/log-output-channel.js.map +0 -1
- package/lib/plugin/output-channel/output-channel-item.d.ts +0 -18
- package/lib/plugin/output-channel/output-channel-item.d.ts.map +0 -1
- package/lib/plugin/output-channel/output-channel-item.js +0 -60
- package/lib/plugin/output-channel/output-channel-item.js.map +0 -1
- package/lib/plugin/output-channel-registry.d.ts +0 -14
- package/lib/plugin/output-channel-registry.d.ts.map +0 -1
- package/lib/plugin/output-channel-registry.js +0 -45
- package/lib/plugin/output-channel-registry.js.map +0 -1
- package/lib/plugin/path.d.ts +0 -3
- package/lib/plugin/path.d.ts.map +0 -1
- package/lib/plugin/path.js +0 -60
- package/lib/plugin/path.js.map +0 -1
- package/lib/plugin/path.spec.d.ts +0 -2
- package/lib/plugin/path.spec.d.ts.map +0 -1
- package/lib/plugin/path.spec.js +0 -35
- package/lib/plugin/path.spec.js.map +0 -1
- package/lib/plugin/plugin-context.d.ts +0 -60
- package/lib/plugin/plugin-context.d.ts.map +0 -1
- package/lib/plugin/plugin-context.js +0 -1349
- package/lib/plugin/plugin-context.js.map +0 -1
- package/lib/plugin/plugin-icon-path.d.ts +0 -13
- package/lib/plugin/plugin-icon-path.d.ts.map +0 -1
- package/lib/plugin/plugin-icon-path.js +0 -54
- package/lib/plugin/plugin-icon-path.js.map +0 -1
- package/lib/plugin/plugin-manager.d.ts +0 -96
- package/lib/plugin/plugin-manager.d.ts.map +0 -1
- package/lib/plugin/plugin-manager.js +0 -434
- package/lib/plugin/plugin-manager.js.map +0 -1
- package/lib/plugin/plugin-storage.d.ts +0 -45
- package/lib/plugin/plugin-storage.d.ts.map +0 -1
- package/lib/plugin/plugin-storage.js +0 -109
- package/lib/plugin/plugin-storage.js.map +0 -1
- package/lib/plugin/preference-registry.d.ts +0 -41
- package/lib/plugin/preference-registry.d.ts.map +0 -1
- package/lib/plugin/preference-registry.js +0 -337
- package/lib/plugin/preference-registry.js.map +0 -1
- package/lib/plugin/preference-registry.spec.d.ts +0 -2
- package/lib/plugin/preference-registry.spec.d.ts.map +0 -1
- package/lib/plugin/preference-registry.spec.js +0 -247
- package/lib/plugin/preference-registry.spec.js.map +0 -1
- package/lib/plugin/prefix-sum-computer.d.ts +0 -31
- package/lib/plugin/prefix-sum-computer.d.ts.map +0 -1
- package/lib/plugin/prefix-sum-computer.js +0 -173
- package/lib/plugin/prefix-sum-computer.js.map +0 -1
- package/lib/plugin/quick-open.d.ts +0 -182
- package/lib/plugin/quick-open.d.ts.map +0 -1
- package/lib/plugin/quick-open.js +0 -605
- package/lib/plugin/quick-open.js.map +0 -1
- package/lib/plugin/scm.d.ts +0 -55
- package/lib/plugin/scm.d.ts.map +0 -1
- package/lib/plugin/scm.js +0 -740
- package/lib/plugin/scm.js.map +0 -1
- package/lib/plugin/secrets-ext.d.ts +0 -43
- package/lib/plugin/secrets-ext.d.ts.map +0 -1
- package/lib/plugin/secrets-ext.js +0 -84
- package/lib/plugin/secrets-ext.js.map +0 -1
- package/lib/plugin/status-bar/status-bar-item.d.ts +0 -52
- package/lib/plugin/status-bar/status-bar-item.d.ts.map +0 -1
- package/lib/plugin/status-bar/status-bar-item.js +0 -190
- package/lib/plugin/status-bar/status-bar-item.js.map +0 -1
- package/lib/plugin/status-bar-message-registry.d.ts +0 -26
- package/lib/plugin/status-bar-message-registry.d.ts.map +0 -1
- package/lib/plugin/status-bar-message-registry.js +0 -100
- package/lib/plugin/status-bar-message-registry.js.map +0 -1
- package/lib/plugin/tabs.d.ts +0 -23
- package/lib/plugin/tabs.d.ts.map +0 -1
- package/lib/plugin/tabs.js +0 -363
- package/lib/plugin/tabs.js.map +0 -1
- package/lib/plugin/tasks/task-provider.d.ts +0 -9
- package/lib/plugin/tasks/task-provider.d.ts.map +0 -1
- package/lib/plugin/tasks/task-provider.js +0 -54
- package/lib/plugin/tasks/task-provider.js.map +0 -1
- package/lib/plugin/tasks/tasks.d.ts +0 -47
- package/lib/plugin/tasks/tasks.d.ts.map +0 -1
- package/lib/plugin/tasks/tasks.js +0 -216
- package/lib/plugin/tasks/tasks.js.map +0 -1
- package/lib/plugin/telemetry-ext.d.ts +0 -44
- package/lib/plugin/telemetry-ext.d.ts.map +0 -1
- package/lib/plugin/telemetry-ext.js +0 -252
- package/lib/plugin/telemetry-ext.js.map +0 -1
- package/lib/plugin/terminal-ext.d.ts +0 -115
- package/lib/plugin/terminal-ext.d.ts.map +0 -1
- package/lib/plugin/terminal-ext.js +0 -502
- package/lib/plugin/terminal-ext.js.map +0 -1
- package/lib/plugin/test-item.d.ts +0 -47
- package/lib/plugin/test-item.d.ts.map +0 -1
- package/lib/plugin/test-item.js +0 -188
- package/lib/plugin/test-item.js.map +0 -1
- package/lib/plugin/tests.d.ts +0 -141
- package/lib/plugin/tests.d.ts.map +0 -1
- package/lib/plugin/tests.js +0 -469
- package/lib/plugin/tests.js.map +0 -1
- package/lib/plugin/text-editor.d.ts +0 -109
- package/lib/plugin/text-editor.d.ts.map +0 -1
- package/lib/plugin/text-editor.js +0 -474
- package/lib/plugin/text-editor.js.map +0 -1
- package/lib/plugin/text-editors.d.ts +0 -44
- package/lib/plugin/text-editors.d.ts.map +0 -1
- package/lib/plugin/text-editors.js +0 -203
- package/lib/plugin/text-editors.js.map +0 -1
- package/lib/plugin/theming.d.ts +0 -16
- package/lib/plugin/theming.d.ts.map +0 -1
- package/lib/plugin/theming.js +0 -62
- package/lib/plugin/theming.js.map +0 -1
- package/lib/plugin/timeline.d.ts +0 -21
- package/lib/plugin/timeline.d.ts.map +0 -1
- package/lib/plugin/timeline.js +0 -158
- package/lib/plugin/timeline.js.map +0 -1
- package/lib/plugin/tree/tree-views.d.ts +0 -108
- package/lib/plugin/tree/tree-views.d.ts.map +0 -1
- package/lib/plugin/tree/tree-views.js +0 -610
- package/lib/plugin/tree/tree-views.js.map +0 -1
- package/lib/plugin/type-converters.d.ts +0 -216
- package/lib/plugin/type-converters.d.ts.map +0 -1
- package/lib/plugin/type-converters.js +0 -1737
- package/lib/plugin/type-converters.js.map +0 -1
- package/lib/plugin/type-converters.spec.d.ts +0 -2
- package/lib/plugin/type-converters.spec.d.ts.map +0 -1
- package/lib/plugin/type-converters.spec.js +0 -396
- package/lib/plugin/type-converters.spec.js.map +0 -1
- package/lib/plugin/types-impl.d.ts +0 -2110
- package/lib/plugin/types-impl.d.ts.map +0 -1
- package/lib/plugin/types-impl.js +0 -3608
- package/lib/plugin/types-impl.js.map +0 -1
- package/lib/plugin/types-impl.spec.d.ts +0 -2
- package/lib/plugin/types-impl.spec.d.ts.map +0 -1
- package/lib/plugin/types-impl.spec.js +0 -79
- package/lib/plugin/types-impl.spec.js.map +0 -1
- package/lib/plugin/uri-ext.d.ts +0 -13
- package/lib/plugin/uri-ext.d.ts.map +0 -1
- package/lib/plugin/uri-ext.js +0 -49
- package/lib/plugin/uri-ext.js.map +0 -1
- package/lib/plugin/webview-views.d.ts +0 -56
- package/lib/plugin/webview-views.d.ts.map +0 -1
- package/lib/plugin/webview-views.js +0 -157
- package/lib/plugin/webview-views.js.map +0 -1
- package/lib/plugin/webviews.d.ts +0 -113
- package/lib/plugin/webviews.d.ts.map +0 -1
- package/lib/plugin/webviews.js +0 -393
- package/lib/plugin/webviews.js.map +0 -1
- package/lib/plugin/window-state.d.ts +0 -19
- package/lib/plugin/window-state.d.ts.map +0 -1
- package/lib/plugin/window-state.js +0 -67
- package/lib/plugin/window-state.js.map +0 -1
- package/lib/plugin/word-helper.d.ts +0 -22
- package/lib/plugin/word-helper.d.ts.map +0 -1
- package/lib/plugin/word-helper.js +0 -126
- package/lib/plugin/word-helper.js.map +0 -1
- package/lib/plugin/workspace.d.ts +0 -75
- package/lib/plugin/workspace.d.ts.map +0 -1
- package/lib/plugin/workspace.js +0 -476
- package/lib/plugin/workspace.js.map +0 -1
- package/lib/plugin-ext-backend-electron-module.d.ts +0 -4
- package/lib/plugin-ext-backend-electron-module.d.ts.map +0 -1
- package/lib/plugin-ext-backend-electron-module.js +0 -25
- package/lib/plugin-ext-backend-electron-module.js.map +0 -1
- package/lib/plugin-ext-backend-module.d.ts +0 -4
- package/lib/plugin-ext-backend-module.d.ts.map +0 -1
- package/lib/plugin-ext-backend-module.js +0 -25
- package/lib/plugin-ext-backend-module.js.map +0 -1
- package/lib/plugin-ext-frontend-electron-module.d.ts +0 -3
- package/lib/plugin-ext-frontend-electron-module.d.ts.map +0 -1
- package/lib/plugin-ext-frontend-electron-module.js +0 -20
- package/lib/plugin-ext-frontend-electron-module.js.map +0 -1
- package/lib/plugin-ext-frontend-module.d.ts +0 -3
- package/lib/plugin-ext-frontend-module.d.ts.map +0 -1
- package/lib/plugin-ext-frontend-module.js +0 -20
- package/lib/plugin-ext-frontend-module.js.map +0 -1
|
@@ -1,848 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2018-2019 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.TreeViewWidget = exports.PluginTreeModel = exports.PluginTree = exports.TreeViewWidgetOptions = exports.CompositeTreeViewNode = exports.ResolvableCompositeTreeViewNode = exports.ResolvableTreeViewNode = exports.TreeViewNode = exports.VIEW_ITEM_INLINE_MENU = exports.VIEW_ITEM_CONTEXT_MENU = exports.TREE_NODE_HYPERLINK = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
-
const plugin_api_rpc_1 = require("../../../common/plugin-api-rpc");
|
|
22
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
23
|
-
const menu_1 = require("@theia/core/lib/common/menu");
|
|
24
|
-
const React = require("@theia/core/shared/react");
|
|
25
|
-
const plugin_shared_style_1 = require("../plugin-shared-style");
|
|
26
|
-
const widget_1 = require("@theia/core/lib/browser/widgets/widget");
|
|
27
|
-
const event_1 = require("@theia/core/lib/common/event");
|
|
28
|
-
const message_service_1 = require("@theia/core/lib/common/message-service");
|
|
29
|
-
const uri_1 = require("@theia/core/lib/common/uri");
|
|
30
|
-
const context_key_service_1 = require("@theia/core/lib/browser/context-key-service");
|
|
31
|
-
const markdown_rendering_1 = require("@theia/core/lib/common/markdown-rendering");
|
|
32
|
-
const color_registry_1 = require("@theia/core/lib/browser/color-registry");
|
|
33
|
-
const tree_decorator_1 = require("@theia/core/lib/browser/tree/tree-decorator");
|
|
34
|
-
const common_1 = require("@theia/core/lib/common");
|
|
35
|
-
const types_1 = require("../../../common/types");
|
|
36
|
-
const promise_util_1 = require("@theia/core/lib/common/promise-util");
|
|
37
|
-
const dnd_file_content_store_1 = require("./dnd-file-content-store");
|
|
38
|
-
exports.TREE_NODE_HYPERLINK = 'theia-TreeNodeHyperlink';
|
|
39
|
-
exports.VIEW_ITEM_CONTEXT_MENU = ['view-item-context-menu'];
|
|
40
|
-
exports.VIEW_ITEM_INLINE_MENU = ['view-item-context-menu', 'inline'];
|
|
41
|
-
var TreeViewNode;
|
|
42
|
-
(function (TreeViewNode) {
|
|
43
|
-
function is(arg) {
|
|
44
|
-
return !!arg && browser_1.SelectableTreeNode.is(arg) && tree_decorator_1.DecoratedTreeNode.is(arg);
|
|
45
|
-
}
|
|
46
|
-
TreeViewNode.is = is;
|
|
47
|
-
})(TreeViewNode || (exports.TreeViewNode = TreeViewNode = {}));
|
|
48
|
-
class ResolvableTreeViewNode {
|
|
49
|
-
constructor(treeViewNode, resolve) {
|
|
50
|
-
this._resolved = false;
|
|
51
|
-
(0, types_1.mixin)(this, treeViewNode);
|
|
52
|
-
this.resolve = async (token) => {
|
|
53
|
-
var _a, _b;
|
|
54
|
-
if (this.resolving) {
|
|
55
|
-
return this.resolving.promise;
|
|
56
|
-
}
|
|
57
|
-
if (!this._resolved) {
|
|
58
|
-
this.resolving = new promise_util_1.Deferred();
|
|
59
|
-
const resolvedTreeItem = await resolve(token);
|
|
60
|
-
if (resolvedTreeItem) {
|
|
61
|
-
this.command = (_a = this.command) !== null && _a !== void 0 ? _a : resolvedTreeItem.command;
|
|
62
|
-
this.tooltip = (_b = this.tooltip) !== null && _b !== void 0 ? _b : resolvedTreeItem.tooltip;
|
|
63
|
-
}
|
|
64
|
-
this.resolving.resolve();
|
|
65
|
-
this.resolving = undefined;
|
|
66
|
-
}
|
|
67
|
-
if (!token.isCancellationRequested) {
|
|
68
|
-
this._resolved = true;
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
reset() {
|
|
73
|
-
this._resolved = false;
|
|
74
|
-
this.resolving = undefined;
|
|
75
|
-
this.command = undefined;
|
|
76
|
-
this.tooltip = undefined;
|
|
77
|
-
}
|
|
78
|
-
get resolved() {
|
|
79
|
-
return this._resolved;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.ResolvableTreeViewNode = ResolvableTreeViewNode;
|
|
83
|
-
class ResolvableCompositeTreeViewNode extends ResolvableTreeViewNode {
|
|
84
|
-
constructor(treeViewNode, resolve) {
|
|
85
|
-
super(treeViewNode, resolve);
|
|
86
|
-
this.expanded = treeViewNode.expanded;
|
|
87
|
-
this.children = treeViewNode.children;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.ResolvableCompositeTreeViewNode = ResolvableCompositeTreeViewNode;
|
|
91
|
-
var CompositeTreeViewNode;
|
|
92
|
-
(function (CompositeTreeViewNode) {
|
|
93
|
-
function is(arg) {
|
|
94
|
-
return TreeViewNode.is(arg) && browser_1.ExpandableTreeNode.is(arg) && browser_1.CompositeTreeNode.is(arg);
|
|
95
|
-
}
|
|
96
|
-
CompositeTreeViewNode.is = is;
|
|
97
|
-
})(CompositeTreeViewNode || (exports.CompositeTreeViewNode = CompositeTreeViewNode = {}));
|
|
98
|
-
let TreeViewWidgetOptions = class TreeViewWidgetOptions {
|
|
99
|
-
};
|
|
100
|
-
exports.TreeViewWidgetOptions = TreeViewWidgetOptions;
|
|
101
|
-
exports.TreeViewWidgetOptions = TreeViewWidgetOptions = tslib_1.__decorate([
|
|
102
|
-
(0, inversify_1.injectable)()
|
|
103
|
-
], TreeViewWidgetOptions);
|
|
104
|
-
let PluginTree = class PluginTree extends browser_1.TreeImpl {
|
|
105
|
-
constructor() {
|
|
106
|
-
super(...arguments);
|
|
107
|
-
this.onDidChangeWelcomeStateEmitter = new event_1.Emitter();
|
|
108
|
-
this.onDidChangeWelcomeState = this.onDidChangeWelcomeStateEmitter.event;
|
|
109
|
-
this._hasTreeItemResolve = Promise.resolve(false);
|
|
110
|
-
}
|
|
111
|
-
set proxy(proxy) {
|
|
112
|
-
this._proxy = proxy;
|
|
113
|
-
if (proxy) {
|
|
114
|
-
this._hasTreeItemResolve = proxy.$hasResolveTreeItem(this.options.id);
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
this._hasTreeItemResolve = Promise.resolve(false);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
get proxy() {
|
|
121
|
-
return this._proxy;
|
|
122
|
-
}
|
|
123
|
-
get hasTreeItemResolve() {
|
|
124
|
-
return this._hasTreeItemResolve;
|
|
125
|
-
}
|
|
126
|
-
set viewInfo(viewInfo) {
|
|
127
|
-
this._viewInfo = viewInfo;
|
|
128
|
-
}
|
|
129
|
-
get isEmpty() {
|
|
130
|
-
return this._isEmpty;
|
|
131
|
-
}
|
|
132
|
-
async resolveChildren(parent) {
|
|
133
|
-
if (!this._proxy) {
|
|
134
|
-
return super.resolveChildren(parent);
|
|
135
|
-
}
|
|
136
|
-
const children = await this.fetchChildren(this._proxy, parent);
|
|
137
|
-
const hasResolve = await this.hasTreeItemResolve;
|
|
138
|
-
return children.map(value => hasResolve ? this.createResolvableTreeNode(value, parent) : this.createTreeNode(value, parent));
|
|
139
|
-
}
|
|
140
|
-
async fetchChildren(proxy, parent) {
|
|
141
|
-
try {
|
|
142
|
-
const children = await proxy.$getChildren(this.options.id, parent.id);
|
|
143
|
-
const oldEmpty = this._isEmpty;
|
|
144
|
-
this._isEmpty = !parent.id && (!children || children.length === 0);
|
|
145
|
-
if (oldEmpty !== this._isEmpty) {
|
|
146
|
-
this.onDidChangeWelcomeStateEmitter.fire();
|
|
147
|
-
}
|
|
148
|
-
return children || [];
|
|
149
|
-
}
|
|
150
|
-
catch (e) {
|
|
151
|
-
if (e) {
|
|
152
|
-
console.error(`Failed to fetch children for '${this.options.id}'`, e);
|
|
153
|
-
const label = this._viewInfo ? this._viewInfo.name : this.options.id;
|
|
154
|
-
this.notification.error(`${label}: ${e.message}`);
|
|
155
|
-
}
|
|
156
|
-
return [];
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
createTreeNode(item, parent) {
|
|
160
|
-
const update = this.createTreeNodeUpdate(item);
|
|
161
|
-
const node = this.getNode(item.id);
|
|
162
|
-
if (item.collapsibleState !== undefined && item.collapsibleState !== plugin_api_rpc_1.TreeViewItemCollapsibleState.None) {
|
|
163
|
-
if (CompositeTreeViewNode.is(node)) {
|
|
164
|
-
return Object.assign(node, update);
|
|
165
|
-
}
|
|
166
|
-
return Object.assign({
|
|
167
|
-
id: item.id,
|
|
168
|
-
parent,
|
|
169
|
-
visible: true,
|
|
170
|
-
selected: false,
|
|
171
|
-
expanded: plugin_api_rpc_1.TreeViewItemCollapsibleState.Expanded === item.collapsibleState,
|
|
172
|
-
children: [],
|
|
173
|
-
command: item.command
|
|
174
|
-
}, update);
|
|
175
|
-
}
|
|
176
|
-
if (TreeViewNode.is(node) && !browser_1.ExpandableTreeNode.is(node)) {
|
|
177
|
-
return Object.assign(node, update, { command: item.command });
|
|
178
|
-
}
|
|
179
|
-
return Object.assign({
|
|
180
|
-
id: item.id,
|
|
181
|
-
parent,
|
|
182
|
-
visible: true,
|
|
183
|
-
selected: false,
|
|
184
|
-
command: item.command,
|
|
185
|
-
}, update);
|
|
186
|
-
}
|
|
187
|
-
markAsChecked(node, checked) {
|
|
188
|
-
var _a;
|
|
189
|
-
function findParentsToChange(child, nodes) {
|
|
190
|
-
var _a;
|
|
191
|
-
if ((((_a = child.parent) === null || _a === void 0 ? void 0 : _a.checkboxInfo) !== undefined && child.parent.checkboxInfo.checked !== checked) &&
|
|
192
|
-
(!checked || !child.parent.children.some(candidate => { var _a; return candidate !== child && ((_a = candidate.checkboxInfo) === null || _a === void 0 ? void 0 : _a.checked) === false; }))) {
|
|
193
|
-
nodes.push(child.parent);
|
|
194
|
-
findParentsToChange(child.parent, nodes);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
function findChildrenToChange(parent, nodes) {
|
|
198
|
-
if (browser_1.CompositeTreeNode.is(parent)) {
|
|
199
|
-
parent.children.forEach(child => {
|
|
200
|
-
if (child.checkboxInfo !== undefined && child.checkboxInfo.checked !== checked) {
|
|
201
|
-
nodes.push(child);
|
|
202
|
-
}
|
|
203
|
-
findChildrenToChange(child, nodes);
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
const nodesToChange = [node];
|
|
208
|
-
if (!this.options.manageCheckboxStateManually) {
|
|
209
|
-
findParentsToChange(node, nodesToChange);
|
|
210
|
-
findChildrenToChange(node, nodesToChange);
|
|
211
|
-
}
|
|
212
|
-
nodesToChange.forEach(n => n.checkboxInfo.checked = checked);
|
|
213
|
-
this.onDidUpdateEmitter.fire(nodesToChange);
|
|
214
|
-
(_a = this.proxy) === null || _a === void 0 ? void 0 : _a.$checkStateChanged(this.options.id, [{ id: node.id, checked: checked }]);
|
|
215
|
-
}
|
|
216
|
-
/** Creates a resolvable tree node. If a node already exists, reset it because the underlying TreeViewItem might have been disposed in the backend. */
|
|
217
|
-
createResolvableTreeNode(item, parent) {
|
|
218
|
-
const update = this.createTreeNodeUpdate(item);
|
|
219
|
-
const node = this.getNode(item.id);
|
|
220
|
-
// Node is a composite node that might contain children
|
|
221
|
-
if (item.collapsibleState !== undefined && item.collapsibleState !== plugin_api_rpc_1.TreeViewItemCollapsibleState.None) {
|
|
222
|
-
// Reuse existing composite node and reset it
|
|
223
|
-
if (node instanceof ResolvableCompositeTreeViewNode) {
|
|
224
|
-
node.reset();
|
|
225
|
-
return Object.assign(node, update);
|
|
226
|
-
}
|
|
227
|
-
// Create new composite node
|
|
228
|
-
const compositeNode = Object.assign({
|
|
229
|
-
id: item.id,
|
|
230
|
-
parent,
|
|
231
|
-
visible: true,
|
|
232
|
-
selected: false,
|
|
233
|
-
expanded: plugin_api_rpc_1.TreeViewItemCollapsibleState.Expanded === item.collapsibleState,
|
|
234
|
-
children: [],
|
|
235
|
-
command: item.command
|
|
236
|
-
}, update);
|
|
237
|
-
return new ResolvableCompositeTreeViewNode(compositeNode, async (token) => { var _a; return (_a = this._proxy) === null || _a === void 0 ? void 0 : _a.$resolveTreeItem(this.options.id, item.id, token); });
|
|
238
|
-
}
|
|
239
|
-
// Node is a leaf
|
|
240
|
-
// Reuse existing node and reset it.
|
|
241
|
-
if (node instanceof ResolvableTreeViewNode && !browser_1.ExpandableTreeNode.is(node)) {
|
|
242
|
-
node.reset();
|
|
243
|
-
return Object.assign(node, update);
|
|
244
|
-
}
|
|
245
|
-
const treeNode = Object.assign({
|
|
246
|
-
id: item.id,
|
|
247
|
-
parent,
|
|
248
|
-
visible: true,
|
|
249
|
-
selected: false,
|
|
250
|
-
command: item.command,
|
|
251
|
-
}, update);
|
|
252
|
-
return new ResolvableTreeViewNode(treeNode, async (token) => { var _a; return (_a = this._proxy) === null || _a === void 0 ? void 0 : _a.$resolveTreeItem(this.options.id, item.id, token); });
|
|
253
|
-
}
|
|
254
|
-
createTreeNodeUpdate(item) {
|
|
255
|
-
const decorationData = this.toDecorationData(item);
|
|
256
|
-
const icon = this.toIconClass(item);
|
|
257
|
-
const resourceUri = item.resourceUri && uri_1.URI.fromComponents(item.resourceUri).toString();
|
|
258
|
-
const themeIcon = item.themeIcon ? item.themeIcon : item.collapsibleState !== plugin_api_rpc_1.TreeViewItemCollapsibleState.None ? { id: 'folder' } : undefined;
|
|
259
|
-
return {
|
|
260
|
-
name: item.label,
|
|
261
|
-
decorationData,
|
|
262
|
-
icon,
|
|
263
|
-
description: item.description,
|
|
264
|
-
themeIcon,
|
|
265
|
-
resourceUri,
|
|
266
|
-
tooltip: item.tooltip,
|
|
267
|
-
contextValue: item.contextValue,
|
|
268
|
-
command: item.command,
|
|
269
|
-
checkboxInfo: item.checkboxInfo,
|
|
270
|
-
accessibilityInformation: item.accessibilityInformation,
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
toDecorationData(item) {
|
|
274
|
-
let decoration = {};
|
|
275
|
-
if (item.highlights) {
|
|
276
|
-
const highlight = {
|
|
277
|
-
ranges: item.highlights.map(h => ({ offset: h[0], length: h[1] - h[0] }))
|
|
278
|
-
};
|
|
279
|
-
decoration = { highlight };
|
|
280
|
-
}
|
|
281
|
-
return decoration;
|
|
282
|
-
}
|
|
283
|
-
toIconClass(item) {
|
|
284
|
-
if (item.icon) {
|
|
285
|
-
return 'fa ' + item.icon;
|
|
286
|
-
}
|
|
287
|
-
if (item.iconUrl) {
|
|
288
|
-
const reference = this.sharedStyle.toIconClass(item.iconUrl);
|
|
289
|
-
this.toDispose.push(reference);
|
|
290
|
-
return reference.object.iconClass;
|
|
291
|
-
}
|
|
292
|
-
return undefined;
|
|
293
|
-
}
|
|
294
|
-
};
|
|
295
|
-
exports.PluginTree = PluginTree;
|
|
296
|
-
tslib_1.__decorate([
|
|
297
|
-
(0, inversify_1.inject)(plugin_shared_style_1.PluginSharedStyle),
|
|
298
|
-
tslib_1.__metadata("design:type", plugin_shared_style_1.PluginSharedStyle)
|
|
299
|
-
], PluginTree.prototype, "sharedStyle", void 0);
|
|
300
|
-
tslib_1.__decorate([
|
|
301
|
-
(0, inversify_1.inject)(TreeViewWidgetOptions),
|
|
302
|
-
tslib_1.__metadata("design:type", TreeViewWidgetOptions)
|
|
303
|
-
], PluginTree.prototype, "options", void 0);
|
|
304
|
-
tslib_1.__decorate([
|
|
305
|
-
(0, inversify_1.inject)(message_service_1.MessageService),
|
|
306
|
-
tslib_1.__metadata("design:type", message_service_1.MessageService)
|
|
307
|
-
], PluginTree.prototype, "notification", void 0);
|
|
308
|
-
exports.PluginTree = PluginTree = tslib_1.__decorate([
|
|
309
|
-
(0, inversify_1.injectable)()
|
|
310
|
-
], PluginTree);
|
|
311
|
-
let PluginTreeModel = class PluginTreeModel extends browser_1.TreeModelImpl {
|
|
312
|
-
set proxy(proxy) {
|
|
313
|
-
this.tree.proxy = proxy;
|
|
314
|
-
}
|
|
315
|
-
get proxy() {
|
|
316
|
-
return this.tree.proxy;
|
|
317
|
-
}
|
|
318
|
-
get hasTreeItemResolve() {
|
|
319
|
-
return this.tree.hasTreeItemResolve;
|
|
320
|
-
}
|
|
321
|
-
set viewInfo(viewInfo) {
|
|
322
|
-
this.tree.viewInfo = viewInfo;
|
|
323
|
-
}
|
|
324
|
-
get isTreeEmpty() {
|
|
325
|
-
return this.tree.isEmpty;
|
|
326
|
-
}
|
|
327
|
-
get onDidChangeWelcomeState() {
|
|
328
|
-
return this.tree.onDidChangeWelcomeState;
|
|
329
|
-
}
|
|
330
|
-
doOpenNode(node) {
|
|
331
|
-
super.doOpenNode(node);
|
|
332
|
-
if (node instanceof ResolvableTreeViewNode) {
|
|
333
|
-
node.resolve(common_1.CancellationToken.None);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
exports.PluginTreeModel = PluginTreeModel;
|
|
338
|
-
tslib_1.__decorate([
|
|
339
|
-
(0, inversify_1.inject)(PluginTree),
|
|
340
|
-
tslib_1.__metadata("design:type", PluginTree)
|
|
341
|
-
], PluginTreeModel.prototype, "tree", void 0);
|
|
342
|
-
exports.PluginTreeModel = PluginTreeModel = tslib_1.__decorate([
|
|
343
|
-
(0, inversify_1.injectable)()
|
|
344
|
-
], PluginTreeModel);
|
|
345
|
-
let TreeViewWidget = class TreeViewWidget extends browser_1.TreeViewWelcomeWidget {
|
|
346
|
-
constructor() {
|
|
347
|
-
super(...arguments);
|
|
348
|
-
this._contextSelection = false;
|
|
349
|
-
this.expansionTimeouts = new Map();
|
|
350
|
-
}
|
|
351
|
-
async refresh(items) {
|
|
352
|
-
if (items) {
|
|
353
|
-
for (const id of items) {
|
|
354
|
-
const node = this.model.getNode(id);
|
|
355
|
-
if (browser_1.CompositeTreeNode.is(node)) {
|
|
356
|
-
await this.model.refresh(node);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
;
|
|
360
|
-
}
|
|
361
|
-
else {
|
|
362
|
-
this.model.refresh();
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
init() {
|
|
366
|
-
super.init();
|
|
367
|
-
this.id = this.options.id;
|
|
368
|
-
this.addClass('theia-tree-view');
|
|
369
|
-
this.node.style.height = '100%';
|
|
370
|
-
this.model.onDidChangeWelcomeState(this.update, this);
|
|
371
|
-
this.toDispose.push(this.model.onDidChangeWelcomeState(this.update, this));
|
|
372
|
-
this.toDispose.push(this.onDidChangeVisibilityEmitter);
|
|
373
|
-
this.toDispose.push(this.contextKeyService.onDidChange(() => this.update()));
|
|
374
|
-
this.toDispose.push(this.keybindings.onKeybindingsChanged(() => this.update()));
|
|
375
|
-
this.treeDragType = `application/vnd.code.tree.${this.id.toLowerCase()}`;
|
|
376
|
-
}
|
|
377
|
-
get showCollapseAll() {
|
|
378
|
-
return this.options.showCollapseAll || false;
|
|
379
|
-
}
|
|
380
|
-
renderIcon(node, props) {
|
|
381
|
-
var _a;
|
|
382
|
-
const icon = this.toNodeIcon(node);
|
|
383
|
-
if (icon) {
|
|
384
|
-
let style;
|
|
385
|
-
if (TreeViewNode.is(node) && ((_a = node.themeIcon) === null || _a === void 0 ? void 0 : _a.color)) {
|
|
386
|
-
const color = this.colorRegistry.getCurrentColor(node.themeIcon.color.id);
|
|
387
|
-
if (color) {
|
|
388
|
-
style = { color };
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
return React.createElement("div", { className: icon + ' theia-tree-view-icon', style: style });
|
|
392
|
-
}
|
|
393
|
-
return undefined;
|
|
394
|
-
}
|
|
395
|
-
renderCaption(node, props) {
|
|
396
|
-
const classes = [browser_1.TREE_NODE_SEGMENT_CLASS];
|
|
397
|
-
if (!this.hasTrailingSuffixes(node)) {
|
|
398
|
-
classes.push(browser_1.TREE_NODE_SEGMENT_GROW_CLASS);
|
|
399
|
-
}
|
|
400
|
-
const className = classes.join(' ');
|
|
401
|
-
let attrs = {
|
|
402
|
-
...this.decorateCaption(node, {}),
|
|
403
|
-
className,
|
|
404
|
-
id: node.id
|
|
405
|
-
};
|
|
406
|
-
if (node.accessibilityInformation) {
|
|
407
|
-
attrs = {
|
|
408
|
-
...attrs,
|
|
409
|
-
'aria-label': node.accessibilityInformation.label,
|
|
410
|
-
'role': node.accessibilityInformation.role
|
|
411
|
-
};
|
|
412
|
-
}
|
|
413
|
-
if (!node.tooltip && node instanceof ResolvableTreeViewNode) {
|
|
414
|
-
let configuredTip = false;
|
|
415
|
-
let source;
|
|
416
|
-
attrs = {
|
|
417
|
-
...attrs,
|
|
418
|
-
onMouseLeave: () => source === null || source === void 0 ? void 0 : source.cancel(),
|
|
419
|
-
onMouseEnter: async (event) => {
|
|
420
|
-
const target = event.currentTarget; // event.currentTarget will be null after awaiting node resolve()
|
|
421
|
-
if (configuredTip) {
|
|
422
|
-
if (markdown_rendering_1.MarkdownString.is(node.tooltip)) {
|
|
423
|
-
this.hoverService.requestHover({
|
|
424
|
-
content: node.tooltip,
|
|
425
|
-
target: event.target,
|
|
426
|
-
position: 'right'
|
|
427
|
-
});
|
|
428
|
-
}
|
|
429
|
-
return;
|
|
430
|
-
}
|
|
431
|
-
if (!node.resolved) {
|
|
432
|
-
source = new common_1.CancellationTokenSource();
|
|
433
|
-
const token = source.token;
|
|
434
|
-
await node.resolve(token);
|
|
435
|
-
if (token.isCancellationRequested) {
|
|
436
|
-
return;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
if (markdown_rendering_1.MarkdownString.is(node.tooltip)) {
|
|
440
|
-
this.hoverService.requestHover({
|
|
441
|
-
content: node.tooltip,
|
|
442
|
-
target: event.target,
|
|
443
|
-
position: 'right'
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
else {
|
|
447
|
-
const title = node.tooltip ||
|
|
448
|
-
(node.resourceUri && this.labelProvider.getLongName(new uri_1.URI(node.resourceUri)))
|
|
449
|
-
|| this.toNodeName(node);
|
|
450
|
-
target.title = title;
|
|
451
|
-
}
|
|
452
|
-
configuredTip = true;
|
|
453
|
-
}
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
else if (markdown_rendering_1.MarkdownString.is(node.tooltip)) {
|
|
457
|
-
attrs = {
|
|
458
|
-
...attrs,
|
|
459
|
-
onMouseEnter: event => {
|
|
460
|
-
this.hoverService.requestHover({
|
|
461
|
-
content: node.tooltip,
|
|
462
|
-
target: event.target,
|
|
463
|
-
position: 'right'
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
else {
|
|
469
|
-
const title = node.tooltip ||
|
|
470
|
-
(node.resourceUri && this.labelProvider.getLongName(new uri_1.URI(node.resourceUri)))
|
|
471
|
-
|| this.toNodeName(node);
|
|
472
|
-
attrs = {
|
|
473
|
-
...attrs,
|
|
474
|
-
title
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
const children = [];
|
|
478
|
-
const caption = this.toNodeName(node);
|
|
479
|
-
const highlight = this.getDecorationData(node, 'highlight')[0];
|
|
480
|
-
if (highlight) {
|
|
481
|
-
children.push(this.toReactNode(caption, highlight));
|
|
482
|
-
}
|
|
483
|
-
const searchHighlight = this.searchHighlights && this.searchHighlights.get(node.id);
|
|
484
|
-
if (searchHighlight) {
|
|
485
|
-
children.push(...this.toReactNode(caption, searchHighlight));
|
|
486
|
-
}
|
|
487
|
-
else if (!highlight) {
|
|
488
|
-
children.push(caption);
|
|
489
|
-
}
|
|
490
|
-
const description = this.toNodeDescription(node);
|
|
491
|
-
if (description) {
|
|
492
|
-
children.push(React.createElement("span", { className: 'theia-tree-view-description' }, description));
|
|
493
|
-
}
|
|
494
|
-
return React.createElement("div", { ...attrs }, ...children);
|
|
495
|
-
}
|
|
496
|
-
createNodeAttributes(node, props) {
|
|
497
|
-
const attrs = super.createNodeAttributes(node, props);
|
|
498
|
-
if (this.options.dragMimeTypes) {
|
|
499
|
-
attrs.onDragStart = event => this.handleDragStartEvent(node, event);
|
|
500
|
-
attrs.onDragEnd = event => this.handleDragEnd(node, event);
|
|
501
|
-
attrs.draggable = true;
|
|
502
|
-
}
|
|
503
|
-
if (this.options.dropMimeTypes) {
|
|
504
|
-
attrs.onDrop = event => this.handleDropEvent(node, event);
|
|
505
|
-
attrs.onDragEnter = event => this.handleDragEnter(node, event);
|
|
506
|
-
attrs.onDragLeave = event => this.handleDragLeave(node, event);
|
|
507
|
-
attrs.onDragOver = event => this.handleDragOver(event);
|
|
508
|
-
}
|
|
509
|
-
return attrs;
|
|
510
|
-
}
|
|
511
|
-
handleDragLeave(node, event) {
|
|
512
|
-
const timeout = this.expansionTimeouts.get(node.id);
|
|
513
|
-
if (typeof timeout !== 'undefined') {
|
|
514
|
-
console.debug(`dragleave ${node.id} canceling timeout`);
|
|
515
|
-
clearTimeout(timeout);
|
|
516
|
-
this.expansionTimeouts.delete(node.id);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
handleDragEnter(node, event) {
|
|
520
|
-
console.debug(`dragenter ${node.id}`);
|
|
521
|
-
if (browser_1.ExpandableTreeNode.is(node)) {
|
|
522
|
-
console.debug(`dragenter ${node.id} starting timeout`);
|
|
523
|
-
this.expansionTimeouts.set(node.id, window.setTimeout(() => {
|
|
524
|
-
console.debug(`dragenter ${node.id} timeout reached`);
|
|
525
|
-
this.model.expandNode(node);
|
|
526
|
-
}, 500));
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
createContainerAttributes() {
|
|
530
|
-
const attrs = super.createContainerAttributes();
|
|
531
|
-
if (this.options.dropMimeTypes) {
|
|
532
|
-
attrs.onDrop = event => this.handleDropEvent(undefined, event);
|
|
533
|
-
attrs.onDragOver = event => this.handleDragOver(event);
|
|
534
|
-
}
|
|
535
|
-
return attrs;
|
|
536
|
-
}
|
|
537
|
-
handleDragStartEvent(node, event) {
|
|
538
|
-
event.dataTransfer.setData(this.treeDragType, '');
|
|
539
|
-
let selectedNodes = [];
|
|
540
|
-
if (this.model.selectedNodes.find(selected => browser_1.TreeNode.equals(selected, node))) {
|
|
541
|
-
selectedNodes = this.model.selectedNodes.filter(TreeViewNode.is);
|
|
542
|
-
}
|
|
543
|
-
else {
|
|
544
|
-
selectedNodes = [node];
|
|
545
|
-
}
|
|
546
|
-
this.options.dragMimeTypes.forEach(type => {
|
|
547
|
-
if (type === 'text/uri-list') {
|
|
548
|
-
browser_1.ApplicationShell.setDraggedEditorUris(event.dataTransfer, selectedNodes.filter(n => n.resourceUri).map(n => new uri_1.URI(n.resourceUri)));
|
|
549
|
-
}
|
|
550
|
-
else {
|
|
551
|
-
event.dataTransfer.setData(type, '');
|
|
552
|
-
}
|
|
553
|
-
});
|
|
554
|
-
this.model.proxy.$dragStarted(this.options.id, selectedNodes.map(selected => selected.id), common_1.CancellationToken.None).then(maybeUris => {
|
|
555
|
-
if (maybeUris) {
|
|
556
|
-
this.applicationShell.addAdditionalDraggedEditorUris(maybeUris.map(uri => uri_1.URI.fromComponents(uri)));
|
|
557
|
-
}
|
|
558
|
-
});
|
|
559
|
-
}
|
|
560
|
-
handleDragEnd(node, event) {
|
|
561
|
-
this.applicationShell.clearAdditionalDraggedEditorUris();
|
|
562
|
-
this.model.proxy.$dragEnd(this.id);
|
|
563
|
-
}
|
|
564
|
-
handleDragOver(event) {
|
|
565
|
-
const hasFiles = (items) => {
|
|
566
|
-
for (let i = 0; i < items.length; i++) {
|
|
567
|
-
if (items[i].kind === 'file') {
|
|
568
|
-
return true;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
return false;
|
|
572
|
-
};
|
|
573
|
-
if (event.dataTransfer) {
|
|
574
|
-
const canDrop = event.dataTransfer.types.some(type => this.options.dropMimeTypes.includes(type)) ||
|
|
575
|
-
event.dataTransfer.types.includes(this.treeDragType) ||
|
|
576
|
-
this.options.dropMimeTypes.includes('files') && hasFiles(event.dataTransfer.items);
|
|
577
|
-
if (canDrop) {
|
|
578
|
-
event.preventDefault();
|
|
579
|
-
event.dataTransfer.dropEffect = 'move';
|
|
580
|
-
}
|
|
581
|
-
else {
|
|
582
|
-
event.dataTransfer.dropEffect = 'none';
|
|
583
|
-
}
|
|
584
|
-
event.stopPropagation();
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
handleDropEvent(node, event) {
|
|
588
|
-
var _a;
|
|
589
|
-
if (event.dataTransfer) {
|
|
590
|
-
const items = [];
|
|
591
|
-
let files = [];
|
|
592
|
-
try {
|
|
593
|
-
for (let i = 0; i < event.dataTransfer.items.length; i++) {
|
|
594
|
-
const transferItem = event.dataTransfer.items[i];
|
|
595
|
-
if (transferItem.type !== this.treeDragType) {
|
|
596
|
-
// do not pass the artificial drag data to the extension
|
|
597
|
-
const f = event.dataTransfer.items[i].getAsFile();
|
|
598
|
-
if (f) {
|
|
599
|
-
const fileId = this.dndFileContentStore.addFile(f);
|
|
600
|
-
files.push(fileId);
|
|
601
|
-
const path = window.electronTheiaCore.getPathForFile(f);
|
|
602
|
-
const uri = path ? {
|
|
603
|
-
scheme: 'file',
|
|
604
|
-
path: path,
|
|
605
|
-
authority: '',
|
|
606
|
-
query: '',
|
|
607
|
-
fragment: ''
|
|
608
|
-
} : undefined;
|
|
609
|
-
items.push([transferItem.type, new plugin_api_rpc_1.DataTransferFileDTO(f.name, fileId, uri)]);
|
|
610
|
-
}
|
|
611
|
-
else {
|
|
612
|
-
const textData = event.dataTransfer.getData(transferItem.type);
|
|
613
|
-
if (textData) {
|
|
614
|
-
items.push([transferItem.type, textData]);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
if (items.length > 0 || event.dataTransfer.types.includes(this.treeDragType)) {
|
|
620
|
-
event.preventDefault();
|
|
621
|
-
event.stopPropagation();
|
|
622
|
-
(_a = this.model.proxy) === null || _a === void 0 ? void 0 : _a.$drop(this.id, node === null || node === void 0 ? void 0 : node.id, items, common_1.CancellationToken.None).finally(() => {
|
|
623
|
-
for (const file of files) {
|
|
624
|
-
this.dndFileContentStore.removeFile(file);
|
|
625
|
-
}
|
|
626
|
-
});
|
|
627
|
-
files = [];
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
catch (e) {
|
|
631
|
-
for (const file of files) {
|
|
632
|
-
this.dndFileContentStore.removeFile(file);
|
|
633
|
-
}
|
|
634
|
-
throw e;
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
renderTailDecorations(treeViewNode, props) {
|
|
639
|
-
return this.contextKeys.with({ view: this.id, viewItem: treeViewNode.contextValue }, () => {
|
|
640
|
-
const menu = this.menus.getMenu(exports.VIEW_ITEM_INLINE_MENU);
|
|
641
|
-
const args = this.toContextMenuArgs(treeViewNode);
|
|
642
|
-
const inlineCommands = (menu === null || menu === void 0 ? void 0 : menu.children.filter((item) => menu_1.CommandMenu.is(item))) || [];
|
|
643
|
-
const tailDecorations = super.renderTailDecorations(treeViewNode, props);
|
|
644
|
-
return React.createElement(React.Fragment, null,
|
|
645
|
-
inlineCommands.length > 0 && React.createElement("div", { className: browser_1.TREE_NODE_SEGMENT_CLASS + ' flex' }, inlineCommands.map((item, index) => this.renderInlineCommand(item, index, this.focusService.hasFocus(treeViewNode), args))),
|
|
646
|
-
tailDecorations !== undefined && React.createElement("div", { className: browser_1.TREE_NODE_SEGMENT_CLASS + ' flex' }, tailDecorations));
|
|
647
|
-
});
|
|
648
|
-
}
|
|
649
|
-
toTreeViewItemReference(treeNode) {
|
|
650
|
-
return { viewId: this.id, itemId: treeNode.id };
|
|
651
|
-
}
|
|
652
|
-
resolveKeybindingForCommand(command) {
|
|
653
|
-
let result = '';
|
|
654
|
-
if (command) {
|
|
655
|
-
const bindings = this.keybindings.getKeybindingsForCommand(command);
|
|
656
|
-
let found = false;
|
|
657
|
-
if (bindings && bindings.length > 0) {
|
|
658
|
-
bindings.forEach(binding => {
|
|
659
|
-
if (!found && this.keybindings.isEnabledInScope(binding, this.node)) {
|
|
660
|
-
found = true;
|
|
661
|
-
result = ` (${this.keybindings.acceleratorFor(binding, '+')})`;
|
|
662
|
-
}
|
|
663
|
-
});
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
return result;
|
|
667
|
-
}
|
|
668
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
669
|
-
renderInlineCommand(actionMenuNode, index, tabbable, args) {
|
|
670
|
-
const nodePath = [...exports.VIEW_ITEM_INLINE_MENU, actionMenuNode.id];
|
|
671
|
-
if (!actionMenuNode.icon || !actionMenuNode.isVisible(nodePath, this.contextKeys, undefined)) {
|
|
672
|
-
return false;
|
|
673
|
-
}
|
|
674
|
-
const className = [browser_1.TREE_NODE_SEGMENT_CLASS, browser_1.TREE_NODE_TAIL_CLASS, actionMenuNode.icon, widget_1.ACTION_ITEM, 'theia-tree-view-inline-action'].join(' ');
|
|
675
|
-
const tabIndex = tabbable ? 0 : undefined;
|
|
676
|
-
const titleString = actionMenuNode.label + (menu_1.AcceleratorSource.is(actionMenuNode) ? actionMenuNode.getAccelerator(undefined).join('+') : '');
|
|
677
|
-
return React.createElement("div", { key: index, className: className, title: titleString, tabIndex: tabIndex, onClick: e => {
|
|
678
|
-
e.stopPropagation();
|
|
679
|
-
actionMenuNode.run(nodePath, ...args);
|
|
680
|
-
} });
|
|
681
|
-
}
|
|
682
|
-
toContextMenuArgs(target) {
|
|
683
|
-
if (this.options.multiSelect) {
|
|
684
|
-
return [this.toTreeViewItemReference(target), this.model.selectedNodes.map(node => this.toTreeViewItemReference(node))];
|
|
685
|
-
}
|
|
686
|
-
else {
|
|
687
|
-
return [this.toTreeViewItemReference(target)];
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
setFlag(flag) {
|
|
691
|
-
super.setFlag(flag);
|
|
692
|
-
if (flag === widget_1.Widget.Flag.IsVisible) {
|
|
693
|
-
this.onDidChangeVisibilityEmitter.fire(this.isVisible);
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
clearFlag(flag) {
|
|
697
|
-
super.clearFlag(flag);
|
|
698
|
-
if (flag === widget_1.Widget.Flag.IsVisible) {
|
|
699
|
-
this.onDidChangeVisibilityEmitter.fire(this.isVisible);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
handleEnter(event) {
|
|
703
|
-
super.handleEnter(event);
|
|
704
|
-
this.tryExecuteCommand();
|
|
705
|
-
}
|
|
706
|
-
tapNode(node) {
|
|
707
|
-
super.tapNode(node);
|
|
708
|
-
this.findCommands(node).then(commandMap => {
|
|
709
|
-
if (commandMap.size > 0) {
|
|
710
|
-
this.tryExecuteCommandMap(commandMap);
|
|
711
|
-
}
|
|
712
|
-
else if (node && this.isExpandable(node)) {
|
|
713
|
-
this.model.toggleNodeExpansion(node);
|
|
714
|
-
}
|
|
715
|
-
});
|
|
716
|
-
}
|
|
717
|
-
// execute TreeItem.command if present
|
|
718
|
-
async tryExecuteCommand(node) {
|
|
719
|
-
this.tryExecuteCommandMap(await this.findCommands(node));
|
|
720
|
-
}
|
|
721
|
-
tryExecuteCommandMap(commandMap) {
|
|
722
|
-
commandMap.forEach((args, commandId) => {
|
|
723
|
-
this.commands.executeCommand(commandId, ...args);
|
|
724
|
-
});
|
|
725
|
-
}
|
|
726
|
-
async findCommands(node) {
|
|
727
|
-
const commandMap = new Map();
|
|
728
|
-
const treeNodes = (node ? [node] : this.model.selectedNodes);
|
|
729
|
-
if (await this.model.hasTreeItemResolve) {
|
|
730
|
-
const cancellationToken = new common_1.CancellationTokenSource().token;
|
|
731
|
-
// Resolve all resolvable nodes that don't have a command and haven't been resolved.
|
|
732
|
-
const allResolved = Promise.all(treeNodes.map(maybeNeedsResolve => {
|
|
733
|
-
if (!maybeNeedsResolve.command && maybeNeedsResolve instanceof ResolvableTreeViewNode && !maybeNeedsResolve.resolved) {
|
|
734
|
-
return maybeNeedsResolve.resolve(cancellationToken).catch(err => {
|
|
735
|
-
console.error(`Failed to resolve tree item '${maybeNeedsResolve.id}'`, err);
|
|
736
|
-
});
|
|
737
|
-
}
|
|
738
|
-
return Promise.resolve(maybeNeedsResolve);
|
|
739
|
-
}));
|
|
740
|
-
// Only need to wait but don't need the values because tree items are resolved in place.
|
|
741
|
-
await allResolved;
|
|
742
|
-
}
|
|
743
|
-
for (const treeNode of treeNodes) {
|
|
744
|
-
if (treeNode && treeNode.command) {
|
|
745
|
-
commandMap.set(treeNode.command.id, treeNode.command.arguments || []);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
return commandMap;
|
|
749
|
-
}
|
|
750
|
-
get message() {
|
|
751
|
-
return this._message;
|
|
752
|
-
}
|
|
753
|
-
set message(message) {
|
|
754
|
-
this._message = message;
|
|
755
|
-
this.update();
|
|
756
|
-
}
|
|
757
|
-
render() {
|
|
758
|
-
return React.createElement('div', this.createContainerAttributes(), this.renderSearchInfo(), this.renderTree(this.model));
|
|
759
|
-
}
|
|
760
|
-
renderSearchInfo() {
|
|
761
|
-
if (this._message) {
|
|
762
|
-
return React.createElement("div", { className: 'theia-TreeViewInfo' }, this._message);
|
|
763
|
-
}
|
|
764
|
-
return undefined;
|
|
765
|
-
}
|
|
766
|
-
shouldShowWelcomeView() {
|
|
767
|
-
return (this.model.proxy === undefined || this.model.isTreeEmpty) && this.message === undefined;
|
|
768
|
-
}
|
|
769
|
-
handleContextMenuEvent(node, event) {
|
|
770
|
-
if (browser_1.SelectableTreeNode.is(node)) {
|
|
771
|
-
// Keep the selection for the context menu, if the widget support multi-selection and the right click happens on an already selected node.
|
|
772
|
-
if (!this.props.multiSelect || !node.selected) {
|
|
773
|
-
const type = !!this.props.multiSelect && this.hasCtrlCmdMask(event) ? browser_1.TreeSelection.SelectionType.TOGGLE : browser_1.TreeSelection.SelectionType.DEFAULT;
|
|
774
|
-
this.model.addSelection({ node, type });
|
|
775
|
-
}
|
|
776
|
-
this.focusService.setFocus(node);
|
|
777
|
-
const contextMenuPath = this.props.contextMenuPath;
|
|
778
|
-
if (contextMenuPath) {
|
|
779
|
-
const { x, y } = event.nativeEvent;
|
|
780
|
-
const args = this.toContextMenuArgs(node);
|
|
781
|
-
const contextKeyService = this.contextKeyService.createOverlay([
|
|
782
|
-
['viewItem', (TreeViewNode.is(node) && node.contextValue) || undefined],
|
|
783
|
-
['view', this.options.id]
|
|
784
|
-
]);
|
|
785
|
-
setTimeout(() => this.contextMenuRenderer.render({
|
|
786
|
-
menuPath: contextMenuPath,
|
|
787
|
-
anchor: { x, y },
|
|
788
|
-
args,
|
|
789
|
-
contextKeyService,
|
|
790
|
-
context: event.currentTarget
|
|
791
|
-
}), 10);
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
event.stopPropagation();
|
|
795
|
-
event.preventDefault();
|
|
796
|
-
}
|
|
797
|
-
};
|
|
798
|
-
exports.TreeViewWidget = TreeViewWidget;
|
|
799
|
-
tslib_1.__decorate([
|
|
800
|
-
(0, inversify_1.inject)(browser_1.ApplicationShell),
|
|
801
|
-
tslib_1.__metadata("design:type", browser_1.ApplicationShell)
|
|
802
|
-
], TreeViewWidget.prototype, "applicationShell", void 0);
|
|
803
|
-
tslib_1.__decorate([
|
|
804
|
-
(0, inversify_1.inject)(menu_1.MenuModelRegistry),
|
|
805
|
-
tslib_1.__metadata("design:type", menu_1.MenuModelRegistry)
|
|
806
|
-
], TreeViewWidget.prototype, "menus", void 0);
|
|
807
|
-
tslib_1.__decorate([
|
|
808
|
-
(0, inversify_1.inject)(browser_1.KeybindingRegistry),
|
|
809
|
-
tslib_1.__metadata("design:type", browser_1.KeybindingRegistry)
|
|
810
|
-
], TreeViewWidget.prototype, "keybindings", void 0);
|
|
811
|
-
tslib_1.__decorate([
|
|
812
|
-
(0, inversify_1.inject)(context_key_service_1.ContextKeyService),
|
|
813
|
-
tslib_1.__metadata("design:type", Object)
|
|
814
|
-
], TreeViewWidget.prototype, "contextKeys", void 0);
|
|
815
|
-
tslib_1.__decorate([
|
|
816
|
-
(0, inversify_1.inject)(TreeViewWidgetOptions),
|
|
817
|
-
tslib_1.__metadata("design:type", TreeViewWidgetOptions)
|
|
818
|
-
], TreeViewWidget.prototype, "options", void 0);
|
|
819
|
-
tslib_1.__decorate([
|
|
820
|
-
(0, inversify_1.inject)(PluginTreeModel),
|
|
821
|
-
tslib_1.__metadata("design:type", PluginTreeModel)
|
|
822
|
-
], TreeViewWidget.prototype, "model", void 0);
|
|
823
|
-
tslib_1.__decorate([
|
|
824
|
-
(0, inversify_1.inject)(context_key_service_1.ContextKeyService),
|
|
825
|
-
tslib_1.__metadata("design:type", Object)
|
|
826
|
-
], TreeViewWidget.prototype, "contextKeyService", void 0);
|
|
827
|
-
tslib_1.__decorate([
|
|
828
|
-
(0, inversify_1.inject)(browser_1.HoverService),
|
|
829
|
-
tslib_1.__metadata("design:type", browser_1.HoverService)
|
|
830
|
-
], TreeViewWidget.prototype, "hoverService", void 0);
|
|
831
|
-
tslib_1.__decorate([
|
|
832
|
-
(0, inversify_1.inject)(color_registry_1.ColorRegistry),
|
|
833
|
-
tslib_1.__metadata("design:type", color_registry_1.ColorRegistry)
|
|
834
|
-
], TreeViewWidget.prototype, "colorRegistry", void 0);
|
|
835
|
-
tslib_1.__decorate([
|
|
836
|
-
(0, inversify_1.inject)(dnd_file_content_store_1.DnDFileContentStore),
|
|
837
|
-
tslib_1.__metadata("design:type", dnd_file_content_store_1.DnDFileContentStore)
|
|
838
|
-
], TreeViewWidget.prototype, "dndFileContentStore", void 0);
|
|
839
|
-
tslib_1.__decorate([
|
|
840
|
-
(0, inversify_1.postConstruct)(),
|
|
841
|
-
tslib_1.__metadata("design:type", Function),
|
|
842
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
843
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
844
|
-
], TreeViewWidget.prototype, "init", null);
|
|
845
|
-
exports.TreeViewWidget = TreeViewWidget = tslib_1.__decorate([
|
|
846
|
-
(0, inversify_1.injectable)()
|
|
847
|
-
], TreeViewWidget);
|
|
848
|
-
//# sourceMappingURL=tree-view-widget.js.map
|