kwikid-forms 0.3.16 → 0.3.18
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 +32 -4
- package/bundles/kwikid-forms.umd.js.map +1 -1
- package/esm2015/lib/renderer/form-view/form-view.component.js +18 -4
- package/esm2015/lib/renderer/renderer.component.js +16 -2
- package/fesm2015/kwikid-forms.js +32 -4
- package/fesm2015/kwikid-forms.js.map +1 -1
- package/lib/renderer/form-view/form-view.component.d.ts +4 -1
- package/lib/renderer/renderer.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit {
|
|
|
21
21
|
formData: any;
|
|
22
22
|
isMobileView: boolean;
|
|
23
23
|
allFormsData: any;
|
|
24
|
+
userConfig: any;
|
|
24
25
|
popupFormCallback: any;
|
|
25
26
|
onClickGoBack: EventEmitter<any>;
|
|
26
27
|
onClickViewForms: EventEmitter<any>;
|
|
@@ -33,6 +34,7 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit {
|
|
|
33
34
|
previewProperties: any;
|
|
34
35
|
loading: boolean;
|
|
35
36
|
apiLoading: boolean;
|
|
37
|
+
loaderType: string;
|
|
36
38
|
backButton: {
|
|
37
39
|
disabled: boolean;
|
|
38
40
|
showLoader: boolean;
|
|
@@ -56,6 +58,7 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit {
|
|
|
56
58
|
ngOnInit(): void;
|
|
57
59
|
ngAfterViewInit(): void;
|
|
58
60
|
ngOnChanges(changes: SimpleChanges): void;
|
|
61
|
+
setLoaderType(): void;
|
|
59
62
|
initFormConfig(formConfig: any): Promise<boolean>;
|
|
60
63
|
setFormFieldsFromFormConfig(formConfig: any): void;
|
|
61
64
|
setFormFieldGroupsFromFormConfig(formConfig: any): void;
|
|
@@ -128,5 +131,5 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit {
|
|
|
128
131
|
*/
|
|
129
132
|
logVariables(message: string, ...obj: any): void;
|
|
130
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDFormViewComponent, never>;
|
|
131
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDFormViewComponent, "kwikid-form-view", never, { "formConfig": "formConfig"; "formData": "formData"; "isMobileView": "isMobileView"; "allFormsData": "allFormsData"; "popupFormCallback": "popupFormCallback"; }, { "onClickGoBack": "onClickGoBack"; "onClickViewForms": "onClickViewForms"; "onClickSaveForm": "onClickSaveForm"; "onClickApiCall": "onClickApiCall"; "onActionShowPopupForm": "onActionShowPopupForm"; }, never, never>;
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDFormViewComponent, "kwikid-form-view", never, { "formConfig": "formConfig"; "formData": "formData"; "isMobileView": "isMobileView"; "allFormsData": "allFormsData"; "userConfig": "userConfig"; "popupFormCallback": "popupFormCallback"; }, { "onClickGoBack": "onClickGoBack"; "onClickViewForms": "onClickViewForms"; "onClickSaveForm": "onClickSaveForm"; "onClickApiCall": "onClickApiCall"; "onActionShowPopupForm": "onActionShowPopupForm"; }, never, never>;
|
|
132
135
|
}
|
|
@@ -20,6 +20,7 @@ export declare class KwikIDFormsRendererComponent implements OnInit, OnChanges {
|
|
|
20
20
|
onClickApiCall: EventEmitter<any>;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
loader: boolean;
|
|
23
|
+
loaderType: string;
|
|
23
24
|
showErrorNotification: boolean;
|
|
24
25
|
toggleErrorNotification(show: any): void;
|
|
25
26
|
activePopupFormData: any;
|
|
@@ -39,6 +40,7 @@ export declare class KwikIDFormsRendererComponent implements OnInit, OnChanges {
|
|
|
39
40
|
constructor(hostElement: ElementRef, cdr: ChangeDetectorRef, previewDialogService: TuiPreviewDialogService, dialogs: TuiDialogService);
|
|
40
41
|
ngOnInit(): void;
|
|
41
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
setLoaderType(): void;
|
|
42
44
|
fetchFormConfig(url: string): Promise<any>;
|
|
43
45
|
initializeForms(eventType: string): Promise<void>;
|
|
44
46
|
convertFormListConfig(formsList: any[]): any[];
|