@gravitee/ui-particles-angular 7.19.0 → 7.20.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/gio-formly-json-schema.service.mjs +5 -1
- package/esm2020/lib/gio-form-json-schema/model/GioJsonSchema.mjs +1 -1
- package/esm2020/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +12 -2
- package/fesm2015/gravitee-ui-particles-angular.mjs +14 -1
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +15 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-form-json-schema/model/GioJsonSchema.d.ts +2 -0
- package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +6 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export interface GioConfig {
|
|
6
6
|
banner?: GioBannerConfig;
|
|
7
7
|
uiType?: GioUiTypeConfig;
|
|
8
|
+
monacoEditorConfig?: GioMonacoEditorConfig;
|
|
8
9
|
}
|
|
9
10
|
declare type GioBannerConfig = {
|
|
10
11
|
title: string;
|
|
@@ -27,5 +28,6 @@ declare module 'json-schema' {
|
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
import { JSONSchema7 } from 'json-schema';
|
|
31
|
+
import { GioMonacoEditorConfig } from '../type-component/code-editor-type.component';
|
|
30
32
|
export declare type GioJsonSchema = JSONSchema7;
|
|
31
33
|
export {};
|
|
@@ -3,7 +3,12 @@ import { FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
|
|
|
3
3
|
import { FieldType } from '@ngx-formly/material';
|
|
4
4
|
import { MonacoEditorLanguageConfig } from '../../gio-monaco-editor/gio-monaco-editor.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
declare type
|
|
6
|
+
export declare type GioMonacoEditorConfig = {
|
|
7
|
+
language: 'json';
|
|
8
|
+
};
|
|
9
|
+
declare type CodeEditorProps = FormlyFieldProps & {
|
|
10
|
+
monacoEditorConfig?: GioMonacoEditorConfig;
|
|
11
|
+
};
|
|
7
12
|
export declare class GioFjsCodeEditorTypeComponent extends FieldType<FieldTypeConfig<CodeEditorProps>> implements OnInit {
|
|
8
13
|
languageConfig?: MonacoEditorLanguageConfig;
|
|
9
14
|
ngOnInit(): void;
|