@gravitee/ui-particles-angular 7.36.0 → 7.37.0-fix-badge-c41b292

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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.36.0",
3
+ "version": "7.37.0-fix-badge-c41b292",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,6 +43,7 @@
43
43
  .mat-icon {
44
44
  width: inherit;
45
45
  max-width: 16px;
46
+ min-width: max-content;
46
47
  height: inherit;
47
48
 
48
49
  // Set max height & height and width when using SVG icons (i.e. not coming from a web font) otherwise they are just HUGE