@regulaforensics/ui-components 8.4.690-nightly → 8.4.693-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/README.md +24 -5
- package/dist/core/index.cjs +27 -19
- package/dist/core/index.css +2 -2
- package/dist/core/index.d.ts +10232 -0
- package/dist/core/index.js +33586 -33274
- package/dist/main/index.cjs +27 -19
- package/dist/main/index.css +2 -2
- package/dist/main/index.d.ts +10232 -0
- package/dist/main/index.js +33581 -33269
- package/dist/typings/index.cjs +23 -0
- package/dist/typings/index.d.ts +9391 -0
- package/dist/typings/index.js +16365 -0
- package/package.json +36 -10
- package/dist/index.d.ts +0 -848
package/dist/index.d.ts
DELETED
|
@@ -1,848 +0,0 @@
|
|
|
1
|
-
import { eCheckResult } from '@regulaforensics/document-reader-typings';
|
|
2
|
-
import { eRfidApplicationType } from '@regulaforensics/document-reader-typings';
|
|
3
|
-
import { FC } from 'react';
|
|
4
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
5
|
-
import { HTMLAttributes } from 'react';
|
|
6
|
-
import { iRImageQuality } from '@regulaforensics/document-reader-typings';
|
|
7
|
-
import { iRLocation } from '@regulaforensics/document-reader-typings';
|
|
8
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
9
|
-
import { RAuthenticityCheckGroupsItem } from '@regulaforensics/document-reader-typings';
|
|
10
|
-
import { ReactNode } from 'react';
|
|
11
|
-
import { RefAttributes } from 'react';
|
|
12
|
-
import { TDetectResponse } from '@regulaforensics/facesdk-webclient';
|
|
13
|
-
|
|
14
|
-
/** Displays the document processing time and additional fields. */
|
|
15
|
-
export declare const About: FC<IAboutProps>;
|
|
16
|
-
|
|
17
|
-
/** Display warning messages that require attention. */
|
|
18
|
-
export declare const Alert: FC<IAlertProps>;
|
|
19
|
-
|
|
20
|
-
/** Arrow icon */
|
|
21
|
-
declare const Arrow: FC<IArrowProps>;
|
|
22
|
-
|
|
23
|
-
declare const AuthenticityLabel: FC<iAuthenticityLabelProps>;
|
|
24
|
-
|
|
25
|
-
declare const AuthenticityTextCheckReference: FC<iAuthenticityTextCheckReferenceProps>;
|
|
26
|
-
|
|
27
|
-
/** Skeleton. */
|
|
28
|
-
declare const Block: FC<IBlockProps>;
|
|
29
|
-
|
|
30
|
-
/** Brackets icon. */
|
|
31
|
-
declare const Brackets: FC<IBracketsProps>;
|
|
32
|
-
|
|
33
|
-
declare const CheckDiagnose: FC<iCheckDiagnoseProps>;
|
|
34
|
-
|
|
35
|
-
export declare const checkLocation: (rects: ICheckLocationProps[]) => boolean;
|
|
36
|
-
|
|
37
|
-
declare const CheckResultVerification: FC<iCheckResultVerificationProps>;
|
|
38
|
-
|
|
39
|
-
export declare const checkSelection: (selections: ISelection[], current: ISelection[]) => boolean;
|
|
40
|
-
|
|
41
|
-
/** ClosedEye icon. */
|
|
42
|
-
declare const ClosedEye: FC<IClosedEyeProps>;
|
|
43
|
-
|
|
44
|
-
/** A content area which can be collapsed and expanded. */
|
|
45
|
-
export declare const Collapse: FC<ICollapseProps>;
|
|
46
|
-
|
|
47
|
-
export declare const Container: IContainer;
|
|
48
|
-
|
|
49
|
-
/** Copy icon. */
|
|
50
|
-
declare const Copy: FC<ICopyProps>;
|
|
51
|
-
|
|
52
|
-
/** Cross icon. */
|
|
53
|
-
declare const Cross: FC<ICrossProps>;
|
|
54
|
-
|
|
55
|
-
/** Icon for missing images. */
|
|
56
|
-
export declare const DefaultImage: FC<IDefaultImageProps>;
|
|
57
|
-
|
|
58
|
-
/** Context provider component. Provides all child components with response, request, and selected language.
|
|
59
|
-
* The components used to display the results of document processing must be wrapped with it.
|
|
60
|
-
*/
|
|
61
|
-
export declare const DocReaderContainer: FC<IDocReaderContainerProps>;
|
|
62
|
-
|
|
63
|
-
export declare const DocumentImages: FC<iDocumentImagesProps>;
|
|
64
|
-
|
|
65
|
-
/** Tabs with document information. */
|
|
66
|
-
export declare const DocumentTabs: FC<iDocumentTabsProps>;
|
|
67
|
-
|
|
68
|
-
declare const DocumentType_2: FC<iDocumentTypeProps>;
|
|
69
|
-
export { DocumentType_2 as DocumentType }
|
|
70
|
-
|
|
71
|
-
/** Download icon. */
|
|
72
|
-
declare const Download: FC<IDownloadProps>;
|
|
73
|
-
|
|
74
|
-
export declare enum eInfoTabID {
|
|
75
|
-
TEXT_DATA = "TEXT_DATA",
|
|
76
|
-
AUTHENTICITY = "AUTHENTICITY",
|
|
77
|
-
IMAGE_QUALITY = "IMAGE_QUALITY",
|
|
78
|
-
IDENTIFICATION = "IDENTIFICATION"
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/** Eye icon. */
|
|
82
|
-
declare const Eye: FC<IEyeProps>;
|
|
83
|
-
|
|
84
|
-
/** Context provider component. Provides all child components with face image quality data and selected language.
|
|
85
|
-
* The components used to display the results of face image quality must be wrapped with it.
|
|
86
|
-
*/
|
|
87
|
-
export declare const FaceContainer: FC<IFaceContainerProps>;
|
|
88
|
-
|
|
89
|
-
declare const FaceImageQualityCheckLabel: FC<iFaceImageQualityCheckLabelProps>;
|
|
90
|
-
|
|
91
|
-
/** Face image quality data. */
|
|
92
|
-
export declare const FaceImageQualityData: () => JSX_2.Element | null;
|
|
93
|
-
|
|
94
|
-
declare const FaceImageQualityLabel: FC<iFaceImageQualityLabelProps>;
|
|
95
|
-
|
|
96
|
-
declare const getAuthenticityLabel: (input: any) => string | number;
|
|
97
|
-
|
|
98
|
-
export declare const getAuthenticityOpenFields: (authenticity: RAuthenticityCheckGroupsItem[]) => Set<string>;
|
|
99
|
-
|
|
100
|
-
declare const getAuthenticityTextCheckReference: (input: any) => string | number;
|
|
101
|
-
|
|
102
|
-
declare const getCheckDiagnose: (input: any) => string | number;
|
|
103
|
-
|
|
104
|
-
declare const getCheckResultVerification: (input: any) => string;
|
|
105
|
-
|
|
106
|
-
declare const getFaceImageQualityCheckLabel: (input: any) => string;
|
|
107
|
-
|
|
108
|
-
declare const getFaceImageQualityLabel: (input: any) => string;
|
|
109
|
-
|
|
110
|
-
declare const getGraphicFieldType: (input: any) => string | number;
|
|
111
|
-
|
|
112
|
-
declare const getGroupDescription: (input: any) => string;
|
|
113
|
-
|
|
114
|
-
declare const getImageQualityCheckTypeLabel: (input: any) => string | number;
|
|
115
|
-
|
|
116
|
-
export declare const getImageQualityOpenFields: (imageQuality: iRImageQuality[]) => Set<string>;
|
|
117
|
-
|
|
118
|
-
declare const getIRVisibilityStatus: (input: any) => string | number;
|
|
119
|
-
|
|
120
|
-
declare const getLCID: (input: any) => string | number;
|
|
121
|
-
|
|
122
|
-
declare const getLightsLabel: (input: any) => string | number;
|
|
123
|
-
|
|
124
|
-
declare const getOpticalStatusField: (input: any) => string;
|
|
125
|
-
|
|
126
|
-
declare const getPortraitComparisonSource: (input: any) => string | number;
|
|
127
|
-
|
|
128
|
-
declare const getRfidApplicationDescription: (input: eRfidApplicationType) => string;
|
|
129
|
-
|
|
130
|
-
declare const getRfidApplicationType: (input: eRfidApplicationType) => string | eRfidApplicationType;
|
|
131
|
-
|
|
132
|
-
declare const getRfidCertificateType: (input: any) => string | number;
|
|
133
|
-
|
|
134
|
-
declare const getRfidDataFileType: (input: any) => string | number;
|
|
135
|
-
|
|
136
|
-
declare const getSecurityFeatureTypeLabel: (input: any) => string | number;
|
|
137
|
-
|
|
138
|
-
declare const getSex: (input: any) => string;
|
|
139
|
-
|
|
140
|
-
declare const getSource: (input: any) => string;
|
|
141
|
-
|
|
142
|
-
declare const getSourceDescription: (input: any) => string;
|
|
143
|
-
|
|
144
|
-
declare const getVisualFieldType: (input: any) => string | number;
|
|
145
|
-
|
|
146
|
-
declare const GraphicFieldType: FC<iGraphicFieldTypeProps>;
|
|
147
|
-
|
|
148
|
-
/** The images contained in the response. */
|
|
149
|
-
export declare const Graphics: FC<IGraphicsProps>;
|
|
150
|
-
|
|
151
|
-
declare const GroupDescription: FC<iGroupDescriptionProps>;
|
|
152
|
-
|
|
153
|
-
declare interface IAboutProps {
|
|
154
|
-
/** Additional fields. */
|
|
155
|
-
additionalFields?: Array<{
|
|
156
|
-
name: string;
|
|
157
|
-
value: string | number;
|
|
158
|
-
}>;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export declare interface IAlertProps extends HTMLAttributes<HTMLDivElement> {
|
|
162
|
-
/** Alert content. */
|
|
163
|
-
children: ReactNode;
|
|
164
|
-
/** Data attributes. */
|
|
165
|
-
dataAttributes?: {
|
|
166
|
-
[key: string]: string;
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare interface IArrowProps extends HTMLAttributes<HTMLSpanElement> {
|
|
171
|
-
/** Icon fill color. */
|
|
172
|
-
fillColor?: string;
|
|
173
|
-
/** Icon size. */
|
|
174
|
-
size?: number;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare interface iAuthenticityLabelProps {
|
|
178
|
-
children: ReactNode;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare interface iAuthenticityTextCheckReferenceProps {
|
|
182
|
-
children: ReactNode;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
declare interface IBlockProps extends HTMLAttributes<HTMLDivElement> {
|
|
186
|
-
/** Skeleton width. */
|
|
187
|
-
width?: number | string;
|
|
188
|
-
/** Skeleton height. */
|
|
189
|
-
height?: number | string;
|
|
190
|
-
/** Skeleton border radius. */
|
|
191
|
-
borderRadius?: number;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
declare interface IBracketsProps extends HTMLAttributes<HTMLSpanElement> {
|
|
195
|
-
/** Icon fill color. */
|
|
196
|
-
fillColor?: string;
|
|
197
|
-
/** Icon size. */
|
|
198
|
-
size?: number;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
declare interface iCheckDiagnoseProps {
|
|
202
|
-
children: ReactNode;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
declare interface ICheckLocationProps {
|
|
206
|
-
top: number;
|
|
207
|
-
left: number;
|
|
208
|
-
right: number;
|
|
209
|
-
bottom: number;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
declare interface iCheckResultVerificationProps {
|
|
213
|
-
children: ReactNode;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
declare interface IClosedEyeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
217
|
-
/** Icon fill color. */
|
|
218
|
-
fillColor?: string;
|
|
219
|
-
/** Icon size. */
|
|
220
|
-
size?: number;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
|
|
224
|
-
/** Title of the content. */
|
|
225
|
-
head: ReactNode;
|
|
226
|
-
/** The ability to collapse and expand content. */
|
|
227
|
-
collapse?: boolean;
|
|
228
|
-
/** State of the hidden content, expanded or collapsed. */
|
|
229
|
-
open?: boolean;
|
|
230
|
-
/** The initial state of the hidden content, expanded or collapsed. */
|
|
231
|
-
defaultOpen?: boolean;
|
|
232
|
-
/** Collapsed content. */
|
|
233
|
-
children: ReactNode;
|
|
234
|
-
/** Component style type. */
|
|
235
|
-
type?: 'nested' | 'rounded';
|
|
236
|
-
/** The callback function that is triggered when the content is collapsed or expanded. */
|
|
237
|
-
onOpen?: (isOpen: boolean) => void;
|
|
238
|
-
/** The click area for content expansion. */
|
|
239
|
-
openClickArea?: 'icon' | 'head';
|
|
240
|
-
/** Data attributes. */
|
|
241
|
-
dataAttributes?: {
|
|
242
|
-
[key: string]: string;
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export declare const Icon: IIcon;
|
|
247
|
-
|
|
248
|
-
declare const Icon_2: ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>>;
|
|
249
|
-
|
|
250
|
-
declare interface IContainer extends FC {
|
|
251
|
-
Icon: typeof Icon_2;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
declare interface ICopyProps extends HTMLAttributes<HTMLSpanElement> {
|
|
255
|
-
/** Icon fill color. */
|
|
256
|
-
fillColor?: string;
|
|
257
|
-
/** Icon size. */
|
|
258
|
-
size?: number;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
declare interface ICrossProps extends HTMLAttributes<HTMLSpanElement> {
|
|
262
|
-
/** Icon fill color. */
|
|
263
|
-
fillColor?: string;
|
|
264
|
-
/** Icon size. */
|
|
265
|
-
size?: number;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
declare interface IDefaultImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
269
|
-
/** Icon type. */
|
|
270
|
-
type?: ImageType;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
declare interface IDocReaderContainerProps extends HTMLAttributes<HTMLElement> {
|
|
274
|
-
/** Processing response object. */
|
|
275
|
-
response: unknown;
|
|
276
|
-
/** Request object. */
|
|
277
|
-
request?: any;
|
|
278
|
-
/** Selected language. */
|
|
279
|
-
language?: string;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
declare interface iDocumentImagesProps {
|
|
283
|
-
imageViewer?: boolean;
|
|
284
|
-
className?: string;
|
|
285
|
-
initialPageIndex?: number;
|
|
286
|
-
initialLight?: number;
|
|
287
|
-
onPageChanged?: (page: number) => void;
|
|
288
|
-
onLightChanged?: (light: number) => void;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
declare interface iDocumentTabsProps {
|
|
292
|
-
imageViewer?: boolean;
|
|
293
|
-
className?: string;
|
|
294
|
-
initialTab?: eInfoTabID;
|
|
295
|
-
onTabChange?: (tab: eInfoTabID) => void;
|
|
296
|
-
initialScrollPosition?: Partial<TTabScrollState>;
|
|
297
|
-
onScrollTop?: (position: TTabScrollState) => void;
|
|
298
|
-
openFields?: Partial<TOpenFieldsState>;
|
|
299
|
-
onOpenFieldsChange?: (fields: TOpenFieldsState) => void;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
declare interface iDocumentTypeProps {
|
|
303
|
-
className?: string;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
declare interface IDownloadProps extends HTMLAttributes<HTMLSpanElement> {
|
|
307
|
-
/** Icon fill color. */
|
|
308
|
-
fillColor?: string;
|
|
309
|
-
/** Icon size. */
|
|
310
|
-
size?: number;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
declare interface IEyeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
314
|
-
/** Icon fill color. */
|
|
315
|
-
fillColor?: string;
|
|
316
|
-
/** Icon size. */
|
|
317
|
-
size?: number;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
declare interface IFaceContainerProps extends HTMLAttributes<HTMLElement> {
|
|
321
|
-
/** Image quality data. */
|
|
322
|
-
quality: TDetectResponse;
|
|
323
|
-
/** Selected language. */
|
|
324
|
-
language?: string;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
declare interface iFaceImageQualityCheckLabelProps {
|
|
328
|
-
children: ReactNode;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
declare interface iFaceImageQualityLabelProps {
|
|
332
|
-
children: ReactNode;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
declare interface iGraphicFieldTypeProps {
|
|
336
|
-
children: ReactNode;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
declare interface IGraphicsProps {
|
|
340
|
-
/** Full-screen photo display */
|
|
341
|
-
imageViewer?: boolean;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
declare interface iGroupDescriptionProps {
|
|
345
|
-
children: ReactNode;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
export declare interface IH1Props extends HTMLAttributes<HTMLTitleElement> {
|
|
349
|
-
textAlign?: 'center' | 'right' | 'left';
|
|
350
|
-
uppercase?: boolean;
|
|
351
|
-
children?: ReactNode;
|
|
352
|
-
level?: 1 | 2;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
declare interface IIcon extends FC {
|
|
356
|
-
Verified: typeof Verified;
|
|
357
|
-
NotVerified: typeof NotVerified;
|
|
358
|
-
Unknown: typeof Unknown;
|
|
359
|
-
Warning: typeof Warning;
|
|
360
|
-
ClosedEye: typeof ClosedEye;
|
|
361
|
-
Eye: typeof Eye;
|
|
362
|
-
Menu: typeof Menu;
|
|
363
|
-
Arrow: typeof Arrow;
|
|
364
|
-
Question: typeof Question;
|
|
365
|
-
Refresh: typeof Refresh;
|
|
366
|
-
Copy: typeof Copy;
|
|
367
|
-
Brackets: typeof Brackets;
|
|
368
|
-
Zip: typeof Zip;
|
|
369
|
-
Magnifier: typeof Magnifier;
|
|
370
|
-
Download: typeof Download;
|
|
371
|
-
Cross: typeof Cross;
|
|
372
|
-
LinkArrow: typeof LinkArrow;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
declare interface IImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
376
|
-
/** Path to the image. */
|
|
377
|
-
src: string;
|
|
378
|
-
/** Specifies an alternate text for an image, if the image cannot be displayed. */
|
|
379
|
-
alt: string;
|
|
380
|
-
/** Indicates whether the element can be dragged. */
|
|
381
|
-
draggable?: boolean;
|
|
382
|
-
/** Displaying a button for downloading an image. */
|
|
383
|
-
download?: boolean;
|
|
384
|
-
/** Magnifier display. */
|
|
385
|
-
magnifier?: boolean;
|
|
386
|
-
/** Full-screen image display. */
|
|
387
|
-
viewer?: boolean;
|
|
388
|
-
/** Zoom level of the magnifier. */
|
|
389
|
-
zoomLevel?: number;
|
|
390
|
-
/** Magnifier width. */
|
|
391
|
-
magnifierWidth?: number;
|
|
392
|
-
/** Magnifier height. */
|
|
393
|
-
magnifierHeight?: number;
|
|
394
|
-
/** Path to the magnifier image. Default magnifierImg === src */
|
|
395
|
-
magnifierImg?: string;
|
|
396
|
-
/** Path to the preview image. Default previewImg === src */
|
|
397
|
-
previewImg?: string;
|
|
398
|
-
/** Path to the image to download. Default downloadImg === src */
|
|
399
|
-
downloadImg?: string;
|
|
400
|
-
/** Magnifier image border radius. */
|
|
401
|
-
magnifierImgBorderRadius?: number;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
declare interface iImageQualityCheckTypeLabelProps {
|
|
405
|
-
children: ReactNode;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
declare interface IInfoProps {
|
|
409
|
-
/** Full-screen photo display */
|
|
410
|
-
imageViewer?: boolean;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
declare interface iIRVisibilityStatusProps {
|
|
414
|
-
children: ReactNode;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
declare interface IJsonViewerProps {
|
|
418
|
-
/** Input data. */
|
|
419
|
-
data: any;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
declare interface iLcidProps {
|
|
423
|
-
children: ReactNode;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
declare interface iLightsLabelProps {
|
|
427
|
-
children: ReactNode;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
declare interface ILinkArrowProps extends HTMLAttributes<HTMLSpanElement> {
|
|
431
|
-
/** Icon fill color. */
|
|
432
|
-
fillColor?: string;
|
|
433
|
-
/** Icon size. */
|
|
434
|
-
size?: number;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
declare interface ILinkProps extends HTMLAttributes<HTMLDivElement> {
|
|
438
|
-
/** Link address. */
|
|
439
|
-
href: string;
|
|
440
|
-
/** specifies where to open the linked document. */
|
|
441
|
-
target?: string;
|
|
442
|
-
/** Link label. */
|
|
443
|
-
children: ReactNode;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/** An image wrapper that adds various utilities. */
|
|
447
|
-
declare const Image_2: ForwardRefExoticComponent<IImageProps & RefAttributes<HTMLDivElement>>;
|
|
448
|
-
export { Image_2 as Image }
|
|
449
|
-
|
|
450
|
-
declare const ImageQualityCheckTypeLabel: FC<iImageQualityCheckTypeLabelProps>;
|
|
451
|
-
|
|
452
|
-
declare type ImageType = 'photo' | 'passport' | 'id-card';
|
|
453
|
-
|
|
454
|
-
declare interface IMagnifierProps extends HTMLAttributes<HTMLSpanElement> {
|
|
455
|
-
/** Icon fill color. */
|
|
456
|
-
fillColor?: string;
|
|
457
|
-
/** Icon size. */
|
|
458
|
-
size?: number;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
declare interface IMatch extends FC {
|
|
462
|
-
AuthenticityLabel: typeof AuthenticityLabel;
|
|
463
|
-
getAuthenticityLabel: typeof getAuthenticityLabel;
|
|
464
|
-
CheckDiagnose: typeof CheckDiagnose;
|
|
465
|
-
getCheckDiagnose: typeof getCheckDiagnose;
|
|
466
|
-
CheckResultVerification: typeof CheckResultVerification;
|
|
467
|
-
getCheckResultVerification: typeof getCheckResultVerification;
|
|
468
|
-
GraphicFieldType: typeof GraphicFieldType;
|
|
469
|
-
getGraphicFieldType: typeof getGraphicFieldType;
|
|
470
|
-
ImageQualityCheckTypeLabel: typeof ImageQualityCheckTypeLabel;
|
|
471
|
-
getImageQualityCheckTypeLabel: typeof getImageQualityCheckTypeLabel;
|
|
472
|
-
LightsLabel: typeof LightsLabel;
|
|
473
|
-
getLightsLabel: typeof getLightsLabel;
|
|
474
|
-
OpticalStatusField: typeof OpticalStatusField;
|
|
475
|
-
getOpticalStatusField: typeof getOpticalStatusField;
|
|
476
|
-
RfidCertificateType: typeof RfidCertificateType;
|
|
477
|
-
getRfidCertificateType: typeof getRfidCertificateType;
|
|
478
|
-
RfidDataFileType: typeof RfidDataFileType;
|
|
479
|
-
getRfidDataFileType: typeof getRfidDataFileType;
|
|
480
|
-
SecurityFeatureTypeLabel: typeof SecurityFeatureTypeLabel;
|
|
481
|
-
getSecurityFeatureTypeLabel: typeof getSecurityFeatureTypeLabel;
|
|
482
|
-
Sex: typeof Sex;
|
|
483
|
-
getSex: typeof getSex;
|
|
484
|
-
Source: typeof Source;
|
|
485
|
-
getSource: typeof getSource;
|
|
486
|
-
PortraitComparisonSource: typeof PortraitComparisonSource;
|
|
487
|
-
getPortraitComparisonSource: typeof getPortraitComparisonSource;
|
|
488
|
-
SourceDescription: typeof SourceDescription;
|
|
489
|
-
getSourceDescription: typeof getSourceDescription;
|
|
490
|
-
VisualFieldType: typeof VisualFieldType;
|
|
491
|
-
getVisualFieldType: typeof getVisualFieldType;
|
|
492
|
-
LCID: typeof LCID;
|
|
493
|
-
getLCID: typeof getLCID;
|
|
494
|
-
IRVisibilityStatus: typeof IRVisibilityStatus;
|
|
495
|
-
getIRVisibilityStatus: typeof getIRVisibilityStatus;
|
|
496
|
-
AuthenticityTextCheckReference: typeof AuthenticityTextCheckReference;
|
|
497
|
-
getAuthenticityTextCheckReference: typeof getAuthenticityTextCheckReference;
|
|
498
|
-
GroupDescription: typeof GroupDescription;
|
|
499
|
-
getGroupDescription: typeof getGroupDescription;
|
|
500
|
-
RfidApplicationType: typeof RfidApplicationType;
|
|
501
|
-
getRfidApplicationType: typeof getRfidApplicationType;
|
|
502
|
-
RfidApplicationDescription: typeof RfidApplicationDescription;
|
|
503
|
-
getRfidApplicationDescription: typeof getRfidApplicationDescription;
|
|
504
|
-
FaceImageQualityLabel: typeof FaceImageQualityLabel;
|
|
505
|
-
getFaceImageQualityLabel: typeof getFaceImageQualityLabel;
|
|
506
|
-
FaceImageQualityCheckLabel: typeof FaceImageQualityCheckLabel;
|
|
507
|
-
getFaceImageQualityCheckLabel: typeof getFaceImageQualityCheckLabel;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
declare interface IMenuProps extends HTMLAttributes<HTMLSpanElement> {
|
|
511
|
-
/** Icon fill color. */
|
|
512
|
-
fillColor?: string;
|
|
513
|
-
/** Icon size. */
|
|
514
|
-
size?: number;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
export declare const Info: FC<IInfoProps>;
|
|
518
|
-
|
|
519
|
-
declare interface INotVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
|
|
520
|
-
/** Icon fill color. */
|
|
521
|
-
fillColor?: string;
|
|
522
|
-
/** Icon size. */
|
|
523
|
-
size?: number;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
declare interface iOpticalStatusFieldProps {
|
|
527
|
-
children: ReactNode;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
declare interface IPersonInfoProps {
|
|
531
|
-
/** Portrait display. */
|
|
532
|
-
showPortrait?: boolean;
|
|
533
|
-
/** Component class name. */
|
|
534
|
-
className?: string;
|
|
535
|
-
/** Full-screen photo display */
|
|
536
|
-
imageViewer?: boolean;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
export declare interface IPopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
540
|
-
/** Hint content. */
|
|
541
|
-
modal: ReactNode;
|
|
542
|
-
/** Text label. */
|
|
543
|
-
children: ReactNode;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
declare interface iPortraitComparisonSourceProps {
|
|
547
|
-
children: ReactNode;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
declare interface IPortraitsComparisonProps {
|
|
551
|
-
/** Full-screen photo display */
|
|
552
|
-
imageViewer?: boolean;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
declare interface IQuestionProps extends HTMLAttributes<HTMLSpanElement> {
|
|
556
|
-
/** Icon fill color. */
|
|
557
|
-
fillColor?: string;
|
|
558
|
-
/** Icon size. */
|
|
559
|
-
size?: number;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
declare interface IRefreshProps extends HTMLAttributes<HTMLSpanElement> {
|
|
563
|
-
/** Icon fill color. */
|
|
564
|
-
fillColor?: string;
|
|
565
|
-
/** Icon size. */
|
|
566
|
-
size?: number;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
declare interface IRequestViewerProps {
|
|
570
|
-
/** Section title. */
|
|
571
|
-
title?: string;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
declare interface iRfidApplicationDescriptionProps {
|
|
575
|
-
children: eRfidApplicationType;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
declare interface iRfidApplicationTypeProps {
|
|
579
|
-
children: eRfidApplicationType;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
declare interface iRfidCertificateTypeProps {
|
|
583
|
-
children: ReactNode;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
declare interface iRfidDataFileTypeProps {
|
|
587
|
-
children: ReactNode;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
declare const IRVisibilityStatus: FC<iIRVisibilityStatusProps>;
|
|
591
|
-
|
|
592
|
-
declare interface IScrollProps extends HTMLAttributes<HTMLDivElement> {
|
|
593
|
-
/** The maximum height of the content after which the scroll appears. */
|
|
594
|
-
maxHeight?: number;
|
|
595
|
-
/** Content that can increase in height */
|
|
596
|
-
extendedItemSelector?: string;
|
|
597
|
-
/** Scrolling delay if the content has increased */
|
|
598
|
-
extendedScrollDelay?: number;
|
|
599
|
-
/** Auto scroll offset */
|
|
600
|
-
extendedScrollOffset?: number;
|
|
601
|
-
/** Scroll start position. */
|
|
602
|
-
initialScrollPosition?: number;
|
|
603
|
-
/** Scroll top listener. */
|
|
604
|
-
onScrollTop?: (position: number) => void;
|
|
605
|
-
/** Content. */
|
|
606
|
-
children: ReactNode;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
declare interface iSecurityFeatureTypeLabelProps {
|
|
610
|
-
children: ReactNode;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
declare interface ISelection {
|
|
614
|
-
page: number;
|
|
615
|
-
path: string;
|
|
616
|
-
checkResult: eCheckResult;
|
|
617
|
-
location: iRLocation;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
declare interface iSexProps {
|
|
621
|
-
children: ReactNode;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export declare interface ISkeleton extends FC {
|
|
625
|
-
Block: typeof Block;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
declare interface iSourceDescriptionProps {
|
|
629
|
-
children: ReactNode;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
declare interface iSourceProps {
|
|
633
|
-
children: ReactNode;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
declare interface IStatusProps {
|
|
637
|
-
/** Additional fields. */
|
|
638
|
-
additionalFields?: Array<{
|
|
639
|
-
name: string;
|
|
640
|
-
value: string | number;
|
|
641
|
-
}>;
|
|
642
|
-
/** Scroll to the selected result. */
|
|
643
|
-
scrollToResult?: boolean;
|
|
644
|
-
/** Full-screen photo display */
|
|
645
|
-
imageViewer?: boolean;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export declare interface iTabItem {
|
|
649
|
-
id: string | number;
|
|
650
|
-
label: string;
|
|
651
|
-
children?: ReactNode;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
|
|
655
|
-
/** Rows content. */
|
|
656
|
-
dataSource: Array<Record<string, ReactNode>>;
|
|
657
|
-
/** Columns. */
|
|
658
|
-
columns: Array<{
|
|
659
|
-
title: string;
|
|
660
|
-
dataIndex: string;
|
|
661
|
-
}>;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
export declare interface iTabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
665
|
-
/** Tabs content. */
|
|
666
|
-
items: iTabItem[];
|
|
667
|
-
/** The ID of the tab. */
|
|
668
|
-
tab?: string | number;
|
|
669
|
-
/** The ID of the initial tab. */
|
|
670
|
-
initialTab?: string | number;
|
|
671
|
-
/** Component style type. */
|
|
672
|
-
type?: 'line' | 'card';
|
|
673
|
-
/** the callback function that is triggered when switching tabs. */
|
|
674
|
-
onTabChange?: (tabIndex: number | string) => void;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
export declare interface ITextProps extends HTMLAttributes<HTMLSpanElement> {
|
|
678
|
-
uppercase?: boolean;
|
|
679
|
-
children?: ReactNode;
|
|
680
|
-
size?: Size;
|
|
681
|
-
dataTest?: string;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
declare interface IUnknownProps extends HTMLAttributes<HTMLSpanElement> {
|
|
685
|
-
/** Icon fill color. */
|
|
686
|
-
fillColor?: string;
|
|
687
|
-
/** Icon size. */
|
|
688
|
-
size?: number;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
declare interface IVerificationsProps extends HTMLAttributes<HTMLDivElement> {
|
|
692
|
-
/** Component style type. */
|
|
693
|
-
type?: 'list' | 'collapse';
|
|
694
|
-
/** Expand the list if there are errors. Only for type === 'collapse'. */
|
|
695
|
-
openOnError?: boolean;
|
|
696
|
-
/** Scroll to the selected result. */
|
|
697
|
-
scrollToResult?: boolean;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
declare interface IVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
|
|
701
|
-
/** Icon fill color. */
|
|
702
|
-
fillColor?: string;
|
|
703
|
-
/** Icon size. */
|
|
704
|
-
size?: number;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
declare interface iVisualFieldTypeProps {
|
|
708
|
-
children: ReactNode;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
declare interface IWarningProps extends HTMLAttributes<HTMLSpanElement> {
|
|
712
|
-
/** Icon fill color. */
|
|
713
|
-
fillColor?: string;
|
|
714
|
-
/** Icon size. */
|
|
715
|
-
size?: number;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
declare interface IZipProps extends HTMLAttributes<HTMLSpanElement> {
|
|
719
|
-
/** Icon fill color. */
|
|
720
|
-
fillColor?: string;
|
|
721
|
-
/** Icon size. */
|
|
722
|
-
size?: number;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
/** A component for displaying any objects. */
|
|
726
|
-
export declare const JsonViewer: FC<IJsonViewerProps>;
|
|
727
|
-
|
|
728
|
-
declare const LCID: FC<iLcidProps>;
|
|
729
|
-
|
|
730
|
-
declare const LightsLabel: FC<iLightsLabelProps>;
|
|
731
|
-
|
|
732
|
-
/** The link component. */
|
|
733
|
-
export declare const Link: FC<ILinkProps>;
|
|
734
|
-
|
|
735
|
-
/** LinkArrow icon. */
|
|
736
|
-
declare const LinkArrow: FC<ILinkArrowProps>;
|
|
737
|
-
|
|
738
|
-
/** Logs of document processing. */
|
|
739
|
-
export declare const Logs: () => JSX_2.Element | null;
|
|
740
|
-
|
|
741
|
-
/** Magnifier icon. */
|
|
742
|
-
declare const Magnifier: FC<IMagnifierProps>;
|
|
743
|
-
|
|
744
|
-
export declare const Match: IMatch;
|
|
745
|
-
|
|
746
|
-
/** Menu icon. */
|
|
747
|
-
declare const Menu: FC<IMenuProps>;
|
|
748
|
-
|
|
749
|
-
/** NotVerified icon. */
|
|
750
|
-
declare const NotVerified: FC<INotVerifiedProps>;
|
|
751
|
-
|
|
752
|
-
declare type OpenFieldsTabName = 'textData' | 'authenticity' | 'imageQuality' | 'identification';
|
|
753
|
-
|
|
754
|
-
declare const OpticalStatusField: FC<iOpticalStatusFieldProps>;
|
|
755
|
-
|
|
756
|
-
/** Document processing status. */
|
|
757
|
-
export declare const Overall: () => JSX_2.Element | null;
|
|
758
|
-
|
|
759
|
-
/** Personal data. */
|
|
760
|
-
export declare const PersonInfo: FC<IPersonInfoProps>;
|
|
761
|
-
|
|
762
|
-
/** Text with a hint. */
|
|
763
|
-
export declare const Popover: FC<IPopoverProps>;
|
|
764
|
-
|
|
765
|
-
declare const PortraitComparisonSource: FC<iPortraitComparisonSourceProps>;
|
|
766
|
-
|
|
767
|
-
/** Portraits comparison. */
|
|
768
|
-
export declare const PortraitsComparison: FC<IPortraitsComparisonProps>;
|
|
769
|
-
|
|
770
|
-
/** Question icon. */
|
|
771
|
-
declare const Question: ForwardRefExoticComponent<IQuestionProps & RefAttributes<HTMLSpanElement>>;
|
|
772
|
-
|
|
773
|
-
/** Refresh icon. */
|
|
774
|
-
declare const Refresh: FC<IRefreshProps>;
|
|
775
|
-
|
|
776
|
-
/** Processing request object. */
|
|
777
|
-
export declare const RequestViewer: FC<IRequestViewerProps>;
|
|
778
|
-
|
|
779
|
-
/** Processing response object. */
|
|
780
|
-
export declare const ResponseViewer: () => JSX_2.Element | null;
|
|
781
|
-
|
|
782
|
-
/** RFID data. */
|
|
783
|
-
export declare const Rfid: () => JSX_2.Element | null;
|
|
784
|
-
|
|
785
|
-
declare const RfidApplicationDescription: FC<iRfidApplicationDescriptionProps>;
|
|
786
|
-
|
|
787
|
-
declare const RfidApplicationType: FC<iRfidApplicationTypeProps>;
|
|
788
|
-
|
|
789
|
-
declare const RfidCertificateType: FC<iRfidCertificateTypeProps>;
|
|
790
|
-
|
|
791
|
-
declare const RfidDataFileType: FC<iRfidDataFileTypeProps>;
|
|
792
|
-
|
|
793
|
-
/** Custom scroll. */
|
|
794
|
-
export declare const Scroll: FC<IScrollProps>;
|
|
795
|
-
|
|
796
|
-
declare type ScrollTabName = 'textData' | 'authenticity' | 'imageQuality' | 'identification';
|
|
797
|
-
|
|
798
|
-
declare const SecurityFeatureTypeLabel: FC<iSecurityFeatureTypeLabelProps>;
|
|
799
|
-
|
|
800
|
-
declare const Sex: FC<iSexProps>;
|
|
801
|
-
|
|
802
|
-
declare type Size = '10x140' | '12x140' | '12x160' | '14x115' | '14x135' | '14x157' | '15x135' | '16x100' | '18x135' | '20x135';
|
|
803
|
-
|
|
804
|
-
export declare const Skeleton: ISkeleton;
|
|
805
|
-
|
|
806
|
-
declare const Source: FC<iSourceProps>;
|
|
807
|
-
|
|
808
|
-
declare const SourceDescription: FC<iSourceDescriptionProps>;
|
|
809
|
-
|
|
810
|
-
/** Includes Overall, Verifications, PersonInfo and About components. */
|
|
811
|
-
export declare const Status: FC<IStatusProps>;
|
|
812
|
-
|
|
813
|
-
/** Status skeleton. */
|
|
814
|
-
export declare const StatusLoader: () => JSX_2.Element;
|
|
815
|
-
|
|
816
|
-
/** Tables display sets of data. */
|
|
817
|
-
export declare const Table: FC<ITableProps>;
|
|
818
|
-
|
|
819
|
-
/** The Tab component allows users to switch between multiple content panels. */
|
|
820
|
-
export declare const Tabs: FC<iTabsProps>;
|
|
821
|
-
|
|
822
|
-
declare const Text_2: FC<ITextProps>;
|
|
823
|
-
export { Text_2 as Text }
|
|
824
|
-
|
|
825
|
-
export declare const Title: FC<IH1Props>;
|
|
826
|
-
|
|
827
|
-
declare type TOpenFieldsState = Record<OpenFieldsTabName, Set<string>>;
|
|
828
|
-
|
|
829
|
-
declare type TTabScrollState = Record<ScrollTabName, number>;
|
|
830
|
-
|
|
831
|
-
/** Unknown icon. */
|
|
832
|
-
declare const Unknown: FC<IUnknownProps>;
|
|
833
|
-
|
|
834
|
-
/** List of verifications. */
|
|
835
|
-
export declare const Verifications: FC<IVerificationsProps>;
|
|
836
|
-
|
|
837
|
-
/** Verified icon. */
|
|
838
|
-
declare const Verified: FC<IVerifiedProps>;
|
|
839
|
-
|
|
840
|
-
declare const VisualFieldType: FC<iVisualFieldTypeProps>;
|
|
841
|
-
|
|
842
|
-
/** Warning icon. */
|
|
843
|
-
declare const Warning: FC<IWarningProps>;
|
|
844
|
-
|
|
845
|
-
/** Zip icon. */
|
|
846
|
-
declare const Zip: FC<IZipProps>;
|
|
847
|
-
|
|
848
|
-
export { }
|