@gravitee/ui-particles-angular 5.20.0 → 5.20.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/esm2020/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +31 -28
- package/fesm2015/gravitee-ui-particles-angular.mjs +28 -25
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +29 -26
- 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,14 +1,15 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } 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, OnDestroy {
|
|
8
|
+
export declare class GioFormJsonSchemaComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
9
9
|
private readonly gioFormlyJsonSchema;
|
|
10
10
|
private readonly elRef;
|
|
11
11
|
private readonly fm;
|
|
12
|
+
private readonly changeDetectorRef;
|
|
12
13
|
readonly ngControl?: NgControl | undefined;
|
|
13
14
|
static isDisplayable(jsonSchema: GioJsonSchema): boolean;
|
|
14
15
|
private unsubscribe$;
|
|
@@ -23,13 +24,14 @@ export declare class GioFormJsonSchemaComponent implements ControlValueAccessor,
|
|
|
23
24
|
_onTouched: () => void;
|
|
24
25
|
private touched;
|
|
25
26
|
private stateChanges$;
|
|
26
|
-
constructor(gioFormlyJsonSchema: GioFormlyJsonSchemaService, elRef: ElementRef, fm: FocusMonitor, ngControl?: NgControl | undefined);
|
|
27
|
+
constructor(gioFormlyJsonSchema: GioFormlyJsonSchemaService, elRef: ElementRef, fm: FocusMonitor, changeDetectorRef: ChangeDetectorRef, ngControl?: NgControl | undefined);
|
|
27
28
|
ngOnInit(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
28
30
|
ngOnDestroy(): void;
|
|
29
31
|
writeValue(value: unknown): void;
|
|
30
32
|
registerOnChange(fn: (value: unknown | null) => void): void;
|
|
31
33
|
registerOnTouched(fn: () => void): void;
|
|
32
34
|
setDisabledState?(_isDisabled: boolean): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaComponent, [null, null, null, { optional: true; host: true; }]>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GioFormJsonSchemaComponent, [null, null, null, null, { optional: true; host: true; }]>;
|
|
34
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<GioFormJsonSchemaComponent, "gio-form-json-schema", never, { "jsonSchema": "jsonSchema"; "options": "options"; }, {}, never, never>;
|
|
35
37
|
}
|