@codingame/monaco-vscode-api 1.79.11 → 1.79.13

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.
@@ -3028,6 +3028,40 @@ interface IDecorationRenderOptions extends IThemeDecorationRenderOptions {
3028
3028
  dark?: IThemeDecorationRenderOptions;
3029
3029
  }
3030
3030
 
3031
+ interface IProgressIndicator {
3032
+ /**
3033
+ * Show progress customized with the provided flags.
3034
+ */
3035
+ show(infinite: true, delay?: number): IProgressRunner;
3036
+ show(total: number, delay?: number): IProgressRunner;
3037
+ /**
3038
+ * Indicate progress for the duration of the provided promise. Progress will stop in
3039
+ * any case of promise completion, error or cancellation.
3040
+ */
3041
+ showWhile(promise: Promise<unknown>, delay?: number): Promise<void>;
3042
+ }
3043
+ declare const enum ProgressLocation {
3044
+ Explorer = 1,
3045
+ Scm = 3,
3046
+ Extensions = 5,
3047
+ Window = 10,
3048
+ Notification = 15,
3049
+ Dialog = 20
3050
+ }
3051
+ interface IProgressStep {
3052
+ message?: string;
3053
+ increment?: number;
3054
+ total?: number;
3055
+ }
3056
+ interface IProgressRunner {
3057
+ total(value: number): void;
3058
+ worked(value: number): void;
3059
+ done(): void;
3060
+ }
3061
+ interface IProgress<T> {
3062
+ report(item: T): void;
3063
+ }
3064
+
3031
3065
  interface IEditorModel {
3032
3066
  /**
3033
3067
  * Emitted when the model is about to be disposed.
@@ -3747,4 +3781,4 @@ interface IDiffEditor extends IEditor {
3747
3781
  revealFirstDiff(): unknown;
3748
3782
  }
3749
3783
 
3750
- export { ITextBufferFactory as A, ITextModelCreationOptions as B, IDocumentDiffProviderOptions as C, IDocumentDiff as D, EndOfLineSequence as E, IChange as F, IBoundarySashes as G, IDecorationRenderOptions as H, IEditor as I, ITextModelContentProvider as J, ITextEditorOptions as K, MarkdownStringTrustedOptions as M, Orientation as O, Position as P, Range as R, Selection as S, ITextModelService as a, ICodeEditor as b, IDiffEditor as c, IEditorOptions as d, IResourceEditorInput as e, ITextResourceEditorInput as f, IResourceEditorInputIdentifier as g, IResolvedTextEditorModel as h, IDiffEditor$1 as i, IComposite as j, IMarkdownString as k, IEditorModel as l, IDimension as m, ICompositeControl as n, IBaseTextResourceEditorInput as o, IBaseUntypedEditorInput as p, ITextModel as q, IModelDecorationOptions as r, IModelDecorationsChangeAccessor as s, IEditorContribution as t, IPosition as u, IRange as v, ISingleEditOperation as w, EditorAutoIndentStrategy as x, ITextEditorModel as y, ITextSnapshot as z };
3784
+ export { ITextSnapshot as A, ITextBufferFactory as B, ICompositeControl as C, IBaseTextResourceEditorInput as D, EndOfLineSequence as E, IBaseUntypedEditorInput as F, ITextModelCreationOptions as G, IDocumentDiffProviderOptions as H, IEditor as I, IDocumentDiff as J, IChange as K, IDecorationRenderOptions as L, ProgressLocation as M, ITextModelContentProvider as N, ITextEditorOptions as O, Position as P, MarkdownStringTrustedOptions as Q, Range as R, Selection as S, Orientation as T, ITextModelService as a, ICodeEditor as b, IDiffEditor as c, IEditorOptions as d, IResourceEditorInput as e, ITextResourceEditorInput as f, IResourceEditorInputIdentifier as g, IResolvedTextEditorModel as h, IDiffEditor$1 as i, ITextModel as j, IRange as k, IPosition as l, IMarkdownString as m, ISingleEditOperation as n, IModelDecorationOptions as o, IModelDecorationsChangeAccessor as p, IEditorContribution as q, EditorAutoIndentStrategy as r, IComposite as s, IProgressIndicator as t, IBoundarySashes as u, IEditorModel as v, IDimension as w, ITextEditorModel as x, IProgress as y, IProgressStep as z };
package/dist/event.d.ts CHANGED
@@ -583,4 +583,4 @@ interface IWaitUntil {
583
583
  waitUntil(thenable: Promise<unknown>): void;
584
584
  }
585
585
 
586
- export { CancellationToken as C, Disposable as D, Event as E, IReference as I, IDisposable as a, Emitter as b, DisposableStore as c, IWaitUntil as d };
586
+ export { CancellationToken as C, Disposable as D, Event as E, IReference as I, IDisposable as a, DisposableStore as b, Emitter as c, IWaitUntil as d };
@@ -443,4 +443,4 @@ interface IRelaxedExtensionDescription extends IRelaxedExtensionManifest {
443
443
  }
444
444
  type IExtensionDescription = Readonly<IRelaxedExtensionDescription>;
445
445
 
446
- export { ExtensionIdentifier as E, IExtensionManifest as I, TargetPlatform as T, IExtensionDescription as a, IExtensionContributions as b, ILocalizedString as c, ExtensionKind as d, ICommandAction as e, ICommandActionTitle as f, Icon as g, IEnvironmentService as h };
446
+ export { ExtensionIdentifier as E, IExtensionManifest as I, TargetPlatform as T, IExtensionDescription as a, IExtensionContributions as b, ExtensionKind as c, ICommandAction as d, ICommandActionTitle as e, Icon as f, ILocalizedString as g, IEnvironmentService as h };
@@ -1,5 +1,5 @@
1
1
  import { S as ServiceIdentifier } from './instantiation.js';
2
- import { E as ExtensionIdentifier, a as IExtensionDescription, b as IExtensionContributions, d as ExtensionKind } from './extensions.d2.ts';
2
+ import { E as ExtensionIdentifier, a as IExtensionDescription, b as IExtensionContributions, c as ExtensionKind } from './extensions.d2.ts';
3
3
  import { E as Event } from './event.js';
4
4
  import { S as Severity } from './severity.js';
5
5
 
package/dist/files.d.ts CHANGED
@@ -914,4 +914,4 @@ interface ICreateFileOptions {
914
914
  readonly overwrite?: boolean;
915
915
  }
916
916
 
917
- export { FileSystemProviderCapabilities as F, IFileSystemProviderWithFileReadWriteCapability as I, ReadableStreamEvents as R, VSBuffer as V, IFileSystemProviderWithFileReadStreamCapability as a, IStat as b, FileType as c, IFileReadStreamOptions as d, IFileWriteOptions as e, IFileDeleteOptions as f, IFileOverwriteOptions as g, IWatchOptions as h, IFileChange as i, FileSystemProviderError as j, FileSystemProviderErrorCode as k, FileChangeType as l, FilePermission as m, VSBufferReadable as n, VSBufferReadableStream as o, IFileStatWithMetadata as p, FileOperation as q, ReadableStream as r, IReadFileStreamOptions as s, IWriteFileOptions as t, IBaseFileStatWithMetadata as u, IFileReadLimits as v, IRelativePattern as w, IFileService as x };
917
+ export { FileSystemProviderCapabilities as F, IFileSystemProviderWithFileReadWriteCapability as I, ReadableStreamEvents as R, VSBuffer as V, IFileSystemProviderWithFileReadStreamCapability as a, IStat as b, FileType as c, IFileReadStreamOptions as d, IFileWriteOptions as e, IFileDeleteOptions as f, IFileOverwriteOptions as g, IWatchOptions as h, IFileChange as i, FileSystemProviderError as j, FileSystemProviderErrorCode as k, FileChangeType as l, FilePermission as m, IRelativePattern as n, VSBufferReadable as o, VSBufferReadableStream as p, IFileStatWithMetadata as q, FileOperation as r, ReadableStream as s, IReadFileStreamOptions as t, IWriteFileOptions as u, IBaseFileStatWithMetadata as v, IFileReadLimits as w, IBaseFileStat as x, IFileService as y, IFileStat as z };