@ng-util/monaco-editor 20.1.0 → 21.0.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/README.md +0 -24
- package/fesm2022/ng-util-monaco-editor.mjs +24 -47
- package/fesm2022/ng-util-monaco-editor.mjs.map +1 -1
- package/monaco.d.ts +9985 -9159
- package/package.json +3 -3
- package/{index.d.ts → types/ng-util-monaco-editor.d.ts} +4 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-util/monaco-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.1",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"description": "Monaco Code Editor for Angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
],
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"module": "fesm2022/ng-util-monaco-editor.mjs",
|
|
25
|
-
"typings": "
|
|
25
|
+
"typings": "types/ng-util-monaco-editor.d.ts",
|
|
26
26
|
"exports": {
|
|
27
27
|
"./package.json": {
|
|
28
28
|
"default": "./package.json"
|
|
29
29
|
},
|
|
30
30
|
".": {
|
|
31
|
-
"types": "./
|
|
31
|
+
"types": "./types/ng-util-monaco-editor.d.ts",
|
|
32
32
|
"default": "./fesm2022/ng-util-monaco-editor.mjs"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference path="
|
|
1
|
+
/// <reference path="../monaco.d.ts" />
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { InjectionToken, EnvironmentProviders, AfterViewInit, OnDestroy, ElementRef, DestroyRef
|
|
3
|
+
import { InjectionToken, EnvironmentProviders, AfterViewInit, OnDestroy, ElementRef, DestroyRef } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
|
-
import * as i1 from '@angular/common';
|
|
7
6
|
|
|
8
7
|
interface NuMonacoEditorModel {
|
|
9
8
|
value?: string;
|
|
@@ -82,7 +81,7 @@ declare class NuMonacoEditorComponent extends NuMonacoEditorBase implements Cont
|
|
|
82
81
|
private _value;
|
|
83
82
|
private _placeholderWidget?;
|
|
84
83
|
placeholder: _angular_core.InputSignal<string | undefined>;
|
|
85
|
-
model: _angular_core.InputSignal<NuMonacoEditorModel | undefined>;
|
|
84
|
+
model: _angular_core.InputSignal<NuMonacoEditorModel | null | undefined>;
|
|
86
85
|
autoFormat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
87
86
|
get editor(): monaco.editor.IStandaloneCodeEditor | null | undefined;
|
|
88
87
|
constructor();
|
|
@@ -108,15 +107,5 @@ declare class NuMonacoEditorDiffComponent extends NuMonacoEditorBase {
|
|
|
108
107
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NuMonacoEditorDiffComponent, "nu-monaco-diff-editor", ["nuMonacoDiffEditor"], { "old": { "alias": "old"; "required": false; "isSignal": true; }; "new": { "alias": "new"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
109
108
|
}
|
|
110
109
|
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Or use `provideNuMonacoEditorConfig` instead.
|
|
114
|
-
*/
|
|
115
|
-
static forRoot(config?: NuMonacoEditorConfig): ModuleWithProviders<NuMonacoEditorModule>;
|
|
116
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NuMonacoEditorModule, never>;
|
|
117
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<NuMonacoEditorModule, never, [typeof i1.CommonModule, typeof NuMonacoEditorComponent, typeof NuMonacoEditorDiffComponent], [typeof NuMonacoEditorComponent, typeof NuMonacoEditorDiffComponent]>;
|
|
118
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<NuMonacoEditorModule>;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export { NU_MONACO_EDITOR_CONFIG, NuMonacoEditorComponent, NuMonacoEditorDiffComponent, NuMonacoEditorModule, provideNuMonacoEditorConfig };
|
|
110
|
+
export { NU_MONACO_EDITOR_CONFIG, NuMonacoEditorComponent, NuMonacoEditorDiffComponent, provideNuMonacoEditorConfig };
|
|
122
111
|
export type { NuMonacoEditorConfig, NuMonacoEditorDiffModel, NuMonacoEditorEvent, NuMonacoEditorEventType, NuMonacoEditorModel };
|