@codingame/monaco-vscode-workspace-trust-service-override 3.2.3 → 4.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/package.json +2 -2
- package/workspaceTrust.js +1 -1
- package/external/rollup-plugin-styles/dist/runtime/inject-css.js +0 -3
- package/external/tslib/tslib.es6.js +0 -11
- package/override/vs/platform/dialogs/common/dialogs.js +0 -8
- package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +0 -978
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1235
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -43
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
2
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
3
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
|
-
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
6
|
-
import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
7
|
-
|
|
8
|
-
const WorkspaceTrustEditorIcon = registerIcon('workspace-trust-editor-label-icon', Codicon.shield, ( localizeWithPath(
|
|
9
|
-
'vs/workbench/services/workspaces/browser/workspaceTrustEditorInput',
|
|
10
|
-
'workspaceTrustEditorLabelIcon',
|
|
11
|
-
'Icon of the workspace trust editor label.'
|
|
12
|
-
)));
|
|
13
|
-
class WorkspaceTrustEditorInput extends EditorInput {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.resource = ( URI.from({
|
|
17
|
-
scheme: Schemas.vscodeWorkspaceTrust,
|
|
18
|
-
path: `workspaceTrustEditor`
|
|
19
|
-
}));
|
|
20
|
-
}
|
|
21
|
-
static { this.ID = 'workbench.input.workspaceTrust'; }
|
|
22
|
-
get capabilities() {
|
|
23
|
-
return 2 | 8 ;
|
|
24
|
-
}
|
|
25
|
-
get typeId() {
|
|
26
|
-
return WorkspaceTrustEditorInput.ID;
|
|
27
|
-
}
|
|
28
|
-
matches(otherInput) {
|
|
29
|
-
return super.matches(otherInput) || otherInput instanceof WorkspaceTrustEditorInput;
|
|
30
|
-
}
|
|
31
|
-
getName() {
|
|
32
|
-
return ( localizeWithPath(
|
|
33
|
-
'vs/workbench/services/workspaces/browser/workspaceTrustEditorInput',
|
|
34
|
-
'workspaceTrustEditorInputName',
|
|
35
|
-
"Workspace Trust"
|
|
36
|
-
));
|
|
37
|
-
}
|
|
38
|
-
getIcon() {
|
|
39
|
-
return WorkspaceTrustEditorIcon;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export { WorkspaceTrustEditorInput };
|