@sumaris-net/ngx-components 2.1.3 → 2.1.4-rc2

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.3",
4
+ "version": "2.1.4-rc2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -201,9 +201,6 @@ export declare class FormArrayHelper<T = Entity<any>, C extends AbstractControl
201
201
  add(value?: T, options?: {
202
202
  emitEvent: boolean;
203
203
  }): boolean;
204
- push(value?: T, options?: {
205
- emitEvent: boolean;
206
- }): boolean;
207
204
  removeAt(index: number): boolean;
208
205
  resize(length: number): boolean;
209
206
  clearAt(index: number): boolean;
@@ -253,6 +250,10 @@ export declare class AppFormArray<T extends Entity<T>, C extends AbstractControl
253
250
  onlySelf?: boolean;
254
251
  emitEvent?: boolean;
255
252
  }): void;
253
+ patchValue(values: any[], options?: {
254
+ onlySelf?: boolean;
255
+ emitEvent?: boolean;
256
+ }): void;
256
257
  enable(opts?: {
257
258
  onlySelf?: boolean;
258
259
  emitEvent?: boolean;
@@ -40,7 +40,7 @@ export declare function pushValueInArray(arrayControl: UntypedFormArray, createC
40
40
  emitEvent: boolean;
41
41
  }): boolean;
42
42
  /**
43
- * Patch an array using given default values. Each default value will be pass to the 'createControl()' function
43
+ * Set an array using given default values. Each default value will be pass to the 'createControl()' function
44
44
  * @param arrayControl
45
45
  * @param createControl
46
46
  * @param values