@klippa/ngx-enhancy-forms 18.23.7 → 18.23.8
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, InjectionToken, OnDestroy, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, InjectionToken, NgZone, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AbstractControl, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { ValueAccessorBase } from '../../elements/value-accessor-base/value-accessor-base.component';
|
|
4
4
|
import { CustomErrorMessages, FormErrorMessages } from '../../types';
|
|
@@ -10,6 +10,7 @@ export declare class FormElementComponent implements AfterViewInit, OnDestroy {
|
|
|
10
10
|
private parent;
|
|
11
11
|
private customMessages;
|
|
12
12
|
private elRef;
|
|
13
|
+
private ngZone;
|
|
13
14
|
attachedControl: AbstractControl;
|
|
14
15
|
caption: string;
|
|
15
16
|
direction: 'horizontal' | 'vertical';
|
|
@@ -35,7 +36,7 @@ export declare class FormElementComponent implements AfterViewInit, OnDestroy {
|
|
|
35
36
|
errorFullyVisible: boolean;
|
|
36
37
|
private popupState;
|
|
37
38
|
private subscriptions;
|
|
38
|
-
constructor(parent: FormComponent, customMessages: CustomErrorMessages, elRef: ElementRef);
|
|
39
|
+
constructor(parent: FormComponent, customMessages: CustomErrorMessages, elRef: ElementRef, ngZone: NgZone);
|
|
39
40
|
ngAfterViewInit(): Promise<void>;
|
|
40
41
|
shouldShowErrorMessages(): boolean;
|
|
41
42
|
substituteParameters(message: string, parameters: Record<string, any>): string;
|
|
@@ -71,6 +72,6 @@ export declare class FormElementComponent implements AfterViewInit, OnDestroy {
|
|
|
71
72
|
setErrorTooltipOffset: () => void;
|
|
72
73
|
ngOnDestroy(): void;
|
|
73
74
|
private initializeTailTpl;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormElementComponent, [{ optional: true; }, { optional: true; }, null]>;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormElementComponent, [{ optional: true; }, { optional: true; }, null, null]>;
|
|
75
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormElementComponent, "klp-form-element", never, { "caption": { "alias": "caption"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "captionSpacing": { "alias": "captionSpacing"; "required": false; }; "verticalAlignment": { "alias": "verticalAlignment"; "required": false; }; "spaceDistribution": { "alias": "spaceDistribution"; "required": false; }; "swapInputAndCaption": { "alias": "swapInputAndCaption"; "required": false; }; "errorMessageAsTooltip": { "alias": "errorMessageAsTooltip"; "required": false; }; }, {}, ["fieldInput"], ["*"], false, never>;
|
|
76
77
|
}
|