@regulaforensics/idv-document 3.2.250-nightly → 3.2.252-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 +36 -14
- package/dist/main.iife.js +26 -26
- package/dist/main.js +500 -496
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,30 @@ declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unkno
|
|
|
8
8
|
abstract setProps(config: IdvModuleProps<TModuleProps, TModulesConfig>): void;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
declare type DocumentGalleryProps = {
|
|
12
|
+
processParam?: {
|
|
13
|
+
multipageProcessing?: boolean;
|
|
14
|
+
scenario: string;
|
|
15
|
+
internalScenario: string | InternalScenarios;
|
|
16
|
+
backendProcessing?: {
|
|
17
|
+
serviceURL?: string;
|
|
18
|
+
rfidServerSideChipVerification?: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
selectionLimit: number;
|
|
22
|
+
templateId: typeof DocumentIdvSteps.DOC_READER_GALLERY;
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
tag?: string;
|
|
25
|
+
sessionId?: string;
|
|
26
|
+
serviceToken?: string;
|
|
27
|
+
locale?: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
11
30
|
export declare class DocumentIdv extends LitElement implements BaseModule<DocumentModuleProps, DocumentModulesConfig> {
|
|
12
31
|
props: IdvModuleProps<DocumentModuleProps, DocumentModulesConfig> | null;
|
|
13
32
|
setProps(props: IdvModuleProps<DocumentModuleProps, DocumentModulesConfig>): void;
|
|
14
33
|
static isReady(): boolean;
|
|
15
|
-
static getSupportedTemplates():
|
|
34
|
+
static getSupportedTemplates(): ("DOC_READER" | "DOC_READER_GALLERY")[];
|
|
16
35
|
static initialize(modulesConfig: DocumentModulesConfig): void;
|
|
17
36
|
static deinitialize(): void;
|
|
18
37
|
static getIdentifier(): string;
|
|
@@ -20,12 +39,22 @@ export declare class DocumentIdv extends LitElement implements BaseModule<Docume
|
|
|
20
39
|
render(): TemplateResult<1>;
|
|
21
40
|
}
|
|
22
41
|
|
|
23
|
-
declare
|
|
24
|
-
DOC_READER
|
|
25
|
-
DOC_READER_GALLERY
|
|
26
|
-
}
|
|
42
|
+
declare const DocumentIdvSteps: {
|
|
43
|
+
readonly DOC_READER: "DOC_READER";
|
|
44
|
+
readonly DOC_READER_GALLERY: "DOC_READER_GALLERY";
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
declare type DocumentIdvSteps = (typeof DocumentIdvSteps)[keyof typeof DocumentIdvSteps];
|
|
27
48
|
|
|
28
|
-
declare type DocumentModuleProps =
|
|
49
|
+
declare type DocumentModuleProps = DocumentGalleryProps | DocumentReaderProps;
|
|
50
|
+
|
|
51
|
+
declare type DocumentModulesConfig = {
|
|
52
|
+
docreader: {
|
|
53
|
+
devLicense: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
declare type DocumentReaderProps = {
|
|
29
58
|
processParam?: {
|
|
30
59
|
multipageProcessing?: boolean;
|
|
31
60
|
scenario: string;
|
|
@@ -102,18 +131,11 @@ declare type DocumentModuleProps = {
|
|
|
102
131
|
};
|
|
103
132
|
copyright?: boolean;
|
|
104
133
|
tag?: string;
|
|
105
|
-
templateId:
|
|
134
|
+
templateId: typeof DocumentIdvSteps.DOC_READER;
|
|
106
135
|
sessionId?: string;
|
|
107
136
|
serviceToken?: string;
|
|
108
137
|
locale?: string;
|
|
109
138
|
backgroundColor?: string;
|
|
110
|
-
selectionLimit?: number;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
declare type DocumentModulesConfig = {
|
|
114
|
-
docreader: {
|
|
115
|
-
devLicense: string;
|
|
116
|
-
};
|
|
117
139
|
};
|
|
118
140
|
|
|
119
141
|
declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|