@incodetech/core 0.0.0-dev-20260521-0b79e9d6 → 0.0.0-dev-20260522-d8d5954f
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/{addressSearch-Brs3SyWD.esm.js → addressSearch-DwZVUD5O.esm.js} +1 -1
- package/dist/{ae-signature-Sm5aCc7O.esm.js → ae-signature-C573X3to.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +3 -3
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudStateMachine-qKZd1FbB.esm.js → antifraudStateMachine-CBMCWZIQ.esm.js} +1 -1
- package/dist/authentication.esm.js +18 -18
- package/dist/{authenticationManager-DiT8wbIH.esm.js → authenticationManager-D9jpjNc6.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DkIYyLpZ.esm.js → authenticationStateMachine-DbsxhSvZ.esm.js} +12 -4
- package/dist/{backCameraStream-FIp0PPs8.esm.js → backCameraStream-DOjKMmDh.esm.js} +3 -3
- package/dist/{browserSimulation-DoIsN6qC.esm.js → browserSimulation-B4v6Uc0u.esm.js} +2 -2
- package/dist/camera.esm.js +2 -2
- package/dist/consent.d.ts +50 -50
- package/dist/consent.esm.js +2 -2
- package/dist/{consentStateMachine-DG0zSMJH.esm.js → consentStateMachine-DO-5lVom.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/cpf-ocr.esm.js +1 -1
- package/dist/cross-document-data-match.esm.js +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationStateMachine-cYl2QkAr.esm.js → curpValidationStateMachine-DycWi-zO.esm.js} +3 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customWatchlistStateMachine-ChRoyIdH.esm.js → customWatchlistStateMachine-BWNgpzqg.esm.js} +1 -1
- package/dist/{deepsightLoader-DAHwReSB.esm.js → deepsightLoader-B6MJQfhl.esm.js} +9 -8
- package/dist/{deepsightService-M3lDsftZ.esm.js → deepsightService-BOfxojPD.esm.js} +5 -5
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +77 -77
- package/dist/document-capture.esm.js +6 -6
- package/dist/document-upload.d.ts +43 -43
- package/dist/document-upload.esm.js +5 -5
- package/dist/{documentCaptureStateMachine-BSpcY6Fp.esm.js → documentCaptureStateMachine-RVKhPRTX.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +1 -1
- package/dist/ekyb.esm.js +10 -9
- package/dist/{ekybStateMachine-EmQRePR_.esm.js → ekybStateMachine-HNgpRbU_.esm.js} +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DrUM1FwU.esm.js → ekycStateMachine-DBXRTT6g.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-CsU5utHQ.esm.js → electronicSignatureManager-BsAPhzjH.esm.js} +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-D4QzTol3.esm.js → emailManager-Cj4bAS6q.esm.js} +2 -2
- package/dist/{emailStateMachine-Cd2pScF5.esm.js → emailStateMachine-B_sPO1ee.esm.js} +1 -1
- package/dist/extensibility.esm.js +28 -28
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-Dlaav_QW.esm.js → faceCaptureManagerFactory-D5uJFoFF.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CD8OfRPJ.esm.js → faceCaptureSetup-DdqOx_56.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-CKV_gVoq.esm.js → faceMatchStateMachine-CVxNRoT3.esm.js} +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +9 -8
- package/dist/{flowServices-C-EAi7vv.esm.js → flowServices-HtsvpjKi.esm.js} +1 -1
- package/dist/geolocation.esm.js +3 -3
- package/dist/{geolocationStateMachine-Dnev6IyC.esm.js → geolocationStateMachine-BGMcbyvx.esm.js} +2 -2
- package/dist/{getDeviceClass-BlQhwe19.esm.js → getDeviceClass--6s4J1GM.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-DCGEB_Fx.esm.js → governmentValidationStateMachine-COAcpfku.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +25 -25
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +18 -18
- package/dist/{idCaptureManager-BoKaBol-.esm.js → idCaptureManager-iEqH-_eJ.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-BN9cal7j.esm.js → idCaptureStateMachine-CsbrjxxZ.esm.js} +11 -26
- package/dist/{idOcrStateMachine-C4_aGDA5.esm.js → idOcrStateMachine-D02wje_e.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-CngSdeuH.esm.js → idVerificationStateMachine-DL9Wohd-.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +40 -40
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{index-CAuWyAWN.d.ts → index-ClXuX-B6.d.ts} +119 -119
- package/dist/index.esm.js +7 -6
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentStateMachine-CBhIet9G.esm.js → mandatoryConsentStateMachine-OwRO0jTI.esm.js} +1 -1
- package/dist/{permissionServices-_7b9sVYs.esm.js → permissionServices-BM6kC-Bb.esm.js} +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-6jwupuFO.esm.js → phoneManager-Cw5dM8h5.esm.js} +2 -2
- package/dist/{phoneStateMachine-ZQrTYhJg.esm.js → phoneStateMachine-D_V2GhHD.esm.js} +1 -1
- package/dist/{qe-signature-DXrlvo4a.esm.js → qe-signature-1Bwv1ylT.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +3 -3
- package/dist/{recordingService-Cmr7pmiM.esm.js → recordingService-BVkYrRv_.esm.js} +15 -9
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileStateMachine-CtjB7GFv.esm.js → redirectToMobileStateMachine-QZPZIOY2.esm.js} +1 -1
- package/dist/{runChildModule-CMkAzVcK.esm.js → runChildModule-DfoDhWUj.esm.js} +1 -1
- package/dist/selfie.esm.js +18 -18
- package/dist/{selfieManager-BjhsxfUM.esm.js → selfieManager-BVxu6lbR.esm.js} +4 -4
- package/dist/{selfieStateMachine-DuIOh3wA.esm.js → selfieStateMachine-BQ_7xnL8.esm.js} +4 -3
- package/dist/session.esm.js +6 -5
- package/dist/{sessionInitializer-BTXfV_mQ.esm.js → sessionInitializer-ByVdGZyY.esm.js} +6 -3
- package/dist/{setup-DFB6kUeB.esm.js → setup-CC4ppEHk.esm.js} +119 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-BaCscBK2.esm.js → signatureStateMachine-CuzloWG9.esm.js} +1 -1
- package/dist/stats-B5zjz16m.esm.js +41 -0
- package/dist/stats.d.ts +13 -2
- package/dist/stats.esm.js +3 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/wasm.esm.js +7 -6
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-BiGQ8z9G.esm.js → watchlistForBusinessStateMachine-CrLk1Kn1.esm.js} +1 -1
- package/dist/{watchlistStateMachine-xzKFUdaH.esm.js → watchlistStateMachine-1ZVHco2y.esm.js} +1 -1
- package/dist/workflow.d.ts +123 -123
- package/dist/workflow.esm.js +44 -44
- package/package.json +1 -1
- package/dist/stats-CIfiPzb1.esm.js +0 -16
- /package/dist/{BrowserStorageProvider-YSagK4bh.esm.js → BrowserStorageProvider-SzhC3_bZ.esm.js} +0 -0
- /package/dist/{ITimerCapability-BriAkEyj.esm.js → ITimerCapability-DUyV4pr-.esm.js} +0 -0
- /package/dist/{IpifyProvider-Dt8MgLjg.esm.js → IpifyProvider-D4LWD15E.esm.js} +0 -0
- /package/dist/{camera-CUAQ-q4e.esm.js → camera-BDnuTUHR.esm.js} +0 -0
- /package/dist/{getBrowser-DHeJ7PSV.esm.js → getBrowser-C8DP7oTB.esm.js} +0 -0
- /package/dist/{getDeviceClass-C6LdZ8SC.esm.js → getDeviceClass-DLbfq_Ux.esm.js} +0 -0
- /package/dist/{platform-Ca6QEq2_.esm.js → platform-SKvEfCBh.esm.js} +0 -0
- /package/dist/{xstate.esm-C_4CL5-u.esm.js → xstate.esm-C9wncMQa.esm.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
2
2
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { i as fromCallback } from "./xstate.esm-
|
|
4
|
+
import { i as fromCallback } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/shared/usStates.ts
|
|
7
7
|
const usStates = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-BsAPhzjH.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/ae-signature/index.ts
|
|
4
4
|
function createAeSignatureManager(options) {
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
2
|
import "./Actor-DhAnkIwf.js";
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-ClXuX-B6.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-CESGtpbH.esm.js";
|
|
2
2
|
import "./events-D6-e4vok.esm.js";
|
|
3
3
|
import "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
6
|
-
import { t as createAeSignatureManager } from "./ae-signature-
|
|
4
|
+
import "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-BsAPhzjH.esm.js";
|
|
6
|
+
import { t as createAeSignatureManager } from "./ae-signature-C573X3to.esm.js";
|
|
7
7
|
|
|
8
8
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-CBMCWZIQ.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
8
8
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-qKZd1FbB.esm.js → antifraudStateMachine-CBMCWZIQ.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
3
|
-
import { a as fromPromise, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
6
6
|
async function processAntifraud(signal) {
|
|
@@ -3,24 +3,24 @@ import "./WasmUtilProvider-aU2dI9LT.esm.js";
|
|
|
3
3
|
import "./api-CESGtpbH.esm.js";
|
|
4
4
|
import "./events-D6-e4vok.esm.js";
|
|
5
5
|
import "./endpoints-B1sf_xW1.esm.js";
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./getDeviceClass
|
|
6
|
+
import "./stats-B5zjz16m.esm.js";
|
|
7
|
+
import "./browserSimulation-B4v6Uc0u.esm.js";
|
|
8
|
+
import "./platform-SKvEfCBh.esm.js";
|
|
9
|
+
import "./getBrowser-C8DP7oTB.esm.js";
|
|
10
|
+
import "./xstate.esm-C9wncMQa.esm.js";
|
|
11
|
+
import "./faceCaptureManagerFactory-D5uJFoFF.esm.js";
|
|
12
|
+
import "./BrowserStorageProvider-SzhC3_bZ.esm.js";
|
|
13
|
+
import "./recordingService-BVkYrRv_.esm.js";
|
|
14
|
+
import "./ITimerCapability-DUyV4pr-.esm.js";
|
|
15
|
+
import "./camera-BDnuTUHR.esm.js";
|
|
16
|
+
import "./deepsightService-BOfxojPD.esm.js";
|
|
17
|
+
import "./backCameraStream-DOjKMmDh.esm.js";
|
|
18
|
+
import "./getDeviceClass-DLbfq_Ux.esm.js";
|
|
19
|
+
import "./getDeviceClass--6s4J1GM.esm.js";
|
|
20
20
|
import "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
21
|
-
import "./permissionServices-
|
|
22
|
-
import "./faceCaptureSetup-
|
|
23
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
24
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
21
|
+
import "./permissionServices-BM6kC-Bb.esm.js";
|
|
22
|
+
import "./faceCaptureSetup-DdqOx_56.esm.js";
|
|
23
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DbsxhSvZ.esm.js";
|
|
24
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D9jpjNc6.esm.js";
|
|
25
25
|
|
|
26
26
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DiT8wbIH.esm.js → authenticationManager-D9jpjNc6.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-aU2dI9LT.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-D6-e4vok.esm.js";
|
|
3
|
-
import { s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
5
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
3
|
+
import { s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D5uJFoFF.esm.js";
|
|
5
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-SzhC3_bZ.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DbsxhSvZ.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
3
|
+
import { t as addDeviceStats } from "./stats-B5zjz16m.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { _ as FACE_ERROR_CODES, c as postOnDeviceFaceResults, l as prepareOnDeviceFaceUpload, o as defaultPrepareFaceUpload, s as isOnDeviceMode } from "./recordingService-BVkYrRv_.esm.js";
|
|
6
|
+
import { t as getDeviceClass } from "./getDeviceClass--6s4J1GM.esm.js";
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DdqOx_56.esm.js";
|
|
7
8
|
|
|
8
9
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
10
|
const AUTH_ERROR_MAP = {
|
|
@@ -59,6 +60,12 @@ async function uploadAuthFace(params) {
|
|
|
59
60
|
query
|
|
60
61
|
});
|
|
61
62
|
if (!res.ok) throw new Error(`POST ${endpoints.authenticate} failed: ${res.status} ${res.statusText}`);
|
|
63
|
+
if (params.deepsightService) addDeviceStats({
|
|
64
|
+
frontIdStatsAnalysisStatus: "",
|
|
65
|
+
backIdStatsAnalysisStatus: "",
|
|
66
|
+
selfieStatsAnalysisStatus: params.deepsightService.getAnalysisStatus(),
|
|
67
|
+
motionStatus: params.deepsightService.getMotionStatus()
|
|
68
|
+
});
|
|
62
69
|
return res.data;
|
|
63
70
|
} catch (error) {
|
|
64
71
|
const errorCode = getAuthErrorCodeFromHttpError(error);
|
|
@@ -92,6 +99,7 @@ const _authenticationMachine = faceCaptureMachine.provide({
|
|
|
92
99
|
authHint: ctx.authHint,
|
|
93
100
|
metadata: ctx.deepsightService?.getMetadata(),
|
|
94
101
|
recordingId: ctx.uploadRecordingId,
|
|
102
|
+
deepsightService: ctx.deepsightService ?? void 0,
|
|
95
103
|
signal
|
|
96
104
|
});
|
|
97
105
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-
|
|
2
|
-
import { t as sleep } from "./ITimerCapability-
|
|
3
|
-
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
1
|
+
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-SKvEfCBh.esm.js";
|
|
2
|
+
import { t as sleep } from "./ITimerCapability-DUyV4pr-.esm.js";
|
|
3
|
+
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-BDnuTUHR.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
6
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as isIOS } from "./platform-
|
|
2
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
1
|
+
import { r as isIOS } from "./platform-SKvEfCBh.esm.js";
|
|
2
|
+
import { t as getUserAgent } from "./getBrowser-C8DP7oTB.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/ua-parser-js@2.0.9/node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
5
5
|
var LIBVERSION = "2.0.9", UA_MAX_LENGTH = 500, USER_AGENT = "user-agent", EMPTY = "", UNKNOWN = "?", TYPEOF = {
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./camera-
|
|
1
|
+
import "./camera-BDnuTUHR.esm.js";
|
|
2
2
|
import "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
3
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
3
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-BM6kC-Bb.esm.js";
|
|
4
4
|
|
|
5
5
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
2
|
import "./Actor-DhAnkIwf.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate845 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -36,7 +36,7 @@ type ConsentContext = {
|
|
|
36
36
|
type ConsentInput = {
|
|
37
37
|
config: ConsentConfig;
|
|
38
38
|
};
|
|
39
|
-
declare const consentMachine:
|
|
39
|
+
declare const consentMachine: xstate845.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate845.ActorRefFromLogic<xstate845.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate845.EventObject>> | xstate845.ActorRefFromLogic<xstate845.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate845.EventObject>> | undefined;
|
|
57
|
+
}, xstate845.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate845.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate845.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate845.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate845.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate845.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate845.NonReducibleUnknown;
|
|
77
|
+
};
|
|
78
|
+
resetContext: {
|
|
79
|
+
type: "resetContext";
|
|
80
|
+
params: xstate845.NonReducibleUnknown;
|
|
77
81
|
};
|
|
78
82
|
clearError: {
|
|
79
83
|
type: "clearError";
|
|
80
|
-
params:
|
|
84
|
+
params: xstate845.NonReducibleUnknown;
|
|
81
85
|
};
|
|
82
86
|
setConsentData: {
|
|
83
87
|
type: "setConsentData";
|
|
84
|
-
params:
|
|
88
|
+
params: xstate845.NonReducibleUnknown;
|
|
85
89
|
};
|
|
86
90
|
toggleCheckbox: {
|
|
87
91
|
type: "toggleCheckbox";
|
|
88
|
-
params:
|
|
89
|
-
};
|
|
90
|
-
resetContext: {
|
|
91
|
-
type: "resetContext";
|
|
92
|
-
params: xstate187.NonReducibleUnknown;
|
|
92
|
+
params: xstate845.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate845.NonReducibleUnknown, xstate845.EventObject, xstate845.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate845.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate845.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate845.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate845.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate845.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate845.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate845.RequiredActorOptions<T>]: unknown }) | undefined], xstate845.IsNotNever<xstate845.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate845.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate845.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate845.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate845.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate845.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate845.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate845.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate845.IsNotNever<xstate845.RequiredActorOptions<T_1>>> : never : never : never)): xstate845.ActorRefFromLogic<xstate845.GetConcreteByKey<xstate845.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate845.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate845.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate845.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate845.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate845.AnyActorLogic>(src: TLogic, ...[options]: xstate845.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate845.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate845.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate845.IsNotNever<xstate845.RequiredLogicInput<TLogic>>>): xstate845.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate845.ActorRef<xstate845.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate845.AnyActorRef | undefined>, xstate845.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate845.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate845.ActorRef<xstate845.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate845.AnyActorRef>, xstate845.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate845.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate845.ActorRef<xstate845.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate845.AnyActorRef>, xstate845.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate845.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-DO-5lVom.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/consent/consentActor.ts
|
|
8
8
|
function createConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, signal) {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate820 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/cpf-ocr/cpfOcrManager.d.ts
|
|
5
5
|
type CpfOcrIdleState = {
|
|
@@ -47,7 +47,7 @@ type CpfOcrContext = {
|
|
|
47
47
|
error: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
type CpfOcrInput = Record<string, never>;
|
|
50
|
-
declare const cpfOcrMachine:
|
|
50
|
+
declare const cpfOcrMachine: xstate820.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate1279.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate820.ActorRefFromLogic<xstate820.PromiseActorLogic<CpfOcrDataResponse, void, xstate820.EventObject>> | xstate820.ActorRefFromLogic<xstate820.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate820.EventObject>> | undefined;
|
|
63
|
+
}, xstate820.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate820.PromiseActorLogic<CpfOcrDataResponse, void, xstate820.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate820.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate820.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate820.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate820.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate820.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate820.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate820.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput,
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate820.NonReducibleUnknown, xstate820.EventObject, xstate820.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate1279.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate820.ActorRef<xstate820.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate1279.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate820.AnyActorRef>, xstate820.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate1279.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate820.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
5
|
import { t as validateCPF } from "./cpf-C_GpPcp9.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { a as fromPromise, c as createManager, s as createActor, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as sleep } from "./ITimerCapability-
|
|
4
|
+
import { a as fromPromise, c as createManager, s as createActor, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { t as sleep } from "./ITimerCapability-DUyV4pr-.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
1
|
import "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DycWi-zO.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
8
8
|
function createCurpValidationActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
6
6
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
|
@@ -196,6 +196,7 @@ const GENERATE_CURP_FIELDS = [
|
|
|
196
196
|
labelKey: "curp.labels.firstLast",
|
|
197
197
|
type: "text",
|
|
198
198
|
required: true,
|
|
199
|
+
autoComplete: "family-name",
|
|
199
200
|
validation: [{ type: "required" }]
|
|
200
201
|
},
|
|
201
202
|
{
|
|
@@ -216,6 +217,7 @@ const GENERATE_CURP_FIELDS = [
|
|
|
216
217
|
labelKey: "curp.labels.dob",
|
|
217
218
|
type: "date",
|
|
218
219
|
required: true,
|
|
220
|
+
autoComplete: "bday",
|
|
219
221
|
validation: [{ type: "required" }]
|
|
220
222
|
},
|
|
221
223
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
4
|
-
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
5
|
import { t as isoDateToMs } from "./dateUtils-BGs-FxcI.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/custom-fields/customFieldsServices.ts
|