@codingame/monaco-vscode-workspace-trust-service-override 12.0.1 → 13.1.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 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": "12.0.1",
3
+ "version": "13.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - workspace-trust service-override",
6
6
  "keywords": [],
@@ -15,19 +15,17 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common": "12.0.1",
19
- "@codingame/monaco-vscode-22790577-4553-50b6-978d-0acc75c394cc-common": "12.0.1",
20
- "@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "12.0.1",
21
- "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "12.0.1",
22
- "@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common": "12.0.1",
23
- "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "12.0.1",
24
- "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "12.0.1",
25
- "@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common": "12.0.1",
26
- "@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "12.0.1",
27
- "vscode": "npm:@codingame/monaco-vscode-api@12.0.1"
18
+ "@codingame/monaco-vscode-0f5ced28-abde-558b-8652-db8e7d4d64aa-common": "13.1.0",
19
+ "@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "13.1.0",
20
+ "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "13.1.0",
21
+ "@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common": "13.1.0",
22
+ "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common": "13.1.0",
23
+ "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
24
+ "@codingame/monaco-vscode-api": "13.1.0",
25
+ "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.0",
26
+ "@codingame/monaco-vscode-d7f659f5-da33-5ea8-a3b8-9b94f2cf5f33-common": "13.1.0",
27
+ "@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "13.1.0"
28
28
  },
29
- "peerDependencies": {},
30
- "peerDependenciesMeta": {},
31
29
  "main": "index.js",
32
30
  "module": "index.js",
33
31
  "types": "index.d.ts",
@@ -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
- 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';
40
+ import { LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/extensions/common/extensions';
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';
@@ -93,30 +93,30 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
93
93
  const markdownDetails = [
94
94
  this.workspaceContextService.getWorkbenchState() !== WorkbenchState.EMPTY ?
95
95
  ( localize(
96
- 10995,
96
+ 11013,
97
97
  "You are trying to open untrusted files in a workspace which is trusted."
98
98
  )) :
99
99
  ( localize(
100
- 10996,
100
+ 11014,
101
101
  "You are trying to open untrusted files in a window which is trusted."
102
102
  )),
103
103
  ( localize(
104
- 10997,
104
+ 11015,
105
105
  "If you don't want to open untrusted files, we recommend to open them in Restricted Mode in a new window as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
106
106
  ))
107
107
  ];
108
108
  await this.dialogService.prompt({
109
109
  type: Severity.Info,
110
110
  message: this.workspaceContextService.getWorkbenchState() !== WorkbenchState.EMPTY ?
111
- ( localize(10998, "Do you want to allow untrusted files in this workspace?")) :
112
- ( localize(10999, "Do you want to allow untrusted files in this window?")),
111
+ ( localize(11016, "Do you want to allow untrusted files in this workspace?")) :
112
+ ( localize(11017, "Do you want to allow untrusted files in this window?")),
113
113
  buttons: [
114
114
  {
115
- label: ( localize(11000, "&&Open")),
115
+ label: ( localize(11018, "&&Open")),
116
116
  run: ({ checkboxChecked }) => this.workspaceTrustRequestService.completeOpenFilesTrustRequest(WorkspaceTrustUriResponse.Open, !!checkboxChecked)
117
117
  },
118
118
  {
119
- label: ( localize(11001, "Open in &&Restricted Mode")),
119
+ label: ( localize(11019, "Open in &&Restricted Mode")),
120
120
  run: ({ checkboxChecked }) => this.workspaceTrustRequestService.completeOpenFilesTrustRequest(WorkspaceTrustUriResponse.OpenInNewWindow, !!checkboxChecked)
121
121
  }
122
122
  ],
@@ -124,7 +124,7 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
124
124
  run: () => this.workspaceTrustRequestService.completeOpenFilesTrustRequest(WorkspaceTrustUriResponse.Cancel)
125
125
  },
126
126
  checkbox: {
127
- label: ( localize(11002, "Remember my decision for all workspaces")),
127
+ label: ( localize(11020, "Remember my decision for all workspaces")),
128
128
  checked: false
129
129
  },
130
130
  custom: {
@@ -136,19 +136,19 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
136
136
  this._register(this.workspaceTrustRequestService.onDidInitiateWorkspaceTrustRequest(async (requestOptions) => {
137
137
  await this.workspaceTrustManagementService.workspaceResolved;
138
138
  const message = this.useWorkspaceLanguage ?
139
- ( localize(11003, "Do you trust the authors of the files in this workspace?")) :
140
- ( localize(11004, "Do you trust the authors of the files in this folder?"));
139
+ ( localize(11021, "Do you trust the authors of the files in this workspace?")) :
140
+ ( localize(11022, "Do you trust the authors of the files in this folder?"));
141
141
  const defaultDetails = ( localize(
142
- 11005,
142
+ 11023,
143
143
  "A feature you are trying to use may be a security risk if you do not trust the source of the files or folders you currently have open."
144
144
  ));
145
145
  const details = requestOptions?.message ?? defaultDetails;
146
146
  const buttons = requestOptions?.buttons ?? [
147
- { label: this.useWorkspaceLanguage ? ( localize(11006, "&&Trust Workspace & Continue")) : ( localize(11007, "&&Trust Folder & Continue")), type: 'ContinueWithTrust' },
148
- { label: ( localize(11008, "&&Manage")), type: 'Manage' }
147
+ { label: this.useWorkspaceLanguage ? ( localize(11024, "&&Trust Workspace & Continue")) : ( localize(11025, "&&Trust Folder & Continue")), type: 'ContinueWithTrust' },
148
+ { label: ( localize(11026, "&&Manage")), type: 'Manage' }
149
149
  ];
150
150
  if (!( buttons.some(b => b.type === 'Cancel'))) {
151
- buttons.push({ label: ( localize(11009, "Cancel")), type: 'Cancel' });
151
+ buttons.push({ label: ( localize(11027, "Cancel")), type: 'Cancel' });
152
152
  }
153
153
  const { result } = await this.dialogService.prompt({
154
154
  type: Severity.Info,
@@ -158,7 +158,7 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
158
158
  markdownDetails: [
159
159
  { markdown: ( new MarkdownString(details)) },
160
160
  { markdown: ( new MarkdownString(( localize(
161
- 11010,
161
+ 11028,
162
162
  "If you don't trust the authors of these files, we do not recommend continuing as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
163
163
  )))) }
164
164
  ]
@@ -259,12 +259,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
259
259
  if (!( addedFoldersTrustInfo.map(info => info.trusted)).every(trusted => trusted)) {
260
260
  const { confirmed } = await this.dialogService.confirm({
261
261
  type: Severity.Info,
262
- message: ( localize(11011, "Do you trust the authors of the files in this folder?")),
262
+ message: ( localize(11029, "Do you trust the authors of the files in this folder?")),
263
263
  detail: ( localize(
264
- 11012,
264
+ 11030,
265
265
  "You are adding files that are not currently trusted to a trusted workspace. Do you trust the authors of these new files?"
266
266
  )),
267
- cancelButton: ( localize(11013, 'No')),
267
+ cancelButton: ( localize(11031, 'No')),
268
268
  custom: { icon: Codicon.shield }
269
269
  });
270
270
  await this.workspaceTrustManagementService.setUrisTrust(( addedFoldersTrustInfo.map(i => i.uri)), confirmed);
@@ -292,30 +292,30 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
292
292
  console.warn('AI generated workspace trust dialog contents not available.');
293
293
  }
294
294
  const title = titleString ?? (this.useWorkspaceLanguage ?
295
- ( localize(11003, "Do you trust the authors of the files in this workspace?")) :
296
- ( localize(11004, "Do you trust the authors of the files in this folder?")));
295
+ ( localize(11021, "Do you trust the authors of the files in this workspace?")) :
296
+ ( localize(11022, "Do you trust the authors of the files in this folder?")));
297
297
  let checkboxText;
298
298
  const workspaceIdentifier = toWorkspaceIdentifier(this.workspaceContextService.getWorkspace());
299
299
  const isSingleFolderWorkspace = isSingleFolderWorkspaceIdentifier(workspaceIdentifier);
300
300
  const isEmptyWindow = isEmptyWorkspaceIdentifier(workspaceIdentifier);
301
301
  if (!isAiGeneratedWorkspace && this.workspaceTrustManagementService.canSetParentFolderTrust()) {
302
302
  const name = basename(dirname(workspaceIdentifier.uri));
303
- checkboxText = ( localize(11014, "Trust the authors of all files in the parent folder '{0}'", name));
303
+ checkboxText = ( localize(11032, "Trust the authors of all files in the parent folder '{0}'", name));
304
304
  }
305
- this.doShowModal(title, { label: trustOption ?? ( localize(11015, "&&Yes, I trust the authors")), sublabel: isSingleFolderWorkspace ? ( localize(11016, "Trust folder and enable all features")) : ( localize(11017, "Trust workspace and enable all features")) }, { label: dontTrustOption ?? ( localize(11018, "&&No, I don't trust the authors")), sublabel: isSingleFolderWorkspace ? ( localize(11019, "Browse folder in restricted mode")) : ( localize(11020, "Browse workspace in restricted mode")) }, [
305
+ this.doShowModal(title, { label: trustOption ?? ( localize(11033, "&&Yes, I trust the authors")), sublabel: isSingleFolderWorkspace ? ( localize(11034, "Trust folder and enable all features")) : ( localize(11035, "Trust workspace and enable all features")) }, { label: dontTrustOption ?? ( localize(11036, "&&No, I don't trust the authors")), sublabel: isSingleFolderWorkspace ? ( localize(11037, "Browse folder in restricted mode")) : ( localize(11038, "Browse workspace in restricted mode")) }, [
306
306
  !isSingleFolderWorkspace ?
307
307
  ( localize(
308
- 11021,
308
+ 11039,
309
309
  "{0} provides features that may automatically execute files in this workspace.",
310
310
  this.productService.nameShort
311
311
  )) :
312
312
  ( localize(
313
- 11022,
313
+ 11040,
314
314
  "{0} provides features that may automatically execute files in this folder.",
315
315
  this.productService.nameShort
316
316
  )),
317
317
  learnMoreString ?? ( localize(
318
- 11023,
318
+ 11041,
319
319
  "If you don't trust the authors of these files, we recommend to continue in restricted mode as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
320
320
  )),
321
321
  !isEmptyWindow ?
@@ -433,11 +433,11 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
433
433
  }
434
434
  const actions = [
435
435
  {
436
- label: ( localize(11024, "Manage")),
436
+ label: ( localize(11042, "Manage")),
437
437
  href: 'command:' + MANAGE_TRUST_COMMAND_ID
438
438
  },
439
439
  {
440
- label: ( localize(11025, "Learn More")),
440
+ label: ( localize(11043, "Learn More")),
441
441
  href: 'https://aka.ms/vscode-workspace-trust'
442
442
  }
443
443
  ];
@@ -458,17 +458,17 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
458
458
  switch (this.workspaceContextService.getWorkbenchState()) {
459
459
  case WorkbenchState.EMPTY:
460
460
  return localize(
461
- 11026,
461
+ 11044,
462
462
  "Restricted Mode is intended for safe code browsing. Trust this window to enable all features. Use navigation keys to access banner actions."
463
463
  );
464
464
  case WorkbenchState.FOLDER:
465
465
  return localize(
466
- 11027,
466
+ 11045,
467
467
  "Restricted Mode is intended for safe code browsing. Trust this folder to enable all features. Use navigation keys to access banner actions."
468
468
  );
469
469
  case WorkbenchState.WORKSPACE:
470
470
  return localize(
471
- 11028,
471
+ 11046,
472
472
  "Restricted Mode is intended for safe code browsing. Trust this workspace to enable all features. Use navigation keys to access banner actions."
473
473
  );
474
474
  }
@@ -477,17 +477,17 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
477
477
  switch (this.workspaceContextService.getWorkbenchState()) {
478
478
  case WorkbenchState.EMPTY:
479
479
  return localize(
480
- 11029,
480
+ 11047,
481
481
  "Restricted Mode is intended for safe code browsing. Trust this window to enable all features."
482
482
  );
483
483
  case WorkbenchState.FOLDER:
484
484
  return localize(
485
- 11030,
485
+ 11048,
486
486
  "Restricted Mode is intended for safe code browsing. Trust this folder to enable all features."
487
487
  );
488
488
  case WorkbenchState.WORKSPACE:
489
489
  return localize(
490
- 11031,
490
+ 11049,
491
491
  "Restricted Mode is intended for safe code browsing. Trust this workspace to enable all features."
492
492
  );
493
493
  }
@@ -505,12 +505,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
505
505
  switch (this.workspaceContextService.getWorkbenchState()) {
506
506
  case WorkbenchState.EMPTY: {
507
507
  ariaLabel = ( localize(
508
- 11032,
508
+ 11050,
509
509
  "Restricted Mode: Some features are disabled because this window is not trusted."
510
510
  ));
511
511
  toolTip = {
512
512
  value: ( localize(
513
- 11033,
513
+ 11051,
514
514
  "Running in Restricted Mode\n\nSome [features are disabled]({0}) because this [window is not trusted]({1}).",
515
515
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`,
516
516
  `command:${MANAGE_TRUST_COMMAND_ID}`
@@ -522,12 +522,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
522
522
  }
523
523
  case WorkbenchState.FOLDER: {
524
524
  ariaLabel = ( localize(
525
- 11034,
525
+ 11052,
526
526
  "Restricted Mode: Some features are disabled because this folder is not trusted."
527
527
  ));
528
528
  toolTip = {
529
529
  value: ( localize(
530
- 11035,
530
+ 11053,
531
531
  "Running in Restricted Mode\n\nSome [features are disabled]({0}) because this [folder is not trusted]({1}).",
532
532
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`,
533
533
  `command:${MANAGE_TRUST_COMMAND_ID}`
@@ -539,12 +539,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
539
539
  }
540
540
  case WorkbenchState.WORKSPACE: {
541
541
  ariaLabel = ( localize(
542
- 11036,
542
+ 11054,
543
543
  "Restricted Mode: Some features are disabled because this workspace is not trusted."
544
544
  ));
545
545
  toolTip = {
546
546
  value: ( localize(
547
- 11037,
547
+ 11055,
548
548
  "Running in Restricted Mode\n\nSome [features are disabled]({0}) because this [workspace is not trusted]({1}).",
549
549
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`,
550
550
  `command:${MANAGE_TRUST_COMMAND_ID}`
@@ -556,8 +556,8 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
556
556
  }
557
557
  }
558
558
  return {
559
- name: ( localize(11038, "Workspace Trust")),
560
- text: `$(shield) ${( localize(11039, "Restricted Mode"))}`,
559
+ name: ( localize(11056, "Workspace Trust")),
560
+ text: `$(shield) ${( localize(11057, "Restricted Mode"))}`,
561
561
  ariaLabel: ariaLabel,
562
562
  tooltip: toolTip,
563
563
  command: MANAGE_TRUST_COMMAND_ID,
@@ -607,16 +607,16 @@ class WorkspaceTrustEditorInputSerializer {
607
607
  }
608
608
  ( Registry.as(EditorExtensions.EditorFactory))
609
609
  .registerEditorSerializer(WorkspaceTrustEditorInput.ID, WorkspaceTrustEditorInputSerializer);
610
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(WorkspaceTrustEditor, WorkspaceTrustEditor.ID, ( localize(11040, "Workspace Trust Editor"))), [
610
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(WorkspaceTrustEditor, WorkspaceTrustEditor.ID, ( localize(11058, "Workspace Trust Editor"))), [
611
611
  ( new SyncDescriptor(WorkspaceTrustEditorInput))
612
612
  ]);
613
613
  const CONFIGURE_TRUST_COMMAND_ID = 'workbench.trust.configure';
614
- const WORKSPACES_CATEGORY = ( localize2(11041, 'Workspaces'));
614
+ const WORKSPACES_CATEGORY = ( localize2(11059, 'Workspaces'));
615
615
  registerAction2(class extends Action2 {
616
616
  constructor() {
617
617
  super({
618
618
  id: CONFIGURE_TRUST_COMMAND_ID,
619
- title: ( localize2(11042, "Configure Workspace Trust Settings")),
619
+ title: ( localize2(11060, "Configure Workspace Trust Settings")),
620
620
  precondition: ( ContextKeyExpr.and(WorkspaceTrustContext.IsEnabled, ( ContextKeyExpr.equals(`config.${WORKSPACE_TRUST_ENABLED}`, true)))),
621
621
  category: WORKSPACES_CATEGORY,
622
622
  f1: true
@@ -630,7 +630,7 @@ registerAction2(class extends Action2 {
630
630
  constructor() {
631
631
  super({
632
632
  id: MANAGE_TRUST_COMMAND_ID,
633
- title: ( localize2(11043, "Manage Workspace Trust")),
633
+ title: ( localize2(11061, "Manage Workspace Trust")),
634
634
  precondition: ( ContextKeyExpr.and(WorkspaceTrustContext.IsEnabled, ( ContextKeyExpr.equals(`config.${WORKSPACE_TRUST_ENABLED}`, true)))),
635
635
  category: WORKSPACES_CATEGORY,
636
636
  f1: true,
@@ -652,7 +652,7 @@ registerAction2(class extends Action2 {
652
652
  type: 'boolean',
653
653
  default: true,
654
654
  description: ( localize(
655
- 11044,
655
+ 11062,
656
656
  "Controls whether or not Workspace Trust is enabled within VS Code."
657
657
  )),
658
658
  tags: [WORKSPACE_TRUST_SETTING_TAG],
@@ -661,37 +661,37 @@ registerAction2(class extends Action2 {
661
661
  [WORKSPACE_TRUST_STARTUP_PROMPT]: {
662
662
  type: 'string',
663
663
  default: 'once',
664
- description: ( localize(11045, "Controls when the startup prompt to trust a workspace is shown.")),
664
+ description: ( localize(11063, "Controls when the startup prompt to trust a workspace is shown.")),
665
665
  tags: [WORKSPACE_TRUST_SETTING_TAG],
666
666
  scope: ConfigurationScope.APPLICATION,
667
667
  enum: ['always', 'once', 'never'],
668
668
  enumDescriptions: [
669
- ( localize(11046, "Ask for trust every time an untrusted workspace is opened.")),
670
- ( localize(11047, "Ask for trust the first time an untrusted workspace is opened.")),
671
- ( localize(11048, "Do not ask for trust when an untrusted workspace is opened.")),
669
+ ( localize(11064, "Ask for trust every time an untrusted workspace is opened.")),
670
+ ( localize(11065, "Ask for trust the first time an untrusted workspace is opened.")),
671
+ ( localize(11066, "Do not ask for trust when an untrusted workspace is opened.")),
672
672
  ]
673
673
  },
674
674
  [WORKSPACE_TRUST_BANNER]: {
675
675
  type: 'string',
676
676
  default: 'untilDismissed',
677
- description: ( localize(11049, "Controls when the restricted mode banner is shown.")),
677
+ description: ( localize(11067, "Controls when the restricted mode banner is shown.")),
678
678
  tags: [WORKSPACE_TRUST_SETTING_TAG],
679
679
  scope: ConfigurationScope.APPLICATION,
680
680
  enum: ['always', 'untilDismissed', 'never'],
681
681
  enumDescriptions: [
682
- ( localize(11050, "Show the banner every time an untrusted workspace is open.")),
682
+ ( localize(11068, "Show the banner every time an untrusted workspace is open.")),
683
683
  ( localize(
684
- 11051,
684
+ 11069,
685
685
  "Show the banner when an untrusted workspace is opened until dismissed."
686
686
  )),
687
- ( localize(11052, "Do not show the banner when an untrusted workspace is open.")),
687
+ ( localize(11070, "Do not show the banner when an untrusted workspace is open.")),
688
688
  ]
689
689
  },
690
690
  [WORKSPACE_TRUST_UNTRUSTED_FILES]: {
691
691
  type: 'string',
692
692
  default: 'prompt',
693
693
  markdownDescription: ( localize(
694
- 11053,
694
+ 11071,
695
695
  "Controls how to handle opening untrusted files in a trusted workspace. This setting also applies to opening files in an empty window which is trusted via `#{0}#`.",
696
696
  WORKSPACE_TRUST_EMPTY_WINDOW
697
697
  )),
@@ -700,15 +700,15 @@ registerAction2(class extends Action2 {
700
700
  enum: ['prompt', 'open', 'newWindow'],
701
701
  enumDescriptions: [
702
702
  ( localize(
703
- 11054,
703
+ 11072,
704
704
  "Ask how to handle untrusted files for each workspace. Once untrusted files are introduced to a trusted workspace, you will not be prompted again."
705
705
  )),
706
706
  ( localize(
707
- 11055,
707
+ 11073,
708
708
  "Always allow untrusted files to be introduced to a trusted workspace without prompting."
709
709
  )),
710
710
  ( localize(
711
- 11056,
711
+ 11074,
712
712
  "Always open untrusted files in a separate window in restricted mode without prompting."
713
713
  )),
714
714
  ]
@@ -717,7 +717,7 @@ registerAction2(class extends Action2 {
717
717
  type: 'boolean',
718
718
  default: true,
719
719
  markdownDescription: ( localize(
720
- 11057,
720
+ 11075,
721
721
  "Controls whether or not the empty window is trusted by default within VS Code. When used with `#{0}#`, you can enable the full functionality of VS Code without prompting in an empty window.",
722
722
  WORKSPACE_TRUST_UNTRUSTED_FILES
723
723
  )),
@@ -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,76 +1,76 @@
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
- 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';
49
+ import { LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/extensions/common/extensions';
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
- const shieldIcon = registerIcon('workspace-trust-banner', Codicon.shield, ( localize(11058, 'Icon for workspace trust ion the banner.')));
69
- const checkListIcon = registerIcon('workspace-trust-editor-check', Codicon.check, ( localize(11059, 'Icon for the checkmark in the workspace trust editor.')));
70
- const xListIcon = registerIcon('workspace-trust-editor-cross', Codicon.x, ( localize(11060, 'Icon for the cross in the workspace trust editor.')));
71
- const folderPickerIcon = registerIcon('workspace-trust-editor-folder-picker', Codicon.folder, ( localize(11061, 'Icon for the pick folder icon in the workspace trust editor.')));
72
- const editIcon = registerIcon('workspace-trust-editor-edit-folder', Codicon.edit, ( localize(11062, 'Icon for the edit folder icon in the workspace trust editor.')));
73
- const removeIcon = registerIcon('workspace-trust-editor-remove-folder', Codicon.close, ( localize(11063, 'Icon for the remove folder icon in the workspace trust editor.')));
68
+ const shieldIcon = registerIcon('workspace-trust-banner', Codicon.shield, ( localize(11076, 'Icon for workspace trust ion the banner.')));
69
+ const checkListIcon = registerIcon('workspace-trust-editor-check', Codicon.check, ( localize(11077, 'Icon for the checkmark in the workspace trust editor.')));
70
+ const xListIcon = registerIcon('workspace-trust-editor-cross', Codicon.x, ( localize(11078, 'Icon for the cross in the workspace trust editor.')));
71
+ const folderPickerIcon = registerIcon('workspace-trust-editor-folder-picker', Codicon.folder, ( localize(11079, 'Icon for the pick folder icon in the workspace trust editor.')));
72
+ const editIcon = registerIcon('workspace-trust-editor-edit-folder', Codicon.edit, ( localize(11080, 'Icon for the edit folder icon in the workspace trust editor.')));
73
+ const removeIcon = registerIcon('workspace-trust-editor-remove-folder', Codicon.close, ( localize(11081, 'Icon for the remove folder icon in the workspace trust editor.')));
74
74
  let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposable {
75
75
  constructor(container, instantiationService, workspaceService, workspaceTrustManagementService, uriService, labelService, fileDialogService) {
76
76
  super();
@@ -94,14 +94,14 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
94
94
  const addButtonBarElement = container.appendChild($('.trusted-uris-button-bar'));
95
95
  this.table = this.instantiationService.createInstance(WorkbenchTable, 'WorkspaceTrust', tableElement, ( new TrustedUriTableVirtualDelegate()), [
96
96
  {
97
- label: ( localize(11064, "Host")),
97
+ label: ( localize(11082, "Host")),
98
98
  tooltip: '',
99
99
  weight: 1,
100
100
  templateId: TrustedUriHostColumnRenderer.TEMPLATE_ID,
101
101
  project(row) { return row; }
102
102
  },
103
103
  {
104
- label: ( localize(11065, "Path")),
104
+ label: ( localize(11083, "Path")),
105
105
  tooltip: '',
106
106
  weight: 8,
107
107
  templateId: TrustedUriPathColumnRenderer.TEMPLATE_ID,
@@ -129,16 +129,16 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
129
129
  getAriaLabel: (item) => {
130
130
  const hostLabel = getHostLabel(this.labelService, item);
131
131
  if (hostLabel === undefined || hostLabel.length === 0) {
132
- return localize(11066, "{0}, trusted", this.labelService.getUriLabel(item.uri));
132
+ return localize(11084, "{0}, trusted", this.labelService.getUriLabel(item.uri));
133
133
  }
134
134
  return localize(
135
- 11067,
135
+ 11085,
136
136
  "{0} on {1}, trusted",
137
137
  this.labelService.getUriLabel(item.uri),
138
138
  hostLabel
139
139
  );
140
140
  },
141
- getWidgetAriaLabel: () => ( localize(11068, "Trusted Folders & Workspaces"))
141
+ getWidgetAriaLabel: () => ( localize(11086, "Trusted Folders & Workspaces"))
142
142
  },
143
143
  identityProvider: {
144
144
  getId(element) {
@@ -152,16 +152,16 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
152
152
  }
153
153
  }));
154
154
  const buttonBar = this._register(( new ButtonBar(addButtonBarElement)));
155
- const addButton = this._register(buttonBar.addButton({ title: ( localize(11069, "Add Folder")), ...defaultButtonStyles }));
156
- addButton.label = ( localize(11069, "Add Folder"));
155
+ const addButton = this._register(buttonBar.addButton({ title: ( localize(11087, "Add Folder")), ...defaultButtonStyles }));
156
+ addButton.label = ( localize(11087, "Add Folder"));
157
157
  this._register(addButton.onDidClick(async () => {
158
158
  const uri = await this.fileDialogService.showOpenDialog({
159
159
  canSelectFiles: false,
160
160
  canSelectFolders: true,
161
161
  canSelectMany: false,
162
162
  defaultUri: this.currentWorkspaceUri,
163
- openLabel: ( localize(11070, "Trust Folder")),
164
- title: ( localize(11071, "Select Folder To Trust"))
163
+ openLabel: ( localize(11088, "Trust Folder")),
164
+ title: ( localize(11089, "Select Folder To Trust"))
165
165
  });
166
166
  if (uri) {
167
167
  this.workspaceTrustManagementService.setUrisTrust(uri, true);
@@ -242,10 +242,10 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
242
242
  this.container.classList.toggle('empty', entries.length === 0);
243
243
  this.descriptionElement.innerText = entries.length ?
244
244
  ( localize(
245
- 11072,
245
+ 11090,
246
246
  "You trust the following folders, their subfolders, and workspace files."
247
247
  )) :
248
- ( localize(11073, "You haven't trusted any folders or workspace files yet."));
248
+ ( localize(11091, "You haven't trusted any folders or workspace files yet."));
249
249
  this.table.splice(0, Number.POSITIVE_INFINITY, this.trustedUriEntries);
250
250
  this.layout();
251
251
  }
@@ -259,7 +259,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
259
259
  return {
260
260
  type: MessageType.WARNING,
261
261
  content: ( localize(
262
- 11074,
262
+ 11092,
263
263
  "You will trust all repositories on {0}.",
264
264
  getHostLabel(this.labelService, item)
265
265
  ))
@@ -269,7 +269,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
269
269
  return {
270
270
  type: MessageType.WARNING,
271
271
  content: ( localize(
272
- 11075,
272
+ 11093,
273
273
  "You will trust all repositories and forks under '{0}' on {1}.",
274
274
  segments[0],
275
275
  getHostLabel(this.labelService, item)
@@ -279,7 +279,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
279
279
  if (segments.length > 2) {
280
280
  return {
281
281
  type: MessageType.ERROR,
282
- content: ( localize(11076, "You cannot trust individual folders within a repository.", path))
282
+ content: ( localize(11094, "You cannot trust individual folders within a repository.", path))
283
283
  };
284
284
  }
285
285
  }
@@ -320,8 +320,8 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
320
320
  canSelectFolders: true,
321
321
  canSelectMany: false,
322
322
  defaultUri: item.uri,
323
- openLabel: ( localize(11070, "Trust Folder")),
324
- title: ( localize(11071, "Select Folder To Trust"))
323
+ openLabel: ( localize(11088, "Trust Folder")),
324
+ title: ( localize(11089, "Select Folder To Trust"))
325
325
  });
326
326
  if (uri) {
327
327
  this.acceptEdit(item, uri[0]);
@@ -388,7 +388,7 @@ let TrustedUriActionsColumnRenderer = class TrustedUriActionsColumnRenderer {
388
388
  class: ThemeIcon.asClassName(editIcon),
389
389
  enabled: true,
390
390
  id: 'editTrustedUri',
391
- tooltip: ( localize(11077, "Edit Path")),
391
+ tooltip: ( localize(11095, "Edit Path")),
392
392
  run: () => {
393
393
  this.table.edit(item, false);
394
394
  }
@@ -400,7 +400,7 @@ let TrustedUriActionsColumnRenderer = class TrustedUriActionsColumnRenderer {
400
400
  class: ThemeIcon.asClassName(folderPickerIcon),
401
401
  enabled: true,
402
402
  id: 'pickerTrustedUri',
403
- tooltip: ( localize(11078, "Open File Picker")),
403
+ tooltip: ( localize(11096, "Open File Picker")),
404
404
  run: () => {
405
405
  this.table.edit(item, true);
406
406
  }
@@ -412,7 +412,7 @@ let TrustedUriActionsColumnRenderer = class TrustedUriActionsColumnRenderer {
412
412
  class: ThemeIcon.asClassName(removeIcon),
413
413
  enabled: true,
414
414
  id: 'deleteTrustedUri',
415
- tooltip: ( localize(11079, "Delete Path")),
415
+ tooltip: ( localize(11097, "Delete Path")),
416
416
  run: async () => {
417
417
  await this.table.delete(item);
418
418
  }
@@ -529,7 +529,7 @@ TrustedUriPathColumnRenderer = TrustedUriPathColumnRenderer_1 = ( __decorate([
529
529
  ( __param(1, IContextViewService))
530
530
  ], TrustedUriPathColumnRenderer));
531
531
  function getHostLabel(labelService, item) {
532
- return item.uri.authority ? labelService.getHostLabel(item.uri.scheme, item.uri.authority) : ( localize(11080, "Local"));
532
+ return item.uri.authority ? labelService.getHostLabel(item.uri.scheme, item.uri.authority) : ( localize(11098, "Local"));
533
533
  }
534
534
  let TrustedUriHostColumnRenderer = class TrustedUriHostColumnRenderer {
535
535
  static { TrustedUriHostColumnRenderer_1 = this; }
@@ -662,18 +662,18 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
662
662
  getHeaderTitleText(trusted) {
663
663
  if (trusted) {
664
664
  if (this.workspaceTrustManagementService.isWorkspaceTrustForced()) {
665
- return localize(11081, "This window is trusted");
665
+ return localize(11099, "This window is trusted");
666
666
  }
667
667
  switch (this.workspaceService.getWorkbenchState()) {
668
668
  case WorkbenchState.EMPTY:
669
- return localize(11082, "You trust this window");
669
+ return localize(11100, "You trust this window");
670
670
  case WorkbenchState.FOLDER:
671
- return localize(11083, "You trust this folder");
671
+ return localize(11101, "You trust this folder");
672
672
  case WorkbenchState.WORKSPACE:
673
- return localize(11084, "You trust this workspace");
673
+ return localize(11102, "You trust this workspace");
674
674
  }
675
675
  }
676
- return localize(11085, "You are in Restricted Mode");
676
+ return localize(11103, "You are in Restricted Mode");
677
677
  }
678
678
  getHeaderTitleIconClassNames(trusted) {
679
679
  return ThemeIcon.asClassNameArray(shieldIcon);
@@ -683,37 +683,37 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
683
683
  let subTitle = '';
684
684
  switch (this.workspaceService.getWorkbenchState()) {
685
685
  case WorkbenchState.EMPTY: {
686
- title = trusted ? ( localize(11086, "In a Trusted Window")) : ( localize(11087, "In Restricted Mode"));
686
+ title = trusted ? ( localize(11104, "In a Trusted Window")) : ( localize(11105, "In Restricted Mode"));
687
687
  subTitle = trusted ? ( localize(
688
- 11088,
688
+ 11106,
689
689
  "You trust the authors of the files in the current window. All features are enabled:"
690
690
  )) :
691
691
  ( localize(
692
- 11089,
692
+ 11107,
693
693
  "You do not trust the authors of the files in the current window. The following features are disabled:"
694
694
  ));
695
695
  break;
696
696
  }
697
697
  case WorkbenchState.FOLDER: {
698
- title = trusted ? ( localize(11090, "In a Trusted Folder")) : ( localize(11087, "In Restricted Mode"));
698
+ title = trusted ? ( localize(11108, "In a Trusted Folder")) : ( localize(11105, "In Restricted Mode"));
699
699
  subTitle = trusted ? ( localize(
700
- 11091,
700
+ 11109,
701
701
  "You trust the authors of the files in the current folder. All features are enabled:"
702
702
  )) :
703
703
  ( localize(
704
- 11092,
704
+ 11110,
705
705
  "You do not trust the authors of the files in the current folder. The following features are disabled:"
706
706
  ));
707
707
  break;
708
708
  }
709
709
  case WorkbenchState.WORKSPACE: {
710
- title = trusted ? ( localize(11093, "In a Trusted Workspace")) : ( localize(11087, "In Restricted Mode"));
710
+ title = trusted ? ( localize(11111, "In a Trusted Workspace")) : ( localize(11105, "In Restricted Mode"));
711
711
  subTitle = trusted ? ( localize(
712
- 11094,
712
+ 11112,
713
713
  "You trust the authors of the files in the current workspace. All features are enabled:"
714
714
  )) :
715
715
  ( localize(
716
- 11095,
716
+ 11113,
717
717
  "You do not trust the authors of the files in the current workspace. The following features are disabled:"
718
718
  ));
719
719
  break;
@@ -737,17 +737,17 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
737
737
  const headerDescriptionText = append(this.headerDescription, $('div'));
738
738
  headerDescriptionText.innerText = isWorkspaceTrusted ?
739
739
  ( localize(
740
- 11096,
740
+ 11114,
741
741
  "All features are enabled because trust has been granted to the workspace."
742
742
  )) :
743
743
  ( localize(
744
- 11097,
744
+ 11115,
745
745
  "{0} is in a restricted mode intended for safe code browsing.",
746
746
  this.productService.nameShort
747
747
  ));
748
748
  const headerDescriptionActions = append(this.headerDescription, $('div'));
749
749
  const headerDescriptionActionsText = ( localize(
750
- 11098,
750
+ 11116,
751
751
  "[Configure your settings]({0}) or [learn more](https://aka.ms/vscode-workspace-trust).",
752
752
  `command:workbench.trust.configure`
753
753
  ));
@@ -760,7 +760,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
760
760
  }
761
761
  }
762
762
  this.headerContainer.className = this.getHeaderContainerClass(isWorkspaceTrusted);
763
- this.rootElement.setAttribute('aria-label', `${( localize(11099, "Manage Workspace Trust"))}: ${this.headerContainer.innerText}`);
763
+ this.rootElement.setAttribute('aria-label', `${( localize(11117, "Manage Workspace Trust"))}: ${this.headerContainer.innerText}`);
764
764
  const restrictedSettings = this.configurationService.restrictedSettings;
765
765
  const configurationRegistry = ( Registry.as(Extensions.Configuration));
766
766
  const settingsRequiringTrustedWorkspaceCount = restrictedSettings.default.filter(key => {
@@ -825,7 +825,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
825
825
  createConfigurationElement(parent) {
826
826
  this.configurationContainer = append(parent, $('.workspace-trust-settings', { tabIndex: '0' }));
827
827
  const configurationTitle = append(this.configurationContainer, $('.workspace-trusted-folders-title'));
828
- configurationTitle.innerText = ( localize(11068, "Trusted Folders & Workspaces"));
828
+ configurationTitle.innerText = ( localize(11086, "Trusted Folders & Workspaces"));
829
829
  this.workspaceTrustedUrisTable = this._register(this.instantiationService.createInstance(WorkspaceTrustedUrisTable, this.configurationContainer));
830
830
  }
831
831
  createAffectedFeaturesElement(parent) {
@@ -840,41 +840,41 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
840
840
  this.renderLimitationsHeaderElement(this.trustedContainer, trustedTitle, trustedSubTitle);
841
841
  const trustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ?
842
842
  [
843
- ( localize(11100, "Tasks are allowed to run")),
844
- ( localize(11101, "Debugging is enabled")),
845
- ( localize(11102, "All enabled extensions are activated"))
843
+ ( localize(11118, "Tasks are allowed to run")),
844
+ ( localize(11119, "Debugging is enabled")),
845
+ ( localize(11120, "All enabled extensions are activated"))
846
846
  ] :
847
847
  [
848
- ( localize(11100, "Tasks are allowed to run")),
849
- ( localize(11101, "Debugging is enabled")),
850
- ( localize(11103, "All workspace settings are applied")),
851
- ( localize(11102, "All enabled extensions are activated"))
848
+ ( localize(11118, "Tasks are allowed to run")),
849
+ ( localize(11119, "Debugging is enabled")),
850
+ ( localize(11121, "All workspace settings are applied")),
851
+ ( localize(11120, "All enabled extensions are activated"))
852
852
  ];
853
853
  this.renderLimitationsListElement(this.trustedContainer, trustedContainerItems, ThemeIcon.asClassNameArray(checkListIcon));
854
854
  const [untrustedTitle, untrustedSubTitle] = this.getFeaturesHeaderText(false);
855
855
  this.renderLimitationsHeaderElement(this.untrustedContainer, untrustedTitle, untrustedSubTitle);
856
856
  const untrustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ?
857
857
  [
858
- ( localize(11104, "Tasks are not allowed to run")),
859
- ( localize(11105, "Debugging is disabled")),
858
+ ( localize(11122, "Tasks are not allowed to run")),
859
+ ( localize(11123, "Debugging is disabled")),
860
860
  fixBadLocalizedLinks(( localize(
861
- 11106,
861
+ 11124,
862
862
  "[{0} extensions]({1}) are disabled or have limited functionality",
863
863
  numExtensions,
864
864
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`
865
865
  )))
866
866
  ] :
867
867
  [
868
- ( localize(11104, "Tasks are not allowed to run")),
869
- ( localize(11105, "Debugging is disabled")),
868
+ ( localize(11122, "Tasks are not allowed to run")),
869
+ ( localize(11123, "Debugging is disabled")),
870
870
  fixBadLocalizedLinks(numSettings ? ( localize(
871
- 11107,
871
+ 11125,
872
872
  "[{0} workspace settings]({1}) are not applied",
873
873
  numSettings,
874
874
  'command:settings.filterUntrusted'
875
- )) : ( localize(11108, "Workspace settings requiring trust are not applied"))),
875
+ )) : ( localize(11126, "Workspace settings requiring trust are not applied"))),
876
876
  fixBadLocalizedLinks(( localize(
877
- 11106,
877
+ 11124,
878
878
  "[{0} extensions]({1}) are disabled or have limited functionality",
879
879
  numExtensions,
880
880
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`
@@ -904,7 +904,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
904
904
  button.label = action.label;
905
905
  button.enabled = enabled !== undefined ? enabled : action.enabled;
906
906
  button.description = keybinding.getLabel();
907
- button.element.ariaLabel = action.label + ', ' + ( localize(11109, "Keyboard Shortcut: {0}", keybinding.getAriaLabel()));
907
+ button.element.ariaLabel = action.label + ', ' + ( localize(11127, "Keyboard Shortcut: {0}", keybinding.getAriaLabel()));
908
908
  this.rerenderDisposables.add(button.onDidClick(e => {
909
909
  if (e) {
910
910
  EventHelper.stop(e, true);
@@ -914,7 +914,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
914
914
  }
915
915
  }
916
916
  addTrustButtonToElement(parent) {
917
- const trustAction = ( new Action('workspace.trust.button.action.grant', ( localize(11110, "Trust")), undefined, true, async () => {
917
+ const trustAction = ( new Action('workspace.trust.button.action.grant', ( localize(11128, "Trust")), undefined, true, async () => {
918
918
  await this.workspaceTrustManagementService.setWorkspaceTrust(true);
919
919
  }));
920
920
  const trustActions = [{ action: trustAction, keybinding: this.keybindingService.resolveUserBinding(isMacintosh ? 'Cmd+Enter' : 'Ctrl+Enter')[0] }];
@@ -923,11 +923,11 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
923
923
  const name = basename(dirname(workspaceIdentifier.uri));
924
924
  const trustMessageElement = append(parent, $('.trust-message-box'));
925
925
  trustMessageElement.innerText = ( localize(
926
- 11111,
926
+ 11129,
927
927
  "Trust the authors of all files in the current folder or its parent '{0}'.",
928
928
  name
929
929
  ));
930
- const trustParentAction = ( new Action('workspace.trust.button.action.grantParent', ( localize(11112, "Trust Parent")), undefined, true, async () => {
930
+ const trustParentAction = ( new Action('workspace.trust.button.action.grantParent', ( localize(11130, "Trust Parent")), undefined, true, async () => {
931
931
  await this.workspaceTrustManagementService.setParentFolderTrust(true);
932
932
  }));
933
933
  trustActions.push({ action: trustParentAction, keybinding: this.keybindingService.resolveUserBinding(isMacintosh ? 'Cmd+Shift+Enter' : 'Ctrl+Shift+Enter')[0] });
@@ -936,7 +936,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
936
936
  }
937
937
  addDontTrustButtonToElement(parent) {
938
938
  this.createButtonRow(parent, [{
939
- action: ( new Action('workspace.trust.button.action.deny', ( localize(11113, "Don't Trust")), undefined, true, async () => {
939
+ action: ( new Action('workspace.trust.button.action.deny', ( localize(11131, "Don't Trust")), undefined, true, async () => {
940
940
  await this.workspaceTrustManagementService.setWorkspaceTrust(false);
941
941
  })),
942
942
  keybinding: this.keybindingService.resolveUserBinding(isMacintosh ? 'Cmd+Enter' : 'Ctrl+Enter')[0]
@@ -949,15 +949,15 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
949
949
  const textElement = append(parent, $('.workspace-trust-untrusted-description'));
950
950
  if (!this.workspaceTrustManagementService.isWorkspaceTrustForced()) {
951
951
  textElement.innerText = this.workspaceService.getWorkbenchState() === WorkbenchState.WORKSPACE ? ( localize(
952
- 11114,
952
+ 11132,
953
953
  "This workspace is trusted via the bolded entries in the trusted folders below."
954
954
  )) : ( localize(
955
- 11115,
955
+ 11133,
956
956
  "This folder is trusted via the bolded entries in the the trusted folders below."
957
957
  ));
958
958
  }
959
959
  else {
960
- textElement.innerText = ( localize(11116, "This window is trusted by nature of the workspace that is opened."));
960
+ textElement.innerText = ( localize(11134, "This window is trusted by nature of the workspace that is opened."));
961
961
  }
962
962
  }
963
963
  renderLimitationsHeaderElement(parent, headerText, subtitleText) {
@@ -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,13 +1,13 @@
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
- const WorkspaceTrustEditorIcon = registerIcon('workspace-trust-editor-label-icon', Codicon.shield, ( localize(12119, 'Icon of the workspace trust editor label.')));
10
+ const WorkspaceTrustEditorIcon = registerIcon('workspace-trust-editor-label-icon', Codicon.shield, ( localize(12137, 'Icon of the workspace trust editor label.')));
11
11
  class WorkspaceTrustEditorInput extends EditorInput {
12
12
  constructor() {
13
13
  super(...arguments);
@@ -27,7 +27,7 @@ class WorkspaceTrustEditorInput extends EditorInput {
27
27
  return super.matches(otherInput) || otherInput instanceof WorkspaceTrustEditorInput;
28
28
  }
29
29
  getName() {
30
- return localize(12120, "Workspace Trust");
30
+ return localize(12138, "Workspace Trust");
31
31
  }
32
32
  getIcon() {
33
33
  return WorkspaceTrustEditorIcon;