@wemake4u/form-player-se 1.0.15 → 1.0.16
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/esm2022/lib/directives/accordionpanel.directive.mjs +4 -3
- package/esm2022/lib/directives/repeat.directive.mjs +10 -8
- package/esm2022/lib/dynamic-fields/dynamic-fields.component.mjs +3 -3
- package/esm2022/lib/dynamic-form/dynamic-form.component.mjs +14 -1
- package/esm2022/lib/utils/patchForm.mjs +2 -1
- package/fesm2022/wemake4u-form-player-se.mjs +28 -11
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/directives/repeat.directive.d.ts +2 -1
- package/lib/dynamic-form/dynamic-form.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4,8 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class RepeatDirective implements OnChanges {
|
|
5
5
|
private controlContainer;
|
|
6
6
|
repeat: any;
|
|
7
|
+
allowAddRemove: boolean | null;
|
|
7
8
|
constructor(controlContainer: ControlContainer);
|
|
8
9
|
ngOnChanges(changes: SimpleChanges): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<RepeatDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatDirective, "[repeat]", never, { "repeat": { "alias": "repeat"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatDirective, "[repeat], [allowAddRemove]", never, { "repeat": { "alias": "repeat"; "required": false; }; "allowAddRemove": { "alias": "allowAddRemove"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
12
|
}
|
|
@@ -252,6 +252,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
252
252
|
private getMaxNav;
|
|
253
253
|
private isDisabled;
|
|
254
254
|
private clearControls;
|
|
255
|
+
private clearFormArrays;
|
|
255
256
|
private registerHandlers;
|
|
256
257
|
private clearHandlers;
|
|
257
258
|
private buildForm;
|