@regulaforensics/idv-gui 2.5.200-nightly → 2.5.207-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 +35 -1
- package/dist/main.iife.js +32 -31
- package/dist/main.js +8792 -6944
- package/dist/main.umd.cjs +32 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
|
|
|
72
72
|
private render;
|
|
73
73
|
disconnectedCallback(): void;
|
|
74
74
|
static isReady(): boolean;
|
|
75
|
-
static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS")[];
|
|
75
|
+
static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS" | "CAMERA" | "GALLERY")[];
|
|
76
76
|
static initialize(modulesConfig: Record<string, unknown>): void;
|
|
77
77
|
static deinitialize(): void;
|
|
78
78
|
static getIdentifier: () => string;
|
|
@@ -88,6 +88,8 @@ export declare const GuiIdvSteps: {
|
|
|
88
88
|
readonly STATUS: "STATUS";
|
|
89
89
|
readonly PROGRESS: "PROGRESS";
|
|
90
90
|
readonly QUESTIONS: "QUESTIONS";
|
|
91
|
+
readonly CAMERA: "CAMERA";
|
|
92
|
+
readonly GALLERY: "GALLERY";
|
|
91
93
|
};
|
|
92
94
|
|
|
93
95
|
export declare type GuiIdvSteps = (typeof GuiIdvSteps)[keyof typeof GuiIdvSteps];
|
|
@@ -112,6 +114,8 @@ export declare type GuiModuleProps = {
|
|
|
112
114
|
properties?: SessionPropertiesItem[];
|
|
113
115
|
sessionId?: string;
|
|
114
116
|
serviceToken?: string;
|
|
117
|
+
backgroundColor?: string;
|
|
118
|
+
selectionLimit?: number;
|
|
115
119
|
};
|
|
116
120
|
}[keyof GuiModulePropsMap];
|
|
117
121
|
|
|
@@ -121,6 +125,8 @@ declare type GuiModulePropsMap = {
|
|
|
121
125
|
[GuiIdvSteps.PROGRESS]: UIProgressScreenClientConfig;
|
|
122
126
|
[GuiIdvSteps.STATUS]: UIStatusScreenClientConfig;
|
|
123
127
|
[GuiIdvSteps.QUESTIONS]: UIQuestionsScreenClientConfig;
|
|
128
|
+
[GuiIdvSteps.CAMERA]: UICameraScreenClientConfig;
|
|
129
|
+
[GuiIdvSteps.GALLERY]: UIGalleryScreenClientConfig;
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
export declare type GuiModulePropsUnknown = {
|
|
@@ -129,6 +135,8 @@ export declare type GuiModulePropsUnknown = {
|
|
|
129
135
|
dataSource?: Record<string, unknown> | null;
|
|
130
136
|
sessionId?: string;
|
|
131
137
|
serviceToken?: string;
|
|
138
|
+
backgroundColor?: string;
|
|
139
|
+
selectionLimit?: number;
|
|
132
140
|
};
|
|
133
141
|
|
|
134
142
|
export declare const IDV_UI_ICONS: {
|
|
@@ -161,6 +169,8 @@ export declare const IDV_UI_ICONS: {
|
|
|
161
169
|
readonly SELECTED: "selected";
|
|
162
170
|
readonly CHEVRON_DOWN: "chevronDown";
|
|
163
171
|
readonly CLOSE_ICON: "close_icon";
|
|
172
|
+
readonly GALLERY_ICON: "gallery";
|
|
173
|
+
readonly CAMERA_ICON: "camera";
|
|
164
174
|
};
|
|
165
175
|
|
|
166
176
|
export declare type IDV_UI_ICONS = (typeof IDV_UI_ICONS)[keyof typeof IDV_UI_ICONS];
|
|
@@ -216,6 +226,14 @@ export declare const idvIconComponents: {
|
|
|
216
226
|
size?: number;
|
|
217
227
|
color?: string;
|
|
218
228
|
}) => JSX_2.Element;
|
|
229
|
+
gallery: ({ size, color }: {
|
|
230
|
+
size?: number;
|
|
231
|
+
color?: string;
|
|
232
|
+
}) => JSX_2.Element;
|
|
233
|
+
camera: ({ size, color }: {
|
|
234
|
+
size?: number;
|
|
235
|
+
color?: string;
|
|
236
|
+
}) => JSX_2.Element;
|
|
219
237
|
};
|
|
220
238
|
|
|
221
239
|
declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
@@ -342,6 +360,14 @@ declare type UIButton = {
|
|
|
342
360
|
|
|
343
361
|
declare type UIButtonOption = UIButton;
|
|
344
362
|
|
|
363
|
+
declare type UICameraScreenClientConfig = {
|
|
364
|
+
header?: UIInfoHeaderView;
|
|
365
|
+
footer?: UIInfoFooterView;
|
|
366
|
+
backgroundColor?: string;
|
|
367
|
+
buttons?: UIButton[];
|
|
368
|
+
selectionLimit?: number;
|
|
369
|
+
};
|
|
370
|
+
|
|
345
371
|
declare type UIChip = {
|
|
346
372
|
title?: UILabel;
|
|
347
373
|
removeImage?: UIImage;
|
|
@@ -382,6 +408,14 @@ declare type UIDropdownPicker = {
|
|
|
382
408
|
borderColor?: string;
|
|
383
409
|
};
|
|
384
410
|
|
|
411
|
+
declare type UIGalleryScreenClientConfig = {
|
|
412
|
+
header?: UIInfoHeaderView;
|
|
413
|
+
footer?: UIInfoFooterView;
|
|
414
|
+
backgroundColor?: string;
|
|
415
|
+
buttons?: UIButton[];
|
|
416
|
+
selectionLimit?: number;
|
|
417
|
+
};
|
|
418
|
+
|
|
385
419
|
declare type UIImage = {
|
|
386
420
|
imageURL?: string;
|
|
387
421
|
base64?: string;
|