@gravitee/ui-particles-angular 7.38.0-add-oninit-monaco-editor-3bf618b → 7.38.0
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/esm2020/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +1 -1
- package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +3 -7
- package/fesm2015/gravitee-ui-particles-angular.mjs +2 -6
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +2 -6
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +2 -3
- package/package.json +1 -1
|
@@ -3915,7 +3915,6 @@ class GioMonacoEditorComponent {
|
|
|
3915
3915
|
this.ngZone = ngZone;
|
|
3916
3916
|
this.ngControl = ngControl;
|
|
3917
3917
|
this.options = {};
|
|
3918
|
-
this.editorInit = new EventEmitter();
|
|
3919
3918
|
this.loaded$ = new ReplaySubject(1);
|
|
3920
3919
|
this.defaultOptions = {
|
|
3921
3920
|
contextmenu: false,
|
|
@@ -4013,7 +4012,6 @@ class GioMonacoEditorComponent {
|
|
|
4013
4012
|
});
|
|
4014
4013
|
});
|
|
4015
4014
|
this.setupLanguage(settings.uri, this.languageConfig);
|
|
4016
|
-
this.editorInit.emit(this.standaloneCodeEditor);
|
|
4017
4015
|
}
|
|
4018
4016
|
setupLanguage(uri, languageConfig) {
|
|
4019
4017
|
if (!languageConfig) {
|
|
@@ -4031,7 +4029,7 @@ class GioMonacoEditorComponent {
|
|
|
4031
4029
|
}
|
|
4032
4030
|
}
|
|
4033
4031
|
GioMonacoEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioMonacoEditorComponent, deps: [{ token: i0.ElementRef }, { token: GIO_MONACO_EDITOR_CONFIG }, { token: GioMonacoEditorService }, { token: GioLanguageJsonService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i7.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4034
|
-
GioMonacoEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioMonacoEditorComponent, selector: "gio-monaco-editor", inputs: { languageConfig: "languageConfig", options: "options" },
|
|
4032
|
+
GioMonacoEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioMonacoEditorComponent, selector: "gio-monaco-editor", inputs: { languageConfig: "languageConfig", options: "options" }, ngImport: i0, template: ` <div *ngIf="loaded$ | async">Loading...</div>`, isInline: true, styles: [":host{display:block;height:100%;min-height:150px;transition:opacity .2s ease-out}:host-context(.hidden){opacity:0}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4035
4033
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioMonacoEditorComponent, decorators: [{
|
|
4036
4034
|
type: Component,
|
|
4037
4035
|
args: [{ selector: 'gio-monaco-editor', template: ` <div *ngIf="loaded$ | async">Loading...</div>`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;height:100%;min-height:150px;transition:opacity .2s ease-out}:host-context(.hidden){opacity:0}\n"] }]
|
|
@@ -4046,8 +4044,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4046
4044
|
type: Input
|
|
4047
4045
|
}], options: [{
|
|
4048
4046
|
type: Input
|
|
4049
|
-
}], editorInit: [{
|
|
4050
|
-
type: Output
|
|
4051
4047
|
}] } });
|
|
4052
4048
|
|
|
4053
4049
|
class GioMonacoEditorFormFieldDirective {
|
|
@@ -4780,7 +4776,7 @@ GioFjsCodeEditorTypeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
4780
4776
|
[formControl]="formControl"
|
|
4781
4777
|
[languageConfig]="languageConfig"
|
|
4782
4778
|
></gio-monaco-editor>
|
|
4783
|
-
`, isInline: true, styles: ["gio-monaco-editor{min-height:38px}\n"], components: [{ type: GioMonacoEditorComponent, selector: "gio-monaco-editor", inputs: ["languageConfig", "options"]
|
|
4779
|
+
`, isInline: true, styles: ["gio-monaco-editor{min-height:38px}\n"], components: [{ type: GioMonacoEditorComponent, selector: "gio-monaco-editor", inputs: ["languageConfig", "options"] }], directives: [{ type: GioMonacoEditorFormFieldDirective, selector: "[gioMonacoEditorFormField]", inputs: ["placeholder", "required", "disabled"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4784
4780
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioFjsCodeEditorTypeComponent, decorators: [{
|
|
4785
4781
|
type: Component,
|
|
4786
4782
|
args: [{
|