@sumaris-net/ngx-components 2.1.5 → 2.1.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.1.5",
4
+ "version": "2.1.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -202,7 +202,9 @@ export declare class FormArrayHelper<T = Entity<any>, C extends AbstractControl
202
202
  emitEvent: boolean;
203
203
  }): boolean;
204
204
  removeAt(index: number): boolean;
205
- resize(length: number): boolean;
205
+ resize(length: number, options?: {
206
+ emitEvent?: boolean;
207
+ }): boolean;
206
208
  clearAt(index: number): boolean;
207
209
  isLast(index: number): boolean;
208
210
  removeAllEmpty(): void;
@@ -263,7 +265,9 @@ export declare class AppFormArray<T extends Entity<T>, C extends AbstractControl
263
265
  onlySelf?: boolean;
264
266
  emitEvent?: boolean;
265
267
  }): void;
266
- resize(length: number): void;
268
+ resize(length: number, options?: {
269
+ emitEvent?: boolean;
270
+ }): void;
267
271
  disable(opts?: {
268
272
  onlySelf?: boolean;
269
273
  emitEvent?: boolean;
@@ -48,7 +48,9 @@ export declare function addValueInArray(arrayControl: UntypedFormArray, createCo
48
48
  export declare function initArrayControlsFromValues(formArray: UntypedFormArray, createControl: (value?: any) => AbstractControl, defaultValues: any[], options?: {
49
49
  emitEvent?: boolean;
50
50
  }): boolean;
51
- export declare function resizeArray(arrayControl: UntypedFormArray, createControl: () => AbstractControl, length: number): boolean;
51
+ export declare function resizeArray(arrayControl: UntypedFormArray, createControl: () => AbstractControl, length: number, options?: {
52
+ emitEvent?: boolean;
53
+ }): boolean;
52
54
  export declare function removeValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number): boolean;
53
55
  export declare function clearValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number): boolean;
54
56
  export declare function markAllAsTouched(control: AbstractControl, opts?: {