@regulaforensics/idv-gui 2.5.186-nightly → 2.5.189-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,8 +1,35 @@
1
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
+
3
+ declare function AgeIcon({ size }: {
4
+ size?: number;
5
+ color?: string;
6
+ }): JSX_2.Element;
7
+
8
+ declare function AndroidIcon({ size, color }: {
9
+ size?: number;
10
+ color?: string;
11
+ }): JSX_2.Element;
12
+
13
+ declare function ArrowIcon({ size }: {
14
+ size?: number;
15
+ color?: string;
16
+ }): JSX_2.Element;
17
+
18
+ declare function BackIcon({ size }: {
19
+ size?: number;
20
+ color?: string;
21
+ }): JSX_2.Element;
22
+
1
23
  declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unknown> extends HTMLElement {
2
24
  abstract props: IdvModuleProps<TModuleProps, TModulesConfig> | null;
3
25
  abstract setProps(config: IdvModuleProps<TModuleProps, TModulesConfig>): void;
4
26
  }
5
27
 
28
+ declare function BiometricIcon({ size }: {
29
+ size?: number;
30
+ color?: string;
31
+ }): JSX_2.Element;
32
+
6
33
  declare const ContentMode: {
7
34
  readonly ASPECT_FILL: "ASPECT_FILL";
8
35
  readonly ASPECT_FIT: "ASPECT_FIT";
@@ -29,6 +56,11 @@ declare type DropdownControl = {
29
56
  expandButton?: UIImage;
30
57
  };
31
58
 
59
+ declare function ErrorIcon({ size, color }: {
60
+ size?: number;
61
+ color?: string;
62
+ }): JSX_2.Element;
63
+
32
64
  declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
33
65
  private _root;
34
66
  private _mounted;
@@ -133,6 +165,59 @@ export declare const IDV_UI_ICONS: {
133
165
 
134
166
  export declare type IDV_UI_ICONS = (typeof IDV_UI_ICONS)[keyof typeof IDV_UI_ICONS];
135
167
 
168
+ export declare const idvIconComponents: {
169
+ warning_icon: typeof WarningIcon;
170
+ spinner: ({ indicatorColor }: {
171
+ indicatorColor?: string;
172
+ }) => JSX_2.Element;
173
+ failure: typeof ErrorIcon;
174
+ age: typeof AgeIcon;
175
+ android: typeof AndroidIcon;
176
+ arrow: typeof ArrowIcon;
177
+ apple: ({ size, color }: {
178
+ size?: number;
179
+ color?: string;
180
+ }) => JSX_2.Element;
181
+ back: typeof BackIcon;
182
+ biometricIcon: typeof BiometricIcon;
183
+ info: typeof InfoIcon;
184
+ toMobile: typeof ToMobileIcon;
185
+ underage: typeof UnderageIcon;
186
+ cross: ({ size, color }: {
187
+ size?: number;
188
+ color?: string;
189
+ }) => JSX_2.Element;
190
+ regulaLogo: ({ size, color }: {
191
+ size?: number;
192
+ color?: string;
193
+ }) => JSX_2.Element;
194
+ empty: () => JSX_2.Element;
195
+ signature: typeof PoweredByRegula;
196
+ success: ({ size, color }: {
197
+ size?: number;
198
+ color?: string;
199
+ }) => JSX_2.Element;
200
+ onboardingScanYourId: () => JSX_2.Element;
201
+ onboardingReadRfidChip: () => JSX_2.Element;
202
+ onboardgTakeASelfie: () => JSX_2.Element;
203
+ prepareDocumentStep: () => JSX_2.Element;
204
+ prepareLivenessStep: () => 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;
209
+ selected: ({ color }: {
210
+ color?: string | undefined;
211
+ }) => JSX_2.Element;
212
+ chevronDown: ({ color }: {
213
+ color?: string | undefined;
214
+ }) => JSX_2.Element;
215
+ close_icon: ({ size, color }: {
216
+ size?: number;
217
+ color?: string;
218
+ }) => JSX_2.Element;
219
+ };
220
+
136
221
  declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
137
222
  isProcessing?: (isProcessing: boolean) => void;
138
223
  moduleProps: TModuleProps;
@@ -141,6 +226,11 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
141
226
  idvEventListener: (module: string, data: any) => void;
142
227
  };
143
228
 
229
+ declare function InfoIcon({ size, color }: {
230
+ size?: number;
231
+ color?: string;
232
+ }): JSX_2.Element;
233
+
144
234
  declare type JsonArray = JsonValue[];
145
235
 
146
236
  declare type JsonObject = {
@@ -149,6 +239,8 @@ declare type JsonObject = {
149
239
 
150
240
  declare type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
151
241
 
242
+ declare function PoweredByRegula(): JSX_2.Element;
243
+
152
244
  declare type QuestionDataSource = {
153
245
  id: string | number;
154
246
  placeholder?: string | null;
@@ -231,6 +323,11 @@ declare const TextAlignment: {
231
323
 
232
324
  declare type TextAlignment = (typeof TextAlignment)[keyof typeof TextAlignment];
233
325
 
326
+ declare function ToMobileIcon({ size }: {
327
+ size?: number;
328
+ color?: string;
329
+ }): JSX_2.Element;
330
+
234
331
  declare type UIButton = {
235
332
  type?: 'RESPONSE_BODY' | 'FORM';
236
333
  title?: UILabel;
@@ -422,6 +519,11 @@ declare type UITextQuestion = QuestionItem & {
422
519
  textField?: UITextField;
423
520
  };
424
521
 
522
+ declare function UnderageIcon({ size }: {
523
+ size?: number;
524
+ color?: string;
525
+ }): JSX_2.Element;
526
+
425
527
  declare type Validator = {
426
528
  type: typeof VALIDATOR_TYPE.NOT_EMPTY;
427
529
  message: string;
@@ -438,4 +540,9 @@ declare const VALIDATOR_TYPE: {
438
540
 
439
541
  declare type VALIDATOR_TYPE = (typeof VALIDATOR_TYPE)[keyof typeof VALIDATOR_TYPE];
440
542
 
543
+ declare function WarningIcon({ size, color }: {
544
+ size?: number;
545
+ color?: string;
546
+ }): JSX_2.Element;
547
+
441
548
  export { }