kwikid-forms 0.6.40 → 0.6.42

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.
@@ -27,6 +27,7 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit, O
27
27
  readonly dialog: TemplateRef<TuiDialogContext<void>>;
28
28
  readonly preview: TemplateRef<TuiDialogContext<void>>;
29
29
  allFormsData: any;
30
+ extraData: any;
30
31
  apiCallResponse: any;
31
32
  buttonClickResponse: any;
32
33
  formConfig: any;
@@ -204,5 +205,5 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit, O
204
205
  takeActionOnFieldGroup(action: TAction, object: any): Promise<void>;
205
206
  takeAction(action: TAction, object: any): Promise<void>;
206
207
  static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDFormViewComponent, never>;
207
- static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDFormViewComponent, "kwikid-form-view", never, { "allFormsData": "allFormsData"; "apiCallResponse": "apiCallResponse"; "buttonClickResponse": "buttonClickResponse"; "formConfig": "formConfig"; "formData": "formData"; "isMobileView": "isMobileView"; "popupFormCallback": "popupFormCallback"; "userConfig": "userConfig"; "stepConfig": "stepConfig"; }, { "getLogs": "getLogs"; "getUnsavedDataState": "getUnsavedDataState"; "onActionShowPopupForm": "onActionShowPopupForm"; "onClickApiCall": "onClickApiCall"; "onClickViewFile": "onClickViewFile"; "onClickFormFieldButton": "onClickFormFieldButton"; "onClickGoBack": "onClickGoBack"; "onClickSaveForm": "onClickSaveForm"; "onClickViewForms": "onClickViewForms"; }, never, never>;
208
+ static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDFormViewComponent, "kwikid-form-view", never, { "allFormsData": "allFormsData"; "extraData": "extraData"; "apiCallResponse": "apiCallResponse"; "buttonClickResponse": "buttonClickResponse"; "formConfig": "formConfig"; "formData": "formData"; "isMobileView": "isMobileView"; "popupFormCallback": "popupFormCallback"; "userConfig": "userConfig"; "stepConfig": "stepConfig"; }, { "getLogs": "getLogs"; "getUnsavedDataState": "getUnsavedDataState"; "onActionShowPopupForm": "onActionShowPopupForm"; "onClickApiCall": "onClickApiCall"; "onClickViewFile": "onClickViewFile"; "onClickFormFieldButton": "onClickFormFieldButton"; "onClickGoBack": "onClickGoBack"; "onClickSaveForm": "onClickSaveForm"; "onClickViewForms": "onClickViewForms"; }, never, never>;
208
209
  }
@@ -1,5 +1,5 @@
1
1
  import { FormGroup } from "@angular/forms";
2
2
  export declare class KwikIDFormViewService {
3
3
  constructor();
4
- createFormGroup(fields: any, formData: any, previousFormData: any, allFormsData: any, takeAction: Function): Promise<FormGroup>;
4
+ createFormGroup(fields: any, formData: any, previousFormData: any, allFormsData: any, extraData: any, takeAction: Function): Promise<FormGroup>;
5
5
  }
@@ -5,7 +5,8 @@ export declare class CameraHelper {
5
5
  private _formFields;
6
6
  private _formData;
7
7
  private _previousFormData;
8
+ private _extraData;
8
9
  private cameraData;
9
- constructor(field: TFieldCapture, formFields: any[], allFormsData: any, formData: any, previousFormData: any);
10
+ constructor(field: TFieldCapture, formFields: any[], allFormsData: any, formData: any, previousFormData: any, extraData: any);
10
11
  getCameraWatermarkData(): Promise<any>;
11
12
  }
@@ -5,8 +5,9 @@ export declare class Defaults {
5
5
  private _formFields;
6
6
  private _formData;
7
7
  private _previousFormData;
8
+ private _extraData;
8
9
  private _takeAction;
9
- constructor(field: TField, formFields: any[], allFormsData: any, formData: any, previousFormData: any, takeAction: Function);
10
+ constructor(field: TField, formFields: any[], allFormsData: any, formData: any, previousFormData: any, extraData: any, takeAction: Function);
10
11
  getFormFieldValue(): Promise<any>;
11
12
  getFormFieldApiValue(): Promise<void>;
12
13
  getFormFieldOptions(): Promise<void>;
@@ -16,6 +16,7 @@ export declare class KwikIDFormsRendererComponent implements OnInit, OnChanges {
16
16
  stepConfig: any;
17
17
  userConfig: any;
18
18
  formsData: any;
19
+ extraData: any;
19
20
  activeFormData: any;
20
21
  apiCallResponse: any;
21
22
  buttonClickResponse: any;
@@ -137,5 +138,5 @@ export declare class KwikIDFormsRendererComponent implements OnInit, OnChanges {
137
138
  */
138
139
  handleResize(formsList: any[]): void;
139
140
  static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDFormsRendererComponent, never>;
140
- static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDFormsRendererComponent, "kwikid-forms-renderer", never, { "stepConfig": "stepConfig"; "userConfig": "userConfig"; "formsData": "formsData"; "activeFormData": "activeFormData"; "apiCallResponse": "apiCallResponse"; "buttonClickResponse": "buttonClickResponse"; }, { "onClickSubmit": "onClickSubmit"; "getFormData": "getFormData"; "onClickApiCall": "onClickApiCall"; "onClickViewFile": "onClickViewFile"; "getLogs": "getLogs"; "onClickFormFieldButton": "onClickFormFieldButton"; }, never, never>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDFormsRendererComponent, "kwikid-forms-renderer", never, { "stepConfig": "stepConfig"; "userConfig": "userConfig"; "formsData": "formsData"; "extraData": "extraData"; "activeFormData": "activeFormData"; "apiCallResponse": "apiCallResponse"; "buttonClickResponse": "buttonClickResponse"; }, { "onClickSubmit": "onClickSubmit"; "getFormData": "getFormData"; "onClickApiCall": "onClickApiCall"; "onClickViewFile": "onClickViewFile"; "getLogs": "getLogs"; "onClickFormFieldButton": "onClickFormFieldButton"; }, never, never>;
141
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwikid-forms",
3
- "version": "0.6.40",
3
+ "version": "0.6.42",
4
4
  "description": "KwikID's JSON Configuration based Forms Renderer and Builder",
5
5
  "author": {
6
6
  "name": "Baiju Dodhia"