@klippa/ngx-enhancy-forms 11.0.0 → 11.2.0
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/lib/form/form-element/form-element.component.mjs +3 -3
- package/esm2020/lib/form/form.component.mjs +9 -3
- package/fesm2015/klippa-ngx-enhancy-forms.mjs +10 -4
- package/fesm2015/klippa-ngx-enhancy-forms.mjs.map +1 -1
- package/fesm2020/klippa-ngx-enhancy-forms.mjs +10 -4
- package/fesm2020/klippa-ngx-enhancy-forms.mjs.map +1 -1
- package/lib/form/form-element/form-element.component.d.ts +1 -1
- package/lib/form/form.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ export declare class FormElementComponent {
|
|
|
13
13
|
caption: string;
|
|
14
14
|
direction: 'horizontal' | 'vertical';
|
|
15
15
|
captionSpacing: 'percentages' | 'none';
|
|
16
|
-
spaceDistribution: '40-60' | '30-70';
|
|
16
|
+
spaceDistribution: '40-60' | '34-66' | '30-70';
|
|
17
17
|
swapInputAndCaption: boolean;
|
|
18
18
|
internalComponentRef: ElementRef;
|
|
19
19
|
captionRef: ElementRef;
|
|
@@ -12,6 +12,7 @@ export declare class SubFormDirective {
|
|
|
12
12
|
export declare class FormComponent implements OnInit, OnDestroy {
|
|
13
13
|
private parent;
|
|
14
14
|
private subFormPlaceholder;
|
|
15
|
+
readOnly: boolean;
|
|
15
16
|
showErrorMessages: boolean;
|
|
16
17
|
errorMessageLocation: 'belowCaption' | 'rightOfCaption';
|
|
17
18
|
formGroup: UntypedFormGroup;
|
|
@@ -31,5 +32,5 @@ export declare class FormComponent implements OnInit, OnDestroy {
|
|
|
31
32
|
trySubmit(): Promise<any>;
|
|
32
33
|
private setDisabledStatesForAllControls;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "klp-form", never, { "showErrorMessages": "showErrorMessages"; "errorMessageLocation": "errorMessageLocation"; "formGroup": "formGroup"; "patchValueInterceptor": "patchValueInterceptor"; }, {}, never, ["*"], false>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "klp-form", never, { "readOnly": "readOnly"; "showErrorMessages": "showErrorMessages"; "errorMessageLocation": "errorMessageLocation"; "formGroup": "formGroup"; "patchValueInterceptor": "patchValueInterceptor"; }, {}, never, ["*"], false>;
|
|
35
36
|
}
|