@regulaforensics/idv-gui 3.2.289-nightly → 3.2.292-nightly
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/dist/index.d.ts +30 -32
- package/dist/main.iife.js +4 -4
- package/dist/main.js +927 -939
- package/dist/main.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent } from 'preact';
|
|
2
|
+
import { JSX } from 'preact';
|
|
2
3
|
|
|
3
4
|
declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unknown> extends HTMLElement {
|
|
4
5
|
abstract props: IdvModuleProps<TModuleProps, TModulesConfig> | null;
|
|
@@ -52,9 +53,9 @@ export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig>
|
|
|
52
53
|
static getIdentifier: () => string;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
export declare const GuiIdvReactComponent:
|
|
56
|
+
export declare const GuiIdvReactComponent: ({ isProcessing: setIsProcessingCallback, moduleProps, perform, devSettings, }: IdvModuleProps<GuiModuleProps, GuiModuleConfig> & {
|
|
56
57
|
devSettings?: GuiModuleDevSettings;
|
|
57
|
-
}
|
|
58
|
+
}) => JSX.Element;
|
|
58
59
|
|
|
59
60
|
export declare const GuiIdvSteps: {
|
|
60
61
|
readonly INFO: "INFO";
|
|
@@ -88,39 +89,36 @@ export declare const GuiModuleError: {
|
|
|
88
89
|
export declare type GuiModuleError = (typeof GuiModuleError)[keyof typeof GuiModuleError];
|
|
89
90
|
|
|
90
91
|
export declare type GuiModuleProps = {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
[GuiIdvSteps.INFO]: UIInfoScreenClientConfig;
|
|
106
|
-
[GuiIdvSteps.INFO_DETAILS]: UIInfoDetailsScreenClientConfig;
|
|
107
|
-
[GuiIdvSteps.PROGRESS]: UIProgressScreenClientConfig;
|
|
108
|
-
[GuiIdvSteps.STATUS]: UIStatusScreenClientConfig;
|
|
109
|
-
[GuiIdvSteps.QUESTIONS]: UIQuestionsScreenClientConfig;
|
|
110
|
-
[GuiIdvSteps.CAMERA]: UICameraScreenClientConfig;
|
|
111
|
-
[GuiIdvSteps.GALLERY]: UIGalleryScreenClientConfig;
|
|
112
|
-
[GuiIdvSteps.GEOLOCATION]: UIGeolocationScreenClientConfig;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
export declare type GuiModulePropsUnknown = {
|
|
116
|
-
templateId: string;
|
|
117
|
-
templateLayout?: Record<string, any>;
|
|
118
|
-
dataSource?: Record<string, unknown> | null;
|
|
119
|
-
sessionId?: string;
|
|
120
|
-
serviceToken?: string;
|
|
92
|
+
templateId: typeof GuiIdvSteps.INFO;
|
|
93
|
+
templateLayout: UIInfoScreenClientConfig;
|
|
94
|
+
} | {
|
|
95
|
+
templateId: typeof GuiIdvSteps.INFO_DETAILS;
|
|
96
|
+
templateLayout: UIInfoDetailsScreenClientConfig;
|
|
97
|
+
} | {
|
|
98
|
+
templateId: typeof GuiIdvSteps.STATUS;
|
|
99
|
+
templateLayout: UIStatusScreenClientConfig;
|
|
100
|
+
} | {
|
|
101
|
+
templateId: typeof GuiIdvSteps.PROGRESS;
|
|
102
|
+
templateLayout: UIProgressScreenClientConfig;
|
|
103
|
+
} | {
|
|
104
|
+
templateId: typeof GuiIdvSteps.GALLERY;
|
|
105
|
+
templateLayout: UIGalleryScreenClientConfig;
|
|
121
106
|
backgroundColor?: string;
|
|
122
107
|
selectionLimit?: number;
|
|
108
|
+
} | {
|
|
109
|
+
templateId: typeof GuiIdvSteps.CAMERA;
|
|
110
|
+
templateLayout: UICameraScreenClientConfig;
|
|
111
|
+
backgroundColor?: string;
|
|
112
|
+
selectionLimit?: number;
|
|
113
|
+
} | {
|
|
114
|
+
templateId: typeof GuiIdvSteps.GEOLOCATION;
|
|
115
|
+
templateLayout: UIGeolocationScreenClientConfig;
|
|
123
116
|
getLocationTimeout?: number;
|
|
117
|
+
} | {
|
|
118
|
+
templateId: typeof GuiIdvSteps.QUESTIONS;
|
|
119
|
+
templateLayout: UIQuestionsScreenClientConfig;
|
|
120
|
+
dataSource?: QuestionsDataSource | null;
|
|
121
|
+
properties?: SessionPropertiesItem[];
|
|
124
122
|
};
|
|
125
123
|
|
|
126
124
|
export declare const IDV_UI_ICONS: {
|