@idscan/onboarding 2.2.16 → 2.2.17
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/@types/src/@types/Api/Requests.d.ts +1 -1
- package/dist/@types/src/@types/Data.d.ts +0 -1
- package/dist/@types/src/@types/Step.d.ts +1 -1
- package/dist/@types/src/Wrapper.d.ts +1 -0
- package/dist/@types/src/helpers/utils.d.ts +3 -35
- package/dist/@types/src/mocks/defaultValues.d.ts +2 -0
- package/dist/@types/src/modules/QRCodeModal.d.ts +2 -2
- package/dist/js/wrapper.js +1 -1
- package/package.json +1 -1
- package/readme.md +4 -0
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
import { IDVCConfig } from '../@types/Data';
|
|
1
|
+
import { IDocumentType, IDVCConfig, IWebLibDocument } from '../@types/Data';
|
|
2
2
|
export declare const createGuid: () => string;
|
|
3
3
|
/**
|
|
4
4
|
* 1. Filter Active DocumentTypes
|
|
5
5
|
* 2. Filter Steps that have at least one active mode
|
|
6
6
|
* */
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
type: import("../@types/IDVCTypes").DocumentTypeName;
|
|
10
|
-
steps: import("../@types/Step").IStepConfig[];
|
|
11
|
-
}[];
|
|
12
|
-
priority: string;
|
|
13
|
-
realFaceMode: import("../@types/IDVCTypes").RealFaceModeType;
|
|
14
|
-
steps: import("../@types/Step").IStepConfig[];
|
|
15
|
-
types: string[];
|
|
16
|
-
capturingMode: string;
|
|
17
|
-
resizeUploadedImage: number;
|
|
18
|
-
isShowManualSwitchButton: boolean;
|
|
19
|
-
showSubmitBtn: boolean;
|
|
20
|
-
enableLimitation: boolean;
|
|
21
|
-
autoContinue: boolean;
|
|
22
|
-
fixFrontOrientAfterUpload: boolean;
|
|
23
|
-
strictAllowedTypes: boolean;
|
|
24
|
-
useCDN?: boolean | undefined;
|
|
25
|
-
isShowVersion: boolean;
|
|
26
|
-
showForceCapturingBtn: boolean;
|
|
27
|
-
isShowGuidlinesButton: boolean;
|
|
28
|
-
licenseKey: string;
|
|
29
|
-
el: string;
|
|
30
|
-
networkUrl?: string | undefined;
|
|
31
|
-
chunkPublicPath?: string | undefined;
|
|
32
|
-
language: import("../@types/IDVCTypes").SupportedLanguage;
|
|
33
|
-
h_stepMode: import("../@types/Step").IStepMode;
|
|
34
|
-
isShowDocumentTypeSelect: boolean;
|
|
35
|
-
useHeic: boolean;
|
|
36
|
-
isShowGuidelinesButton: boolean;
|
|
37
|
-
isSubmitMetaData: boolean;
|
|
38
|
-
hideDocumentTitle?: boolean | undefined;
|
|
39
|
-
processingImageFormat?: "jpeg" | "png" | "webp" | undefined;
|
|
40
|
-
};
|
|
7
|
+
export declare const getFilteredDocumentTypes: (documentTypes: IWebLibDocument[]) => IDocumentType[];
|
|
8
|
+
export declare const prepareDocumentTypes: (config: IDVCConfig) => IDocumentType[];
|
|
@@ -12,8 +12,8 @@ export default class QRCodeModal extends Modal {
|
|
|
12
12
|
private readonly applicantId;
|
|
13
13
|
private QRCodeURL;
|
|
14
14
|
private domainApi;
|
|
15
|
-
private readonly
|
|
16
|
-
constructor(mountEl: HTMLElement | string, applicantId: string, domainApi: string,
|
|
15
|
+
private readonly embeddedAppConnectionId;
|
|
16
|
+
constructor(mountEl: HTMLElement | string, applicantId: string, domainApi: string, embeddedAppConnectionId: string, state?: QRCodeModalState);
|
|
17
17
|
init(html?: string): void;
|
|
18
18
|
initQRCodeURL(): void;
|
|
19
19
|
set state(newState: QRCodeModalState);
|