@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/esm2020/src/app/core/form/form.utils.mjs +7 -5
- package/esm2020/src/app/shared/forms.mjs +2 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +7 -5
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +7 -5
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/form.utils.d.ts +4 -3
- package/src/app/shared/forms.d.ts +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
*
|
|
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
|