@klippa/ngx-enhancy-forms 14.7.7 → 14.7.9

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.
@@ -5,12 +5,11 @@ import * as i0 from "@angular/core";
5
5
  export declare class FormErrorComponent implements OnInit {
6
6
  private parent;
7
7
  error: ErrorTypes;
8
- showErrorValueAsMessage: boolean;
9
8
  showError: boolean;
10
9
  contentRef: ElementRef;
11
10
  constructor(parent: FormElementComponent);
12
11
  ngOnInit(): void;
13
12
  getErrorValueMessage(): string;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorComponent, [{ optional: true; host: true; }]>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FormErrorComponent, "klp-form-error", never, { "error": "error"; "showErrorValueAsMessage": "showErrorValueAsMessage"; }, {}, never, ["*"], false>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormErrorComponent, "klp-form-error", never, { "error": "error"; }, {}, never, ["*"], false>;
16
15
  }
@@ -31,6 +31,7 @@ export declare class FormComponent implements OnInit, OnDestroy, OnChanges {
31
31
  private addFormControl;
32
32
  private disableInactiveFormControl;
33
33
  trySubmit(): Promise<any>;
34
+ private handleSubmission;
34
35
  private getRenderedFieldValuesFormGroup;
35
36
  private getRenderedFieldValuesFormArray;
36
37
  private setDisabledStatesForAllControls;
package/lib/types.d.ts CHANGED
@@ -12,4 +12,4 @@ export interface FormErrorMessages {
12
12
  }
13
13
  export declare type CustomErrorMessages = Record<keyof FormErrorMessages, () => string>;
14
14
  export declare type KlpDateFormats = (format: string) => MatDateFormats;
15
- export declare type ErrorTypes = keyof FormErrorMessages | 'message';
15
+ export declare type ErrorTypes = keyof FormErrorMessages | 'message' | 'async';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klippa/ngx-enhancy-forms",
3
- "version": "14.7.7",
3
+ "version": "14.7.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },