@incodetech/core 0.0.0-dev-20260507-df83b23 → 0.0.0-dev-20260507-78f2d13
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/{OpenViduRecordingProvider-VSC4Wgmh.esm.js → OpenViduRecordingProvider-DnYd4TKr.esm.js} +1 -1
- package/dist/{WasmUtilProvider-DsAa3yqJ.esm.js → WasmUtilProvider-Cj17GAox.esm.js} +1 -1
- package/dist/{addressSearch-1EhIahE5.esm.js → addressSearch-DGVL5bWp.esm.js} +4 -4
- package/dist/{ae-signature-BPAhuail.esm.js → ae-signature-CW0Y3VGK.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +6 -6
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +5 -5
- package/dist/{antifraudStateMachine-CaTkXzvS.esm.js → antifraudStateMachine-D4G28SI4.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +23 -23
- package/dist/{authenticationManager-BmRvJPaH.esm.js → authenticationManager-BMGIFm3Y.esm.js} +6 -6
- package/dist/{authenticationManager-ii8ZNmw2.d.ts → authenticationManager-BuChl5GH.d.ts} +2 -2
- package/dist/{authenticationStateMachine-wCMzEk11.esm.js → authenticationStateMachine-Dd9HMJiq.esm.js} +6 -6
- package/dist/{backCameraStream-5ADnns4R.esm.js → backCameraStream-bztcEWzY.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +5 -5
- package/dist/{consentStateMachine-KnKYoONj.esm.js → consentStateMachine-Bda2QqSh.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +21 -21
- package/dist/cpf-ocr.esm.js +5 -5
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +5 -5
- package/dist/{curpValidationStateMachine-C5h4uWTM.esm.js → curpValidationStateMachine-CYXt-Why.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -26
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/dateUtils-DuJi5-S5.esm.js +23 -0
- package/dist/{deepsightLoader-Czuy5gmc.esm.js → deepsightLoader-C1UShQg2.esm.js} +10 -10
- package/dist/{deepsightService-DljAhyUS.d.ts → deepsightService-CGSDjjBz.d.ts} +2 -2
- package/dist/{deepsightService-Bcszplg_.esm.js → deepsightService-gNTXZu7Y.esm.js} +5 -5
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +80 -80
- package/dist/document-capture.esm.js +9 -9
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-CCXTJumz.esm.js → documentCaptureStateMachine-SQ3AsME6.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +178 -0
- package/dist/dynamic-forms.esm.js +323 -0
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +11 -11
- package/dist/{ekybStateMachine-B5BNo1Mw.esm.js → ekybStateMachine-of_oFZ3p.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-DBW6AZE4.esm.js → ekycStateMachine-B-R_nMk9.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +5 -5
- package/dist/{electronicSignatureManager-CO2GTZLe.esm.js → electronicSignatureManager-W3dYg32m.esm.js} +4 -4
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +7 -7
- package/dist/{emailManager-4RL2kin0.esm.js → emailManager-Dcdv3r8N.esm.js} +3 -3
- package/dist/{emailManager-CveAxTDP.d.ts → emailManager-DsYl45qf.d.ts} +2 -2
- package/dist/{emailStateMachine-D2rWFesQ.esm.js → emailStateMachine-CfL8um8y.esm.js} +4 -4
- package/dist/{endpoints-DNtRS0G7.esm.js → endpoints-B3V1U9Dg.esm.js} +2 -1
- package/dist/{events-uIxiN9N7.esm.js → events-Bt1azl2B.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-trA9Rn6f.d.ts → faceCaptureManagerFactory-FX5Lw2Q5.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-BmFLgwZH.esm.js → faceCaptureManagerFactory-bM8uVQhs.esm.js} +2 -2
- package/dist/{faceCaptureSetup-9eFWtwWI.esm.js → faceCaptureSetup-n0z3bm3G.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-hMwJymwg.esm.js → faceMatchStateMachine-o_4FAl-g.esm.js} +3 -3
- package/dist/flow-events.d.ts +5 -5
- package/dist/flow.d.ts +9 -9
- package/dist/flow.esm.js +10 -10
- package/dist/{flowCompletionService-BWnQnePV.esm.js → flowCompletionService-BuVIVPT_.esm.js} +2 -2
- package/dist/{flowServices-CVA1Qt0E.esm.js → flowServices-BNMNk6sc.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-Do1_kljB.esm.js → geolocationStateMachine-Oj4giZl6.esm.js} +4 -4
- package/dist/{getDeviceClass-DheTn1ak.esm.js → getDeviceClass-BTVS59zg.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +6 -6
- package/dist/{governmentValidationStateMachine-BssAqWED.esm.js → governmentValidationStateMachine-DwZUuGG9.esm.js} +4 -4
- package/dist/home.d.ts +14 -14
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +23 -23
- package/dist/{idCaptureManager-C4r9_xsU.esm.js → idCaptureManager-C3qcCILu.esm.js} +4 -4
- package/dist/{idCaptureManager-DcGzjbMw.d.ts → idCaptureManager-xbLvlmaw.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-CoaY0n7f.esm.js → idCaptureStateMachine-CgZiukTi.esm.js} +17 -17
- package/dist/{idOcrStateMachine-BpMmG450.esm.js → idOcrStateMachine-Bh_LFdKk.esm.js} +5 -5
- package/dist/identity-reuse.d.ts +46 -46
- package/dist/identity-reuse.esm.js +4 -4
- package/dist/{index-BpTtY0jy.d.ts → index-CmFkidgy.d.ts} +2 -2
- package/dist/{index-CciEmEkD.d.ts → index-P6znUbAD.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +10 -10
- package/dist/{lib-e9A3TaUp.esm.js → lib-KUTgonKm.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +57 -57
- package/dist/mandatory-consent.esm.js +5 -5
- package/dist/{mandatoryConsentStateMachine-u2Dejbsq.esm.js → mandatoryConsentStateMachine-b5d37Xvb.esm.js} +3 -3
- package/dist/openviduLazy-DYsQwkcJ.esm.js +3 -0
- package/dist/{openviduLazy-CH1qVdk4.esm.js → openviduLazy-yJ7zb0TW.esm.js} +2 -2
- package/dist/{permissionServices-eL_s8LM6.esm.js → permissionServices-DIxFacTA.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +7 -7
- package/dist/{phoneManager-DTsFubQ_.esm.js → phoneManager-CBupL3Zp.esm.js} +3 -3
- package/dist/{phoneManager-CXU5qAEp.d.ts → phoneManager-CeAs-QB1.d.ts} +2 -2
- package/dist/{phoneStateMachine-QEx9QC81.esm.js → phoneStateMachine-B0KqPCut.esm.js} +4 -4
- package/dist/{qe-signature-C5aBKDWr.esm.js → qe-signature-CLobj5mQ.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +6 -6
- package/dist/{recordingService-DmAnFiD_.esm.js → recordingService-DkKKvn0o.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +6 -6
- package/dist/{redirectToMobileStateMachine-CcwBfjQG.esm.js → redirectToMobileStateMachine-Dvias_ax.esm.js} +4 -4
- package/dist/{runChildModule-DKpZakUb.esm.js → runChildModule-BpsyjQ6x.esm.js} +2 -2
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +23 -23
- package/dist/{selfieManager-BfsykqaD.esm.js → selfieManager-Bh9G13aS.esm.js} +6 -6
- package/dist/{selfieManager-BM3gX8wt.d.ts → selfieManager-DPQzO4ua.d.ts} +2 -2
- package/dist/{selfieStateMachine-CzExLyb6.esm.js → selfieStateMachine-DPHgsHPA.esm.js} +3 -3
- package/dist/{session-D703R287.esm.js → session-CEQEqTvJ.esm.js} +6 -6
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +7 -7
- package/dist/{setup-DmpirIL4.esm.js → setup-BVz1gFkj.esm.js} +7 -7
- package/dist/{setup-DR-GXYcF.d.ts → setup-DKabjTK6.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-Bs0_U_Lo.esm.js → signatureStateMachine-PoXfqqBQ.esm.js} +4 -4
- package/dist/{stats-B8cIMClD.esm.js → stats-KJxmByg8.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-BYfGowzf.d.ts → types-BA181GDD.d.ts} +2 -1
- package/dist/{types-CB9HxtLU.d.ts → types-DJSt3Ovt.d.ts} +1 -1
- package/dist/{types-BRSrJ9_B.d.ts → types-WKAQ7Ai4.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +10 -10
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +4 -4
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistServices-CyOZaglV.esm.js → watchlistServices-DwhjRlRl.esm.js} +2 -2
- package/dist/workflow.d.ts +93 -93
- package/dist/workflow.esm.js +47 -47
- package/package.json +6 -1
- package/dist/openviduLazy-C35XN0G5.esm.js +0 -3
- /package/dist/{Actor-DPJ2L-q1.d.ts → Actor-YjWTo26u.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-CkIHbYdx.esm.js → BaseWasmProvider-QTXpU_qs.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-DVqF8tnD.esm.js → BrowserStorageProvider-CoUfuy0u.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-OUipjf3B.esm.js → BrowserTimerProvider-BZGH3sYJ.esm.js} +0 -0
- /package/dist/{ITimerCapability-CSQe9nqt.esm.js → ITimerCapability-2pw-S97e.esm.js} +0 -0
- /package/dist/{IpifyProvider-wp6qqO1v.esm.js → IpifyProvider-ByL6JYxg.esm.js} +0 -0
- /package/dist/{Manager-D09zXsjJ.d.ts → Manager-D9pehGyp.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-CzLW8Zb8.esm.js → MotionSensorProvider-DuErU0Pn.esm.js} +0 -0
- /package/dist/{StateMachine-Dg9ghlLh.d.ts → StateMachine-CJG7thvx.d.ts} +0 -0
- /package/dist/{api-DZdHZLhE.esm.js → api-eqRXuVG-.esm.js} +0 -0
- /package/dist/{browserSimulation-B5_Amlr4.esm.js → browserSimulation-CAH-V_iE.esm.js} +0 -0
- /package/dist/{camera-DV8Ep-_K.d.ts → camera-B6UAKpM1.d.ts} +0 -0
- /package/dist/{camera-3XOyIO-y.esm.js → camera-PA2Ljri3.esm.js} +0 -0
- /package/dist/{chunk-B0Z3lHdK.esm.js → chunk-DnCz0mJK.esm.js} +0 -0
- /package/dist/{cpf-Dalbmi8t.esm.js → cpf-DTvbZfOI.esm.js} +0 -0
- /package/dist/{displayErrors-Qx-DuMvI.d.ts → displayErrors-DO0TIjQ-.d.ts} +0 -0
- /package/dist/{flowCompletionService-B4VbRg-J.d.ts → flowCompletionService-C376JZwA.d.ts} +0 -0
- /package/dist/{getBrowser-FtGDQirD.esm.js → getBrowser-jTObqSyg.esm.js} +0 -0
- /package/dist/{platform-C3jlX5mh.esm.js → platform-Dpzd9p3X.esm.js} +0 -0
- /package/dist/{types--DdSD2gk.d.ts → types-CarMMtoz.d.ts} +0 -0
- /package/dist/{warmup-Br1UnuWP.d.ts → warmup-DHGg8wQZ.d.ts} +0 -0
- /package/dist/{xstate.esm-COokXZK9.esm.js → xstate.esm-C19_S3_9.esm.js} +0 -0
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-DTvbZfOI.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
8
|
async function fetchCpfOcrData(signal) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as createActor, i as fromPromise, o as createManager, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as sleep } from "./ITimerCapability-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, o as createManager, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import { t as sleep } from "./ITimerCapability-2pw-S97e.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
8
8
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
|
+
import "./Actor-YjWTo26u.js";
|
|
3
|
+
import "./camera-B6UAKpM1.js";
|
|
4
|
+
import "./types-DJSt3Ovt.js";
|
|
5
|
+
import { i as FlowModuleConfig } from "./types-BA181GDD.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/curp-validation/types.d.ts
|
|
8
8
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
5
|
-
import { n as mexicanStates, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
1
|
+
import "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, o as createManager } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import { n as mexicanStates, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CYXt-Why.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
8
8
|
function createCurpValidationActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/curpFields.ts
|
|
6
6
|
/**
|
package/dist/custom-fields.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
|
+
import "./Actor-YjWTo26u.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/custom-fields/types.d.ts
|
|
5
5
|
type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
|
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import { t as isoDateToMs } from "./dateUtils-DuJi5-S5.esm.js";
|
|
5
6
|
|
|
6
|
-
//#region src/shared/dateUtils.ts
|
|
7
|
-
/**
|
|
8
|
-
* Converts an ISO date string (YYYY-MM-DD) to Unix milliseconds.
|
|
9
|
-
*
|
|
10
|
-
* Uses Julian Day Number arithmetic so no platform Date API is needed,
|
|
11
|
-
* keeping this utility usable in any environment (browser, Node, workers).
|
|
12
|
-
*
|
|
13
|
-
* @param dateStr - A date string in YYYY-MM-DD format (as produced by HTML date inputs)
|
|
14
|
-
* @returns Milliseconds since the Unix epoch (UTC midnight of the given date)
|
|
15
|
-
*/
|
|
16
|
-
function isoDateToMs(dateStr) {
|
|
17
|
-
const [yearStr = "1970", monthStr = "01", dayStr = "01"] = dateStr.split("-");
|
|
18
|
-
const y = +yearStr;
|
|
19
|
-
const m = +monthStr;
|
|
20
|
-
const d = +dayStr;
|
|
21
|
-
const a = Math.floor((14 - m) / 12);
|
|
22
|
-
const ya = y + 4800 - a;
|
|
23
|
-
const ma = m + 12 * a - 3;
|
|
24
|
-
return (d + Math.floor((153 * ma + 2) / 5) + 365 * ya + Math.floor(ya / 4) - Math.floor(ya / 100) + Math.floor(ya / 400) - 32045 - 2440588) * 864e5;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
7
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
29
8
|
async function submitCustomFields(params, signal) {
|
|
30
9
|
const res = await api.post(endpoints.addCustomFields, params.fields, { signal });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as processWatchlist } from "./watchlistServices-
|
|
1
|
+
import "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import { t as processWatchlist } from "./watchlistServices-DwhjRlRl.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
|
|
8
8
|
const customWatchlistMachine = setup({
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/shared/dateUtils.ts
|
|
2
|
+
/**
|
|
3
|
+
* Converts an ISO date string (YYYY-MM-DD) to Unix milliseconds.
|
|
4
|
+
*
|
|
5
|
+
* Uses Julian Day Number arithmetic so no platform Date API is needed,
|
|
6
|
+
* keeping this utility usable in any environment (browser, Node, workers).
|
|
7
|
+
*
|
|
8
|
+
* @param dateStr - A date string in YYYY-MM-DD format (as produced by HTML date inputs)
|
|
9
|
+
* @returns Milliseconds since the Unix epoch (UTC midnight of the given date)
|
|
10
|
+
*/
|
|
11
|
+
function isoDateToMs(dateStr) {
|
|
12
|
+
const [yearStr = "1970", monthStr = "01", dayStr = "01"] = dateStr.split("-");
|
|
13
|
+
const y = +yearStr;
|
|
14
|
+
const m = +monthStr;
|
|
15
|
+
const d = +dayStr;
|
|
16
|
+
const a = Math.floor((14 - m) / 12);
|
|
17
|
+
const ya = y + 4800 - a;
|
|
18
|
+
const ma = m + 12 * a - 3;
|
|
19
|
+
return (d + Math.floor((153 * ma + 2) / 5) + 365 * ya + Math.floor(ya / 4) - Math.floor(ya / 100) + Math.floor(ya / 400) - 32045 - 2440588) * 864e5;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { isoDateToMs as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import "./api-
|
|
4
|
-
import { r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
7
|
-
import "./camera-
|
|
8
|
-
import "./getBrowser-
|
|
9
|
-
import "./stats-
|
|
10
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
1
|
+
import "./BaseWasmProvider-QTXpU_qs.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Cj17GAox.esm.js";
|
|
3
|
+
import "./api-eqRXuVG-.esm.js";
|
|
4
|
+
import { r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-ByL6JYxg.esm.js";
|
|
5
|
+
import "./browserSimulation-CAH-V_iE.esm.js";
|
|
6
|
+
import { t as createDeepsightService } from "./deepsightService-gNTXZu7Y.esm.js";
|
|
7
|
+
import "./camera-PA2Ljri3.esm.js";
|
|
8
|
+
import "./getBrowser-jTObqSyg.esm.js";
|
|
9
|
+
import "./stats-KJxmByg8.esm.js";
|
|
10
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-DuErU0Pn.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
13
13
|
var VisibilityProvider = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as CameraStream } from "./camera-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-DHGg8wQZ.js";
|
|
2
|
+
import { t as CameraStream } from "./camera-B6UAKpM1.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IRecordingCapability.d.ts
|
|
5
5
|
type RecordingPublisher = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as isBrowserSimulation } from "./browserSimulation-
|
|
3
|
-
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
4
|
-
import { n as getDeviceInfo, t as getUserAgent } from "./getBrowser-
|
|
5
|
-
import { t as addDeviceStats } from "./stats-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { t as isBrowserSimulation } from "./browserSimulation-CAH-V_iE.esm.js";
|
|
3
|
+
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-PA2Ljri3.esm.js";
|
|
4
|
+
import { n as getDeviceInfo, t as getUserAgent } from "./getBrowser-jTObqSyg.esm.js";
|
|
5
|
+
import { t as addDeviceStats } from "./stats-KJxmByg8.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/media/canvas.ts
|
|
8
8
|
/**
|
package/dist/device.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
2
|
-
import { i as isIPad } from "./platform-
|
|
3
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
1
|
+
import { t as getUserAgent } from "./getBrowser-jTObqSyg.esm.js";
|
|
2
|
+
import { i as isIPad } from "./platform-Dpzd9p3X.esm.js";
|
|
3
|
+
import { t as getDeviceClass } from "./getDeviceClass-BTVS59zg.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/device/getBrowser.ts
|
|
6
6
|
function getBrowser() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { t as CameraStream } from "./camera-
|
|
4
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
|
+
import "./Actor-YjWTo26u.js";
|
|
3
|
+
import { t as CameraStream } from "./camera-B6UAKpM1.js";
|
|
4
|
+
import * as xstate0 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/document-capture/types.d.ts
|
|
7
7
|
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
|
|
@@ -84,7 +84,7 @@ type DocumentCaptureInput = {
|
|
|
84
84
|
};
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
87
|
-
declare const documentCaptureMachine:
|
|
87
|
+
declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContext, {
|
|
88
88
|
type: "CAPTURE";
|
|
89
89
|
} | {
|
|
90
90
|
type: "FILE_SELECTED";
|
|
@@ -113,109 +113,109 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
113
113
|
} | {
|
|
114
114
|
type: "CLOSE";
|
|
115
115
|
}, {
|
|
116
|
-
[x: string]:
|
|
116
|
+
[x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
117
117
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
118
118
|
processingType: string;
|
|
119
119
|
onProgress: (progress: number) => void;
|
|
120
|
-
},
|
|
120
|
+
}, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
121
121
|
processingType: string;
|
|
122
|
-
},
|
|
123
|
-
},
|
|
122
|
+
}, xstate0.EventObject>> | undefined;
|
|
123
|
+
}, xstate0.Values<{
|
|
124
124
|
uploadDocument: {
|
|
125
125
|
src: "uploadDocument";
|
|
126
|
-
logic:
|
|
126
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
127
127
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
128
128
|
processingType: string;
|
|
129
129
|
onProgress: (progress: number) => void;
|
|
130
|
-
},
|
|
130
|
+
}, xstate0.EventObject>;
|
|
131
131
|
id: string | undefined;
|
|
132
132
|
};
|
|
133
133
|
initCamera: {
|
|
134
134
|
src: "initCamera";
|
|
135
|
-
logic:
|
|
135
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
};
|
|
138
138
|
finalizeDocumentRequest: {
|
|
139
139
|
src: "finalizeDocumentRequest";
|
|
140
|
-
logic:
|
|
140
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
141
141
|
processingType: string;
|
|
142
|
-
},
|
|
142
|
+
}, xstate0.EventObject>;
|
|
143
143
|
id: string | undefined;
|
|
144
144
|
};
|
|
145
|
-
}>,
|
|
146
|
-
clearError: {
|
|
147
|
-
type: "clearError";
|
|
148
|
-
params: xstate765.NonReducibleUnknown;
|
|
149
|
-
};
|
|
145
|
+
}>, xstate0.Values<{
|
|
150
146
|
setStream: {
|
|
151
147
|
type: "setStream";
|
|
152
|
-
params:
|
|
153
|
-
};
|
|
154
|
-
setProgress: {
|
|
155
|
-
type: "setProgress";
|
|
156
|
-
params: xstate765.NonReducibleUnknown;
|
|
157
|
-
};
|
|
158
|
-
stopStream: {
|
|
159
|
-
type: "stopStream";
|
|
160
|
-
params: xstate765.NonReducibleUnknown;
|
|
148
|
+
params: xstate0.NonReducibleUnknown;
|
|
161
149
|
};
|
|
162
150
|
setCapturedDocument: {
|
|
163
151
|
type: "setCapturedDocument";
|
|
164
|
-
params:
|
|
152
|
+
params: xstate0.NonReducibleUnknown;
|
|
165
153
|
};
|
|
166
154
|
setFileTooLargeError: {
|
|
167
155
|
type: "setFileTooLargeError";
|
|
168
|
-
params:
|
|
156
|
+
params: xstate0.NonReducibleUnknown;
|
|
157
|
+
};
|
|
158
|
+
setProgress: {
|
|
159
|
+
type: "setProgress";
|
|
160
|
+
params: xstate0.NonReducibleUnknown;
|
|
169
161
|
};
|
|
170
162
|
setUploadError: {
|
|
171
163
|
type: "setUploadError";
|
|
172
|
-
params:
|
|
164
|
+
params: xstate0.NonReducibleUnknown;
|
|
173
165
|
};
|
|
174
166
|
setFinalizeError: {
|
|
175
167
|
type: "setFinalizeError";
|
|
176
|
-
params:
|
|
168
|
+
params: xstate0.NonReducibleUnknown;
|
|
177
169
|
};
|
|
178
170
|
decrementAttemptsRemaining: {
|
|
179
171
|
type: "decrementAttemptsRemaining";
|
|
180
|
-
params:
|
|
172
|
+
params: xstate0.NonReducibleUnknown;
|
|
181
173
|
};
|
|
182
174
|
setCaptureMethodFile: {
|
|
183
175
|
type: "setCaptureMethodFile";
|
|
184
|
-
params:
|
|
176
|
+
params: xstate0.NonReducibleUnknown;
|
|
185
177
|
};
|
|
186
178
|
setCaptureMethodCamera: {
|
|
187
179
|
type: "setCaptureMethodCamera";
|
|
188
|
-
params:
|
|
180
|
+
params: xstate0.NonReducibleUnknown;
|
|
189
181
|
};
|
|
190
182
|
setCaptureMethodGallery: {
|
|
191
183
|
type: "setCaptureMethodGallery";
|
|
192
|
-
params:
|
|
184
|
+
params: xstate0.NonReducibleUnknown;
|
|
193
185
|
};
|
|
194
186
|
clearCapturedDocument: {
|
|
195
187
|
type: "clearCapturedDocument";
|
|
196
|
-
params:
|
|
188
|
+
params: xstate0.NonReducibleUnknown;
|
|
197
189
|
};
|
|
198
190
|
resetPageNumber: {
|
|
199
191
|
type: "resetPageNumber";
|
|
200
|
-
params:
|
|
192
|
+
params: xstate0.NonReducibleUnknown;
|
|
201
193
|
};
|
|
202
194
|
clearCapturedDocumentGalleryRetake: {
|
|
203
195
|
type: "clearCapturedDocumentGalleryRetake";
|
|
204
|
-
params:
|
|
196
|
+
params: xstate0.NonReducibleUnknown;
|
|
205
197
|
};
|
|
206
198
|
setNextPageType: {
|
|
207
199
|
type: "setNextPageType";
|
|
208
|
-
params:
|
|
200
|
+
params: xstate0.NonReducibleUnknown;
|
|
209
201
|
};
|
|
210
202
|
clearForNextPage: {
|
|
211
203
|
type: "clearForNextPage";
|
|
212
|
-
params:
|
|
204
|
+
params: xstate0.NonReducibleUnknown;
|
|
205
|
+
};
|
|
206
|
+
clearError: {
|
|
207
|
+
type: "clearError";
|
|
208
|
+
params: xstate0.NonReducibleUnknown;
|
|
213
209
|
};
|
|
214
210
|
resetProgress: {
|
|
215
211
|
type: "resetProgress";
|
|
216
|
-
params:
|
|
212
|
+
params: xstate0.NonReducibleUnknown;
|
|
213
|
+
};
|
|
214
|
+
stopStream: {
|
|
215
|
+
type: "stopStream";
|
|
216
|
+
params: xstate0.NonReducibleUnknown;
|
|
217
217
|
};
|
|
218
|
-
}>,
|
|
218
|
+
}>, xstate0.Values<{
|
|
219
219
|
allowSkip: {
|
|
220
220
|
type: "allowSkip";
|
|
221
221
|
params: unknown;
|
|
@@ -268,7 +268,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
268
268
|
type: "fileSizeOkForNonGallery";
|
|
269
269
|
params: unknown;
|
|
270
270
|
};
|
|
271
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "
|
|
271
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing", string, DocumentCaptureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
272
272
|
readonly id: "documentCapture";
|
|
273
273
|
readonly initial: "tutorial";
|
|
274
274
|
readonly context: ({
|
|
@@ -277,93 +277,93 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
277
277
|
spawn: {
|
|
278
278
|
<TSrc extends "uploadDocument" | "initCamera" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
279
279
|
src: "uploadDocument";
|
|
280
|
-
logic:
|
|
280
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
281
281
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
282
282
|
processingType: string;
|
|
283
283
|
onProgress: (progress: number) => void;
|
|
284
|
-
},
|
|
284
|
+
}, xstate0.EventObject>;
|
|
285
285
|
id: string | undefined;
|
|
286
286
|
} extends infer T ? T extends {
|
|
287
287
|
src: "uploadDocument";
|
|
288
|
-
logic:
|
|
288
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
289
289
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
290
290
|
processingType: string;
|
|
291
291
|
onProgress: (progress: number) => void;
|
|
292
|
-
},
|
|
292
|
+
}, xstate0.EventObject>;
|
|
293
293
|
id: string | undefined;
|
|
294
294
|
} ? T extends {
|
|
295
295
|
src: TSrc;
|
|
296
|
-
} ?
|
|
296
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
297
297
|
id?: T["id"] | undefined;
|
|
298
298
|
systemId?: string;
|
|
299
|
-
input?:
|
|
299
|
+
input?: xstate0.InputFrom<T["logic"]> | undefined;
|
|
300
300
|
syncSnapshot?: boolean;
|
|
301
|
-
} & { [K in
|
|
301
|
+
} & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
302
302
|
src: "initCamera";
|
|
303
|
-
logic:
|
|
303
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
304
304
|
id: string | undefined;
|
|
305
305
|
} extends infer T_1 ? T_1 extends {
|
|
306
306
|
src: "initCamera";
|
|
307
|
-
logic:
|
|
307
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
308
308
|
id: string | undefined;
|
|
309
309
|
} ? T_1 extends {
|
|
310
310
|
src: TSrc;
|
|
311
|
-
} ?
|
|
311
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
312
312
|
id?: T_1["id"] | undefined;
|
|
313
313
|
systemId?: string;
|
|
314
|
-
input?:
|
|
314
|
+
input?: xstate0.InputFrom<T_1["logic"]> | undefined;
|
|
315
315
|
syncSnapshot?: boolean;
|
|
316
|
-
} & { [K_1 in
|
|
316
|
+
} & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
317
317
|
src: "finalizeDocumentRequest";
|
|
318
|
-
logic:
|
|
318
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
319
319
|
processingType: string;
|
|
320
|
-
},
|
|
320
|
+
}, xstate0.EventObject>;
|
|
321
321
|
id: string | undefined;
|
|
322
322
|
} extends infer T_2 ? T_2 extends {
|
|
323
323
|
src: "finalizeDocumentRequest";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
325
325
|
processingType: string;
|
|
326
|
-
},
|
|
326
|
+
}, xstate0.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
} ? T_2 extends {
|
|
329
329
|
src: TSrc;
|
|
330
|
-
} ?
|
|
330
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
331
331
|
id?: T_2["id"] | undefined;
|
|
332
332
|
systemId?: string;
|
|
333
|
-
input?:
|
|
333
|
+
input?: xstate0.InputFrom<T_2["logic"]> | undefined;
|
|
334
334
|
syncSnapshot?: boolean;
|
|
335
|
-
} & { [K_2 in
|
|
335
|
+
} & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
|
|
336
336
|
uploadDocument: {
|
|
337
337
|
src: "uploadDocument";
|
|
338
|
-
logic:
|
|
338
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
339
339
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
340
340
|
processingType: string;
|
|
341
341
|
onProgress: (progress: number) => void;
|
|
342
|
-
},
|
|
342
|
+
}, xstate0.EventObject>;
|
|
343
343
|
id: string | undefined;
|
|
344
344
|
};
|
|
345
345
|
initCamera: {
|
|
346
346
|
src: "initCamera";
|
|
347
|
-
logic:
|
|
347
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
348
348
|
id: string | undefined;
|
|
349
349
|
};
|
|
350
350
|
finalizeDocumentRequest: {
|
|
351
351
|
src: "finalizeDocumentRequest";
|
|
352
|
-
logic:
|
|
352
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
353
353
|
processingType: string;
|
|
354
|
-
},
|
|
354
|
+
}, xstate0.EventObject>;
|
|
355
355
|
id: string | undefined;
|
|
356
356
|
};
|
|
357
357
|
}>, "src", TSrc>["logic"]>;
|
|
358
|
-
<TLogic extends
|
|
358
|
+
<TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
|
|
359
359
|
id?: never;
|
|
360
360
|
systemId?: string;
|
|
361
|
-
input?:
|
|
361
|
+
input?: xstate0.InputFrom<TLogic> | undefined;
|
|
362
362
|
syncSnapshot?: boolean;
|
|
363
|
-
} & { [K in
|
|
363
|
+
} & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
|
|
364
364
|
};
|
|
365
365
|
input: DocumentCaptureInput;
|
|
366
|
-
self:
|
|
366
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
|
|
367
367
|
type: "CAPTURE";
|
|
368
368
|
} | {
|
|
369
369
|
type: "FILE_SELECTED";
|
|
@@ -391,7 +391,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
391
391
|
type: "SKIP";
|
|
392
392
|
} | {
|
|
393
393
|
type: "CLOSE";
|
|
394
|
-
}, Record<string,
|
|
394
|
+
}, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
|
|
395
395
|
type: "CAPTURE";
|
|
396
396
|
} | {
|
|
397
397
|
type: "FILE_SELECTED";
|
|
@@ -419,7 +419,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
419
419
|
type: "SKIP";
|
|
420
420
|
} | {
|
|
421
421
|
type: "CLOSE";
|
|
422
|
-
},
|
|
422
|
+
}, xstate0.AnyEventObject>;
|
|
423
423
|
}) => {
|
|
424
424
|
config: {
|
|
425
425
|
processingType: DocumentType;
|
|
@@ -570,7 +570,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
570
570
|
} | {
|
|
571
571
|
type: "CLOSE";
|
|
572
572
|
};
|
|
573
|
-
self:
|
|
573
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
|
|
574
574
|
type: "CAPTURE";
|
|
575
575
|
} | {
|
|
576
576
|
type: "FILE_SELECTED";
|
|
@@ -598,7 +598,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
598
598
|
type: "SKIP";
|
|
599
599
|
} | {
|
|
600
600
|
type: "CLOSE";
|
|
601
|
-
}, Record<string,
|
|
601
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
602
602
|
type: "CAPTURE";
|
|
603
603
|
} | {
|
|
604
604
|
type: "FILE_SELECTED";
|
|
@@ -626,7 +626,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
626
626
|
type: "SKIP";
|
|
627
627
|
} | {
|
|
628
628
|
type: "CLOSE";
|
|
629
|
-
},
|
|
629
|
+
}, xstate0.AnyEventObject>;
|
|
630
630
|
}) => {
|
|
631
631
|
capturedDocument: CapturedDocument;
|
|
632
632
|
processingType: DocumentType;
|
|
@@ -721,7 +721,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
721
721
|
} | {
|
|
722
722
|
type: "CLOSE";
|
|
723
723
|
};
|
|
724
|
-
self:
|
|
724
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
|
|
725
725
|
type: "CAPTURE";
|
|
726
726
|
} | {
|
|
727
727
|
type: "FILE_SELECTED";
|
|
@@ -749,7 +749,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
749
749
|
type: "SKIP";
|
|
750
750
|
} | {
|
|
751
751
|
type: "CLOSE";
|
|
752
|
-
}, Record<string,
|
|
752
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
753
753
|
type: "CAPTURE";
|
|
754
754
|
} | {
|
|
755
755
|
type: "FILE_SELECTED";
|
|
@@ -777,7 +777,7 @@ declare const documentCaptureMachine: xstate765.StateMachine<DocumentCaptureCont
|
|
|
777
777
|
type: "SKIP";
|
|
778
778
|
} | {
|
|
779
779
|
type: "CLOSE";
|
|
780
|
-
},
|
|
780
|
+
}, xstate0.AnyEventObject>;
|
|
781
781
|
}) => {
|
|
782
782
|
processingType: DocumentType;
|
|
783
783
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
5
|
-
import "./camera-
|
|
6
|
-
import "./platform-
|
|
7
|
-
import "./ITimerCapability-
|
|
8
|
-
import "./backCameraStream-
|
|
9
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
1
|
+
import "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, o as createManager } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import "./camera-PA2Ljri3.esm.js";
|
|
6
|
+
import "./platform-Dpzd9p3X.esm.js";
|
|
7
|
+
import "./ITimerCapability-2pw-S97e.esm.js";
|
|
8
|
+
import "./backCameraStream-bztcEWzY.esm.js";
|
|
9
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-SQ3AsME6.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
12
12
|
function createDocumentCaptureActor(options) {
|