@codingame/monaco-vscode-api 1.79.10 → 1.79.12

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,32 @@ 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
+ interface IProgressStep {
3044
+ message?: string;
3045
+ increment?: number;
3046
+ total?: number;
3047
+ }
3048
+ interface IProgressRunner {
3049
+ total(value: number): void;
3050
+ worked(value: number): void;
3051
+ done(): void;
3052
+ }
3053
+ interface IProgress<T> {
3054
+ report(item: T): void;
3055
+ }
3056
+
3031
3057
  interface IEditorModel {
3032
3058
  /**
3033
3059
  * Emitted when the model is about to be disposed.
@@ -3747,4 +3773,4 @@ interface IDiffEditor extends IEditor {
3747
3773
  revealFirstDiff(): unknown;
3748
3774
  }
3749
3775
 
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 };
3776
+ export { IBaseUntypedEditorInput as A, IRange as B, ISingleEditOperation as C, EditorAutoIndentStrategy as D, EndOfLineSequence as E, ITextModelCreationOptions as F, IDocumentDiffProviderOptions as G, IDocumentDiff as H, IEditor as I, IChange as J, IBoundarySashes as K, IDecorationRenderOptions as L, ITextModelContentProvider as M, ITextEditorOptions as N, Orientation as O, Position as P, MarkdownStringTrustedOptions as Q, 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, IProgressIndicator as k, ITextModel as l, IModelDecorationOptions as m, IModelDecorationsChangeAccessor as n, IEditorContribution as o, IPosition as p, IMarkdownString as q, IEditorModel as r, IDimension as s, ITextEditorModel as t, IProgress as u, IProgressStep as v, ITextSnapshot as w, ITextBufferFactory as x, ICompositeControl as y, IBaseTextResourceEditorInput 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 };
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, VSBufferReadable 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, VSBufferReadableStream as n, IFileStatWithMetadata as o, FileOperation as p, VSBuffer as q, ReadableStream as r, IReadFileStreamOptions as s, IWriteFileOptions as t, IBaseFileStatWithMetadata as u, IFileReadLimits as v, IRelativePattern as w, IFileService as x };