kwikid-forms 0.6.32 → 0.6.33
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/bundles/kwikid-forms.umd.js +907 -621
- package/bundles/kwikid-forms.umd.js.map +1 -1
- package/esm2015/lib/renderer/form-view/form-view.api.service.js +256 -0
- package/esm2015/lib/renderer/form-view/form-view.component.js +58 -63
- package/fesm2015/kwikid-forms.js +318 -72
- package/fesm2015/kwikid-forms.js.map +1 -1
- package/lib/renderer/form-view/form-view.api.service.d.ts +11 -0
- package/lib/renderer/form-view/form-view.component.d.ts +3 -1
- package/package.json +2 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
export declare class KwikIDFormViewApiService {
|
|
3
|
+
private bytecode;
|
|
4
|
+
constructor();
|
|
5
|
+
dataDerivativeLogic(data: any): string;
|
|
6
|
+
preProcessHeader(headerData: any, isVerifySignature: boolean): any;
|
|
7
|
+
verifySignature(data: any, header: any, url: any, isVerifySignature: any): Promise<unknown>;
|
|
8
|
+
post(url: any, body: any, headerData: any, isEncrypt?: boolean, isDecrypt?: boolean, isVerifySignature?: boolean, isSkipHeaderAlteration?: boolean): Observable<unknown>;
|
|
9
|
+
get(url: any, headerData?: any, isDecrypt?: boolean, isVerifySignature?: boolean, isSkipHeaderAlteration?: boolean): Observable<unknown>;
|
|
10
|
+
executeApiCall(url: any, method: any, body: any, headers: any, isEncrypt: any, isDecrypt: any, isVerifySignature: any): Promise<unknown>;
|
|
11
|
+
}
|
|
@@ -10,11 +10,13 @@ import { TApi, TApiTimer } from "./definitions/form-view.apis.definition";
|
|
|
10
10
|
import { TFormViewGoBackMode, TMessage } from "./definitions/form-view.commons.definition";
|
|
11
11
|
import { TFieldApiCall, TFieldTitle } from "./definitions/form-view.fields.definition";
|
|
12
12
|
import { ELogEventType } from "./definitions/form-view.logs.definition";
|
|
13
|
+
import { KwikIDFormViewApiService } from "./form-view.api.service";
|
|
13
14
|
import { KwikIDFormViewService } from "./form-view.service";
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
16
17
|
private cd;
|
|
17
18
|
private formViewService;
|
|
19
|
+
private formViewApiService;
|
|
18
20
|
protected readonly push: TuiPushService;
|
|
19
21
|
protected readonly alertService: TuiAlertService;
|
|
20
22
|
private readonly previewDialogService;
|
|
@@ -81,7 +83,7 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit, O
|
|
|
81
83
|
taskData: any;
|
|
82
84
|
previewDialogRef: any;
|
|
83
85
|
formGroup: FormGroup;
|
|
84
|
-
constructor(cd: ChangeDetectorRef, formViewService: KwikIDFormViewService, push: TuiPushService, alertService: TuiAlertService, previewDialogService: TuiPreviewDialogService, dialogService: TuiDialogService, loaderService: KwikUILoaderService, cameraRecordService: KwikIDCameraRecordService, ref: ChangeDetectorRef);
|
|
86
|
+
constructor(cd: ChangeDetectorRef, formViewService: KwikIDFormViewService, formViewApiService: KwikIDFormViewApiService, push: TuiPushService, alertService: TuiAlertService, previewDialogService: TuiPreviewDialogService, dialogService: TuiDialogService, loaderService: KwikUILoaderService, cameraRecordService: KwikIDCameraRecordService, ref: ChangeDetectorRef);
|
|
85
87
|
ngOnInit(): void;
|
|
86
88
|
ngAfterViewInit(): void;
|
|
87
89
|
ngOnChanges(changes: SimpleChanges): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kwikid-forms",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.33",
|
|
4
4
|
"description": "KwikID's JSON Configuration based Forms Renderer and Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Baiju Dodhia"
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"@angular/core": ">=6.0.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"axios": "^1.6.8",
|
|
24
25
|
"jsonpath": "^1.1.1",
|
|
25
26
|
"kwikid-camera": "0.0.21",
|
|
26
27
|
"kwikid-toolkit": "^0.2.6",
|