@regulaforensics/idv-face 3.2.240-nightly → 3.2.241-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 +7 -21
- package/dist/main.iife.js +99 -36
- package/dist/main.js +16545 -20657
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,37 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FaceLivenessWebComponent } from '@regulaforensics/vp-frontend-face-components';
|
|
1
|
+
import { LitElement } from 'lit';
|
|
3
2
|
import { RecordingProcess } from '@regulaforensics/vp-frontend-face-components';
|
|
3
|
+
import { TemplateResult } from 'lit-html';
|
|
4
4
|
|
|
5
5
|
declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unknown> extends HTMLElement {
|
|
6
6
|
abstract props: IdvModuleProps<TModuleProps, TModulesConfig> | null;
|
|
7
7
|
abstract setProps(config: IdvModuleProps<TModuleProps, TModulesConfig>): void;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
declare class FaceIdv extends BaseModule<FaceModuleProps,
|
|
11
|
-
props: IdvModuleProps<FaceModuleProps,
|
|
12
|
-
|
|
13
|
-
private _mounted;
|
|
14
|
-
private _isFinishWithExitOnce;
|
|
15
|
-
constructor();
|
|
16
|
-
static displayName: string;
|
|
17
|
-
listener: (data: CustomEvent<FaceLivenessDetailType>) => void;
|
|
18
|
-
private prepareStyles;
|
|
19
|
-
private injectStyles;
|
|
20
|
-
private prepareSettings;
|
|
21
|
-
setProps(props: IdvModuleProps<FaceModuleProps, FaceIdvModulesConfig>): void;
|
|
22
|
-
connectedCallback(): void;
|
|
23
|
-
render(): void;
|
|
24
|
-
disconnectedCallback(): void;
|
|
10
|
+
export declare class FaceIdv extends LitElement implements BaseModule<FaceModuleProps, object> {
|
|
11
|
+
props: IdvModuleProps<FaceModuleProps, object> | null;
|
|
12
|
+
setProps(props: IdvModuleProps<FaceModuleProps, object>): void;
|
|
25
13
|
static isReady(): boolean;
|
|
26
14
|
static getSupportedTemplates: () => FaceIdvSteps[];
|
|
27
15
|
static initialize(_modulesConfig: Record<string, unknown>): void;
|
|
28
16
|
static deinitialize(): void;
|
|
29
17
|
static getIdentifier: () => string;
|
|
18
|
+
static displayName: string;
|
|
19
|
+
render(): TemplateResult<1>;
|
|
30
20
|
}
|
|
31
|
-
export { FaceIdv }
|
|
32
|
-
export default FaceIdv;
|
|
33
|
-
|
|
34
|
-
declare type FaceIdvModulesConfig = object;
|
|
35
21
|
|
|
36
22
|
declare enum FaceIdvSteps {
|
|
37
23
|
LIVENESS = "LIVENESS"
|