@codingame/monaco-vscode-views-service-override 2.1.4 → 2.2.0-next.1

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.
Files changed (107) hide show
  1. package/index.d.ts +11 -9
  2. package/index.js +8 -6
  3. package/package.json +11 -11
  4. package/tools/views.d.ts +102 -0
  5. package/tools/views.js +253 -0
  6. package/views.d.ts +4 -99
  7. package/views.js +52 -280
  8. package/external/rollup-plugin-styles/dist/runtime/inject-css.js +0 -3
  9. package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -180
  10. package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -494
  11. package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -6
  12. package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -1112
  13. package/vscode/src/vs/base/common/codicons.d.ts +0 -579
  14. package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -24
  15. package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -64
  16. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -790
  17. package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -764
  18. package/vscode/src/vs/workbench/browser/layout.d.ts +0 -26
  19. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -612
  20. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -6
  21. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -6
  22. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -150
  23. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -6
  24. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -605
  25. package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -335
  26. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +0 -223
  27. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +0 -1407
  28. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +0 -186
  29. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -511
  30. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +0 -112
  31. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -1020
  32. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +0 -391
  33. package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -6
  34. package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -6
  35. package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +0 -6
  36. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +0 -645
  37. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -379
  38. package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +0 -68
  39. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -146
  40. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -6
  41. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -222
  42. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -299
  43. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -365
  44. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -135
  45. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -6
  46. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -17
  47. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -145
  48. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -214
  49. package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -6
  50. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -78
  51. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -63
  52. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -119
  53. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -6
  54. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -79
  55. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -74
  56. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -256
  57. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -99
  58. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -444
  59. package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -432
  60. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -786
  61. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -488
  62. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +0 -522
  63. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -152
  64. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -63
  65. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -409
  66. package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -6
  67. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +0 -693
  68. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +0 -240
  69. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +0 -77
  70. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorSerializer.js +0 -42
  71. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +0 -71
  72. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +0 -348
  73. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +0 -98
  74. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +0 -146
  75. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +0 -105
  76. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +0 -401
  77. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +0 -197
  78. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +0 -41
  79. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +0 -128
  80. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/media/mergeEditor.css.js +0 -6
  81. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +0 -612
  82. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +0 -158
  83. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +0 -264
  84. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +0 -173
  85. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -6
  86. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -282
  87. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -360
  88. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -133
  89. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -290
  90. package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -96
  91. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -88
  92. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +0 -79
  93. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -648
  94. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -65
  95. package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -59
  96. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -142
  97. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -121
  98. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -68
  99. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -235
  100. package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -145
  101. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -670
  102. package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1484
  103. package/vscode/src/vs/workbench/services/progress/browser/media/progressService.css.js +0 -6
  104. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +0 -523
  105. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +0 -101
  106. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -713
  107. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -598
@@ -1,579 +0,0 @@
1
- import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
2
-
3
- /**
4
- * The Codicon library is a set of default icons that are built-in in VS Code.
5
- *
6
- * In the product (outside of base) Codicons should only be used as defaults. In order to have all icons in VS Code
7
- * themeable, component should define new, UI component specific icons using `iconRegistry.registerIcon`.
8
- * In that call a Codicon can be named as default.
9
- */
10
- declare const Codicon: {
11
- readonly add: ThemeIcon;
12
- readonly plus: ThemeIcon;
13
- readonly gistNew: ThemeIcon;
14
- readonly repoCreate: ThemeIcon;
15
- readonly lightbulb: ThemeIcon;
16
- readonly lightBulb: ThemeIcon;
17
- readonly repo: ThemeIcon;
18
- readonly repoDelete: ThemeIcon;
19
- readonly gistFork: ThemeIcon;
20
- readonly repoForked: ThemeIcon;
21
- readonly gitPullRequest: ThemeIcon;
22
- readonly gitPullRequestAbandoned: ThemeIcon;
23
- readonly recordKeys: ThemeIcon;
24
- readonly keyboard: ThemeIcon;
25
- readonly tag: ThemeIcon;
26
- readonly tagAdd: ThemeIcon;
27
- readonly tagRemove: ThemeIcon;
28
- readonly gitPullRequestLabel: ThemeIcon;
29
- readonly person: ThemeIcon;
30
- readonly personFollow: ThemeIcon;
31
- readonly personOutline: ThemeIcon;
32
- readonly personFilled: ThemeIcon;
33
- readonly gitBranch: ThemeIcon;
34
- readonly gitBranchCreate: ThemeIcon;
35
- readonly gitBranchDelete: ThemeIcon;
36
- readonly sourceControl: ThemeIcon;
37
- readonly mirror: ThemeIcon;
38
- readonly mirrorPublic: ThemeIcon;
39
- readonly star: ThemeIcon;
40
- readonly starAdd: ThemeIcon;
41
- readonly starDelete: ThemeIcon;
42
- readonly starEmpty: ThemeIcon;
43
- readonly comment: ThemeIcon;
44
- readonly commentAdd: ThemeIcon;
45
- readonly alert: ThemeIcon;
46
- readonly warning: ThemeIcon;
47
- readonly search: ThemeIcon;
48
- readonly searchSave: ThemeIcon;
49
- readonly logOut: ThemeIcon;
50
- readonly signOut: ThemeIcon;
51
- readonly logIn: ThemeIcon;
52
- readonly signIn: ThemeIcon;
53
- readonly eye: ThemeIcon;
54
- readonly eyeUnwatch: ThemeIcon;
55
- readonly eyeWatch: ThemeIcon;
56
- readonly circleFilled: ThemeIcon;
57
- readonly primitiveDot: ThemeIcon;
58
- readonly closeDirty: ThemeIcon;
59
- readonly debugBreakpoint: ThemeIcon;
60
- readonly debugBreakpointDisabled: ThemeIcon;
61
- readonly debugBreakpointPending: ThemeIcon;
62
- readonly debugHint: ThemeIcon;
63
- readonly primitiveSquare: ThemeIcon;
64
- readonly edit: ThemeIcon;
65
- readonly pencil: ThemeIcon;
66
- readonly info: ThemeIcon;
67
- readonly issueOpened: ThemeIcon;
68
- readonly gistPrivate: ThemeIcon;
69
- readonly gitForkPrivate: ThemeIcon;
70
- readonly lock: ThemeIcon;
71
- readonly mirrorPrivate: ThemeIcon;
72
- readonly close: ThemeIcon;
73
- readonly removeClose: ThemeIcon;
74
- readonly x: ThemeIcon;
75
- readonly repoSync: ThemeIcon;
76
- readonly sync: ThemeIcon;
77
- readonly clone: ThemeIcon;
78
- readonly desktopDownload: ThemeIcon;
79
- readonly beaker: ThemeIcon;
80
- readonly microscope: ThemeIcon;
81
- readonly vm: ThemeIcon;
82
- readonly deviceDesktop: ThemeIcon;
83
- readonly file: ThemeIcon;
84
- readonly fileText: ThemeIcon;
85
- readonly more: ThemeIcon;
86
- readonly ellipsis: ThemeIcon;
87
- readonly kebabHorizontal: ThemeIcon;
88
- readonly mailReply: ThemeIcon;
89
- readonly reply: ThemeIcon;
90
- readonly organization: ThemeIcon;
91
- readonly organizationFilled: ThemeIcon;
92
- readonly organizationOutline: ThemeIcon;
93
- readonly newFile: ThemeIcon;
94
- readonly fileAdd: ThemeIcon;
95
- readonly newFolder: ThemeIcon;
96
- readonly fileDirectoryCreate: ThemeIcon;
97
- readonly trash: ThemeIcon;
98
- readonly trashcan: ThemeIcon;
99
- readonly history: ThemeIcon;
100
- readonly clock: ThemeIcon;
101
- readonly folder: ThemeIcon;
102
- readonly fileDirectory: ThemeIcon;
103
- readonly symbolFolder: ThemeIcon;
104
- readonly logoGithub: ThemeIcon;
105
- readonly markGithub: ThemeIcon;
106
- readonly github: ThemeIcon;
107
- readonly terminal: ThemeIcon;
108
- readonly console: ThemeIcon;
109
- readonly repl: ThemeIcon;
110
- readonly zap: ThemeIcon;
111
- readonly symbolEvent: ThemeIcon;
112
- readonly error: ThemeIcon;
113
- readonly stop: ThemeIcon;
114
- readonly variable: ThemeIcon;
115
- readonly symbolVariable: ThemeIcon;
116
- readonly array: ThemeIcon;
117
- readonly symbolArray: ThemeIcon;
118
- readonly symbolModule: ThemeIcon;
119
- readonly symbolPackage: ThemeIcon;
120
- readonly symbolNamespace: ThemeIcon;
121
- readonly symbolObject: ThemeIcon;
122
- readonly symbolMethod: ThemeIcon;
123
- readonly symbolFunction: ThemeIcon;
124
- readonly symbolConstructor: ThemeIcon;
125
- readonly symbolBoolean: ThemeIcon;
126
- readonly symbolNull: ThemeIcon;
127
- readonly symbolNumeric: ThemeIcon;
128
- readonly symbolNumber: ThemeIcon;
129
- readonly symbolStructure: ThemeIcon;
130
- readonly symbolStruct: ThemeIcon;
131
- readonly symbolParameter: ThemeIcon;
132
- readonly symbolTypeParameter: ThemeIcon;
133
- readonly symbolKey: ThemeIcon;
134
- readonly symbolText: ThemeIcon;
135
- readonly symbolReference: ThemeIcon;
136
- readonly goToFile: ThemeIcon;
137
- readonly symbolEnum: ThemeIcon;
138
- readonly symbolValue: ThemeIcon;
139
- readonly symbolRuler: ThemeIcon;
140
- readonly symbolUnit: ThemeIcon;
141
- readonly activateBreakpoints: ThemeIcon;
142
- readonly archive: ThemeIcon;
143
- readonly arrowBoth: ThemeIcon;
144
- readonly arrowDown: ThemeIcon;
145
- readonly arrowLeft: ThemeIcon;
146
- readonly arrowRight: ThemeIcon;
147
- readonly arrowSmallDown: ThemeIcon;
148
- readonly arrowSmallLeft: ThemeIcon;
149
- readonly arrowSmallRight: ThemeIcon;
150
- readonly arrowSmallUp: ThemeIcon;
151
- readonly arrowUp: ThemeIcon;
152
- readonly bell: ThemeIcon;
153
- readonly bold: ThemeIcon;
154
- readonly book: ThemeIcon;
155
- readonly bookmark: ThemeIcon;
156
- readonly debugBreakpointConditionalUnverified: ThemeIcon;
157
- readonly debugBreakpointConditional: ThemeIcon;
158
- readonly debugBreakpointConditionalDisabled: ThemeIcon;
159
- readonly debugBreakpointDataUnverified: ThemeIcon;
160
- readonly debugBreakpointData: ThemeIcon;
161
- readonly debugBreakpointDataDisabled: ThemeIcon;
162
- readonly debugBreakpointLogUnverified: ThemeIcon;
163
- readonly debugBreakpointLog: ThemeIcon;
164
- readonly debugBreakpointLogDisabled: ThemeIcon;
165
- readonly briefcase: ThemeIcon;
166
- readonly broadcast: ThemeIcon;
167
- readonly browser: ThemeIcon;
168
- readonly bug: ThemeIcon;
169
- readonly calendar: ThemeIcon;
170
- readonly caseSensitive: ThemeIcon;
171
- readonly check: ThemeIcon;
172
- readonly checklist: ThemeIcon;
173
- readonly chevronDown: ThemeIcon;
174
- readonly dropDownButton: ThemeIcon;
175
- readonly chevronLeft: ThemeIcon;
176
- readonly chevronRight: ThemeIcon;
177
- readonly chevronUp: ThemeIcon;
178
- readonly chromeClose: ThemeIcon;
179
- readonly chromeMaximize: ThemeIcon;
180
- readonly chromeMinimize: ThemeIcon;
181
- readonly chromeRestore: ThemeIcon;
182
- readonly circle: ThemeIcon;
183
- readonly circleOutline: ThemeIcon;
184
- readonly debugBreakpointUnverified: ThemeIcon;
185
- readonly circleSlash: ThemeIcon;
186
- readonly circuitBoard: ThemeIcon;
187
- readonly clearAll: ThemeIcon;
188
- readonly clippy: ThemeIcon;
189
- readonly closeAll: ThemeIcon;
190
- readonly cloudDownload: ThemeIcon;
191
- readonly cloudUpload: ThemeIcon;
192
- readonly code: ThemeIcon;
193
- readonly collapseAll: ThemeIcon;
194
- readonly colorMode: ThemeIcon;
195
- readonly commentDiscussion: ThemeIcon;
196
- readonly compareChanges: ThemeIcon;
197
- readonly creditCard: ThemeIcon;
198
- readonly dash: ThemeIcon;
199
- readonly dashboard: ThemeIcon;
200
- readonly database: ThemeIcon;
201
- readonly debugContinue: ThemeIcon;
202
- readonly debugDisconnect: ThemeIcon;
203
- readonly debugPause: ThemeIcon;
204
- readonly debugRestart: ThemeIcon;
205
- readonly debugStart: ThemeIcon;
206
- readonly debugStepInto: ThemeIcon;
207
- readonly debugStepOut: ThemeIcon;
208
- readonly debugStepOver: ThemeIcon;
209
- readonly debugStop: ThemeIcon;
210
- readonly debug: ThemeIcon;
211
- readonly deviceCameraVideo: ThemeIcon;
212
- readonly deviceCamera: ThemeIcon;
213
- readonly deviceMobile: ThemeIcon;
214
- readonly diffAdded: ThemeIcon;
215
- readonly diffIgnored: ThemeIcon;
216
- readonly diffModified: ThemeIcon;
217
- readonly diffRemoved: ThemeIcon;
218
- readonly diffRenamed: ThemeIcon;
219
- readonly diff: ThemeIcon;
220
- readonly discard: ThemeIcon;
221
- readonly editorLayout: ThemeIcon;
222
- readonly emptyWindow: ThemeIcon;
223
- readonly exclude: ThemeIcon;
224
- readonly extensions: ThemeIcon;
225
- readonly eyeClosed: ThemeIcon;
226
- readonly fileBinary: ThemeIcon;
227
- readonly fileCode: ThemeIcon;
228
- readonly fileMedia: ThemeIcon;
229
- readonly filePdf: ThemeIcon;
230
- readonly fileSubmodule: ThemeIcon;
231
- readonly fileSymlinkDirectory: ThemeIcon;
232
- readonly fileSymlinkFile: ThemeIcon;
233
- readonly fileZip: ThemeIcon;
234
- readonly files: ThemeIcon;
235
- readonly filter: ThemeIcon;
236
- readonly flame: ThemeIcon;
237
- readonly foldDown: ThemeIcon;
238
- readonly foldUp: ThemeIcon;
239
- readonly fold: ThemeIcon;
240
- readonly folderActive: ThemeIcon;
241
- readonly folderOpened: ThemeIcon;
242
- readonly gear: ThemeIcon;
243
- readonly gift: ThemeIcon;
244
- readonly gistSecret: ThemeIcon;
245
- readonly gist: ThemeIcon;
246
- readonly gitCommit: ThemeIcon;
247
- readonly gitCompare: ThemeIcon;
248
- readonly gitMerge: ThemeIcon;
249
- readonly githubAction: ThemeIcon;
250
- readonly githubAlt: ThemeIcon;
251
- readonly globe: ThemeIcon;
252
- readonly grabber: ThemeIcon;
253
- readonly graph: ThemeIcon;
254
- readonly gripper: ThemeIcon;
255
- readonly heart: ThemeIcon;
256
- readonly home: ThemeIcon;
257
- readonly horizontalRule: ThemeIcon;
258
- readonly hubot: ThemeIcon;
259
- readonly inbox: ThemeIcon;
260
- readonly issueClosed: ThemeIcon;
261
- readonly issueReopened: ThemeIcon;
262
- readonly issues: ThemeIcon;
263
- readonly italic: ThemeIcon;
264
- readonly jersey: ThemeIcon;
265
- readonly json: ThemeIcon;
266
- readonly bracket: ThemeIcon;
267
- readonly kebabVertical: ThemeIcon;
268
- readonly key: ThemeIcon;
269
- readonly law: ThemeIcon;
270
- readonly lightbulbAutofix: ThemeIcon;
271
- readonly linkExternal: ThemeIcon;
272
- readonly link: ThemeIcon;
273
- readonly listOrdered: ThemeIcon;
274
- readonly listUnordered: ThemeIcon;
275
- readonly liveShare: ThemeIcon;
276
- readonly loading: ThemeIcon;
277
- readonly location: ThemeIcon;
278
- readonly mailRead: ThemeIcon;
279
- readonly mail: ThemeIcon;
280
- readonly markdown: ThemeIcon;
281
- readonly megaphone: ThemeIcon;
282
- readonly mention: ThemeIcon;
283
- readonly milestone: ThemeIcon;
284
- readonly gitPullRequestMilestone: ThemeIcon;
285
- readonly mortarBoard: ThemeIcon;
286
- readonly move: ThemeIcon;
287
- readonly multipleWindows: ThemeIcon;
288
- readonly mute: ThemeIcon;
289
- readonly noNewline: ThemeIcon;
290
- readonly note: ThemeIcon;
291
- readonly octoface: ThemeIcon;
292
- readonly openPreview: ThemeIcon;
293
- readonly package: ThemeIcon;
294
- readonly paintcan: ThemeIcon;
295
- readonly pin: ThemeIcon;
296
- readonly play: ThemeIcon;
297
- readonly run: ThemeIcon;
298
- readonly plug: ThemeIcon;
299
- readonly preserveCase: ThemeIcon;
300
- readonly preview: ThemeIcon;
301
- readonly project: ThemeIcon;
302
- readonly pulse: ThemeIcon;
303
- readonly question: ThemeIcon;
304
- readonly quote: ThemeIcon;
305
- readonly radioTower: ThemeIcon;
306
- readonly reactions: ThemeIcon;
307
- readonly references: ThemeIcon;
308
- readonly refresh: ThemeIcon;
309
- readonly regex: ThemeIcon;
310
- readonly remoteExplorer: ThemeIcon;
311
- readonly remote: ThemeIcon;
312
- readonly remove: ThemeIcon;
313
- readonly replaceAll: ThemeIcon;
314
- readonly replace: ThemeIcon;
315
- readonly repoClone: ThemeIcon;
316
- readonly repoForcePush: ThemeIcon;
317
- readonly repoPull: ThemeIcon;
318
- readonly repoPush: ThemeIcon;
319
- readonly report: ThemeIcon;
320
- readonly requestChanges: ThemeIcon;
321
- readonly rocket: ThemeIcon;
322
- readonly rootFolderOpened: ThemeIcon;
323
- readonly rootFolder: ThemeIcon;
324
- readonly rss: ThemeIcon;
325
- readonly ruby: ThemeIcon;
326
- readonly saveAll: ThemeIcon;
327
- readonly saveAs: ThemeIcon;
328
- readonly save: ThemeIcon;
329
- readonly screenFull: ThemeIcon;
330
- readonly screenNormal: ThemeIcon;
331
- readonly searchStop: ThemeIcon;
332
- readonly server: ThemeIcon;
333
- readonly settingsGear: ThemeIcon;
334
- readonly settings: ThemeIcon;
335
- readonly shield: ThemeIcon;
336
- readonly smiley: ThemeIcon;
337
- readonly sortPrecedence: ThemeIcon;
338
- readonly splitHorizontal: ThemeIcon;
339
- readonly splitVertical: ThemeIcon;
340
- readonly squirrel: ThemeIcon;
341
- readonly starFull: ThemeIcon;
342
- readonly starHalf: ThemeIcon;
343
- readonly symbolClass: ThemeIcon;
344
- readonly symbolColor: ThemeIcon;
345
- readonly symbolCustomColor: ThemeIcon;
346
- readonly symbolConstant: ThemeIcon;
347
- readonly symbolEnumMember: ThemeIcon;
348
- readonly symbolField: ThemeIcon;
349
- readonly symbolFile: ThemeIcon;
350
- readonly symbolInterface: ThemeIcon;
351
- readonly symbolKeyword: ThemeIcon;
352
- readonly symbolMisc: ThemeIcon;
353
- readonly symbolOperator: ThemeIcon;
354
- readonly symbolProperty: ThemeIcon;
355
- readonly wrench: ThemeIcon;
356
- readonly wrenchSubaction: ThemeIcon;
357
- readonly symbolSnippet: ThemeIcon;
358
- readonly tasklist: ThemeIcon;
359
- readonly telescope: ThemeIcon;
360
- readonly textSize: ThemeIcon;
361
- readonly threeBars: ThemeIcon;
362
- readonly thumbsdown: ThemeIcon;
363
- readonly thumbsup: ThemeIcon;
364
- readonly tools: ThemeIcon;
365
- readonly triangleDown: ThemeIcon;
366
- readonly triangleLeft: ThemeIcon;
367
- readonly triangleRight: ThemeIcon;
368
- readonly triangleUp: ThemeIcon;
369
- readonly twitter: ThemeIcon;
370
- readonly unfold: ThemeIcon;
371
- readonly unlock: ThemeIcon;
372
- readonly unmute: ThemeIcon;
373
- readonly unverified: ThemeIcon;
374
- readonly verified: ThemeIcon;
375
- readonly versions: ThemeIcon;
376
- readonly vmActive: ThemeIcon;
377
- readonly vmOutline: ThemeIcon;
378
- readonly vmRunning: ThemeIcon;
379
- readonly watch: ThemeIcon;
380
- readonly whitespace: ThemeIcon;
381
- readonly wholeWord: ThemeIcon;
382
- readonly window: ThemeIcon;
383
- readonly wordWrap: ThemeIcon;
384
- readonly zoomIn: ThemeIcon;
385
- readonly zoomOut: ThemeIcon;
386
- readonly listFilter: ThemeIcon;
387
- readonly listFlat: ThemeIcon;
388
- readonly listSelection: ThemeIcon;
389
- readonly selection: ThemeIcon;
390
- readonly listTree: ThemeIcon;
391
- readonly debugBreakpointFunctionUnverified: ThemeIcon;
392
- readonly debugBreakpointFunction: ThemeIcon;
393
- readonly debugBreakpointFunctionDisabled: ThemeIcon;
394
- readonly debugStackframeActive: ThemeIcon;
395
- readonly circleSmallFilled: ThemeIcon;
396
- readonly debugStackframeDot: ThemeIcon;
397
- readonly debugStackframe: ThemeIcon;
398
- readonly debugStackframeFocused: ThemeIcon;
399
- readonly debugBreakpointUnsupported: ThemeIcon;
400
- readonly symbolString: ThemeIcon;
401
- readonly debugReverseContinue: ThemeIcon;
402
- readonly debugStepBack: ThemeIcon;
403
- readonly debugRestartFrame: ThemeIcon;
404
- readonly callIncoming: ThemeIcon;
405
- readonly callOutgoing: ThemeIcon;
406
- readonly menu: ThemeIcon;
407
- readonly expandAll: ThemeIcon;
408
- readonly feedback: ThemeIcon;
409
- readonly gitPullRequestReviewer: ThemeIcon;
410
- readonly groupByRefType: ThemeIcon;
411
- readonly ungroupByRefType: ThemeIcon;
412
- readonly account: ThemeIcon;
413
- readonly gitPullRequestAssignee: ThemeIcon;
414
- readonly bellDot: ThemeIcon;
415
- readonly debugConsole: ThemeIcon;
416
- readonly library: ThemeIcon;
417
- readonly output: ThemeIcon;
418
- readonly runAll: ThemeIcon;
419
- readonly syncIgnored: ThemeIcon;
420
- readonly pinned: ThemeIcon;
421
- readonly githubInverted: ThemeIcon;
422
- readonly debugAlt: ThemeIcon;
423
- readonly serverProcess: ThemeIcon;
424
- readonly serverEnvironment: ThemeIcon;
425
- readonly pass: ThemeIcon;
426
- readonly stopCircle: ThemeIcon;
427
- readonly playCircle: ThemeIcon;
428
- readonly record: ThemeIcon;
429
- readonly debugAltSmall: ThemeIcon;
430
- readonly vmConnect: ThemeIcon;
431
- readonly cloud: ThemeIcon;
432
- readonly merge: ThemeIcon;
433
- readonly exportIcon: ThemeIcon;
434
- readonly graphLeft: ThemeIcon;
435
- readonly magnet: ThemeIcon;
436
- readonly notebook: ThemeIcon;
437
- readonly redo: ThemeIcon;
438
- readonly checkAll: ThemeIcon;
439
- readonly pinnedDirty: ThemeIcon;
440
- readonly passFilled: ThemeIcon;
441
- readonly circleLargeFilled: ThemeIcon;
442
- readonly circleLarge: ThemeIcon;
443
- readonly circleLargeOutline: ThemeIcon;
444
- readonly combine: ThemeIcon;
445
- readonly gather: ThemeIcon;
446
- readonly table: ThemeIcon;
447
- readonly variableGroup: ThemeIcon;
448
- readonly typeHierarchy: ThemeIcon;
449
- readonly typeHierarchySub: ThemeIcon;
450
- readonly typeHierarchySuper: ThemeIcon;
451
- readonly gitPullRequestCreate: ThemeIcon;
452
- readonly runAbove: ThemeIcon;
453
- readonly runBelow: ThemeIcon;
454
- readonly notebookTemplate: ThemeIcon;
455
- readonly debugRerun: ThemeIcon;
456
- readonly workspaceTrusted: ThemeIcon;
457
- readonly workspaceUntrusted: ThemeIcon;
458
- readonly workspaceUnspecified: ThemeIcon;
459
- readonly terminalCmd: ThemeIcon;
460
- readonly terminalDebian: ThemeIcon;
461
- readonly terminalLinux: ThemeIcon;
462
- readonly terminalPowershell: ThemeIcon;
463
- readonly terminalTmux: ThemeIcon;
464
- readonly terminalUbuntu: ThemeIcon;
465
- readonly terminalBash: ThemeIcon;
466
- readonly arrowSwap: ThemeIcon;
467
- readonly copy: ThemeIcon;
468
- readonly personAdd: ThemeIcon;
469
- readonly filterFilled: ThemeIcon;
470
- readonly wand: ThemeIcon;
471
- readonly debugLineByLine: ThemeIcon;
472
- readonly inspect: ThemeIcon;
473
- readonly layers: ThemeIcon;
474
- readonly layersDot: ThemeIcon;
475
- readonly layersActive: ThemeIcon;
476
- readonly compass: ThemeIcon;
477
- readonly compassDot: ThemeIcon;
478
- readonly compassActive: ThemeIcon;
479
- readonly azure: ThemeIcon;
480
- readonly issueDraft: ThemeIcon;
481
- readonly gitPullRequestClosed: ThemeIcon;
482
- readonly gitPullRequestDraft: ThemeIcon;
483
- readonly debugAll: ThemeIcon;
484
- readonly debugCoverage: ThemeIcon;
485
- readonly runErrors: ThemeIcon;
486
- readonly folderLibrary: ThemeIcon;
487
- readonly debugContinueSmall: ThemeIcon;
488
- readonly beakerStop: ThemeIcon;
489
- readonly graphLine: ThemeIcon;
490
- readonly graphScatter: ThemeIcon;
491
- readonly pieChart: ThemeIcon;
492
- readonly bracketDot: ThemeIcon;
493
- readonly bracketError: ThemeIcon;
494
- readonly lockSmall: ThemeIcon;
495
- readonly azureDevops: ThemeIcon;
496
- readonly verifiedFilled: ThemeIcon;
497
- readonly newLine: ThemeIcon;
498
- readonly layout: ThemeIcon;
499
- readonly layoutActivitybarLeft: ThemeIcon;
500
- readonly layoutActivitybarRight: ThemeIcon;
501
- readonly layoutPanelLeft: ThemeIcon;
502
- readonly layoutPanelCenter: ThemeIcon;
503
- readonly layoutPanelJustify: ThemeIcon;
504
- readonly layoutPanelRight: ThemeIcon;
505
- readonly layoutPanel: ThemeIcon;
506
- readonly layoutSidebarLeft: ThemeIcon;
507
- readonly layoutSidebarRight: ThemeIcon;
508
- readonly layoutStatusbar: ThemeIcon;
509
- readonly layoutMenubar: ThemeIcon;
510
- readonly layoutCentered: ThemeIcon;
511
- readonly layoutSidebarRightOff: ThemeIcon;
512
- readonly layoutPanelOff: ThemeIcon;
513
- readonly layoutSidebarLeftOff: ThemeIcon;
514
- readonly target: ThemeIcon;
515
- readonly indent: ThemeIcon;
516
- readonly recordSmall: ThemeIcon;
517
- readonly errorSmall: ThemeIcon;
518
- readonly arrowCircleDown: ThemeIcon;
519
- readonly arrowCircleLeft: ThemeIcon;
520
- readonly arrowCircleRight: ThemeIcon;
521
- readonly arrowCircleUp: ThemeIcon;
522
- readonly heartFilled: ThemeIcon;
523
- readonly map: ThemeIcon;
524
- readonly mapFilled: ThemeIcon;
525
- readonly circleSmall: ThemeIcon;
526
- readonly bellSlash: ThemeIcon;
527
- readonly bellSlashDot: ThemeIcon;
528
- readonly commentUnresolved: ThemeIcon;
529
- readonly gitPullRequestGoToChanges: ThemeIcon;
530
- readonly gitPullRequestNewChanges: ThemeIcon;
531
- readonly searchFuzzy: ThemeIcon;
532
- readonly commentDraft: ThemeIcon;
533
- readonly send: ThemeIcon;
534
- readonly sparkle: ThemeIcon;
535
- readonly insert: ThemeIcon;
536
- readonly mic: ThemeIcon;
537
- readonly thumbsDownFilled: ThemeIcon;
538
- readonly thumbsUpFilled: ThemeIcon;
539
- readonly coffee: ThemeIcon;
540
- readonly snake: ThemeIcon;
541
- readonly game: ThemeIcon;
542
- readonly vr: ThemeIcon;
543
- readonly chip: ThemeIcon;
544
- readonly piano: ThemeIcon;
545
- readonly music: ThemeIcon;
546
- readonly micFilled: ThemeIcon;
547
- readonly gitFetch: ThemeIcon;
548
- readonly copilot: ThemeIcon;
549
- readonly lightbulbSparkle: ThemeIcon;
550
- readonly lightbulbSparkleAutofix: ThemeIcon;
551
- readonly robot: ThemeIcon;
552
- readonly sparkleFilled: ThemeIcon;
553
- readonly diffSingle: ThemeIcon;
554
- readonly diffMultiple: ThemeIcon;
555
- readonly surroundWith: ThemeIcon;
556
- readonly gitStash: ThemeIcon;
557
- readonly gitStashApply: ThemeIcon;
558
- readonly gitStashPop: ThemeIcon;
559
- readonly dialogError: ThemeIcon;
560
- readonly dialogWarning: ThemeIcon;
561
- readonly dialogInfo: ThemeIcon;
562
- readonly dialogClose: ThemeIcon;
563
- readonly treeItemExpanded: ThemeIcon;
564
- readonly treeFilterOnTypeOn: ThemeIcon;
565
- readonly treeFilterOnTypeOff: ThemeIcon;
566
- readonly treeFilterClear: ThemeIcon;
567
- readonly treeItemLoading: ThemeIcon;
568
- readonly menuSelection: ThemeIcon;
569
- readonly menuSubmenu: ThemeIcon;
570
- readonly menuBarMore: ThemeIcon;
571
- readonly scrollbarButtonLeft: ThemeIcon;
572
- readonly scrollbarButtonRight: ThemeIcon;
573
- readonly scrollbarButtonUp: ThemeIcon;
574
- readonly scrollbarButtonDown: ThemeIcon;
575
- readonly toolBarMore: ThemeIcon;
576
- readonly quickInputBack: ThemeIcon;
577
- };
578
-
579
- export { Codicon };
@@ -1,24 +0,0 @@
1
- import { Mimes, getMediaMime } from 'vscode/vscode/vs/base/common/mime';
2
- import { extname } from 'vscode/vscode/vs/base/common/path';
3
-
4
- const webviewMimeTypes = ( new Map([
5
- ['.svg', 'image/svg+xml'],
6
- ['.txt', Mimes.text],
7
- ['.css', 'text/css'],
8
- ['.js', 'application/javascript'],
9
- ['.cjs', 'application/javascript'],
10
- ['.mjs', 'application/javascript'],
11
- ['.json', 'application/json'],
12
- ['.html', 'text/html'],
13
- ['.htm', 'text/html'],
14
- ['.xhtml', 'application/xhtml+xml'],
15
- ['.oft', 'font/otf'],
16
- ['.xml', 'application/xml'],
17
- ['.wasm', 'application/wasm'],
18
- ]));
19
- function getWebviewContentMimeType(resource) {
20
- const ext = extname(resource.fsPath).toLowerCase();
21
- return webviewMimeTypes.get(ext) || getMediaMime(resource.fsPath) || Mimes.unknown;
22
- }
23
-
24
- export { getWebviewContentMimeType };
@@ -1,64 +0,0 @@
1
- import { Schemas } from 'vscode/vscode/vs/base/common/network';
2
- import { URI } from 'vscode/vscode/vs/base/common/uri';
3
- import { extractLocalHostUriMetaDataForPortMapping } from 'vscode/vscode/vs/platform/tunnel/common/tunnel';
4
-
5
- class WebviewPortMappingManager {
6
- constructor(_getExtensionLocation, _getMappings, tunnelService) {
7
- this._getExtensionLocation = _getExtensionLocation;
8
- this._getMappings = _getMappings;
9
- this.tunnelService = tunnelService;
10
- this._tunnels = ( new Map());
11
- }
12
- async getRedirect(resolveAuthority, url) {
13
- const uri = ( URI.parse(url));
14
- const requestLocalHostInfo = extractLocalHostUriMetaDataForPortMapping(uri);
15
- if (!requestLocalHostInfo) {
16
- return undefined;
17
- }
18
- for (const mapping of this._getMappings()) {
19
- if (mapping.webviewPort === requestLocalHostInfo.port) {
20
- const extensionLocation = this._getExtensionLocation();
21
- if (extensionLocation && extensionLocation.scheme === Schemas.vscodeRemote) {
22
- const tunnel = resolveAuthority && (await this.getOrCreateTunnel(resolveAuthority, mapping.extensionHostPort));
23
- if (tunnel) {
24
- if (tunnel.tunnelLocalPort === mapping.webviewPort) {
25
- return undefined;
26
- }
27
- return encodeURI(( uri.with({
28
- authority: `127.0.0.1:${tunnel.tunnelLocalPort}`,
29
- }).toString(true)));
30
- }
31
- }
32
- if (mapping.webviewPort !== mapping.extensionHostPort) {
33
- return encodeURI(( uri.with({
34
- authority: `${requestLocalHostInfo.address}:${mapping.extensionHostPort}`
35
- }).toString(true)));
36
- }
37
- }
38
- }
39
- return undefined;
40
- }
41
- async dispose() {
42
- for (const tunnel of ( this._tunnels.values())) {
43
- await tunnel.dispose();
44
- }
45
- this._tunnels.clear();
46
- }
47
- async getOrCreateTunnel(remoteAuthority, remotePort) {
48
- const existing = this._tunnels.get(remotePort);
49
- if (existing) {
50
- return existing;
51
- }
52
- const tunnelOrError = await this.tunnelService.openTunnel({ getAddress: async () => remoteAuthority }, undefined, remotePort);
53
- let tunnel;
54
- if (typeof tunnelOrError === 'string') {
55
- tunnel = undefined;
56
- }
57
- if (tunnel) {
58
- this._tunnels.set(remotePort, tunnel);
59
- }
60
- return tunnel;
61
- }
62
- }
63
-
64
- export { WebviewPortMappingManager };