@codingame/monaco-vscode-api 1.78.0 → 1.78.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.
package/dist/polyfill.js CHANGED
@@ -55593,4 +55593,4 @@ registerServiceInitializeParticipant(async (accessor) => {
55593
55593
  const textModelService = accessor.get(ITextModelService);
55594
55594
  textModelService.registerTextModelContentProvider ?? (textModelService.registerTextModelContentProvider = () => Disposable$1.None);
55595
55595
  });
55596
- export { ACTIVE_GROUP, AbstractDialogHandler, AbstractTextEditor, AbstractTextResourceEditorInput, AbstractVariableResolverService, AsyncReferenceCollection, AutoSaveConfiguration, AutomaticLanguageDetectionLikelyWrongId, BREAKPOINTS_VIEW_ID, BREAKPOINT_EDITOR_CONTRIBUTION_ID, Barrier, Breakpoint, BrowserTextFileService, ByteSize, CALLSTACK_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_BREAKPOINTS_FOCUSED, CONTEXT_BREAKPOINT_INPUT_FOCUSED, CONTEXT_BREAKPOINT_ITEM_TYPE, CONTEXT_BREAKPOINT_SUPPORTS_CONDITION, CONTEXT_BREAKPOINT_WIDGET_VISIBLE, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DEBUG_CONFIGURATION_TYPE, CONTEXT_DEBUG_EXTENSION_AVAILABLE, CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT, CONTEXT_DEBUG_STATE, CONTEXT_DEBUG_TYPE, CONTEXT_DEBUG_UX, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_DISASSEMBLY_VIEW_FOCUS, CONTEXT_EXCEPTION_WIDGET_VISIBLE, CONTEXT_EXPRESSION_SELECTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE, CONTEXT_HAS_DEBUGGED, CONTEXT_IN_BREAKPOINT_WIDGET, CONTEXT_IN_DEBUG_MODE, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_VARIABLES_FOCUSED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CallHierarchyIncomingCall$1, CallHierarchyItem$1, CallHierarchyOutgoingCall$1, CancellationTokenSource, CodeAction, CodeActionKind, CodeActionTriggerKind$1, CodeLens, Color$1, ColorInformation, ColorPresentation$1, CommentMode, CommentThreadCollapsibleState, CompletionItem$1, CompletionItemKind$1, CompletionItemTag$1, CompletionList, CompletionTriggerKind$1, ConfigurationScope, ConfigurationTarget, ContextKeyExprType, CustomEditorTabInput, CustomExecution, DEBUG_MEMORY_SCHEME, DEBUG_SCHEME, DEFAULT_EDITOR_ASSOCIATION, DEFAULT_SETTINGS_EDITOR_SETTING, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConfigurationProviderTriggerKind, DebugConsoleMode, DebuggerString, DecorationRangeBehavior$1, Diagnostic$1, DiagnosticRelatedInformation$1, DiagnosticSeverity$1, DiagnosticTag$1, DiffEditorInput, Disposable, DocumentDropEdit, DocumentHighlight$1, DocumentHighlightKind, DocumentLink$1, DocumentSymbol$1, EDITOR_CONTRIBUTION_ID, ETAG_DISABLED, EXTENSION_CATEGORIES, EditorActivation, EditorExtensions, EditorInput, EditorModel, EditorResolution, EditorResourceAccessor, Emitter, EndOfLine$1, EnvironmentVariableMutatorType, EvaluatableExpression$1, ExtHostTelemetryLogger, Extension, ExtensionIdentifierMap, ExtensionKind, ExtensionMode, Extensions$1, Extensions$2, FILES_ASSOCIATIONS_CONFIG, FILES_EXCLUDE_CONFIG, FOLDER_SETTINGS_PATH, FallbackKeyboardMapper, FileChangeType, FileChangeType$1, FileChangesEvent, FileDecoration, FileOperationError, FileOperationEvent, FilePermission, FileSystemError, FileSystemProviderCapabilities, FileSystemProviderError, FileSystemProviderErrorCode, FileType, FoldingRange$1, FoldingRangeKind$1, FunctionBreakpoint, HotExitConfiguration, Hover$1, IActivityService, IBrowserWorkbenchEnvironmentService, IConfigurationResolverService, ICustomEndpointTelemetryService, IDebugService, IEditorGroupsService, IEditorResolverService, IEditorService, IExtHostExtensionService, IExtHostInitDataService, IExtensionHostDebugService, IExtensionResourceLoaderService, IExtensionService, IFileDialogService, IFileService, IFilesConfigurationService, IHistoryService, IHostColorSchemeService, IHostService, IJSONEditingService, IKeyboardLayoutService, ILanguageDetectionService, ILanguageStatusService, ILifecycleService, INTERNAL_CONSOLE_OPTIONS_SCHEMA, IPaneCompositePartService, IPathService, IPolicyService, IPreferencesService, IProductService, IRemoteAgentService, ISnippetsService, ITaskService, ITextEditorService, ITextFileService, ITextMateTokenizationService, ITunnelService, IUriIdentityService, IUserDataInitializationService, IUserDataProfileService, IUserDataProfilesService, IViewDescriptorService, IViewsService, IWorkbenchEnvironmentService, IWorkbenchLayoutService, IWorkingCopyFileService, IWorkingCopyService, IWorkspaceEditingService, IWorkspaceTrustRequestService, IWorkspacesService, InlayHint$1, InlayHintKind$1, InlayHintLabelPart$1, InlineCompletionTriggerKind, InlineSuggestion, InlineSuggestionList, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, IntervalCounter, LanguageSelector, LanguageStatusSeverity, LineRange, LinkedEditingRanges, Location, MarkdownString$1, NeverShowAgainScope, NotModifiedSinceFileOperationError, NotebookDiffEditorTabInput, NotebookEditorTabInput, NotificationPriority, NotificationsFilter, NullPolicyConfiguration, NullPolicyService, NumberBadge, ParameterInformation$1, PolicyConfiguration, Position$1, Position$2, ProcessExecution, ProgressLocation$1, Queue, QuickInputButtons, QuickPickItemKind, REPL_VIEW_ID, Range$1, Range$2, ReferenceCollection, RelativePattern, ResourceQueue, SIDE_BY_SIDE_EDITOR_ID, SIDE_GROUP, SUPPORTED_ENCODINGS, Selection$1, Selection$2, SelectionRange$1, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, Sequencer, SettingMatchType, ShellExecution, ShellQuoting, SideBySideEditor, SideBySideEditorInput, SignatureHelp$1, SignatureHelpTriggerKind, SignatureInformation$1, SnippetString, SnippetTextEdit, SourceBreakpoint, StorageScope, StorageTarget, SymbolInformation, SymbolKind$1, SymbolTag$1, TEXT_DIFF_EDITOR_ID, TelemetryTrustedValue, TerminalEditorTabInput, TestMessage, TestRunProfileKind, TestRunRequest, TestTag$1, TextDiffEditorModel, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason$1, TextEdit$1, TextEditorLineNumbersStyle$1, TextEditorRevealType$1, TextEditorSelectionChangeKind, TextEditorService, TextFileEditorModel, TextResourceEditorInput, TextResourceEditorModel, ThemeColor, ThemeIcon, TooLargeFileOperationError, TreeItem, TreeItemCollapsibleState, TypeHierarchyItem$1, UIKind, USE_SPLIT_JSON_SETTING, UntitledTextEditorInput, UserSettings, VARIABLES_VIEW_ID, VIEWLET_ID, ViewColumn$1, ViewContainerLocationToString, WebviewEditorTabInput, WorkspaceEdit$1, __decorate, __param, applyEdits, areFunctions, assertAllDefined, bufferToReadable, bufferedStreamToBuffer, cleanRemoteAuthority, columnToEditorGroup, configurationDefaultsSchemaId, consumeStream, createErrorWithActions, createFileSystemProviderError, createTooLargeFileError, debuggerDisabledMessage, decodeBase64, defaultViewIcon, delta$1, disposeIfDisposable, distinct, encodeBase64, ensureFileSystemProviderError, etag, filterExceptionsFromTelemetry, findViewStateForEditor, flatten, formatPII, fromNow, getConfigProvider, getEOL, getErrorMessage, getEvaluatableExpressionAtPosition, getExtHostServices, getExtensionHostDebugSession, getExtensionId, getKeyboardLayoutId, getLargeFileConfirmationLimit, getNodeType, getPathLabel, getRemoteAuthority, getServiceOverride, getStateLabel, getStoredWorkspaceFolder, getVisibleAndSorted, hasFileAtomicReadCapability, hasFileCloneCapability, hasFileFolderCopyCapability, hasFileReadStreamCapability, hasOpenReadWriteCloseCapability, hasReadWriteCapability, hasWorkspaceFileExtension, index, indexOfPath, initialize, initialize$1, isAbsolute, isDebuggerMainContribution, isEditorGroup, isEditorIdentifier, isEditorInput, isEditorInputWithOptionsAndGroup, isEditorPaneWithSelection, isEmptyObject, isEqual, isErrorWithActions, isPreferredGroup, isProposedApiEnabled, isReadableBufferedStream, isReadableStream, isRecentFile, isRecentFolder, isRecentWorkspace, isResourceEditorInput, isSavedWorkspace, isSessionAttach, isStoredWorkspaceFolder, isStringArray, isTemporaryWorkspace, isTextEditorViewState, isUntitledWithAssociatedResource, isUntitledWorkspace, isUri, isWorkspace, isWorkspaceFolder$1, join, keyFromOverrideIdentifiers, listenStream, mark, memoizedConstructor, mergeChanges, mnemonicButtonLabel, n, newWriteableBufferStream, newWriteableStream, nodeModulesAsarPath, nodeModulesAsarUnpackedPath, nodeModulesPath, onExtHostInitialized, onRenderWorkbench, parse$1, peekReadable, peekStream, positionToString, preferredSideBySideGroupDirection, productSchemaId, raceTimeout, readableToBuffer, refineServiceDecorator, registerAssets, registerServiceInitializeParticipant, restoreRecentlyOpened, rewriteWorkspaceFileForNewLocation, saveAllBeforeDebugStart, sequence, setProperty, streamToBuffer, tildify, toExtensionDescription, toFileOperationResult, toFileSystemProviderErrorCode, toStoreData, toWorkspaceFolder, toWorkspaceFolders, transform, unsupported, validateSettingsEditorOptions, visit, whenProviderRegistered, withFormatting, withUndefinedAsNull };
55596
+ export { ACTIVE_GROUP, AbstractDialogHandler, AbstractTextEditor, AbstractTextResourceEditorInput, AbstractVariableResolverService, AsyncReferenceCollection, AutoSaveConfiguration, AutomaticLanguageDetectionLikelyWrongId, BREAKPOINTS_VIEW_ID, BREAKPOINT_EDITOR_CONTRIBUTION_ID, Barrier, Breakpoint, BrowserTextFileService, ByteSize, CALLSTACK_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_BREAKPOINTS_FOCUSED, CONTEXT_BREAKPOINT_INPUT_FOCUSED, CONTEXT_BREAKPOINT_ITEM_TYPE, CONTEXT_BREAKPOINT_SUPPORTS_CONDITION, CONTEXT_BREAKPOINT_WIDGET_VISIBLE, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DEBUG_CONFIGURATION_TYPE, CONTEXT_DEBUG_EXTENSION_AVAILABLE, CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT, CONTEXT_DEBUG_STATE, CONTEXT_DEBUG_TYPE, CONTEXT_DEBUG_UX, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_DISASSEMBLY_VIEW_FOCUS, CONTEXT_EXCEPTION_WIDGET_VISIBLE, CONTEXT_EXPRESSION_SELECTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE, CONTEXT_HAS_DEBUGGED, CONTEXT_IN_BREAKPOINT_WIDGET, CONTEXT_IN_DEBUG_MODE, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_VARIABLES_FOCUSED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CallHierarchyIncomingCall$1, CallHierarchyItem$1, CallHierarchyOutgoingCall$1, CancellationTokenSource, CodeAction, CodeActionKind, CodeActionTriggerKind$1, CodeLens, Color$1, ColorInformation, ColorPresentation$1, CommentMode, CommentThreadCollapsibleState, CompletionItem$1, CompletionItemKind$1, CompletionItemTag$1, CompletionList, CompletionTriggerKind$1, ConfigurationScope, ConfigurationTarget, ContextKeyExprType, CustomEditorTabInput, CustomExecution, DEBUG_MEMORY_SCHEME, DEBUG_SCHEME, DEFAULT_EDITOR_ASSOCIATION, DEFAULT_SETTINGS_EDITOR_SETTING, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConfigurationProviderTriggerKind, DebugConsoleMode, DebuggerString, DecorationRangeBehavior$1, Diagnostic$1, DiagnosticRelatedInformation$1, DiagnosticSeverity$1, DiagnosticTag$1, DiffEditorInput, Disposable, DocumentDropEdit, DocumentHighlight$1, DocumentHighlightKind, DocumentLink$1, DocumentSymbol$1, EDITOR_CONTRIBUTION_ID, ETAG_DISABLED, EXTENSION_CATEGORIES, EditorActivation, EditorExtensions, EditorInput, EditorModel, EditorResolution, EditorResourceAccessor, Emitter, EndOfLine$1, EnvironmentVariableMutatorType, EvaluatableExpression$1, ExtHostTelemetryLogger, Extension, ExtensionIdentifierMap, ExtensionKind, ExtensionMode, Extensions$1, Extensions$2, FILES_ASSOCIATIONS_CONFIG, FILES_EXCLUDE_CONFIG, FOLDER_SETTINGS_PATH, FallbackKeyboardMapper, FileChangeType, FileChangeType$1, FileChangesEvent, FileDecoration, FileOperationError, FileOperationEvent, FilePermission, FileSystemError, FileSystemProviderCapabilities, FileSystemProviderError, FileSystemProviderErrorCode, FileType, FoldingRange$1, FoldingRangeKind$1, FunctionBreakpoint, HotExitConfiguration, Hover$1, IActivityService, IBrowserWorkbenchEnvironmentService, IConfigurationResolverService, ICustomEndpointTelemetryService, IDebugService, IEditorGroupsService, IEditorResolverService, IEditorService, IExtHostExtensionService, IExtHostInitDataService, IExtensionHostDebugService, IExtensionResourceLoaderService, IExtensionService, IFileDialogService, IFileService, IFilesConfigurationService, IHistoryService, IHostColorSchemeService, IHostService, IJSONEditingService, IKeyboardLayoutService, ILanguageDetectionService, ILanguageStatusService, ILifecycleService, INTERNAL_CONSOLE_OPTIONS_SCHEMA, IPaneCompositePartService, IPathService, IPolicyService, IPreferencesService, IProductService, IRemoteAgentService, ISnippetsService, ITaskService, ITextEditorService, ITextFileService, ITextMateTokenizationService, ITunnelService, IUriIdentityService, IUserDataInitializationService, IUserDataProfileService, IUserDataProfilesService, IViewDescriptorService, IViewsService, IWorkbenchEnvironmentService, IWorkbenchLayoutService, IWorkingCopyFileService, IWorkingCopyService, IWorkspaceEditingService, IWorkspaceTrustRequestService, IWorkspacesService, InlayHint$1, InlayHintKind$1, InlayHintLabelPart$1, InlineCompletionTriggerKind, InlineSuggestion, InlineSuggestionList, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, IntervalCounter, LanguageSelector, LanguageStatusSeverity, LineRange, LinkedEditingRanges, Location, MarkdownString$1, NeverShowAgainScope, NoOpProgress, NotModifiedSinceFileOperationError, NotebookDiffEditorTabInput, NotebookEditorTabInput, NotificationPriority, NotificationsFilter, NullPolicyConfiguration, NullPolicyService, NumberBadge, ParameterInformation$1, PolicyConfiguration, Position$1, Position$2, ProcessExecution, ProgressLocation$1, Queue, QuickInputButtons, QuickPickItemKind, REPL_VIEW_ID, Range$1, Range$2, ReferenceCollection, RelativePattern, ResourceQueue, SIDE_BY_SIDE_EDITOR_ID, SIDE_GROUP, SUPPORTED_ENCODINGS, Selection$1, Selection$2, SelectionRange$1, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, Sequencer, SettingMatchType, ShellExecution, ShellQuoting, SideBySideEditor, SideBySideEditorInput, SignatureHelp$1, SignatureHelpTriggerKind, SignatureInformation$1, SnippetString, SnippetTextEdit, SourceBreakpoint, StorageScope, StorageTarget, SymbolInformation, SymbolKind$1, SymbolTag$1, TEXT_DIFF_EDITOR_ID, TelemetryTrustedValue, TerminalEditorTabInput, TestMessage, TestRunProfileKind, TestRunRequest, TestTag$1, TextDiffEditorModel, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason$1, TextEdit$1, TextEditorLineNumbersStyle$1, TextEditorRevealType$1, TextEditorSelectionChangeKind, TextEditorService, TextFileEditorModel, TextResourceEditorInput, TextResourceEditorModel, ThemeColor, ThemeIcon, TooLargeFileOperationError, TreeItem, TreeItemCollapsibleState, TypeHierarchyItem$1, UIKind, USE_SPLIT_JSON_SETTING, UntitledTextEditorInput, UserSettings, VARIABLES_VIEW_ID, VIEWLET_ID, ViewColumn$1, ViewContainerLocationToString, WebviewEditorTabInput, WorkspaceEdit$1, __decorate, __param, applyEdits, areFunctions, assertAllDefined, bufferToReadable, bufferedStreamToBuffer, cleanRemoteAuthority, columnToEditorGroup, configurationDefaultsSchemaId, consumeStream, createErrorWithActions, createFileSystemProviderError, createTooLargeFileError, debuggerDisabledMessage, decodeBase64, defaultViewIcon, delta$1, disposeIfDisposable, distinct, encodeBase64, ensureFileSystemProviderError, etag, filterExceptionsFromTelemetry, findViewStateForEditor, flatten, formatPII, fromNow, getConfigProvider, getEOL, getErrorMessage, getEvaluatableExpressionAtPosition, getExtHostServices, getExtensionHostDebugSession, getExtensionId, getKeyboardLayoutId, getLargeFileConfirmationLimit, getNodeType, getPathLabel, getRemoteAuthority, getServiceOverride, getStateLabel, getStoredWorkspaceFolder, getVisibleAndSorted, hasFileAtomicReadCapability, hasFileCloneCapability, hasFileFolderCopyCapability, hasFileReadStreamCapability, hasOpenReadWriteCloseCapability, hasReadWriteCapability, hasWorkspaceFileExtension, index, indexOfPath, initialize, initialize$1, isAbsolute, isDebuggerMainContribution, isEditorGroup, isEditorIdentifier, isEditorInput, isEditorInputWithOptionsAndGroup, isEditorPaneWithSelection, isEmptyObject, isEqual, isErrorWithActions, isPreferredGroup, isProposedApiEnabled, isReadableBufferedStream, isReadableStream, isRecentFile, isRecentFolder, isRecentWorkspace, isResourceEditorInput, isSavedWorkspace, isSessionAttach, isStoredWorkspaceFolder, isStringArray, isTemporaryWorkspace, isTextEditorViewState, isUntitledWithAssociatedResource, isUntitledWorkspace, isUri, isWorkspace, isWorkspaceFolder$1, join, keyFromOverrideIdentifiers, listenStream, mark, memoizedConstructor, mergeChanges, mnemonicButtonLabel, n, newWriteableBufferStream, newWriteableStream, nodeModulesAsarPath, nodeModulesAsarUnpackedPath, nodeModulesPath, onExtHostInitialized, onRenderWorkbench, parse$1, peekReadable, peekStream, positionToString, preferredSideBySideGroupDirection, productSchemaId, raceTimeout, readableToBuffer, refineServiceDecorator, registerAssets, registerServiceInitializeParticipant, restoreRecentlyOpened, rewriteWorkspaceFileForNewLocation, saveAllBeforeDebugStart, sequence, setProperty, streamToBuffer, tildify, toExtensionDescription, toFileOperationResult, toFileSystemProviderErrorCode, toStoreData, toWorkspaceFolder, toWorkspaceFolders, transform, unsupported, validateSettingsEditorOptions, visit, whenProviderRegistered, withFormatting, withUndefinedAsNull };
@@ -9676,6 +9676,21 @@ interface INotificationService {
9676
9676
  */
9677
9677
  status(message: NotificationMessage, options?: IStatusMessageOptions): IDisposable;
9678
9678
  }
9679
+ declare class NoOpNotification implements INotificationHandle {
9680
+ readonly progress: NoOpProgress;
9681
+ readonly onDidClose: Event$1<any>;
9682
+ readonly onDidChangeVisibility: Event$1<any>;
9683
+ updateSeverity(severity: Severity): void;
9684
+ updateMessage(message: NotificationMessage): void;
9685
+ updateActions(actions?: INotificationActions): void;
9686
+ close(): void;
9687
+ }
9688
+ declare class NoOpProgress implements INotificationProgress {
9689
+ infinite(): void;
9690
+ done(): void;
9691
+ total(value: number): void;
9692
+ worked(value: number): void;
9693
+ }
9679
9694
 
9680
9695
  interface IProgressIndicator {
9681
9696
  /**
@@ -10528,6 +10543,11 @@ interface ITextEditorOptions extends IEditorOptions {
10528
10543
  selectionSource?: TextEditorSelectionSource | string;
10529
10544
  }
10530
10545
 
10546
+ interface IDialogArgs {
10547
+ readonly confirmArgs?: IConfirmDialogArgs;
10548
+ readonly inputArgs?: IInputDialogArgs;
10549
+ readonly promptArgs?: IPromptDialogArgs;
10550
+ }
10531
10551
  interface IBaseDialogOptions {
10532
10552
  readonly type?: Severity$1 | DialogType;
10533
10553
  readonly title?: string;
@@ -10539,6 +10559,9 @@ interface IBaseDialogOptions {
10539
10559
  */
10540
10560
  readonly custom?: boolean | ICustomDialogOptions;
10541
10561
  }
10562
+ interface IConfirmDialogArgs {
10563
+ readonly confirmation: IConfirmation;
10564
+ }
10542
10565
  interface IConfirmation extends IBaseDialogOptions {
10543
10566
  /**
10544
10567
  * If not provided, defaults to `Yes`.
@@ -10555,6 +10578,9 @@ interface IConfirmationResult extends ICheckboxResult {
10555
10578
  */
10556
10579
  readonly confirmed: boolean;
10557
10580
  }
10581
+ interface IInputDialogArgs {
10582
+ readonly input: IInput;
10583
+ }
10558
10584
  interface IInput extends IConfirmation {
10559
10585
  readonly inputs: IInputElement[];
10560
10586
  /**
@@ -10573,6 +10599,9 @@ interface IInputResult extends IConfirmationResult {
10573
10599
  */
10574
10600
  readonly values?: string[];
10575
10601
  }
10602
+ interface IPromptDialogArgs {
10603
+ readonly prompt: IPrompt<unknown>;
10604
+ }
10576
10605
  interface IPromptBaseButton<T> {
10577
10606
  /**
10578
10607
  * @returns the result of the prompt button will be returned
@@ -10617,6 +10646,7 @@ interface IPromptResult<T> extends ICheckboxResult {
10617
10646
  interface IPromptResultWithCancel<T> extends IPromptResult<T> {
10618
10647
  readonly result: T;
10619
10648
  }
10649
+ type IDialogResult = IConfirmationResult | IInputResult | IPromptResult<unknown>;
10620
10650
  type DialogType = 'none' | 'info' | 'error' | 'question' | 'warning';
10621
10651
  interface ICheckbox {
10622
10652
  readonly label: string;
@@ -10640,6 +10670,27 @@ interface ICustomDialogMarkdown {
10640
10670
  readonly markdown: IMarkdownString;
10641
10671
  readonly classes?: string[];
10642
10672
  }
10673
+ /**
10674
+ * A handler to bring up modal dialogs.
10675
+ */
10676
+ interface IDialogHandler {
10677
+ /**
10678
+ * Ask the user for confirmation with a modal dialog.
10679
+ */
10680
+ confirm(confirmation: IConfirmation): Promise<IConfirmationResult>;
10681
+ /**
10682
+ * Prompt the user with a modal dialog.
10683
+ */
10684
+ prompt<T>(prompt: IPrompt<T>): Promise<IPromptResult<T>>;
10685
+ /**
10686
+ * Present a modal dialog to the user asking for input.
10687
+ */
10688
+ input(input: IInput): Promise<IInputResult>;
10689
+ /**
10690
+ * Present the about dialog to the user.
10691
+ */
10692
+ about(): Promise<void>;
10693
+ }
10643
10694
  declare const IDialogService: ServiceIdentifier<IDialogService>;
10644
10695
  /**
10645
10696
  * A service to bring up modal dialogs.
@@ -17515,4 +17566,4 @@ declare function registerServiceInitializeParticipant(participant: ServiceInitia
17515
17566
  declare const onRenderWorkbench: Event$1<ServicesAccessor>;
17516
17567
  declare function initialize(overrides: IEditorOverrideServices): Promise<void>;
17517
17568
 
17518
- export { ContextKeyExprType, IAudioCueService, IBulkEditService, IClipboardService, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IDebugService, IDialogService, IEditorGroupsService, IEditorService, IEditorWorkerService, IFileService, IHostService, IInstantiationService, ILanguageConfigurationService, ILanguageFeaturesService, ILanguageService, ILanguageStatusService, IMarkerService, IModelService, INotificationService, IOpenerService, IPaneCompositePartService, IPathService, IProductService, IQuickInputService, ISnippetsService, IStorageService, ITelemetryService, ITextFileService, ITextModelContentProvider, ITextModelService, IThemeService, IUriIdentityService, IWorkbenchEnvironmentService, IWorkingCopyFileService, IWorkspaceContextService, NotificationsFilter, Severity$1 as Severity, StandaloneServices, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant };
17569
+ export { ContextKeyExprType, DialogType, IAction, IAudioCueService, IBaseDialogOptions, IBulkEditService, ICheckbox, ICheckboxResult, IClipboardService, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IConfirmDialogArgs, IConfirmation, IConfirmationResult, ICustomDialogMarkdown, ICustomDialogOptions, IDebugService, IDialogArgs, IDialogHandler, IDialogResult, IDialogService, IEditorGroupsService, IEditorService, IEditorWorkerService, IFileService, IHostService, IInput, IInputDialogArgs, IInputElement, IInputResult, IInstantiationService, ILanguageConfigurationService, ILanguageFeaturesService, ILanguageService, ILanguageStatusService, IMarkdownString, IMarkerService, IModelService, INeverShowAgainOptions, INotification, INotificationActions, INotificationHandle, INotificationProgress, INotificationProgressProperties, INotificationProperties, INotificationService, IOpenerService, IPaneCompositePartService, IPathService, IProductService, IPrompt, IPromptBaseButton, IPromptButton, IPromptCancelButton, IPromptChoice, IPromptChoiceWithMenu, IPromptDialogArgs, IPromptOptions, IPromptResult, IPromptResultWithCancel, IPromptWithCustomCancel, IPromptWithDefaultCancel, IQuickInputService, ISnippetsService, IStatusMessageOptions, IStorageService, ITelemetryService, ITextFileService, ITextModelContentProvider, ITextModelService, IThemeService, IUriIdentityService, IWorkbenchEnvironmentService, IWorkingCopyFileService, IWorkspaceContextService, MarkdownStringTrustedOptions, NeverShowAgainScope, NoOpNotification, NoOpProgress, NotificationMessage, NotificationPriority, NotificationsFilter, Severity$1 as Severity, StandaloneServices, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant };
package/dist/services.js CHANGED
@@ -1,7 +1,7 @@
1
- export { ContextKeyExprType, IDebugService, IEditorGroupsService, IEditorService, IFileService, IHostService, ILanguageStatusService, IPaneCompositePartService, IPathService, IProductService, ISnippetsService, ITextFileService, IUriIdentityService, IWorkbenchEnvironmentService, IWorkingCopyFileService, NotificationsFilter, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant } from './polyfill.js';
1
+ export { ContextKeyExprType, IDebugService, IEditorGroupsService, IEditorService, IFileService, IHostService, ILanguageStatusService, IPaneCompositePartService, IPathService, IProductService, ISnippetsService, ITextFileService, IUriIdentityService, IWorkbenchEnvironmentService, IWorkingCopyFileService, NeverShowAgainScope, NoOpProgress, NotificationPriority, NotificationsFilter, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant } from './polyfill.js';
2
2
  export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
3
3
  export { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
4
- export { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
4
+ export { INotificationService, NoOpNotification } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
5
5
  export { IBulkEditService } from 'monaco-editor/esm/vs/editor/browser/services/bulkEditService.js';
6
6
  export { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
7
7
  export { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "1.78.0",
3
+ "version": "1.78.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],