@regulaforensics/ui-components 0.0.17 → 0.0.19

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,9 +37,14 @@ export declare const DocReaderContainer: FC<IDocReaderContainerProps>;
38
37
 
39
38
  declare const Download: FC<IDownloadProps>;
40
39
 
41
- declare const Eye: FC<IEyeProps>;
40
+ export declare enum eInfoTabID {
41
+ TEXT_DATA = "TEXT_DATA",
42
+ AUTHENTICITY = "AUTHENTICITY",
43
+ IMAGE_QUALITY = "IMAGE_QUALITY",
44
+ IDENTIFICATION = "IDENTIFICATION"
45
+ }
42
46
 
43
- declare const FieldName: FC<iFieldNameProps>;
47
+ declare const Eye: FC<IEyeProps>;
44
48
 
45
49
  declare const getAuthenticity: (input: any) => string;
46
50
 
@@ -50,10 +54,12 @@ declare const getCheckDiagnose: (input: any) => string;
50
54
 
51
55
  declare const getCheckResultVerification: (input: any) => string;
52
56
 
53
- declare const getFieldName: (input: any) => string;
57
+ declare const getGraphicFieldType: (input: any) => string;
54
58
 
55
59
  declare const getImageQualityCheckTypeLabel: (input: any) => string;
56
60
 
61
+ declare const getLCID: (input: any) => string;
62
+
57
63
  declare const getLightsLabel: (input: any) => string;
58
64
 
59
65
  declare const getOpticalStatusField: (input: any) => string;
@@ -70,7 +76,11 @@ declare const getSource: (input: any) => string;
70
76
 
71
77
  declare const getSourceDescription: (input: any) => string;
72
78
 
73
- export declare const Graphics: () => JSX_2.Element;
79
+ declare const getVisualFieldType: (input: any) => string;
80
+
81
+ declare const GraphicFieldType: FC<iGraphicFieldTypeProps>;
82
+
83
+ export declare const Graphics: () => JSX_2.Element | null;
74
84
 
75
85
  declare interface IAboutProps {
76
86
  additionalFields?: Array<{
@@ -119,7 +129,7 @@ declare interface IClosedEyeProps extends HTMLAttributes<HTMLSpanElement> {
119
129
  export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
120
130
  name: ReactNode;
121
131
  collapse?: boolean;
122
- value?: string | number | JSX_3.Element;
132
+ value?: string | number | ReactNode;
123
133
  status?: eCheckResult;
124
134
  open?: boolean;
125
135
  children: ReactNode;
@@ -162,7 +172,7 @@ declare interface IEyeProps extends HTMLAttributes<HTMLSpanElement> {
162
172
  fillColor?: string;
163
173
  }
164
174
 
165
- declare interface iFieldNameProps {
175
+ declare interface iGraphicFieldTypeProps {
166
176
  children: ReactNode;
167
177
  }
168
178
 
@@ -211,6 +221,10 @@ declare interface IJsonViewerProps {
211
221
  data: any;
212
222
  }
213
223
 
224
+ declare interface iLcidProps {
225
+ children: ReactNode;
226
+ }
227
+
214
228
  declare interface iLightsLabelProps {
215
229
  children: ReactNode;
216
230
  }
@@ -234,8 +248,8 @@ declare interface IMatch extends FC {
234
248
  getCheckDiagnose: typeof getCheckDiagnose;
235
249
  CheckResultVerification: typeof CheckResultVerification;
236
250
  getCheckResultVerification: typeof getCheckResultVerification;
237
- FieldName: typeof FieldName;
238
- getFieldName: typeof getFieldName;
251
+ GraphicFieldType: typeof GraphicFieldType;
252
+ getGraphicFieldType: typeof getGraphicFieldType;
239
253
  ImageQualityCheckTypeLabel: typeof ImageQualityCheckTypeLabel;
240
254
  getImageQualityCheckTypeLabel: typeof getImageQualityCheckTypeLabel;
241
255
  LightsLabel: typeof LightsLabel;
@@ -254,6 +268,10 @@ declare interface IMatch extends FC {
254
268
  getPortraitComparisonSource: typeof getPortraitComparisonSource;
255
269
  SourceDescription: typeof SourceDescription;
256
270
  getSourceDescription: typeof getSourceDescription;
271
+ VisualFieldType: typeof VisualFieldType;
272
+ getVisualFieldType: typeof getVisualFieldType;
273
+ LCID: typeof LCID;
274
+ getLCID: typeof getLCID;
257
275
  }
258
276
 
259
277
  declare interface IMenuProps extends HTMLAttributes<HTMLSpanElement> {
@@ -294,6 +312,10 @@ declare interface iRfidDataFileTypeProps {
294
312
  children: ReactNode;
295
313
  }
296
314
 
315
+ declare interface IScrollProps extends HTMLAttributes<HTMLDivElement> {
316
+ maxHeight?: number;
317
+ }
318
+
297
319
  declare interface iSecurityFeatureTypeLabelProps {
298
320
  children: ReactNode;
299
321
  }
@@ -331,11 +353,13 @@ export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
331
353
 
332
354
  export declare interface ITabsProps extends HTMLAttributes<HTMLDivElement> {
333
355
  items: Array<{
356
+ id: string | number;
334
357
  label: string;
335
358
  children: ReactNode;
336
359
  }>;
360
+ initialTab?: string | number;
337
361
  type?: 'line' | 'card';
338
- onTabChange?: (tabIndex: number) => void;
362
+ onTabChange?: (tabIndex: number | string) => void;
339
363
  }
340
364
 
341
365
  export declare interface ITextProps extends HTMLAttributes<HTMLSpanElement> {
@@ -354,6 +378,10 @@ declare interface IVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
354
378
  fillColor?: string;
355
379
  }
356
380
 
381
+ declare interface iVisualFieldTypeProps {
382
+ children: ReactNode;
383
+ }
384
+
357
385
  declare interface IWarningProps extends HTMLAttributes<HTMLSpanElement> {
358
386
  size?: number;
359
387
  fillColor?: string;
@@ -366,6 +394,8 @@ declare interface IZipProps extends HTMLAttributes<HTMLSpanElement> {
366
394
 
367
395
  export declare const JsonViewer: FC<IJsonViewerProps>;
368
396
 
397
+ declare const LCID: FC<iLcidProps>;
398
+
369
399
  declare const LightsLabel: FC<iLightsLabelProps>;
370
400
 
371
401
  export declare const Logs: () => JSX_2.Element | null;
@@ -402,6 +432,8 @@ export declare const Rfid: () => JSX_2.Element | null;
402
432
 
403
433
  declare const RfidDataFileType: FC<iRfidDataFileTypeProps>;
404
434
 
435
+ export declare const Scroll: FC<IScrollProps>;
436
+
405
437
  declare const SecurityFeatureTypeLabel: FC<iSecurityFeatureTypeLabelProps>;
406
438
 
407
439
  declare const Sex: FC<iSexProps>;
@@ -433,6 +465,8 @@ export declare const Verifications: () => JSX_2.Element | null;
433
465
 
434
466
  declare const Verified: FC<IVerifiedProps>;
435
467
 
468
+ declare const VisualFieldType: FC<iVisualFieldTypeProps>;
469
+
436
470
  declare const Warning: FC<IWarningProps>;
437
471
 
438
472
  declare const Zip: FC<IZipProps>;