@incodetech/core 0.0.0-dev-20260819-d97c25cd → 0.0.0-dev-20260819-1f18df1b
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/{BrowserDiagnosticsCryptoProvider-C1kB1eB6.esm.js → BrowserDiagnosticsCryptoProvider-BF9xBaiY.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DlY6lEte.esm.js → apiError-DkvxstPe.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CG7g38ad.d.ts → authenticationManager-BdJ566eB.d.ts} +1 -1
- package/dist/{authenticationManager-C3Pdo3OC.esm.js → authenticationManager-DePerCFv.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CpBOgS9i.esm.js → authenticationStateMachine-JTIG9iMY.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-DLOyIZzt.d.ts} +5 -5
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-DrMLHzVF.d.ts → curpValidationManager-B9kKccLg.d.ts} +1 -1
- package/dist/{deepsightLoader-Ct8Fmn7_.esm.js → deepsightLoader-DM1qt1rT.esm.js} +3 -3
- package/dist/{deepsightService-Dr7sNZ5r.d.ts → deepsightService-Cr6ns2kj.d.ts} +1 -1
- package/dist/document-capture.d.ts +2 -2
- package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +83 -83
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DhveFHPS.d.ts → dynamicFormsManager-fhK0yINk.d.ts} +1 -1
- package/dist/{dynamicFormsManager-CWXstugw.esm.js → dynamicFormsManager-wb7IY6XA.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BN5EojBS.esm.js → dynamicFormsStateMachine-BsV6u2O0.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CS2eKYaZ.esm.js → ekybManager-DH_IUSU-.esm.js} +1 -1
- package/dist/{ekybStateMachine-CUbUpf93.esm.js → ekybStateMachine-D7x2OH2M.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DAV5Qd7D.esm.js → electronicSignatureManager-BXdPZXeF.esm.js} +1 -1
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +9 -9
- package/dist/{faceCaptureManagerFactory-CA_aJRiS.esm.js → faceCaptureManagerFactory-AgR9dodj.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-D6qnBVUw.d.ts → faceCaptureManagerFactory-Crm7rmV-.d.ts} +5 -5
- package/dist/{faceCaptureSetup-q_Csi0hg.esm.js → faceCaptureSetup-CAM44ryF.esm.js} +2 -2
- package/dist/{feature-management-Cl__Mk57.esm.js → feature-management-BHkGKfmU.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-B0iuFfdZ.esm.js → flowCompletionService-gP3_yh83.esm.js} +1 -1
- package/dist/{flowServices-D6lWadVX.esm.js → flowServices-ztQt4eWp.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CZJwhj_d.esm.js → geolocationManager-BbUhrfZr.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BOH8p4nS.esm.js → geolocationStateMachine-BFRFFQmv.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-CdJ5tIzZ.esm.js → idCaptureManager-Bk4g-AA-.esm.js} +2 -2
- package/dist/{idCaptureManager-CfE4iEi0.d.ts → idCaptureManager-DQEUuleg.d.ts} +4 -4
- package/dist/{idCaptureServices-DLNKi_EM.esm.js → idCaptureServices-BAMeTBQC.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-C4UMP5JD.esm.js → idCaptureStateMachine-DkOpW_NS.esm.js} +8 -8
- package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-CFlDwUvN.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BXEBBI3N.d.ts} +5 -5
- package/dist/{index-LA6R9BLR.d.ts → index-B_-QIi8y.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-DbGLEuuz.d.ts → mandatoryConsentManager-CohPXtwL.d.ts} +6 -6
- package/dist/{onDeviceFaceResults-RJnRexzw.esm.js → onDeviceFaceResults-EQ6ZXUbf.esm.js} +3 -3
- package/dist/personhood.d.ts +3 -3
- package/dist/personhood.esm.js +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CLsBGwrX.esm.js → recordingService-Oq-IFeR6.esm.js} +1 -1
- package/dist/{runChildModule-btHrg-mD.esm.js → runChildModule-BPrQSI0L.esm.js} +1 -1
- package/dist/{sdkVersion-x6P2avb7.esm.js → sdkVersion-Blmw3y8l.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-dki4G9tK.d.ts → selfieManager-D03ce0Eq.d.ts} +1 -1
- package/dist/{selfieManager-BNRQ9O-F.esm.js → selfieManager-pz0su_lR.esm.js} +2 -2
- package/dist/{selfieStateMachine-BCruqTSI.esm.js → selfieStateMachine-BKK3rwVO.esm.js} +2 -2
- package/dist/{session-Bgkz0Bl9.esm.js → session-N4qZeM0U.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BWxNWUni.esm.js → sessionInitializer-g7b74E9N.esm.js} +4 -4
- package/dist/{setup-CXsJAvBD.esm.js → setup-CyI63xB9.esm.js} +5 -5
- package/dist/trueSight-BUvE_d2r.esm.js +1 -0
- package/dist/{trueSightService-C8mkify_.esm.js → trueSightService-B3cP5St3.esm.js} +2 -2
- package/dist/types-BMa0ZqAi.d.ts +6 -0
- package/dist/{types-isCyg__O.d.ts → types-B_PW_0Wq2.d.ts} +3 -3
- package/dist/{types-C6pPfQxo.d.ts → types-BaDB52_j.d.ts} +1 -1
- package/dist/{types-DelMqZLe.d.ts → types-BjSly8cp.d.ts} +1 -1
- package/dist/{types-BqezaTnP.d.ts → types-CkrawdOy.d.ts} +3 -2
- package/dist/{types-D10PIjOT.d.ts → types-R1jpOcvl.d.ts} +1 -1
- package/dist/{types-KeV54Tt6.d.ts → types-jBSE34JY.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-BwvCvHQQ.esm.js → videoSelfieCameraWarmer-z4FCYKxN.esm.js} +2 -2
- package/dist/{videoSelfieStepDetector-tHovquP4.d.ts → videoSelfieStepDetector-g3PJIqyq.d.ts} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +5 -5
- package/dist/workflow.esm.js +15 -15
- package/package.json +3 -8
- package/dist/document-upload.d.ts +0 -325
- package/dist/document-upload.esm.js +0 -197
- package/dist/trueSight-CzaYWY8k.esm.js +0 -1
- package/dist/types-DQpi7nkW.d.ts +0 -6
- package/dist/types-Vb4P9ovf.d.ts +0 -22
- /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
|
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
|
|
|
18
18
|
*/
|
|
19
19
|
function getTruesightKey() {
|
|
20
20
|
try {
|
|
21
|
-
const key = decodeTruesightKey("
|
|
21
|
+
const key = decodeTruesightKey("XZo1FjTPYXTo8jm/l6GJB9y+kxqIv5X5cIAYMOybmiQ=", "QFk5vZz5GvjBZfFdRbcYksd0XmpnLkytrnmeix6XBu0=");
|
|
22
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
23
23
|
} catch {
|
|
24
24
|
return null;
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BXdPZXeF.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-Crm7rmV-.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-BMa0ZqAi.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BdJ566eB.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-JTIG9iMY.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DePerCFv.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-Crm7rmV-.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-C3Pdo3OC.esm.js → authenticationManager-DePerCFv.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-AgR9dodj.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-JTIG9iMY.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CAM44ryF.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-EQ6ZXUbf.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,6 +82,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "clearError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
+
resetContext: {
|
|
86
|
+
type: "resetContext";
|
|
87
|
+
params: NonReducibleUnknown;
|
|
88
|
+
};
|
|
85
89
|
setConsentData: {
|
|
86
90
|
type: "setConsentData";
|
|
87
91
|
params: NonReducibleUnknown;
|
|
@@ -90,14 +94,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
90
94
|
type: "toggleCheckbox";
|
|
91
95
|
params: NonReducibleUnknown;
|
|
92
96
|
};
|
|
93
|
-
resetContext: {
|
|
94
|
-
type: "resetContext";
|
|
95
|
-
params: NonReducibleUnknown;
|
|
96
|
-
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({ input }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-B9kKccLg.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-CkrawdOy.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-B3cP5St3.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-g7b74E9N.esm.js";
|
|
5
|
+
import "./trueSight-BUvE_d2r.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
8
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
2
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-pUEkdk4X.js";
|
|
3
2
|
import "./IWasmUtilCapability-5-Pncgma.js";
|
|
3
|
+
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
//#region ../infra/src/media/StreamCanvasCapture.d.ts
|
|
5
5
|
type StreamCanvasCaptureOptions = {
|
|
6
6
|
fps?: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -3,7 +3,7 @@ import "./StateMachine-EDpYWy0i.js";
|
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
5
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
6
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-
|
|
6
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-BjSly8cp.js";
|
|
7
7
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
8
8
|
declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
9
9
|
type: "CAPTURE";
|
|
@@ -52,14 +52,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
52
52
|
} | {
|
|
53
53
|
type: "CLOSE";
|
|
54
54
|
}, {
|
|
55
|
-
[x: string]: ActorRefFromLogic<PromiseActorLogic<
|
|
55
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<DocumentUploadResponse, {
|
|
56
56
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
57
57
|
processingType: string;
|
|
58
58
|
onProgress: (progress: number) => void;
|
|
59
59
|
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, {
|
|
60
60
|
permissionResult?: PermissionResult;
|
|
61
61
|
requestMotionPermission: boolean;
|
|
62
|
-
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<FinalizeDocumentResponse, {
|
|
62
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<MediaStream, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<FinalizeDocumentResponse, {
|
|
63
63
|
processingType: string;
|
|
64
64
|
}, EventObject>> | undefined;
|
|
65
65
|
}, Values<{
|
|
@@ -72,11 +72,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
72
72
|
}, EventObject>;
|
|
73
73
|
id: string | undefined;
|
|
74
74
|
};
|
|
75
|
-
initCamera: {
|
|
76
|
-
src: "initCamera";
|
|
77
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
78
|
-
id: string | undefined;
|
|
79
|
-
};
|
|
80
75
|
requestPermission: {
|
|
81
76
|
src: "requestPermission";
|
|
82
77
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -90,6 +85,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
90
85
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
91
86
|
id: string | undefined;
|
|
92
87
|
};
|
|
88
|
+
initCamera: {
|
|
89
|
+
src: "initCamera";
|
|
90
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
91
|
+
id: string | undefined;
|
|
92
|
+
};
|
|
93
93
|
finalizeDocumentRequest: {
|
|
94
94
|
src: "finalizeDocumentRequest";
|
|
95
95
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -102,20 +102,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
type: "decrementAttemptsRemaining";
|
|
103
103
|
params: NonReducibleUnknown;
|
|
104
104
|
};
|
|
105
|
-
setStream: {
|
|
106
|
-
type: "setStream";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
|
-
setProgress: {
|
|
110
|
-
type: "setProgress";
|
|
111
|
-
params: NonReducibleUnknown;
|
|
112
|
-
};
|
|
113
105
|
clearError: {
|
|
114
106
|
type: "clearError";
|
|
115
107
|
params: NonReducibleUnknown;
|
|
116
108
|
};
|
|
117
|
-
|
|
118
|
-
type: "
|
|
109
|
+
setStream: {
|
|
110
|
+
type: "setStream";
|
|
119
111
|
params: NonReducibleUnknown;
|
|
120
112
|
};
|
|
121
113
|
setCapturedDocument: {
|
|
@@ -126,6 +118,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
126
118
|
type: "setFileTooLargeError";
|
|
127
119
|
params: NonReducibleUnknown;
|
|
128
120
|
};
|
|
121
|
+
setProgress: {
|
|
122
|
+
type: "setProgress";
|
|
123
|
+
params: NonReducibleUnknown;
|
|
124
|
+
};
|
|
129
125
|
setUploadError: {
|
|
130
126
|
type: "setUploadError";
|
|
131
127
|
params: NonReducibleUnknown;
|
|
@@ -190,6 +186,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
190
186
|
type: "resetProgress";
|
|
191
187
|
params: NonReducibleUnknown;
|
|
192
188
|
};
|
|
189
|
+
stopStream: {
|
|
190
|
+
type: "stopStream";
|
|
191
|
+
params: NonReducibleUnknown;
|
|
192
|
+
};
|
|
193
193
|
}>, Values<{
|
|
194
194
|
allowSkip: {
|
|
195
195
|
type: "allowSkip";
|
|
@@ -251,14 +251,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
251
251
|
type: "fileSizeOkForNonGallery";
|
|
252
252
|
params: unknown;
|
|
253
253
|
};
|
|
254
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
254
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
255
255
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
256
256
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
257
257
|
readonly id: "documentCapture";
|
|
258
258
|
readonly initial: "tutorial";
|
|
259
259
|
readonly context: ({ input }: {
|
|
260
260
|
spawn: {
|
|
261
|
-
<TSrc extends "uploadDocument" | "
|
|
261
|
+
<TSrc extends "uploadDocument" | "requestPermission" | "checkPermission" | "initCamera" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
262
262
|
src: "uploadDocument";
|
|
263
263
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
264
264
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -282,12 +282,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
282
282
|
input?: InputFrom<T["logic"]> | undefined;
|
|
283
283
|
syncSnapshot?: boolean;
|
|
284
284
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
285
|
-
src: "
|
|
286
|
-
logic: PromiseActorLogic<
|
|
285
|
+
src: "requestPermission";
|
|
286
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
287
|
+
permissionResult?: PermissionResult;
|
|
288
|
+
requestMotionPermission: boolean;
|
|
289
|
+
}, EventObject>;
|
|
287
290
|
id: string | undefined;
|
|
288
291
|
} extends (infer T_1) ? T_1 extends {
|
|
289
|
-
src: "
|
|
290
|
-
logic: PromiseActorLogic<
|
|
292
|
+
src: "requestPermission";
|
|
293
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
294
|
+
permissionResult?: PermissionResult;
|
|
295
|
+
requestMotionPermission: boolean;
|
|
296
|
+
}, EventObject>;
|
|
291
297
|
id: string | undefined;
|
|
292
298
|
} ? T_1 extends {
|
|
293
299
|
src: TSrc;
|
|
@@ -297,18 +303,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
297
303
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
298
304
|
syncSnapshot?: boolean;
|
|
299
305
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
300
|
-
src: "
|
|
301
|
-
logic: PromiseActorLogic<PermissionResult,
|
|
302
|
-
permissionResult?: PermissionResult;
|
|
303
|
-
requestMotionPermission: boolean;
|
|
304
|
-
}, EventObject>;
|
|
306
|
+
src: "checkPermission";
|
|
307
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
305
308
|
id: string | undefined;
|
|
306
309
|
} extends (infer T_2) ? T_2 extends {
|
|
307
|
-
src: "
|
|
308
|
-
logic: PromiseActorLogic<PermissionResult,
|
|
309
|
-
permissionResult?: PermissionResult;
|
|
310
|
-
requestMotionPermission: boolean;
|
|
311
|
-
}, EventObject>;
|
|
310
|
+
src: "checkPermission";
|
|
311
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
312
312
|
id: string | undefined;
|
|
313
313
|
} ? T_2 extends {
|
|
314
314
|
src: TSrc;
|
|
@@ -318,12 +318,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
318
318
|
input?: InputFrom<T_2["logic"]> | undefined;
|
|
319
319
|
syncSnapshot?: boolean;
|
|
320
320
|
} & { [K_2 in RequiredActorOptions<T_2>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_2>>> : never : never : never) | ({
|
|
321
|
-
src: "
|
|
322
|
-
logic: PromiseActorLogic<
|
|
321
|
+
src: "initCamera";
|
|
322
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
323
323
|
id: string | undefined;
|
|
324
324
|
} extends (infer T_3) ? T_3 extends {
|
|
325
|
-
src: "
|
|
326
|
-
logic: PromiseActorLogic<
|
|
325
|
+
src: "initCamera";
|
|
326
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
} ? T_3 extends {
|
|
329
329
|
src: TSrc;
|
|
@@ -361,11 +361,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
361
361
|
}, EventObject>;
|
|
362
362
|
id: string | undefined;
|
|
363
363
|
};
|
|
364
|
-
initCamera: {
|
|
365
|
-
src: "initCamera";
|
|
366
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
367
|
-
id: string | undefined;
|
|
368
|
-
};
|
|
369
364
|
requestPermission: {
|
|
370
365
|
src: "requestPermission";
|
|
371
366
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -379,6 +374,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
379
374
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
380
375
|
id: string | undefined;
|
|
381
376
|
};
|
|
377
|
+
initCamera: {
|
|
378
|
+
src: "initCamera";
|
|
379
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
380
|
+
id: string | undefined;
|
|
381
|
+
};
|
|
382
382
|
finalizeDocumentRequest: {
|
|
383
383
|
src: "finalizeDocumentRequest";
|
|
384
384
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -621,11 +621,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
621
621
|
}, EventObject>;
|
|
622
622
|
id: string | undefined;
|
|
623
623
|
};
|
|
624
|
-
initCamera: {
|
|
625
|
-
src: "initCamera";
|
|
626
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
627
|
-
id: string | undefined;
|
|
628
|
-
};
|
|
629
624
|
requestPermission: {
|
|
630
625
|
src: "requestPermission";
|
|
631
626
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -639,6 +634,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
639
634
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
640
635
|
id: string | undefined;
|
|
641
636
|
};
|
|
637
|
+
initCamera: {
|
|
638
|
+
src: "initCamera";
|
|
639
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
640
|
+
id: string | undefined;
|
|
641
|
+
};
|
|
642
642
|
finalizeDocumentRequest: {
|
|
643
643
|
src: "finalizeDocumentRequest";
|
|
644
644
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -706,11 +706,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
706
706
|
}, EventObject>;
|
|
707
707
|
id: string | undefined;
|
|
708
708
|
};
|
|
709
|
-
initCamera: {
|
|
710
|
-
src: "initCamera";
|
|
711
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
712
|
-
id: string | undefined;
|
|
713
|
-
};
|
|
714
709
|
requestPermission: {
|
|
715
710
|
src: "requestPermission";
|
|
716
711
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -724,6 +719,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
724
719
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
725
720
|
id: string | undefined;
|
|
726
721
|
};
|
|
722
|
+
initCamera: {
|
|
723
|
+
src: "initCamera";
|
|
724
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
725
|
+
id: string | undefined;
|
|
726
|
+
};
|
|
727
727
|
finalizeDocumentRequest: {
|
|
728
728
|
src: "finalizeDocumentRequest";
|
|
729
729
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -790,11 +790,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
790
790
|
}, EventObject>;
|
|
791
791
|
id: string | undefined;
|
|
792
792
|
};
|
|
793
|
-
initCamera: {
|
|
794
|
-
src: "initCamera";
|
|
795
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
796
|
-
id: string | undefined;
|
|
797
|
-
};
|
|
798
793
|
requestPermission: {
|
|
799
794
|
src: "requestPermission";
|
|
800
795
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -808,6 +803,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
808
803
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
809
804
|
id: string | undefined;
|
|
810
805
|
};
|
|
806
|
+
initCamera: {
|
|
807
|
+
src: "initCamera";
|
|
808
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
809
|
+
id: string | undefined;
|
|
810
|
+
};
|
|
811
811
|
finalizeDocumentRequest: {
|
|
812
812
|
src: "finalizeDocumentRequest";
|
|
813
813
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -875,11 +875,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
875
875
|
}, EventObject>;
|
|
876
876
|
id: string | undefined;
|
|
877
877
|
};
|
|
878
|
-
initCamera: {
|
|
879
|
-
src: "initCamera";
|
|
880
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
881
|
-
id: string | undefined;
|
|
882
|
-
};
|
|
883
878
|
requestPermission: {
|
|
884
879
|
src: "requestPermission";
|
|
885
880
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -893,6 +888,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
893
888
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
894
889
|
id: string | undefined;
|
|
895
890
|
};
|
|
891
|
+
initCamera: {
|
|
892
|
+
src: "initCamera";
|
|
893
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
894
|
+
id: string | undefined;
|
|
895
|
+
};
|
|
896
896
|
finalizeDocumentRequest: {
|
|
897
897
|
src: "finalizeDocumentRequest";
|
|
898
898
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -1129,11 +1129,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1129
1129
|
}, EventObject>;
|
|
1130
1130
|
id: string | undefined;
|
|
1131
1131
|
};
|
|
1132
|
-
initCamera: {
|
|
1133
|
-
src: "initCamera";
|
|
1134
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1135
|
-
id: string | undefined;
|
|
1136
|
-
};
|
|
1137
1132
|
requestPermission: {
|
|
1138
1133
|
src: "requestPermission";
|
|
1139
1134
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1147,6 +1142,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1147
1142
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1148
1143
|
id: string | undefined;
|
|
1149
1144
|
};
|
|
1145
|
+
initCamera: {
|
|
1146
|
+
src: "initCamera";
|
|
1147
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1148
|
+
id: string | undefined;
|
|
1149
|
+
};
|
|
1150
1150
|
finalizeDocumentRequest: {
|
|
1151
1151
|
src: "finalizeDocumentRequest";
|
|
1152
1152
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -1214,11 +1214,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1214
1214
|
}, EventObject>;
|
|
1215
1215
|
id: string | undefined;
|
|
1216
1216
|
};
|
|
1217
|
-
initCamera: {
|
|
1218
|
-
src: "initCamera";
|
|
1219
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1220
|
-
id: string | undefined;
|
|
1221
|
-
};
|
|
1222
1217
|
requestPermission: {
|
|
1223
1218
|
src: "requestPermission";
|
|
1224
1219
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1232,6 +1227,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1232
1227
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1233
1228
|
id: string | undefined;
|
|
1234
1229
|
};
|
|
1230
|
+
initCamera: {
|
|
1231
|
+
src: "initCamera";
|
|
1232
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1233
|
+
id: string | undefined;
|
|
1234
|
+
};
|
|
1235
1235
|
finalizeDocumentRequest: {
|
|
1236
1236
|
src: "finalizeDocumentRequest";
|
|
1237
1237
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -1298,11 +1298,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1298
1298
|
}, EventObject>;
|
|
1299
1299
|
id: string | undefined;
|
|
1300
1300
|
};
|
|
1301
|
-
initCamera: {
|
|
1302
|
-
src: "initCamera";
|
|
1303
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1304
|
-
id: string | undefined;
|
|
1305
|
-
};
|
|
1306
1301
|
requestPermission: {
|
|
1307
1302
|
src: "requestPermission";
|
|
1308
1303
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1316,6 +1311,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1316
1311
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1317
1312
|
id: string | undefined;
|
|
1318
1313
|
};
|
|
1314
|
+
initCamera: {
|
|
1315
|
+
src: "initCamera";
|
|
1316
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1317
|
+
id: string | undefined;
|
|
1318
|
+
};
|
|
1319
1319
|
finalizeDocumentRequest: {
|
|
1320
1320
|
src: "finalizeDocumentRequest";
|
|
1321
1321
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
|
@@ -1433,11 +1433,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1433
1433
|
}, EventObject>;
|
|
1434
1434
|
id: string | undefined;
|
|
1435
1435
|
};
|
|
1436
|
-
initCamera: {
|
|
1437
|
-
src: "initCamera";
|
|
1438
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1439
|
-
id: string | undefined;
|
|
1440
|
-
};
|
|
1441
1436
|
requestPermission: {
|
|
1442
1437
|
src: "requestPermission";
|
|
1443
1438
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1451,6 +1446,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1451
1446
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1452
1447
|
id: string | undefined;
|
|
1453
1448
|
};
|
|
1449
|
+
initCamera: {
|
|
1450
|
+
src: "initCamera";
|
|
1451
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1452
|
+
id: string | undefined;
|
|
1453
|
+
};
|
|
1454
1454
|
finalizeDocumentRequest: {
|
|
1455
1455
|
src: "finalizeDocumentRequest";
|
|
1456
1456
|
logic: PromiseActorLogic<FinalizeDocumentResponse, {
|
package/dist/dynamic-forms.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-
|
|
2
|
-
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
2
|
+
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
|
|
3
3
|
export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BsV6u2O0.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-wb7IY6XA.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { i as Screen, t as DynamicFormsConfig } from "./types-
|
|
4
|
+
import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
|
|
6
6
|
/** Map of `questionId` → currently-displayed i18n error key. */
|
|
7
7
|
type DynamicFormsValidationErrors = Partial<Record<string, string>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BsV6u2O0.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-BN5EojBS.esm.js → dynamicFormsStateMachine-BsV6u2O0.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-DkvxstPe.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./StateMachine-EDpYWy0i.js";
|
|
2
2
|
import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-CkrawdOy.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BfHiko5D.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-ztQt4eWp.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-D7x2OH2M.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-DH_IUSU-.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-D7x2OH2M.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-ztQt4eWp.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-BXdPZXeF.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|