@codingame/monaco-vscode-workspace-trust-service-override 12.0.1 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/package.json +13 -12
- package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.d.ts +19 -19
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +44 -44
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +59 -59
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.d.ts +4 -4
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +7 -7
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
3
|
-
import { IWorkspaceTrustEnablementService, IWorkspaceTrustManagementService, IWorkspaceTrustRequestService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
2
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
3
|
+
import { IWorkspaceTrustEnablementService, IWorkspaceTrustManagementService, IWorkspaceTrustRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
4
4
|
import { WorkspaceTrustEnablementService, WorkspaceTrustManagementService, WorkspaceTrustRequestService } from '@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common/vscode/vs/workbench/services/workspaces/common/workspaceTrust';
|
|
5
5
|
import './vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-workspace-trust-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - workspace-trust service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,18 +15,19 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common": "
|
|
19
|
-
"@codingame/monaco-vscode-22790577-4553-50b6-978d-0acc75c394cc-common": "
|
|
20
|
-
"@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "
|
|
21
|
-
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "
|
|
22
|
-
"@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common": "
|
|
23
|
-
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "
|
|
24
|
-
"@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "
|
|
25
|
-
"@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common": "
|
|
26
|
-
"@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "
|
|
27
|
-
|
|
18
|
+
"@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common": "13.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-22790577-4553-50b6-978d-0acc75c394cc-common": "13.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "13.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "13.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common": "13.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common": "13.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "13.0.0"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@codingame/monaco-vscode-api": "13.0.0"
|
|
28
30
|
},
|
|
29
|
-
"peerDependencies": {},
|
|
30
31
|
"peerDependenciesMeta": {},
|
|
31
32
|
"main": "index.js",
|
|
32
33
|
"module": "index.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
1
|
+
import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
2
2
|
|
|
3
3
|
var css = ".workspace-trust-editor{height:calc(100% - 11px);margin:auto;max-width:1000px;padding-top:11px}.workspace-trust-editor:focus{outline:none!important}.workspace-trust-editor>.workspace-trust-header{align-items:center;display:flex;flex-direction:column;padding:14px}.workspace-trust-editor .workspace-trust-header .workspace-trust-title{display:flex;font-size:24px;font-weight:600;line-height:32px;padding:10px 0}.workspace-trust-editor .workspace-trust-header .workspace-trust-title .workspace-trust-title-icon{color:var(--workspace-trust-selected-color)!important;font-size:32px;margin-right:8px}.workspace-trust-editor .workspace-trust-header .workspace-trust-description{cursor:default;max-width:600px;padding:14px 0;text-align:center;user-select:text}.workspace-trust-editor .workspace-trust-section-title{font-size:18px;font-weight:600;padding-bottom:5px}.workspace-trust-editor .workspace-trust-subsection-title{font-size:16px;font-weight:600;line-height:32px}.workspace-trust-editor .workspace-trust-editor-body{height:100%}.workspace-trust-editor .workspace-trust-features{cursor:default;display:flex;flex-direction:row;flex-flow:wrap;justify-content:space-evenly;padding:14px;user-select:text}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations{border:1px solid var(--workspace-trust-unselected-color);display:flex;flex-direction:column;margin:4px;min-height:315px;padding:10px 40px}.workspace-trust-editor.trusted .workspace-trust-features .workspace-trust-limitations.trusted,.workspace-trust-editor.untrusted .workspace-trust-features .workspace-trust-limitations.untrusted{border-color:var(--workspace-trust-selected-color)!important;border-width:2px;outline-offset:2px;padding:9px 39px}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations ul{list-style:none;padding-inline-start:0}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations li{display:flex;padding-bottom:10px}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations .list-item-icon{line-height:24px;padding-right:5px}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations.trusted .list-item-icon{color:var(--workspace-trust-check-color)!important;font-size:18px}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations.untrusted .list-item-icon{color:var(--workspace-trust-x-color)!important;font-size:20px}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations .list-item-text{font-size:16px;line-height:24px}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations-header{align-items:center;display:flex;flex-direction:column}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations-header .workspace-trust-limitations-title{display:flex;font-size:16px;font-weight:600;line-height:24px;padding:10px 0}.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations-header .workspace-trust-limitations-title .workspace-trust-title-icon{display:none;font-size:24px;margin-right:8px}.workspace-trust-editor.trusted .workspace-trust-features .workspace-trust-limitations.trusted .workspace-trust-limitations-header .workspace-trust-limitations-title .workspace-trust-title-icon,.workspace-trust-editor.untrusted .workspace-trust-features .workspace-trust-limitations.untrusted .workspace-trust-limitations-header .workspace-trust-limitations-title .workspace-trust-title-icon{color:var(--workspace-trust-selected-color)!important;display:unset}.workspace-trust-editor .workspace-trust-features .workspace-trust-untrusted-description{font-style:italic;padding-bottom:10px}.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row{align-items:center;display:flex;justify-content:center;margin-top:auto;overflow:hidden;padding:5px 0 10px;white-space:nowrap}.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons,.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar{display:flex;overflow:hidden}.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar{margin-top:5px}.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar .monaco-button{outline-offset:2px!important;overflow:hidden;padding:5px 10px;text-overflow:ellipsis;width:fit-content}.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons>.monaco-button,.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons>.monaco-button-dropdown,.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar .monaco-button{margin:4px 5px}.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons .monaco-button-dropdown .monaco-dropdown-button{padding:5px}.workspace-trust-limitations{flex:1;max-width:350px;min-width:250px;width:50%}.workspace-trust-intro-dialog{min-width:min(50vw,500px);padding-right:24px}.workspace-trust-intro-dialog .workspace-trust-dialog-image-row p{align-items:center;display:flex}.workspace-trust-intro-dialog .workspace-trust-dialog-image-row.badge-row img{max-height:40px;padding-right:10px}.workspace-trust-intro-dialog .workspace-trust-dialog-image-row.status-bar img{max-height:32px;padding-right:10px}.workspace-trust-editor .workspace-trust-settings{padding:20px 14px}.workspace-trust-editor .workspace-trust-settings .workspace-trusted-folders-title{font-weight:600}.workspace-trust-editor .empty>.trusted-uris-table{display:none}.workspace-trust-editor .monaco-table-tr .monaco-table-td .path{width:100%}.workspace-trust-editor .monaco-table-tr .monaco-table-td .path.input-mode .path-label,.workspace-trust-editor .monaco-table-tr .monaco-table-td .path:not(.input-mode) .monaco-inputbox{display:none}.workspace-trust-editor .monaco-table-tr .monaco-table-td .current-workspace-parent .host-label,.workspace-trust-editor .monaco-table-tr .monaco-table-td .current-workspace-parent .path-label{font-style:italic;font-weight:700}.workspace-trust-editor .monaco-table-td,.workspace-trust-editor .monaco-table-th{padding-left:5px}.workspace-trust-editor .workspace-trust-settings .monaco-action-bar .action-item>.codicon{align-items:center;color:inherit;display:flex;justify-content:center}.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td{align-items:center;display:flex;overflow:hidden}.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .host,.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .path{max-width:100%}.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .actions{width:100%}.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .actions .actions-container{justify-content:flex-end;padding-right:3px}.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .monaco-button{height:18px;padding-left:8px;padding-right:8px}.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .actions .monaco-action-bar{display:none;flex:1}.workspace-trust-editor .workspace-trust-settings .monaco-list-row.selected .monaco-table-tr .monaco-table-td .actions .monaco-action-bar,.workspace-trust-editor .workspace-trust-settings .monaco-list-row:hover .monaco-table-tr .monaco-table-td .actions .monaco-action-bar,.workspace-trust-editor .workspace-trust-settings .monaco-table .monaco-list-row.focused .monaco-table-tr .monaco-table-td .actions .monaco-action-bar{display:flex}";
|
|
4
4
|
n(css,{});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
3
|
-
import { IWorkspaceTrustRequestService } from "vscode/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
4
|
-
import { IWorkspaceTrustManagementService } from "vscode/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
5
|
-
import { IWorkspaceTrustEnablementService } from "vscode/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
6
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
7
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
8
|
-
import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
|
|
9
|
-
import { IStatusbarService } from "vscode/vscode/vs/workbench/services/statusbar/browser/statusbar.service";
|
|
10
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
11
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
12
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
13
|
-
import { IHostService } from "vscode/vscode/vs/workbench/services/host/browser/host.service";
|
|
14
|
-
import { IBannerService } from "vscode/vscode/vs/workbench/services/banner/browser/bannerService.service";
|
|
15
|
-
import { ILabelService } from "vscode/vscode/vs/platform/label/common/label.service";
|
|
16
|
-
import { IProductService } from "vscode/vscode/vs/platform/product/common/productService.service";
|
|
17
|
-
import { IRemoteAgentService } from "vscode/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
18
|
-
import { IEnvironmentService } from "vscode/vscode/vs/platform/environment/common/environment.service";
|
|
19
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
3
|
+
import { IWorkspaceTrustRequestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
4
|
+
import { IWorkspaceTrustManagementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
5
|
+
import { IWorkspaceTrustEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
6
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
7
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
8
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
9
|
+
import { IStatusbarService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service";
|
|
10
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
11
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
12
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
13
|
+
import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
|
|
14
|
+
import { IBannerService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/banner/browser/bannerService.service";
|
|
15
|
+
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
16
|
+
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
17
|
+
import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
18
|
+
import { IEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service";
|
|
19
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
20
20
|
export declare class WorkspaceTrustContextKeys extends Disposable implements IWorkbenchContribution {
|
|
21
21
|
private readonly _ctxWorkspaceTrustEnabled;
|
|
22
22
|
private readonly _ctxWorkspaceTrustState;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import './media/workspaceTrustEditor.css.js';
|
|
4
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
5
|
-
import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
|
-
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
7
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
8
|
-
import { Extensions as Extensions$1, ConfigurationScope } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
9
|
-
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
10
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
-
import 'vscode/vscode/vs/platform/notification/common/notification';
|
|
12
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
13
|
-
import { WorkspaceTrustUriResponse } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust';
|
|
14
|
-
import { IWorkspaceTrustEnablementService, IWorkspaceTrustManagementService, IWorkspaceTrustRequestService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
15
|
-
import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
16
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
17
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
18
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
19
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
20
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
21
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
22
|
-
import { StatusbarAlignment } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
23
|
-
import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
4
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
5
|
+
import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
|
+
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
7
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
8
|
+
import { Extensions as Extensions$1, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
9
|
+
import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
10
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification';
|
|
12
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
13
|
+
import { WorkspaceTrustUriResponse } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust';
|
|
14
|
+
import { IWorkspaceTrustEnablementService, IWorkspaceTrustManagementService, IWorkspaceTrustRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
15
|
+
import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
16
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
17
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
18
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
19
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
20
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
21
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
22
|
+
import { StatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
23
|
+
import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
24
24
|
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/editor';
|
|
25
25
|
import { shieldIcon, WorkspaceTrustEditor } from './workspaceTrustEditor.js';
|
|
26
26
|
import { WorkspaceTrustEditorInput } from '../../../services/workspaces/browser/workspaceTrustEditorInput.js';
|
|
27
27
|
import { WORKSPACE_TRUST_STARTUP_PROMPT, WORKSPACE_TRUST_BANNER, WORKSPACE_TRUST_ENABLED, WORKSPACE_TRUST_UNTRUSTED_FILES, WORKSPACE_TRUST_EMPTY_WINDOW } from '@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common/vscode/vs/workbench/services/workspaces/common/workspaceTrust';
|
|
28
|
-
import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
|
|
29
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
30
|
-
import { isSingleFolderWorkspaceIdentifier, toWorkspaceIdentifier, WorkbenchState, isEmptyWorkspaceIdentifier } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
31
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
32
|
-
import { resolve, dirname as dirname$1 } from 'vscode/vscode/vs/base/common/path';
|
|
33
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
34
|
-
import { MarkdownString } from 'vscode/vscode/vs/base/common/htmlContent';
|
|
35
|
-
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
36
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
37
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
38
|
-
import { IBannerService } from 'vscode/vscode/vs/workbench/services/banner/browser/bannerService.service';
|
|
28
|
+
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
29
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
30
|
+
import { isSingleFolderWorkspaceIdentifier, toWorkspaceIdentifier, WorkbenchState, isEmptyWorkspaceIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
|
|
31
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
32
|
+
import { resolve, dirname as dirname$1 } from '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
|
|
33
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
34
|
+
import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
35
|
+
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
36
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
37
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
38
|
+
import { IBannerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/banner/browser/bannerService.service';
|
|
39
39
|
import { isVirtualWorkspace } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
|
|
40
40
|
import { LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID } from '@codingame/monaco-vscode-22790577-4553-50b6-978d-0acc75c394cc-common/vscode/vs/workbench/contrib/extensions/common/extensions';
|
|
41
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
41
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
42
42
|
import { WORKSPACE_TRUST_SETTING_TAG } from '@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common/vscode/vs/workbench/contrib/preferences/common/preferences';
|
|
43
|
-
import { IPreferencesService } from 'vscode/vscode/vs/workbench/services/preferences/common/preferences.service';
|
|
43
|
+
import { IPreferencesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/preferences/common/preferences.service';
|
|
44
44
|
import { Verbosity } from '@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common/vscode/vs/platform/label/common/label';
|
|
45
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
46
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
45
|
+
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
46
|
+
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
47
47
|
import { WorkspaceTrustContext, MANAGE_TRUST_COMMAND_ID } from '@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common/vscode/vs/workbench/contrib/workspace/common/workspace';
|
|
48
|
-
import { isWeb } from 'vscode/vscode/vs/base/common/platform';
|
|
49
|
-
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
|
|
50
|
-
import { securityConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
|
|
51
|
-
import { basename, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
52
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
53
|
-
import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment.service';
|
|
54
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
55
|
-
import Severity from 'vscode/vscode/vs/base/common/severity';
|
|
48
|
+
import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
49
|
+
import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
|
|
50
|
+
import { securityConfigurationNodeBase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
|
|
51
|
+
import { basename, dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
52
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
53
|
+
import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
|
|
54
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
55
|
+
import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
|
|
56
56
|
|
|
57
57
|
const BANNER_RESTRICTED_MODE = 'workbench.banner.restrictedMode';
|
|
58
58
|
const STARTUP_PROMPT_SHOWN_KEY = 'workspace.trust.startupPrompt.shown';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Dimension } from "vscode/vscode/vs/base/browser/dom";
|
|
2
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
3
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
4
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
5
|
-
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
6
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
7
|
-
import { IThemeService } from "vscode/vscode/vs/platform/theme/common/themeService.service";
|
|
8
|
-
import { ThemeIcon } from "vscode/vscode/vs/base/common/themables";
|
|
9
|
-
import { IWorkspaceTrustManagementService } from "vscode/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
1
|
+
import { Dimension } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/dom";
|
|
2
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
3
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
4
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
5
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
6
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
7
|
+
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
8
|
+
import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables";
|
|
9
|
+
import { IWorkspaceTrustManagementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service";
|
|
10
10
|
import { EditorPane } from "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
11
|
-
import { IEditorOpenContext } from "vscode/vscode/vs/workbench/common/editor";
|
|
12
|
-
import { IExtensionsWorkbenchService } from "vscode/vscode/vs/workbench/contrib/extensions/common/extensions.service";
|
|
11
|
+
import { IEditorOpenContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
12
|
+
import { IExtensionsWorkbenchService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service";
|
|
13
13
|
import { IWorkbenchConfigurationService } from "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common/vscode/vs/workbench/services/configuration/common/configuration.service";
|
|
14
|
-
import { IExtensionManifestPropertiesService } from "vscode/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service";
|
|
14
|
+
import { IExtensionManifestPropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service";
|
|
15
15
|
import { WorkspaceTrustEditorInput } from "../../../services/workspaces/browser/workspaceTrustEditorInput.js";
|
|
16
|
-
import { IEditorOptions } from "vscode/vscode/vs/platform/editor/common/editor";
|
|
17
|
-
import { IWorkbenchExtensionEnablementService } from "vscode/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.service";
|
|
18
|
-
import { IProductService } from "vscode/vscode/vs/platform/product/common/productService.service";
|
|
19
|
-
import { IKeybindingService } from "vscode/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
20
|
-
import { IEditorGroup } from "vscode/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
|
16
|
+
import { IEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor";
|
|
17
|
+
import { IWorkbenchExtensionEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.service";
|
|
18
|
+
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
19
|
+
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
20
|
+
import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
|
21
21
|
export declare const shieldIcon: ThemeIcon;
|
|
22
22
|
export declare class WorkspaceTrustEditor extends EditorPane {
|
|
23
23
|
private readonly workspaceService;
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { $, addDisposableListener, EventType, EventHelper, addStandardDisposableListener, clearNode, append, isAncestorOfActiveElement } from 'vscode/vscode/vs/base/browser/dom';
|
|
4
|
-
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
5
|
-
import { ButtonBar } from 'vscode/vscode/vs/base/browser/ui/button/button';
|
|
6
|
-
import { MessageType, InputBox } from 'vscode/vscode/vs/base/browser/ui/inputbox/inputBox';
|
|
7
|
-
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
8
|
-
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
9
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
10
|
-
import { debounce } from 'vscode/vscode/vs/base/common/decorators';
|
|
11
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
12
|
-
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
13
|
-
import { normalizeDriveLetter } from 'vscode/vscode/vs/base/common/labels';
|
|
14
|
-
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
15
|
-
import { parseLinkedText } from 'vscode/vscode/vs/base/common/linkedText';
|
|
16
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
17
|
-
import { ScrollbarVisibility } from 'vscode/vscode/vs/base/common/scrollable';
|
|
18
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
19
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
20
|
-
import { Extensions, ConfigurationScope } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
21
|
-
import { IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
22
|
-
import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
23
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
24
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
25
|
-
import { WorkbenchTable } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
26
|
-
import { Link } from 'vscode/vscode/vs/platform/opener/browser/link';
|
|
27
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { $, addDisposableListener, EventType, EventHelper, addStandardDisposableListener, clearNode, append, isAncestorOfActiveElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
|
+
import { ActionBar } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
5
|
+
import { ButtonBar } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
6
|
+
import { MessageType, InputBox } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/inputbox/inputBox';
|
|
7
|
+
import { DomScrollableElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
8
|
+
import { Action } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
|
|
9
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
10
|
+
import { debounce } from '@codingame/monaco-vscode-api/vscode/vs/base/common/decorators';
|
|
11
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
12
|
+
import { KeyCode, KeyMod } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
13
|
+
import { normalizeDriveLetter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/labels';
|
|
14
|
+
import { Disposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
15
|
+
import { parseLinkedText } from '@codingame/monaco-vscode-api/vscode/vs/base/common/linkedText';
|
|
16
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
17
|
+
import { ScrollbarVisibility } from '@codingame/monaco-vscode-api/vscode/vs/base/common/scrollable';
|
|
18
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
19
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
20
|
+
import { Extensions, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
21
|
+
import { IContextViewService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service';
|
|
22
|
+
import { IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
23
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
24
|
+
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
25
|
+
import { WorkbenchTable } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
26
|
+
import { Link } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/browser/link';
|
|
27
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
28
28
|
import { isVirtualResource, isVirtualWorkspace } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
|
|
29
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
30
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
31
|
-
import { asCssVariable } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
32
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
33
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
34
|
-
import { editorErrorForeground } from 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
35
|
-
import { buttonBackground, buttonSecondaryBackground } from 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
36
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
37
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
38
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
39
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
40
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
41
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
42
|
-
import { WorkbenchState, toWorkspaceIdentifier } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
43
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
44
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
45
|
-
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
46
|
-
import { IWorkspaceTrustManagementService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
29
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
30
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
31
|
+
import { asCssVariable } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
32
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
33
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
34
|
+
import { editorErrorForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
|
|
35
|
+
import { buttonBackground, buttonSecondaryBackground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
|
|
36
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
|
|
37
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
|
|
38
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
39
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
40
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
41
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
42
|
+
import { WorkbenchState, toWorkspaceIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
|
|
43
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
44
|
+
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
45
|
+
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
46
|
+
import { IWorkspaceTrustManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
47
47
|
import { EditorPane } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
48
48
|
import { debugIconStartForeground } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
49
49
|
import { LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID } from '@codingame/monaco-vscode-22790577-4553-50b6-978d-0acc75c394cc-common/vscode/vs/workbench/contrib/extensions/common/extensions';
|
|
50
|
-
import { IExtensionsWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensions.service';
|
|
50
|
+
import { IExtensionsWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service';
|
|
51
51
|
import { IWorkbenchConfigurationService } from '@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common/vscode/vs/workbench/services/configuration/common/configuration.service';
|
|
52
|
-
import { IExtensionManifestPropertiesService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service';
|
|
53
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
54
|
-
import { getExtensionDependencies } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagementUtil';
|
|
55
|
-
import { EnablementState } from 'vscode/vscode/vs/workbench/services/extensionManagement/common/extensionManagement';
|
|
56
|
-
import { IWorkbenchExtensionEnablementService } from 'vscode/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.service';
|
|
57
|
-
import { posix, win32 } from 'vscode/vscode/vs/base/common/path';
|
|
58
|
-
import { hasDriveLetter, toSlashes } from 'vscode/vscode/vs/base/common/extpath';
|
|
59
|
-
import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
60
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
61
|
-
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
62
|
-
import { defaultButtonStyles, defaultInputBoxStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
63
|
-
import { isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
64
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
65
|
-
import { basename, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
52
|
+
import { IExtensionManifestPropertiesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service';
|
|
53
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
54
|
+
import { getExtensionDependencies } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagementUtil';
|
|
55
|
+
import { EnablementState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionManagement';
|
|
56
|
+
import { IWorkbenchExtensionEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.service';
|
|
57
|
+
import { posix, win32 } from '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
|
|
58
|
+
import { hasDriveLetter, toSlashes } from '@codingame/monaco-vscode-api/vscode/vs/base/common/extpath';
|
|
59
|
+
import { StandardKeyboardEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/keyboardEvent';
|
|
60
|
+
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
61
|
+
import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
|
|
62
|
+
import { defaultButtonStyles, defaultInputBoxStyles } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/browser/defaultStyles';
|
|
63
|
+
import { isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
64
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
65
|
+
import { basename, dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
66
66
|
|
|
67
67
|
var TrustedUriActionsColumnRenderer_1, TrustedUriPathColumnRenderer_1, TrustedUriHostColumnRenderer_1, WorkspaceTrustEditor_1;
|
|
68
68
|
const shieldIcon = registerIcon('workspace-trust-banner', Codicon.shield, ( localize(11058, 'Icon for workspace trust ion the banner.')));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ThemeIcon } from "vscode/vscode/vs/base/common/themables";
|
|
2
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
3
|
-
import { EditorInputCapabilities, IUntypedEditorInput } from "vscode/vscode/vs/workbench/common/editor";
|
|
4
|
-
import { EditorInput } from "vscode/vscode/vs/workbench/common/editor/editorInput";
|
|
1
|
+
import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables";
|
|
2
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
3
|
+
import { EditorInputCapabilities, IUntypedEditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
4
|
+
import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput";
|
|
5
5
|
export declare class WorkspaceTrustEditorInput extends EditorInput {
|
|
6
6
|
static readonly ID: string;
|
|
7
7
|
get capabilities(): EditorInputCapabilities;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
3
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
4
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
6
|
-
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
7
|
-
import { EditorInputCapabilities } from 'vscode/vscode/vs/workbench/common/editor';
|
|
8
|
-
import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
2
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
3
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
4
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
5
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
|
+
import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
|
|
7
|
+
import { EditorInputCapabilities } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
8
|
+
import { EditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput';
|
|
9
9
|
|
|
10
10
|
const WorkspaceTrustEditorIcon = registerIcon('workspace-trust-editor-label-icon', Codicon.shield, ( localize(12119, 'Icon of the workspace trust editor label.')));
|
|
11
11
|
class WorkspaceTrustEditorInput extends EditorInput {
|