@regulaforensics/ui-components 8.1.463-rc → 8.1.465-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/core/index.cjs +31 -31
- package/dist/core/index.css +2 -2
- package/dist/core/index.js +25355 -25446
- package/dist/index.d.ts +55 -4
- package/dist/main/index.cjs +31 -31
- package/dist/main/index.css +2 -2
- package/dist/main/index.js +25355 -25446
- package/package.json +28 -11
package/dist/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ declare const getVisualFieldType: (input: any) => string | number;
|
|
|
137
137
|
declare const GraphicFieldType: FC<iGraphicFieldTypeProps>;
|
|
138
138
|
|
|
139
139
|
/** The images contained in the response. */
|
|
140
|
-
export declare const Graphics:
|
|
140
|
+
export declare const Graphics: FC<IGraphicsProps>;
|
|
141
141
|
|
|
142
142
|
declare const GroupDescription: FC<iGroupDescriptionProps>;
|
|
143
143
|
|
|
@@ -207,8 +207,10 @@ export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
207
207
|
head: ReactNode;
|
|
208
208
|
/** The ability to collapse and expand content. */
|
|
209
209
|
collapse?: boolean;
|
|
210
|
-
/**
|
|
210
|
+
/** State of the hidden content, expanded or collapsed. */
|
|
211
211
|
open?: boolean;
|
|
212
|
+
/** The initial state of the hidden content, expanded or collapsed. */
|
|
213
|
+
defaultOpen?: boolean;
|
|
212
214
|
/** Collapsed content. */
|
|
213
215
|
children: ReactNode;
|
|
214
216
|
/** Component style type. */
|
|
@@ -260,11 +262,23 @@ declare interface IDocReaderContainerProps extends HTMLAttributes<HTMLElement> {
|
|
|
260
262
|
}
|
|
261
263
|
|
|
262
264
|
declare interface iDocumentImagesProps {
|
|
265
|
+
imageViewer?: boolean;
|
|
263
266
|
className?: string;
|
|
267
|
+
initialPageIndex?: number;
|
|
268
|
+
initialLight?: number;
|
|
269
|
+
onPageChanged?: (page: number) => void;
|
|
270
|
+
onLightChanged?: (light: number) => void;
|
|
264
271
|
}
|
|
265
272
|
|
|
266
273
|
declare interface iDocumentTabsProps {
|
|
274
|
+
imageViewer?: boolean;
|
|
267
275
|
className?: string;
|
|
276
|
+
initialTab?: eInfoTabID;
|
|
277
|
+
onTabChange?: (tab: eInfoTabID) => void;
|
|
278
|
+
initialScrollPosition?: Partial<TTabScrollState>;
|
|
279
|
+
onScrollTop?: (position: TTabScrollState) => void;
|
|
280
|
+
openFields?: Partial<TOpenFieldsState>;
|
|
281
|
+
onOpenFieldsChange?: (fields: TOpenFieldsState) => void;
|
|
268
282
|
}
|
|
269
283
|
|
|
270
284
|
declare interface iDocumentTypeProps {
|
|
@@ -304,6 +318,11 @@ declare interface iGraphicFieldTypeProps {
|
|
|
304
318
|
children: ReactNode;
|
|
305
319
|
}
|
|
306
320
|
|
|
321
|
+
declare interface IGraphicsProps {
|
|
322
|
+
/** Full-screen photo display */
|
|
323
|
+
imageViewer?: boolean;
|
|
324
|
+
}
|
|
325
|
+
|
|
307
326
|
declare interface iGroupDescriptionProps {
|
|
308
327
|
children: ReactNode;
|
|
309
328
|
}
|
|
@@ -368,6 +387,11 @@ declare interface iImageQualityCheckTypeLabelProps {
|
|
|
368
387
|
children: ReactNode;
|
|
369
388
|
}
|
|
370
389
|
|
|
390
|
+
declare interface IInfoProps {
|
|
391
|
+
/** Full-screen photo display */
|
|
392
|
+
imageViewer?: boolean;
|
|
393
|
+
}
|
|
394
|
+
|
|
371
395
|
declare interface iIRVisibilityStatusProps {
|
|
372
396
|
children: ReactNode;
|
|
373
397
|
}
|
|
@@ -472,7 +496,7 @@ declare interface IMenuProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
472
496
|
size?: number;
|
|
473
497
|
}
|
|
474
498
|
|
|
475
|
-
export declare const Info: FC
|
|
499
|
+
export declare const Info: FC<IInfoProps>;
|
|
476
500
|
|
|
477
501
|
declare interface INotVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
|
|
478
502
|
/** Icon fill color. */
|
|
@@ -490,6 +514,8 @@ declare interface IPersonInfoProps {
|
|
|
490
514
|
showPortrait?: boolean;
|
|
491
515
|
/** Component class name. */
|
|
492
516
|
className?: string;
|
|
517
|
+
/** Full-screen photo display */
|
|
518
|
+
imageViewer?: boolean;
|
|
493
519
|
}
|
|
494
520
|
|
|
495
521
|
export declare interface IPopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -503,6 +529,11 @@ declare interface iPortraitComparisonSourceProps {
|
|
|
503
529
|
children: ReactNode;
|
|
504
530
|
}
|
|
505
531
|
|
|
532
|
+
declare interface IPortraitsComparisonProps {
|
|
533
|
+
/** Full-screen photo display */
|
|
534
|
+
imageViewer?: boolean;
|
|
535
|
+
}
|
|
536
|
+
|
|
506
537
|
declare interface IQuestionProps extends HTMLAttributes<HTMLSpanElement> {
|
|
507
538
|
/** Icon fill color. */
|
|
508
539
|
fillColor?: string;
|
|
@@ -549,6 +580,10 @@ declare interface IScrollProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
549
580
|
extendedScrollDelay?: number;
|
|
550
581
|
/** Auto scroll offset */
|
|
551
582
|
extendedScrollOffset?: number;
|
|
583
|
+
/** Scroll start position. */
|
|
584
|
+
initialScrollPosition?: number;
|
|
585
|
+
/** Scroll top listener. */
|
|
586
|
+
onScrollTop?: (position: number) => void;
|
|
552
587
|
/** Content. */
|
|
553
588
|
children: ReactNode;
|
|
554
589
|
}
|
|
@@ -586,6 +621,10 @@ declare interface IStatusProps {
|
|
|
586
621
|
name: string;
|
|
587
622
|
value: string | number;
|
|
588
623
|
}>;
|
|
624
|
+
/** Scroll to the selected result. */
|
|
625
|
+
scrollToResult?: boolean;
|
|
626
|
+
/** Full-screen photo display */
|
|
627
|
+
imageViewer?: boolean;
|
|
589
628
|
}
|
|
590
629
|
|
|
591
630
|
export declare interface iTabItem {
|
|
@@ -607,6 +646,8 @@ export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
|
|
|
607
646
|
export declare interface iTabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
608
647
|
/** Tabs content. */
|
|
609
648
|
items: iTabItem[];
|
|
649
|
+
/** The ID of the tab. */
|
|
650
|
+
tab?: string | number;
|
|
610
651
|
/** The ID of the initial tab. */
|
|
611
652
|
initialTab?: string | number;
|
|
612
653
|
/** Component style type. */
|
|
@@ -634,6 +675,8 @@ declare interface IVerificationsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
634
675
|
type?: 'list' | 'collapse';
|
|
635
676
|
/** Expand the list if there are errors. Only for type === 'collapse'. */
|
|
636
677
|
openOnError?: boolean;
|
|
678
|
+
/** Scroll to the selected result. */
|
|
679
|
+
scrollToResult?: boolean;
|
|
637
680
|
}
|
|
638
681
|
|
|
639
682
|
declare interface IVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
|
|
@@ -688,6 +731,8 @@ declare const Menu: FC<IMenuProps>;
|
|
|
688
731
|
/** NotVerified icon. */
|
|
689
732
|
declare const NotVerified: FC<INotVerifiedProps>;
|
|
690
733
|
|
|
734
|
+
declare type OpenFieldsTabName = 'textData' | 'authenticity' | 'imageQuality' | 'identification';
|
|
735
|
+
|
|
691
736
|
declare const OpticalStatusField: FC<iOpticalStatusFieldProps>;
|
|
692
737
|
|
|
693
738
|
/** Document processing status. */
|
|
@@ -702,7 +747,7 @@ export declare const Popover: FC<IPopoverProps>;
|
|
|
702
747
|
declare const PortraitComparisonSource: FC<iPortraitComparisonSourceProps>;
|
|
703
748
|
|
|
704
749
|
/** Portraits comparison. */
|
|
705
|
-
export declare const PortraitsComparison:
|
|
750
|
+
export declare const PortraitsComparison: FC<IPortraitsComparisonProps>;
|
|
706
751
|
|
|
707
752
|
/** Question icon. */
|
|
708
753
|
declare const Question: ForwardRefExoticComponent<IQuestionProps & RefAttributes<HTMLSpanElement>>;
|
|
@@ -730,6 +775,8 @@ declare const RfidDataFileType: FC<iRfidDataFileTypeProps>;
|
|
|
730
775
|
/** Custom scroll. */
|
|
731
776
|
export declare const Scroll: FC<IScrollProps>;
|
|
732
777
|
|
|
778
|
+
declare type ScrollTabName = 'textData' | 'authenticity' | 'imageQuality' | 'identification';
|
|
779
|
+
|
|
733
780
|
declare const SecurityFeatureTypeLabel: FC<iSecurityFeatureTypeLabelProps>;
|
|
734
781
|
|
|
735
782
|
declare const Sex: FC<iSexProps>;
|
|
@@ -759,6 +806,10 @@ export { Text_2 as Text }
|
|
|
759
806
|
|
|
760
807
|
export declare const Title: FC<IH1Props>;
|
|
761
808
|
|
|
809
|
+
declare type TOpenFieldsState = Record<OpenFieldsTabName, Set<string>>;
|
|
810
|
+
|
|
811
|
+
declare type TTabScrollState = Record<ScrollTabName, number>;
|
|
812
|
+
|
|
762
813
|
/** Unknown icon. */
|
|
763
814
|
declare const Unknown: FC<IUnknownProps>;
|
|
764
815
|
|