@regulaforensics/idv-document 3.4.309-nightly → 3.4.311-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 +16 -1
- package/dist/main.iife.js +28 -28
- package/dist/main.js +459 -448
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InternalScenarios } from '@regulaforensics/vp-frontend-document-components';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
3
|
import { MirrorType } from '@regulaforensics/vp-frontend-document-components';
|
|
4
|
+
import { ModuleType as ModuleType_2 } from '@regulaforensics/vp-frontend-document-components';
|
|
4
5
|
import { TemplateResult } from 'lit-html';
|
|
5
6
|
|
|
6
7
|
declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unknown> extends HTMLElement {
|
|
@@ -26,6 +27,7 @@ declare type DocumentGalleryProps = {
|
|
|
26
27
|
serviceToken?: string;
|
|
27
28
|
locale?: string;
|
|
28
29
|
stepType?: string;
|
|
30
|
+
failedAssets?: FailedAssets;
|
|
29
31
|
};
|
|
30
32
|
|
|
31
33
|
export declare class DocumentIdv extends LitElement implements BaseModule<DocumentModuleProps, DocumentModulesConfig> {
|
|
@@ -51,7 +53,8 @@ declare type DocumentModuleProps = DocumentGalleryProps | DocumentReaderProps;
|
|
|
51
53
|
|
|
52
54
|
declare type DocumentModulesConfig = {
|
|
53
55
|
docreader: {
|
|
54
|
-
devLicense
|
|
56
|
+
devLicense?: string;
|
|
57
|
+
module?: ModuleType_2;
|
|
55
58
|
};
|
|
56
59
|
};
|
|
57
60
|
|
|
@@ -138,6 +141,13 @@ declare type DocumentReaderProps = {
|
|
|
138
141
|
locale?: string;
|
|
139
142
|
backgroundColor?: string;
|
|
140
143
|
stepType?: string;
|
|
144
|
+
failedAssets?: FailedAssets;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
declare type FailedAssets = {
|
|
148
|
+
imageURL: Set<string>;
|
|
149
|
+
base64: Set<string>;
|
|
150
|
+
isCritical: boolean;
|
|
141
151
|
};
|
|
142
152
|
|
|
143
153
|
declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
@@ -149,6 +159,11 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
|
149
159
|
nonce?: string;
|
|
150
160
|
};
|
|
151
161
|
|
|
162
|
+
export declare enum ModuleType {
|
|
163
|
+
BarcodeMRZ = "BarcodeMRZ",
|
|
164
|
+
BoundsLite = "BoundsLite"
|
|
165
|
+
}
|
|
166
|
+
|
|
152
167
|
declare type PerformType = (typeof PerformTypes)[keyof typeof PerformTypes] | undefined;
|
|
153
168
|
|
|
154
169
|
declare const PerformTypes: {
|