@regulaforensics/idv-gui 3.1.232-nightly → 3.2.234-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 CHANGED
@@ -1,24 +1,24 @@
1
- import { JSX as JSX_2 } from 'react/jsx-runtime';
1
+ import { JSX } from 'react/jsx-runtime';
2
2
 
3
3
  declare function AgeIcon({ size }: {
4
4
  size?: number;
5
5
  color?: string;
6
- }): JSX_2.Element;
6
+ }): JSX.Element;
7
7
 
8
8
  declare function AndroidIcon({ size, color }: {
9
9
  size?: number;
10
10
  color?: string;
11
- }): JSX_2.Element;
11
+ }): JSX.Element;
12
12
 
13
13
  declare function ArrowIcon({ size }: {
14
14
  size?: number;
15
15
  color?: string;
16
- }): JSX_2.Element;
16
+ }): JSX.Element;
17
17
 
18
18
  declare function BackIcon({ size }: {
19
19
  size?: number;
20
20
  color?: string;
21
- }): JSX_2.Element;
21
+ }): JSX.Element;
22
22
 
23
23
  declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unknown> extends HTMLElement {
24
24
  abstract props: IdvModuleProps<TModuleProps, TModulesConfig> | null;
@@ -28,7 +28,7 @@ declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unkno
28
28
  declare function BiometricIcon({ size }: {
29
29
  size?: number;
30
30
  color?: string;
31
- }): JSX_2.Element;
31
+ }): JSX.Element;
32
32
 
33
33
  declare const ContentMode: {
34
34
  readonly ASPECT_FILL: "ASPECT_FILL";
@@ -59,7 +59,7 @@ declare type DropdownControl = {
59
59
  declare function ErrorIcon({ size, color }: {
60
60
  size?: number;
61
61
  color?: string;
62
- }): JSX_2.Element;
62
+ }): JSX.Element;
63
63
 
64
64
  declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
65
65
  private _root;
@@ -73,7 +73,7 @@ declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
73
73
  disconnectedCallback(): void;
74
74
  static isReady(): boolean;
75
75
  static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS" | "CAMERA" | "GALLERY")[];
76
- static initialize(modulesConfig: Record<string, unknown>): void;
76
+ static initialize(_modulesConfig: Record<string, unknown>): void;
77
77
  static deinitialize(): void;
78
78
  static getIdentifier: () => string;
79
79
  }
@@ -174,7 +174,7 @@ export declare const idvIconComponents: {
174
174
  warning_icon: typeof WarningIcon;
175
175
  spinner: ({ indicatorColor }: {
176
176
  indicatorColor?: string;
177
- }) => JSX_2.Element;
177
+ }) => JSX.Element;
178
178
  failure: typeof ErrorIcon;
179
179
  age: typeof AgeIcon;
180
180
  android: typeof AndroidIcon;
@@ -182,7 +182,7 @@ export declare const idvIconComponents: {
182
182
  apple: ({ size, color }: {
183
183
  size?: number;
184
184
  color?: string;
185
- }) => JSX_2.Element;
185
+ }) => JSX.Element;
186
186
  back: typeof BackIcon;
187
187
  biometricIcon: typeof BiometricIcon;
188
188
  info: typeof InfoIcon;
@@ -191,39 +191,39 @@ export declare const idvIconComponents: {
191
191
  cross: ({ size, color }: {
192
192
  size?: number;
193
193
  color?: string;
194
- }) => JSX_2.Element;
194
+ }) => JSX.Element;
195
195
  regulaLogo: ({ size, color }: {
196
196
  size?: number;
197
197
  color?: string;
198
- }) => JSX_2.Element;
199
- empty: () => JSX_2.Element;
198
+ }) => JSX.Element;
199
+ empty: () => JSX.Element;
200
200
  signature: typeof PoweredByRegula;
201
201
  success: ({ size, color }: {
202
202
  size?: number;
203
203
  color?: string;
204
- }) => JSX_2.Element;
205
- radio_selected: () => JSX_2.Element;
206
- radio_normal: () => JSX_2.Element;
207
- square_selected: () => JSX_2.Element;
208
- square_normal: () => JSX_2.Element;
204
+ }) => JSX.Element;
205
+ radio_selected: () => JSX.Element;
206
+ radio_normal: () => JSX.Element;
207
+ square_selected: () => JSX.Element;
208
+ square_normal: () => JSX.Element;
209
209
  selected: ({ color }: {
210
210
  color?: string | undefined;
211
- }) => JSX_2.Element;
211
+ }) => JSX.Element;
212
212
  chevronDown: ({ color }: {
213
213
  color?: string | undefined;
214
- }) => JSX_2.Element;
214
+ }) => JSX.Element;
215
215
  close_icon: ({ size, color }: {
216
216
  size?: number;
217
217
  color?: string;
218
- }) => JSX_2.Element;
218
+ }) => JSX.Element;
219
219
  gallery: ({ size, color }: {
220
220
  size?: number;
221
221
  color?: string;
222
- }) => JSX_2.Element;
222
+ }) => JSX.Element;
223
223
  camera: ({ size, color }: {
224
224
  size?: number;
225
225
  color?: string;
226
- }) => JSX_2.Element;
226
+ }) => JSX.Element;
227
227
  };
228
228
 
229
229
  declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
@@ -237,7 +237,7 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
237
237
  declare function InfoIcon({ size, color }: {
238
238
  size?: number;
239
239
  color?: string;
240
- }): JSX_2.Element;
240
+ }): JSX.Element;
241
241
 
242
242
  declare type JsonArray = JsonValue[];
243
243
 
@@ -247,7 +247,7 @@ declare type JsonObject = {
247
247
 
248
248
  declare type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
249
249
 
250
- declare function PoweredByRegula(): JSX_2.Element;
250
+ declare function PoweredByRegula(): JSX.Element;
251
251
 
252
252
  declare type QuestionDataSource = {
253
253
  id: string | number;
@@ -334,7 +334,7 @@ declare type TextAlignment = (typeof TextAlignment)[keyof typeof TextAlignment];
334
334
  declare function ToMobileIcon({ size }: {
335
335
  size?: number;
336
336
  color?: string;
337
- }): JSX_2.Element;
337
+ }): JSX.Element;
338
338
 
339
339
  declare type UIButton = {
340
340
  type?: 'RESPONSE_BODY' | 'FORM';
@@ -545,7 +545,7 @@ declare type UITextQuestion = QuestionItem & {
545
545
  declare function UnderageIcon({ size }: {
546
546
  size?: number;
547
547
  color?: string;
548
- }): JSX_2.Element;
548
+ }): JSX.Element;
549
549
 
550
550
  declare type Validator = {
551
551
  type: typeof VALIDATOR_TYPE.NOT_EMPTY;
@@ -566,6 +566,6 @@ declare type VALIDATOR_TYPE = (typeof VALIDATOR_TYPE)[keyof typeof VALIDATOR_TYP
566
566
  declare function WarningIcon({ size, color }: {
567
567
  size?: number;
568
568
  color?: string;
569
- }): JSX_2.Element;
569
+ }): JSX.Element;
570
570
 
571
571
  export { }