@sumaris-net/ngx-components 2.6.4-rc8 → 2.6.4-rc9
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/esm2020/src/app/core/form/form.utils.mjs +1 -1
- package/esm2020/src/app/shared/forms.mjs +7 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +6 -1
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +6 -1
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/form.utils.d.ts +2 -0
- package/src/app/shared/forms.d.ts +1 -0
package/package.json
CHANGED
|
@@ -199,6 +199,7 @@ export declare class FormArrayHelper<T = Entity<any>, C extends AbstractControl
|
|
|
199
199
|
*/
|
|
200
200
|
add(value?: T, options?: {
|
|
201
201
|
emitEvent: boolean;
|
|
202
|
+
insertAt?: number;
|
|
202
203
|
}): boolean;
|
|
203
204
|
removeAt(index: number): boolean;
|
|
204
205
|
resize(length: number, options?: {
|
|
@@ -281,6 +282,7 @@ export declare class AppFormArray<T extends Entity<T>, C extends AbstractControl
|
|
|
281
282
|
*/
|
|
282
283
|
add(value?: T, options?: {
|
|
283
284
|
emitEvent: boolean;
|
|
285
|
+
insertAt?: number;
|
|
284
286
|
}): void;
|
|
285
287
|
removeAt(index: number, options?: {
|
|
286
288
|
emitEvent: boolean;
|
|
@@ -38,6 +38,7 @@ export declare function disableControls(form: UntypedFormGroup, paths: string[],
|
|
|
38
38
|
}): void;
|
|
39
39
|
export declare function addValueInArray(arrayControl: UntypedFormArray, createControl: (value?: any) => AbstractControl, equals: (v1: any, v2: any) => boolean, isEmpty: (value: any) => boolean, value: any, options?: {
|
|
40
40
|
emitEvent: boolean;
|
|
41
|
+
insertAt?: number;
|
|
41
42
|
}): boolean;
|
|
42
43
|
/**
|
|
43
44
|
* Set an array using given default values. Each default value will be pass to the 'createControl()' function
|