@gravitee/ui-particles-angular 7.36.0 → 7.37.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-form-json-schema.component.mjs +28 -7
- package/fesm2015/gravitee-ui-particles-angular.mjs +26 -4
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +25 -4
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +6 -4
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormGroup, NgControl } from '@angular/forms';
|
|
3
3
|
import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
|
|
4
4
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
5
5
|
import { GioJsonSchema } from './model/GioJsonSchema';
|
|
6
6
|
import { GioFormlyJsonSchemaService } from './gio-formly-json-schema.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class GioFormJsonSchemaComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
8
|
+
export declare class GioFormJsonSchemaComponent implements ControlValueAccessor, OnChanges, OnInit, AfterViewInit, OnDestroy {
|
|
9
9
|
private readonly gioFormlyJsonSchema;
|
|
10
10
|
private readonly elRef;
|
|
11
11
|
private readonly fm;
|
|
@@ -17,9 +17,10 @@ export declare class GioFormJsonSchemaComponent implements ControlValueAccessor,
|
|
|
17
17
|
set jsonSchema(jsonSchema: GioJsonSchema);
|
|
18
18
|
formGroup: FormGroup;
|
|
19
19
|
options: FormlyFormOptions;
|
|
20
|
+
ready: EventEmitter<boolean>;
|
|
21
|
+
private isReady;
|
|
20
22
|
model: unknown;
|
|
21
23
|
fields: FormlyFieldConfig[];
|
|
22
|
-
loading: boolean;
|
|
23
24
|
isDisabled: boolean;
|
|
24
25
|
_onChange: (value: unknown | null) => void;
|
|
25
26
|
_onTouched: () => void;
|
|
@@ -27,6 +28,7 @@ export declare class GioFormJsonSchemaComponent implements ControlValueAccessor,
|
|
|
27
28
|
private isValid$;
|
|
28
29
|
private stateChanges$;
|
|
29
30
|
constructor(gioFormlyJsonSchema: GioFormlyJsonSchemaService, elRef: ElementRef, fm: FocusMonitor, changeDetectorRef: ChangeDetectorRef, ngControl?: NgControl | undefined);
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
ngAfterViewInit(): void;
|
|
32
34
|
ngOnDestroy(): void;
|
|
@@ -35,5 +37,5 @@ export declare class GioFormJsonSchemaComponent implements ControlValueAccessor,
|
|
|
35
37
|
registerOnTouched(fn: () => void): void;
|
|
36
38
|
setDisabledState?(isDisabled: boolean): void;
|
|
37
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaComponent, [null, null, null, null, { optional: true; host: true; }]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioFormJsonSchemaComponent, "gio-form-json-schema", never, { "jsonSchema": "jsonSchema"; "options": "options"; }, {}, never, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioFormJsonSchemaComponent, "gio-form-json-schema", never, { "jsonSchema": "jsonSchema"; "options": "options"; }, { "ready": "ready"; }, never, never>;
|
|
39
41
|
}
|