@codingame/monaco-vscode-views-service-override 2.1.3 → 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 (108) hide show
  1. package/index.d.ts +11 -9
  2. package/index.js +8 -6
  3. package/package.json +11 -11
  4. package/tools/editor.js +3 -1
  5. package/tools/views.d.ts +102 -0
  6. package/tools/views.js +253 -0
  7. package/views.d.ts +4 -99
  8. package/views.js +52 -280
  9. package/external/rollup-plugin-styles/dist/runtime/inject-css.js +0 -3
  10. package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -180
  11. package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -494
  12. package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -6
  13. package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -1112
  14. package/vscode/src/vs/base/common/codicons.d.ts +0 -579
  15. package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -24
  16. package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -64
  17. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -790
  18. package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -764
  19. package/vscode/src/vs/workbench/browser/layout.d.ts +0 -26
  20. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -612
  21. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -6
  22. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -6
  23. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -150
  24. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -6
  25. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -605
  26. package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -335
  27. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +0 -223
  28. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +0 -1407
  29. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +0 -186
  30. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -511
  31. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +0 -112
  32. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -1020
  33. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +0 -391
  34. package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -6
  35. package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -6
  36. package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +0 -6
  37. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +0 -645
  38. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -379
  39. package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +0 -68
  40. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -146
  41. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -6
  42. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -222
  43. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -299
  44. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -365
  45. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -135
  46. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -6
  47. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -17
  48. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -145
  49. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -214
  50. package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -6
  51. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -78
  52. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -63
  53. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -119
  54. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -6
  55. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -79
  56. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -74
  57. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -256
  58. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -99
  59. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -444
  60. package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -432
  61. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -786
  62. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -488
  63. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +0 -522
  64. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -152
  65. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -63
  66. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -409
  67. package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -6
  68. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +0 -693
  69. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +0 -240
  70. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +0 -77
  71. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorSerializer.js +0 -42
  72. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +0 -71
  73. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +0 -348
  74. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +0 -98
  75. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +0 -146
  76. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +0 -105
  77. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +0 -401
  78. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +0 -197
  79. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +0 -41
  80. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +0 -128
  81. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/media/mergeEditor.css.js +0 -6
  82. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +0 -612
  83. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +0 -158
  84. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +0 -264
  85. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +0 -173
  86. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -6
  87. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -282
  88. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -360
  89. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -133
  90. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -290
  91. package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -96
  92. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -88
  93. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +0 -79
  94. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -648
  95. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -65
  96. package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -59
  97. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -142
  98. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -121
  99. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -68
  100. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -235
  101. package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -145
  102. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -670
  103. package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1484
  104. package/vscode/src/vs/workbench/services/progress/browser/media/progressService.css.js +0 -6
  105. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +0 -523
  106. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +0 -101
  107. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -713
  108. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -598
package/index.d.ts CHANGED
@@ -1,21 +1,23 @@
1
- export { CustomViewOption, InitializationStateTransformer, SimpleEditorInput, SimpleEditorPane, attachPart, default, getPanelPosition, getSideBarPosition, isEditorPartVisible, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, onPartVisibilityChange, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart, setPartVisibility } from './views.js';
1
+ export { InitializationStateTransformer, attachPart, default, isEditorPartVisible, onPartVisibilityChange, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart } from './views.js';
2
2
  export { SidebarPart } from './vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js';
3
3
  export { ActivityService } from 'vscode/vscode/vs/workbench/services/activity/browser/activityService';
4
4
  export { ActivitybarPart } from './vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js';
5
5
  export { IReference } from 'vscode/vscode/vs/base/common/lifecycle';
6
6
  export { PanelPart } from './vscode/src/vs/workbench/browser/parts/panel/panelPart.js';
7
+ export { IEditorOptions } from 'vscode/vscode/vs/platform/editor/common/editor';
8
+ export { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
9
+ export { IView, SplitView } from 'vscode/vscode/vs/base/browser/ui/splitview/splitview';
7
10
  export { GroupOrientation } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
8
- export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
9
11
  export { IResolvedTextEditorModel } from 'vscode/vscode/vs/editor/common/services/resolverService';
12
+ export { HoverService } from 'vscode/vscode/vs/editor/browser/services/hoverService';
13
+ export { CustomViewOption, SimpleEditorInput, SimpleEditorPane, getPanelPosition, getSideBarPosition, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, setPartVisibility } from './tools/views.js';
14
+ export { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
15
+ export { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
10
16
  export { ConfirmResult } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
17
+ export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
18
+ export { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
11
19
  export { AbstractResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/resourceEditorInput';
12
20
  export { AbstractTextResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/textResourceEditorInput';
13
- export { HoverService } from 'vscode/vscode/vs/editor/browser/services/hoverService';
14
- export { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
15
21
  export { EditorInputCapabilities, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
16
- export { EditorPane } from './vscode/src/vs/workbench/browser/parts/editor/editorPane.js';
17
- export { IEditorOptions } from 'vscode/vscode/vs/platform/editor/common/editor';
18
- export { ILayoutInitializationState } from './vscode/src/vs/workbench/browser/layout.js';
22
+ export { ILayoutInitializationState } from 'vscode/vscode/vs/workbench/browser/layout';
19
23
  export { OpenEditor } from './tools/editor.js';
20
- export { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
21
- export { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
package/index.js CHANGED
@@ -1,16 +1,18 @@
1
- export { SimpleEditorInput, SimpleEditorPane, attachPart, default, getPanelPosition, getSideBarPosition, isEditorPartVisible, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, onPartVisibilityChange, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart, setPartVisibility } from './views.js';
1
+ export { attachPart, default, isEditorPartVisible, onPartVisibilityChange, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart } from './views.js';
2
2
  export { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
3
- export { ActivitybarPart } from './vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js';
3
+ export { ActivitybarPart } from 'vscode/vscode/vs/workbench/browser/parts/activitybar/activitybarPart';
4
4
  export { GroupOrientation } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
5
5
  export { RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
6
6
  export { EditorInputCapabilities } from 'vscode/vscode/vs/workbench/common/editor';
7
7
  export { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
8
+ export { SimpleEditorInput, SimpleEditorPane, getPanelPosition, getSideBarPosition, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, setPartVisibility } from './tools/views.js';
8
9
  export { ConfirmResult } from './override/vs/platform/dialogs/common/dialogs.js';
10
+ export { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
9
11
  export { AbstractResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/resourceEditorInput';
10
12
  export { AbstractTextResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/textResourceEditorInput';
11
- export { ActivityService } from './vscode/src/vs/workbench/services/activity/browser/activityService.js';
12
13
  export { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
13
- export { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
14
+ export { SplitView } from 'vscode/vscode/vs/base/browser/ui/splitview/splitview';
15
+ export { ActivityService } from 'vscode/vscode/vs/workbench/services/activity/browser/activityService';
14
16
  export { HoverService } from 'vscode/vscode/vs/editor/browser/services/hoverService';
15
- export { PanelPart } from './vscode/src/vs/workbench/browser/parts/panel/panelPart.js';
16
- export { SidebarPart } from './vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js';
17
+ export { PanelPart } from 'vscode/vscode/vs/workbench/browser/parts/panel/panelPart';
18
+ export { SidebarPart } from 'vscode/vscode/vs/workbench/browser/parts/sidebar/sidebarPart';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-views-service-override",
3
- "version": "2.1.3",
3
+ "version": "2.2.0-next.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,16 +18,16 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@2.1.3",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@2.2.0-next.1",
22
22
  "vscode-marked": "npm:marked@=3.0.2",
23
- "@codingame/monaco-vscode-bulk-edit-service-override": "2.1.3",
24
- "@codingame/monaco-vscode-layout-service-override": "2.1.3",
25
- "@codingame/monaco-vscode-quickaccess-service-override": "2.1.3",
26
- "@codingame/monaco-vscode-keybindings-service-override": "2.1.3",
27
- "@codingame/monaco-vscode-files-service-override": "2.1.3",
28
- "@codingame/monaco-vscode-extensions-service-override": "2.1.3",
29
- "@codingame/monaco-vscode-environment-service-override": "2.1.3",
30
- "@codingame/monaco-vscode-host-service-override": "2.1.3",
31
- "@codingame/monaco-vscode-base-service-override": "2.1.3"
23
+ "@codingame/monaco-vscode-bulk-edit-service-override": "2.2.0-next.1",
24
+ "@codingame/monaco-vscode-quickaccess-service-override": "2.2.0-next.1",
25
+ "@codingame/monaco-vscode-keybindings-service-override": "2.2.0-next.1",
26
+ "@codingame/monaco-vscode-files-service-override": "2.2.0-next.1",
27
+ "@codingame/monaco-vscode-extensions-service-override": "2.2.0-next.1",
28
+ "@codingame/monaco-vscode-environment-service-override": "2.2.0-next.1",
29
+ "@codingame/monaco-vscode-layout-service-override": "2.2.0-next.1",
30
+ "@codingame/monaco-vscode-host-service-override": "2.2.0-next.1",
31
+ "@codingame/monaco-vscode-base-service-override": "2.2.0-next.1"
32
32
  }
33
33
  }
package/tools/editor.js CHANGED
@@ -298,7 +298,9 @@ let StandaloneEditorGroup = StandaloneEditorGroup_1 = class StandaloneEditorGrou
298
298
  setActive(isActive) {
299
299
  this.active = isActive;
300
300
  }
301
- get element() { return unsupported(); }
301
+ get element() {
302
+ return this.editor.getContainerDomNode();
303
+ }
302
304
  get activeEditorPane() {
303
305
  return this.pane;
304
306
  }
@@ -0,0 +1,102 @@
1
+ import { ViewContainerLocation, ViewContainer } from 'vscode/vscode/vs/workbench/common/views';
2
+ export { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
3
+ import { BrandedService, ServicesAccessor } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
4
+ import { IDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
5
+ import { Dimension } from 'vscode/vscode/vs/base/browser/dom';
6
+ import { URI } from 'vscode/vscode/vs/base/common/uri';
7
+ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
8
+ import { RegisteredEditorInfo, RegisteredEditorOptions, EditorInputFactoryObject } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
9
+ export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
10
+ import { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
11
+ export { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
12
+ import { IEditorOpenContext, EditorInputCapabilities, Verbosity, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
13
+ export { EditorInputCapabilities, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
14
+ import { IEditorOptions } from 'vscode/vscode/vs/platform/editor/common/editor';
15
+ import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
16
+ export { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
17
+ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
18
+ import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
19
+ import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
20
+ import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
21
+ import { Event } from 'vscode/vscode/vs/base/common/event';
22
+ import { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
23
+ export { Parts } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
24
+
25
+ type Label = string | {
26
+ short: string;
27
+ medium: string;
28
+ long: string;
29
+ };
30
+ declare abstract class SimpleEditorPane extends EditorPane {
31
+ protected container: HTMLElement;
32
+ private scrollbar;
33
+ private inputDisposable;
34
+ constructor(id: string, telemetryService: ITelemetryService, themeService: IThemeService, storageService: IStorageService);
35
+ protected createEditor(parent: HTMLElement): void;
36
+ setInput(input: EditorInput, editorOptions: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
37
+ layout(dimension: Dimension): void;
38
+ focus(): void;
39
+ clearInput(): void;
40
+ abstract initialize(): HTMLElement;
41
+ abstract renderInput?(input: EditorInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<IDisposable>;
42
+ }
43
+ declare abstract class SimpleEditorInput extends EditorInput {
44
+ closeHandler?: IEditorCloseHandler | undefined;
45
+ private dirty;
46
+ private _capabilities;
47
+ private name;
48
+ private title;
49
+ private description;
50
+ resource: URI | undefined;
51
+ constructor(resource?: URI, closeHandler?: IEditorCloseHandler | undefined);
52
+ get capabilities(): EditorInputCapabilities;
53
+ addCapability(capability: EditorInputCapabilities): void;
54
+ removeCapability(capability: EditorInputCapabilities): void;
55
+ get editorId(): string | undefined;
56
+ setName(name: string): void;
57
+ setTitle(title: Label): void;
58
+ setDescription(description: string): void;
59
+ private getLabelValue;
60
+ getName(): string;
61
+ getTitle(verbosity?: Verbosity): string;
62
+ getDescription(verbosity?: Verbosity): string;
63
+ isDirty(): boolean;
64
+ setDirty(dirty: boolean): void;
65
+ }
66
+ declare function registerEditorPane<Services extends BrandedService[]>(typeId: string, name: string, ctor: new (...services: Services) => EditorPane, inputCtors: (new (...args: any[]) => EditorInput)[]): IDisposable;
67
+ declare function registerEditor(globPattern: string, editorInfo: RegisteredEditorInfo, editorOptions: RegisteredEditorOptions, factory: EditorInputFactoryObject): IDisposable;
68
+ declare function registerEditorSerializer<Services extends BrandedService[]>(editorTypeId: string, ctor: {
69
+ new (...Services: Services): IEditorSerializer;
70
+ }): IDisposable;
71
+ interface CustomViewOption {
72
+ readonly id: string;
73
+ name: string;
74
+ order?: number;
75
+ renderBody(container: HTMLElement): IDisposable;
76
+ location: ViewContainerLocation;
77
+ icon?: string;
78
+ canMoveView?: boolean;
79
+ default?: boolean;
80
+ actions?: {
81
+ id: string;
82
+ title: string;
83
+ tooltip?: string;
84
+ order?: number;
85
+ run?(accessor: ServicesAccessor): Promise<void>;
86
+ icon?: keyof typeof Codicon;
87
+ render?(container: HTMLElement): void;
88
+ }[];
89
+ viewContainer?: ViewContainer;
90
+ canToggleVisibility?: boolean;
91
+ hideByDefault?: boolean;
92
+ collapsed?: boolean;
93
+ }
94
+ declare function registerCustomView(options: CustomViewOption): IDisposable;
95
+ declare function isPartVisibile(part: Parts): boolean;
96
+ declare function setPartVisibility(part: Exclude<Parts, Parts.STATUSBAR_PART | Parts.TITLEBAR_PART>, visible: boolean): void;
97
+ declare const onDidChangePanelPosition: Event<string>;
98
+ declare function getPanelPosition(): Position;
99
+ declare const onDidChangeSideBarPosition: Event<string>;
100
+ declare function getSideBarPosition(): Position;
101
+
102
+ export { type CustomViewOption, SimpleEditorInput, SimpleEditorPane, getPanelPosition, getSideBarPosition, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, setPartVisibility };
package/tools/views.js ADDED
@@ -0,0 +1,253 @@
1
+ import { __decorate, __param } from '../external/tslib/tslib.es6.js';
2
+ import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
3
+ import { Extensions } from 'vscode/vscode/vs/workbench/common/views';
4
+ export { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
5
+ import { MutableDisposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
6
+ import { size, $, append } from 'vscode/vscode/vs/base/browser/dom';
7
+ import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
8
+ import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
9
+ import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
10
+ import { URI } from 'vscode/vscode/vs/base/common/uri';
11
+ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
12
+ import { IEditorResolverService } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
13
+ export { RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
14
+ import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
15
+ export { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
16
+ import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
17
+ export { EditorInputCapabilities } from 'vscode/vscode/vs/workbench/common/editor';
18
+ import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
19
+ import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
20
+ import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
21
+ import { BaseActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
22
+ import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
23
+ import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
24
+ export { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
25
+ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
26
+ import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
27
+ import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
28
+ import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
29
+ import { assertAllDefined, assertIsDefined } from 'vscode/vscode/vs/base/common/types';
30
+ export { ConfirmResult } from '../override/vs/platform/dialogs/common/dialogs.js';
31
+ import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
32
+ export { Parts } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
33
+ import { StandaloneServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
34
+ import { withReadyServices } from 'vscode/services';
35
+
36
+ let SimpleEditorPane = class SimpleEditorPane extends EditorPane {
37
+ constructor(id, telemetryService, themeService, storageService) {
38
+ super(id, telemetryService, themeService, storageService);
39
+ this.inputDisposable = this._register(new MutableDisposable());
40
+ }
41
+ createEditor(parent) {
42
+ this.container = this.initialize();
43
+ this.scrollbar = this._register(new DomScrollableElement(this.container, { horizontal: 1 , vertical: 1 }));
44
+ parent.appendChild(this.scrollbar.getDomNode());
45
+ }
46
+ async setInput(input, editorOptions, context, token) {
47
+ await super.setInput(input, editorOptions, context, token);
48
+ if (token.isCancellationRequested) {
49
+ return;
50
+ }
51
+ this.inputDisposable.value = await this.renderInput?.(input, editorOptions, context, token);
52
+ }
53
+ layout(dimension) {
54
+ const [container, scrollbar] = assertAllDefined(this.container, this.scrollbar);
55
+ size(container, dimension.width, dimension.height);
56
+ scrollbar.scanDomNode();
57
+ }
58
+ focus() {
59
+ const container = assertIsDefined(this.container);
60
+ container.focus();
61
+ }
62
+ clearInput() {
63
+ this.inputDisposable.clear();
64
+ super.clearInput();
65
+ }
66
+ };
67
+ SimpleEditorPane = __decorate([
68
+ ( __param(1, ITelemetryService)),
69
+ ( __param(2, IThemeService)),
70
+ ( __param(3, IStorageService))
71
+ ], SimpleEditorPane);
72
+ class SimpleEditorInput extends EditorInput {
73
+ constructor(resource, closeHandler) {
74
+ super();
75
+ this.closeHandler = closeHandler;
76
+ this.dirty = false;
77
+ this._capabilities = 0;
78
+ this.resource = resource;
79
+ }
80
+ get capabilities() {
81
+ return this._capabilities;
82
+ }
83
+ addCapability(capability) {
84
+ this._capabilities |= capability;
85
+ this._onDidChangeCapabilities.fire();
86
+ }
87
+ removeCapability(capability) {
88
+ this._capabilities &= ~capability;
89
+ this._onDidChangeCapabilities.fire();
90
+ }
91
+ get editorId() {
92
+ return this.typeId;
93
+ }
94
+ setName(name) {
95
+ this.name = name;
96
+ this._onDidChangeLabel.fire();
97
+ }
98
+ setTitle(title) {
99
+ this.title = title;
100
+ this._onDidChangeLabel.fire();
101
+ }
102
+ setDescription(description) {
103
+ this.description = description;
104
+ this._onDidChangeLabel.fire();
105
+ }
106
+ getLabelValue(label, verbosity) {
107
+ if (typeof label === 'string') {
108
+ return label;
109
+ }
110
+ switch (verbosity) {
111
+ case 0 :
112
+ return label.short;
113
+ case 2 :
114
+ return label.long;
115
+ case 1 :
116
+ default:
117
+ return label.medium;
118
+ }
119
+ }
120
+ getName() {
121
+ return this.name ?? 'Unnamed';
122
+ }
123
+ getTitle(verbosity) {
124
+ return this.getLabelValue(this.title ?? this.getName(), verbosity);
125
+ }
126
+ getDescription(verbosity) {
127
+ return this.getLabelValue(this.description ?? this.getName(), verbosity);
128
+ }
129
+ isDirty() {
130
+ return this.dirty;
131
+ }
132
+ setDirty(dirty) {
133
+ this.dirty = dirty;
134
+ this._onDidChangeDirty.fire();
135
+ }
136
+ }
137
+ function registerEditorPane(typeId, name, ctor, inputCtors) {
138
+ return ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ctor, typeId, name), ( inputCtors.map(ctor => new SyncDescriptor(ctor))));
139
+ }
140
+ function registerEditor(globPattern, editorInfo, editorOptions, factory) {
141
+ return withReadyServices((servicesAccessor) => {
142
+ const resolverService = servicesAccessor.get(IEditorResolverService);
143
+ return resolverService.registerEditor(globPattern, editorInfo, editorOptions, factory);
144
+ });
145
+ }
146
+ function registerEditorSerializer(editorTypeId, ctor) {
147
+ return ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(editorTypeId, ctor);
148
+ }
149
+ function registerCustomView(options) {
150
+ const iconUrl = options.icon != null ? ( URI.parse(options.icon)) : undefined;
151
+ const viewContainer = options.viewContainer ?? ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
152
+ id: options.id,
153
+ title: { value: options.name, original: options.name },
154
+ order: options.order,
155
+ ctorDescriptor: new SyncDescriptor(ViewPaneContainer, [options.id, { mergeViewWithContainerWhenSingleView: true }]),
156
+ hideIfEmpty: true,
157
+ icon: iconUrl
158
+ }, options.location, {
159
+ isDefault: options.default
160
+ });
161
+ const views = [{
162
+ id: options.id,
163
+ name: {
164
+ value: options.name,
165
+ original: options.name
166
+ },
167
+ ctorDescriptor: new SyncDescriptor(class extends ViewPane {
168
+ renderBody(container) {
169
+ super.renderBody(container);
170
+ this.content = $('.view-pane-content');
171
+ this.content.style.display = 'flex';
172
+ this.content.style.alignItems = 'stretch';
173
+ append(container, this.content);
174
+ this._register(options.renderBody(this.content));
175
+ }
176
+ getActionViewItem(action, actionOptions) {
177
+ const customAction = (options.actions ?? []).find(customAction => customAction.id === action.id);
178
+ if (customAction?.render != null) {
179
+ return new (class extends BaseActionViewItem {
180
+ constructor() {
181
+ super(null, action);
182
+ this.render = customAction.render;
183
+ }
184
+ })();
185
+ }
186
+ return super.getActionViewItem(action, actionOptions);
187
+ }
188
+ layoutBody(height, width) {
189
+ this.content.style.height = `${height}px`;
190
+ this.content.style.width = `${width}px`;
191
+ }
192
+ }),
193
+ canMoveView: options.canMoveView ?? true,
194
+ canToggleVisibility: options.canToggleVisibility ?? false,
195
+ hideByDefault: options.hideByDefault ?? false,
196
+ collapsed: options.collapsed ?? false,
197
+ order: options.order,
198
+ containerIcon: iconUrl
199
+ }];
200
+ ( Registry.as(Extensions.ViewsRegistry)).registerViews(views, viewContainer);
201
+ const disposableCollection = new DisposableStore();
202
+ disposableCollection.add({
203
+ dispose() {
204
+ ( Registry.as(Extensions.ViewsRegistry)).deregisterViews(views, viewContainer);
205
+ if (options.viewContainer == null) {
206
+ ( Registry.as(Extensions.ViewContainersRegistry)).deregisterViewContainer(viewContainer);
207
+ }
208
+ }
209
+ });
210
+ for (const action of options.actions ?? []) {
211
+ disposableCollection.add(registerAction2(class extends Action2 {
212
+ constructor() {
213
+ super({
214
+ id: action.id,
215
+ title: { value: action.title, original: action.title },
216
+ category: Categories.View,
217
+ menu: [{
218
+ id: MenuId.ViewTitle,
219
+ when: ( ContextKeyExpr.equals('view', options.id)),
220
+ group: 'navigation',
221
+ order: action.order
222
+ }, {
223
+ id: MenuId.CommandPalette
224
+ }],
225
+ tooltip: action.tooltip,
226
+ icon: action.icon != null ? Codicon[action.icon] : undefined
227
+ });
228
+ this.run = action.run ?? (async () => { });
229
+ }
230
+ }));
231
+ }
232
+ return disposableCollection;
233
+ }
234
+ function isPartVisibile(part) {
235
+ return StandaloneServices.get(IWorkbenchLayoutService).isVisible(part, window);
236
+ }
237
+ function setPartVisibility(part, visible) {
238
+ StandaloneServices.get(IWorkbenchLayoutService).setPartHidden(!visible, part, window);
239
+ }
240
+ const onDidChangePanelPosition = (listener) => {
241
+ return StandaloneServices.get(IWorkbenchLayoutService).onDidChangePanelPosition(listener);
242
+ };
243
+ function getPanelPosition() {
244
+ return StandaloneServices.get(IWorkbenchLayoutService).getPanelPosition();
245
+ }
246
+ const onDidChangeSideBarPosition = (listener) => {
247
+ return StandaloneServices.get(IWorkbenchLayoutService).onDidChangeSideBarPosition(listener);
248
+ };
249
+ function getSideBarPosition() {
250
+ return StandaloneServices.get(IWorkbenchLayoutService).getSideBarPosition();
251
+ }
252
+
253
+ export { SimpleEditorInput, SimpleEditorPane, getPanelPosition, getSideBarPosition, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, setPartVisibility };
package/views.d.ts CHANGED
@@ -1,117 +1,22 @@
1
1
  import { IEditorOverrideServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
2
- import { ViewContainerLocation, ViewContainer } from 'vscode/vscode/vs/workbench/common/views';
3
- export { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
4
- import { BrandedService, ServicesAccessor } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
5
- import { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
2
+ import { Parts } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
6
3
  export { Parts, Position } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
7
- import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
8
- import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
9
- import { Event } from 'vscode/vscode/vs/base/common/event';
10
4
  import { Part } from 'vscode/vscode/vs/workbench/browser/part';
11
5
  import { IDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
12
6
  export { IReference } from 'vscode/vscode/vs/base/common/lifecycle';
13
- import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
14
- import { Dimension } from 'vscode/vscode/vs/base/browser/dom';
15
- import { URI } from 'vscode/vscode/vs/base/common/uri';
16
- import { IEditorOptions } from 'vscode/vscode/vs/platform/editor/common/editor';
17
- export { IEditorOptions } from 'vscode/vscode/vs/platform/editor/common/editor';
18
- import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
19
- import { Codicon } from './vscode/src/vs/base/common/codicons.js';
20
- import { RegisteredEditorInfo, RegisteredEditorOptions, EditorInputFactoryObject } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
21
- export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
22
- import { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
23
- export { EditorInput, IEditorCloseHandler } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
24
- import { IEditorOpenContext, EditorInputCapabilities, Verbosity, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
25
- export { EditorInputCapabilities, IEditorSerializer } from 'vscode/vscode/vs/workbench/common/editor';
26
- import { EditorPane } from './vscode/src/vs/workbench/browser/parts/editor/editorPane.js';
27
- import { ILayoutInitializationState } from './vscode/src/vs/workbench/browser/layout.js';
7
+ import { ILayoutInitializationState } from 'vscode/vscode/vs/workbench/browser/layout';
8
+ export { ILayoutInitializationState } from 'vscode/vscode/vs/workbench/browser/layout';
28
9
  import { OpenEditor } from './tools/editor.js';
29
10
 
30
11
  declare function renderPart(partContainer: HTMLElement, part: Part): void;
31
12
  declare function attachPart(part: Parts, container: HTMLElement): IDisposable;
32
13
  declare function onPartVisibilityChange(part: Parts, listener: (visible: boolean) => void): IDisposable;
33
- declare function isPartVisibile(part: Parts): boolean;
34
- declare function setPartVisibility(part: Exclude<Parts, Parts.STATUSBAR_PART | Parts.TITLEBAR_PART>, visible: boolean): void;
35
- declare const onDidChangePanelPosition: Event<string>;
36
- declare function getPanelPosition(): Position;
37
- declare const onDidChangeSideBarPosition: Event<string>;
38
- declare function getSideBarPosition(): Position;
39
14
  declare function renderActivitybarPar(container: HTMLElement): IDisposable;
40
15
  declare function renderSidebarPart(container: HTMLElement): IDisposable;
41
16
  declare function renderPanelPart(container: HTMLElement): IDisposable;
42
17
  declare function renderAuxiliaryPart(container: HTMLElement): IDisposable;
43
18
  declare function renderEditorPart(container: HTMLElement): IDisposable;
44
19
  declare function renderStatusBarPart(container: HTMLElement): IDisposable;
45
- type Label = string | {
46
- short: string;
47
- medium: string;
48
- long: string;
49
- };
50
- declare abstract class SimpleEditorPane extends EditorPane {
51
- protected container: HTMLElement;
52
- private scrollbar;
53
- private inputDisposable;
54
- constructor(id: string, telemetryService: ITelemetryService, themeService: IThemeService, storageService: IStorageService);
55
- protected createEditor(parent: HTMLElement): void;
56
- setInput(input: EditorInput, editorOptions: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
57
- layout(dimension: Dimension): void;
58
- focus(): void;
59
- clearInput(): void;
60
- abstract initialize(): HTMLElement;
61
- abstract renderInput?(input: EditorInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<IDisposable>;
62
- }
63
- declare abstract class SimpleEditorInput extends EditorInput {
64
- closeHandler?: IEditorCloseHandler | undefined;
65
- private dirty;
66
- private _capabilities;
67
- private name;
68
- private title;
69
- private description;
70
- resource: URI | undefined;
71
- constructor(resource?: URI, closeHandler?: IEditorCloseHandler | undefined);
72
- get capabilities(): EditorInputCapabilities;
73
- addCapability(capability: EditorInputCapabilities): void;
74
- removeCapability(capability: EditorInputCapabilities): void;
75
- get editorId(): string | undefined;
76
- setName(name: string): void;
77
- setTitle(title: Label): void;
78
- setDescription(description: string): void;
79
- private getLabelValue;
80
- getName(): string;
81
- getTitle(verbosity?: Verbosity): string;
82
- getDescription(verbosity?: Verbosity): string;
83
- isDirty(): boolean;
84
- setDirty(dirty: boolean): void;
85
- }
86
- declare function registerEditorPane<Services extends BrandedService[]>(typeId: string, name: string, ctor: new (...services: Services) => EditorPane, inputCtors: (new (...args: any[]) => EditorInput)[]): IDisposable;
87
- declare function registerEditor(globPattern: string, editorInfo: RegisteredEditorInfo, editorOptions: RegisteredEditorOptions, factory: EditorInputFactoryObject): IDisposable;
88
- declare function registerEditorSerializer<Services extends BrandedService[]>(editorTypeId: string, ctor: {
89
- new (...Services: Services): IEditorSerializer;
90
- }): IDisposable;
91
- interface CustomViewOption {
92
- readonly id: string;
93
- name: string;
94
- order?: number;
95
- renderBody(container: HTMLElement): IDisposable;
96
- location: ViewContainerLocation;
97
- icon?: string;
98
- canMoveView?: boolean;
99
- default?: boolean;
100
- actions?: {
101
- id: string;
102
- title: string;
103
- tooltip?: string;
104
- order?: number;
105
- run?(accessor: ServicesAccessor): Promise<void>;
106
- icon?: keyof typeof Codicon;
107
- render?(container: HTMLElement): void;
108
- }[];
109
- viewContainer?: ViewContainer;
110
- canToggleVisibility?: boolean;
111
- hideByDefault?: boolean;
112
- collapsed?: boolean;
113
- }
114
- declare function registerCustomView(options: CustomViewOption): IDisposable;
115
20
  declare function isEditorPartVisible(): boolean;
116
21
  type InitializationStateTransformer = (state: ILayoutInitializationState) => ILayoutInitializationState;
117
22
  declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIframeAlternateDomains?: string): IEditorOverrideServices;
@@ -121,4 +26,4 @@ declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIfr
121
26
  declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIframeAlternateDomains?: string, restoreEditors?: boolean): IEditorOverrideServices;
122
27
  declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIframeAlternateDomains?: string, initializationState?: InitializationStateTransformer): IEditorOverrideServices;
123
28
 
124
- export { type CustomViewOption, EditorPane, ILayoutInitializationState, type InitializationStateTransformer, OpenEditor, SimpleEditorInput, SimpleEditorPane, attachPart, getServiceOverride as default, getPanelPosition, getSideBarPosition, isEditorPartVisible, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, onPartVisibilityChange, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart, setPartVisibility };
29
+ export { type InitializationStateTransformer, OpenEditor, attachPart, getServiceOverride as default, isEditorPartVisible, onPartVisibilityChange, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart };