@regulaforensics/ui-components 0.0.18 → 0.0.20

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
@@ -3,7 +3,6 @@ import { FC } from 'react';
3
3
  import { ForwardRefExoticComponent } from 'react';
4
4
  import { HTMLAttributes } from 'react';
5
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
6
- import { JSX as JSX_3 } from 'react';
7
6
  import { ProcessResponse } from '@regulaforensics/document-reader-typings';
8
7
  import { ReactNode } from 'react';
9
8
  import { RefAttributes } from 'react';
@@ -38,31 +37,40 @@ export declare const DocReaderContainer: FC<IDocReaderContainerProps>;
38
37
 
39
38
  declare const Download: FC<IDownloadProps>;
40
39
 
40
+ export declare enum eInfoTabID {
41
+ TEXT_DATA = "TEXT_DATA",
42
+ AUTHENTICITY = "AUTHENTICITY",
43
+ IMAGE_QUALITY = "IMAGE_QUALITY",
44
+ IDENTIFICATION = "IDENTIFICATION"
45
+ }
46
+
41
47
  declare const Eye: FC<IEyeProps>;
42
48
 
43
- declare const getAuthenticity: (input: any) => string;
49
+ declare const getAuthenticity: (input: any) => string | number;
44
50
 
45
- declare const getAuthenticityLabel: (input: any) => string;
51
+ declare const getAuthenticityLabel: (input: any) => string | number;
46
52
 
47
- declare const getCheckDiagnose: (input: any) => string;
53
+ declare const getCheckDiagnose: (input: any) => string | number;
48
54
 
49
55
  declare const getCheckResultVerification: (input: any) => string;
50
56
 
51
- declare const getGraphicFieldType: (input: any) => string;
57
+ declare const getGraphicFieldType: (input: any) => string | number;
52
58
 
53
- declare const getImageQualityCheckTypeLabel: (input: any) => string;
59
+ declare const getImageQualityCheckTypeLabel: (input: any) => string | number;
54
60
 
55
- declare const getLCID: (input: any) => string;
61
+ declare const getLCID: (input: any) => string | number;
56
62
 
57
- declare const getLightsLabel: (input: any) => string;
63
+ declare const getLightsLabel: (input: any) => string | number;
58
64
 
59
65
  declare const getOpticalStatusField: (input: any) => string;
60
66
 
61
- declare const getPortraitComparisonSource: (input: any) => string;
67
+ declare const getPortraitComparisonSource: (input: any) => string | number;
62
68
 
63
- declare const getRfidDataFileType: (input: any) => string;
69
+ declare const getRfidCertificateType: (input: any) => string | number;
64
70
 
65
- declare const getSecurityFeatureTypeLabel: (input: any) => string;
71
+ declare const getRfidDataFileType: (input: any) => string | number;
72
+
73
+ declare const getSecurityFeatureTypeLabel: (input: any) => string | number;
66
74
 
67
75
  declare const getSex: (input: any) => string;
68
76
 
@@ -70,7 +78,7 @@ declare const getSource: (input: any) => string;
70
78
 
71
79
  declare const getSourceDescription: (input: any) => string;
72
80
 
73
- declare const getVisualFieldType: (input: any) => string;
81
+ declare const getVisualFieldType: (input: any) => string | number;
74
82
 
75
83
  declare const GraphicFieldType: FC<iGraphicFieldTypeProps>;
76
84
 
@@ -123,13 +131,14 @@ declare interface IClosedEyeProps extends HTMLAttributes<HTMLSpanElement> {
123
131
  export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
124
132
  name: ReactNode;
125
133
  collapse?: boolean;
126
- value?: string | number | JSX_3.Element;
134
+ value?: string | number | ReactNode;
127
135
  status?: eCheckResult;
128
136
  open?: boolean;
129
137
  children: ReactNode;
130
138
  shift?: number;
131
139
  nested?: boolean;
132
140
  selected?: boolean;
141
+ onOpen?: (isOpen: boolean) => void;
133
142
  }
134
143
 
135
144
  export declare const Icon: IIcon;
@@ -205,6 +214,9 @@ declare interface IImageProps extends HTMLAttributes<HTMLDivElement> {
205
214
  zoomLevel?: number;
206
215
  magnifierWidth?: number;
207
216
  magnifierHeight?: number;
217
+ magnifierImg?: string;
218
+ previewImg?: string;
219
+ downloadImg?: string;
208
220
  }
209
221
 
210
222
  declare interface iImageQualityCheckTypeLabelProps {
@@ -250,6 +262,8 @@ declare interface IMatch extends FC {
250
262
  getLightsLabel: typeof getLightsLabel;
251
263
  OpticalStatusField: typeof OpticalStatusField;
252
264
  getOpticalStatusField: typeof getOpticalStatusField;
265
+ RfidCertificateType: typeof RfidCertificateType;
266
+ getRfidCertificateType: typeof getRfidCertificateType;
253
267
  RfidDataFileType: typeof RfidDataFileType;
254
268
  getRfidDataFileType: typeof getRfidDataFileType;
255
269
  SecurityFeatureTypeLabel: typeof SecurityFeatureTypeLabel;
@@ -302,6 +316,10 @@ declare interface IRefreshProps extends HTMLAttributes<HTMLSpanElement> {
302
316
  fillColor?: string;
303
317
  }
304
318
 
319
+ declare interface iRfidCertificateTypeProps {
320
+ children: ReactNode;
321
+ }
322
+
305
323
  declare interface iRfidDataFileTypeProps {
306
324
  children: ReactNode;
307
325
  }
@@ -347,11 +365,13 @@ export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
347
365
 
348
366
  export declare interface ITabsProps extends HTMLAttributes<HTMLDivElement> {
349
367
  items: Array<{
368
+ id: string | number;
350
369
  label: string;
351
370
  children: ReactNode;
352
371
  }>;
372
+ initialTab?: string | number;
353
373
  type?: 'line' | 'card';
354
- onTabChange?: (tabIndex: number) => void;
374
+ onTabChange?: (tabIndex: number | string) => void;
355
375
  }
356
376
 
357
377
  export declare interface ITextProps extends HTMLAttributes<HTMLSpanElement> {
@@ -422,6 +442,8 @@ export declare const ResponseViewer: () => JSX_2.Element | null;
422
442
 
423
443
  export declare const Rfid: () => JSX_2.Element | null;
424
444
 
445
+ declare const RfidCertificateType: FC<iRfidCertificateTypeProps>;
446
+
425
447
  declare const RfidDataFileType: FC<iRfidDataFileTypeProps>;
426
448
 
427
449
  export declare const Scroll: FC<IScrollProps>;