@sumaris-net/ngx-components 2.2.1-rc13 → 2.2.1-rc14

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.2.1-rc13",
4
+ "version": "2.2.1-rc14",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -239,8 +239,8 @@ export declare class FormArrayHelper<T = Entity<any>, C extends AbstractControl
239
239
  forEach(ite: (control: C) => void): void;
240
240
  protected setAllowEmptyArray(value: boolean): void;
241
241
  }
242
- export interface AppFormArrayOptions extends AbstractControlOptions {
243
- allowEmptyArray: boolean;
242
+ export declare interface AppFormArrayOptions extends AbstractControlOptions {
243
+ allowEmptyArray?: boolean;
244
244
  allowReuseControls?: boolean;
245
245
  }
246
246
  export declare class AppFormArray<T extends Entity<T>, C extends AbstractControl> extends UntypedFormArray {
@@ -248,10 +248,9 @@ export declare class AppFormArray<T extends Entity<T>, C extends AbstractControl
248
248
  private equals;
249
249
  private isEmpty;
250
250
  private options?;
251
- private _allowEmptyArray;
252
251
  get allowEmptyArray(): boolean;
253
252
  set allowEmptyArray(value: boolean);
254
- constructor(createControl: (value?: T) => C, equals: (v1: T, v2: T) => boolean, isEmpty: (value: T) => boolean, options?: AppFormArrayOptions | null);
253
+ constructor(createControl: (value?: T) => C, equals: (v1: T, v2: T) => boolean, isEmpty: (value: T) => boolean, options?: AppFormArrayOptions | undefined | null);
255
254
  /**
256
255
  * WIll rebuild the array, using the given values
257
256
  * @param values