@gravitee/ui-particles-angular 7.22.0 → 7.22.1-apim-1416-enable-disable-form-70f7ec2

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,7 +1,23 @@
1
+ import { AfterViewChecked, ChangeDetectorRef } from '@angular/core';
1
2
  import { FieldArrayType } from '@ngx-formly/core';
2
3
  import * as i0 from "@angular/core";
3
- export declare class GioFjsArrayTypeComponent extends FieldArrayType {
4
+ export declare class GioFjsArrayTypeComponent extends FieldArrayType implements AfterViewChecked {
5
+ private readonly cdr;
4
6
  collapse: boolean;
7
+ constructor(cdr: ChangeDetectorRef);
8
+ /**
9
+ * This method is here to ensure that all fields of the array are disabled or enabled when the form is disabled or enabled.
10
+ */
11
+ ngAfterViewChecked(): void;
12
+ /**
13
+ * This method fix an issue with the fieldChanges Subject which can be undefined when we enable or disable the form.
14
+ */
15
+ onFocusIn(): void;
16
+ /**
17
+ * This method fix an issue with the fieldChanges Subject which can be undefined when we enable or disable the form
18
+ * and then try to add a new field.
19
+ */
20
+ add(): void;
5
21
  static ɵfac: i0.ɵɵFactoryDeclaration<GioFjsArrayTypeComponent, never>;
6
22
  static ɵcmp: i0.ɵɵComponentDeclaration<GioFjsArrayTypeComponent, "gio-fjs-array-type", never, {}, {}, never, never>;
7
23
  }
@@ -1,7 +1,11 @@
1
- import { OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FieldType } from '@ngx-formly/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class GioFjsMultiSchemaTypeComponent extends FieldType implements OnInit {
4
+ export declare class GioFjsMultiSchemaTypeComponent extends FieldType implements OnInit, OnDestroy {
5
+ private readonly cdr;
6
+ private unsubscribe$;
7
+ constructor(cdr: ChangeDetectorRef);
8
+ ngOnDestroy(): void;
5
9
  ngOnInit(): void;
6
10
  static ɵfac: i0.ɵɵFactoryDeclaration<GioFjsMultiSchemaTypeComponent, never>;
7
11
  static ɵcmp: i0.ɵɵComponentDeclaration<GioFjsMultiSchemaTypeComponent, "gio-fjs-multi-schema-type", never, {}, {}, never, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.22.0",
3
+ "version": "7.22.1-apim-1416-enable-disable-form-70f7ec2",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,8 +20,8 @@
20
20
  "@angular/core": "^13.3.0",
21
21
  "@angular/forms": "^13.3.0",
22
22
  "@angular/material": "^13.3.0",
23
- "@ngx-formly/core": "^6.1.1",
24
- "@ngx-formly/material": "^6.1.1",
23
+ "@ngx-formly/core": "^6.1.8",
24
+ "@ngx-formly/material": "^6.1.8",
25
25
  "asciidoctor": "^2.2.6",
26
26
  "ngx-file-helpers": "^7.0.0",
27
27
  "prismjs": "^1.29.0"