@gravitee/ui-particles-angular 14.1.3 → 14.1.4-fix-monaco-19177dd
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/esm2022/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +2 -2
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +3 -6
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +1 -13
- package/esm2022/lib/gio-monaco-editor/services/gio-language-el.service.mjs +6 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-language-json.service.mjs +6 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +6 -3
- package/fesm2022/gravitee-ui-particles-angular.mjs +18 -18
- package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-monaco-editor/gio-monaco-editor.module.d.ts +2 -5
- package/package.json +1 -1
- package/src/lib/public-api.scss +1 -1
|
@@ -2304,8 +2304,8 @@ class GioFormlyJsonSchemaService {
|
|
|
2304
2304
|
toFormlyFieldConfig(jsonSchema, context) {
|
|
2305
2305
|
return this.formlyJsonschema.toFieldConfig(jsonSchema, {
|
|
2306
2306
|
map: (mappedField, mapSource) => {
|
|
2307
|
+
mappedField = this.uiTypeMap(mappedField, mapSource); // Keep first in order to correctly construct tree
|
|
2307
2308
|
mappedField = this.displayIfMap(mappedField, mapSource, context);
|
|
2308
|
-
mappedField = this.uiTypeMap(mappedField, mapSource);
|
|
2309
2309
|
mappedField = this.uiBorder(mappedField, mapSource);
|
|
2310
2310
|
mappedField = this.formatMap(mappedField, mapSource);
|
|
2311
2311
|
mappedField = this.bannerMap(mappedField, mapSource);
|
|
@@ -2942,10 +2942,13 @@ class GioMonacoEditorService {
|
|
|
2942
2942
|
});
|
|
2943
2943
|
}
|
|
2944
2944
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2945
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorService }); }
|
|
2945
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorService, providedIn: 'root' }); }
|
|
2946
2946
|
}
|
|
2947
2947
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorService, decorators: [{
|
|
2948
|
-
type: Injectable
|
|
2948
|
+
type: Injectable,
|
|
2949
|
+
args: [{
|
|
2950
|
+
providedIn: 'root',
|
|
2951
|
+
}]
|
|
2949
2952
|
}] });
|
|
2950
2953
|
|
|
2951
2954
|
/*
|
|
@@ -3006,10 +3009,13 @@ class GioLanguageJsonService {
|
|
|
3006
3009
|
});
|
|
3007
3010
|
}
|
|
3008
3011
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageJsonService, deps: [{ token: GioMonacoEditorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3009
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageJsonService }); }
|
|
3012
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageJsonService, providedIn: 'root' }); }
|
|
3010
3013
|
}
|
|
3011
3014
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageJsonService, decorators: [{
|
|
3012
|
-
type: Injectable
|
|
3015
|
+
type: Injectable,
|
|
3016
|
+
args: [{
|
|
3017
|
+
providedIn: 'root',
|
|
3018
|
+
}]
|
|
3013
3019
|
}], ctorParameters: () => [{ type: GioMonacoEditorService }] });
|
|
3014
3020
|
|
|
3015
3021
|
const SCHEMA_REF_BASE = '#/$defs/';
|
|
@@ -3338,10 +3344,13 @@ class GioLanguageElService {
|
|
|
3338
3344
|
this.keywords.push(...getKeywords(schema));
|
|
3339
3345
|
}
|
|
3340
3346
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageElService, deps: [{ token: GioMonacoEditorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3341
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageElService }); }
|
|
3347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageElService, providedIn: 'root' }); }
|
|
3342
3348
|
}
|
|
3343
3349
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioLanguageElService, decorators: [{
|
|
3344
|
-
type: Injectable
|
|
3350
|
+
type: Injectable,
|
|
3351
|
+
args: [{
|
|
3352
|
+
providedIn: 'root',
|
|
3353
|
+
}]
|
|
3345
3354
|
}], ctorParameters: () => [{ type: GioMonacoEditorService }] });
|
|
3346
3355
|
|
|
3347
3356
|
/*
|
|
@@ -3582,11 +3591,11 @@ class GioMonacoEditorComponent {
|
|
|
3582
3591
|
}
|
|
3583
3592
|
}
|
|
3584
3593
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorComponent, deps: [{ token: i0.ElementRef }, { token: GIO_MONACO_EDITOR_CONFIG }, { token: GioMonacoEditorService }, { token: GioLanguageJsonService }, { token: GioLanguageElService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3585
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: GioMonacoEditorComponent, isStandalone: false, selector: "gio-monaco-editor", inputs: { languageConfig: "languageConfig", options: "options", disableMiniMap: "disableMiniMap", disableAutoFormat: "disableAutoFormat", singleLineMode: "singleLineMode" }, host: { properties: { "class.single-line": "this.singleLineMode" } },
|
|
3594
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: GioMonacoEditorComponent, isStandalone: false, selector: "gio-monaco-editor", inputs: { languageConfig: "languageConfig", options: "options", disableMiniMap: "disableMiniMap", disableAutoFormat: "disableAutoFormat", singleLineMode: "singleLineMode" }, host: { properties: { "class.single-line": "this.singleLineMode" } }, ngImport: i0, template: ` <div *ngIf="loaded$ | async">Loading...</div>`, isInline: true, styles: [":host{display:block;height:100%;min-height:150px;pointer-events:auto;transition:opacity .2s ease-out}:host.single-line{display:flex;height:24px;min-height:24px;align-items:center}:host-context(.hidden){opacity:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3586
3595
|
}
|
|
3587
3596
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorComponent, decorators: [{
|
|
3588
3597
|
type: Component,
|
|
3589
|
-
args: [{ selector: 'gio-monaco-editor', template: ` <div *ngIf="loaded$ | async">Loading...</div>`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false,
|
|
3598
|
+
args: [{ selector: 'gio-monaco-editor', template: ` <div *ngIf="loaded$ | async">Loading...</div>`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [":host{display:block;height:100%;min-height:150px;pointer-events:auto;transition:opacity .2s ease-out}:host.single-line{display:flex;height:24px;min-height:24px;align-items:center}:host-context(.hidden){opacity:0}\n"] }]
|
|
3590
3599
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
3591
3600
|
type: Inject,
|
|
3592
3601
|
args: [GIO_MONACO_EDITOR_CONFIG]
|
|
@@ -3784,9 +3793,6 @@ class GioMonacoEditorModule {
|
|
|
3784
3793
|
provide: GIO_MONACO_EDITOR_CONFIG,
|
|
3785
3794
|
useValue: config,
|
|
3786
3795
|
},
|
|
3787
|
-
GioMonacoEditorService,
|
|
3788
|
-
GioLanguageJsonService,
|
|
3789
|
-
GioLanguageElService,
|
|
3790
3796
|
],
|
|
3791
3797
|
};
|
|
3792
3798
|
}
|
|
@@ -3797,9 +3803,6 @@ class GioMonacoEditorModule {
|
|
|
3797
3803
|
provide: GIO_MONACO_EDITOR_CONFIG,
|
|
3798
3804
|
useValue: {},
|
|
3799
3805
|
},
|
|
3800
|
-
GioMonacoEditorService,
|
|
3801
|
-
GioLanguageJsonService,
|
|
3802
|
-
GioLanguageElService,
|
|
3803
3806
|
], imports: [CommonModule, ReactiveFormsModule] }); }
|
|
3804
3807
|
}
|
|
3805
3808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: GioMonacoEditorModule, decorators: [{
|
|
@@ -3813,9 +3816,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
|
|
|
3813
3816
|
provide: GIO_MONACO_EDITOR_CONFIG,
|
|
3814
3817
|
useValue: {},
|
|
3815
3818
|
},
|
|
3816
|
-
GioMonacoEditorService,
|
|
3817
|
-
GioLanguageJsonService,
|
|
3818
|
-
GioLanguageElService,
|
|
3819
3819
|
],
|
|
3820
3820
|
}]
|
|
3821
3821
|
}] });
|