@incodetech/core 0.0.0-dev-20260625-d0b37b1e → 0.0.0-dev-20260625-a43ee3be
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/3dAvatarProvider-fTdHcYRZ.esm.js +28214 -0
- package/dist/{IpifyProvider-oZf7Ke1O.esm.js → BrowserEnvironmentProvider--Rda18RB.esm.js} +1 -51
- package/dist/{BrowserStorageProvider-D5xc7Lqo.esm.js → BrowserStorageProvider-BsoYOG0O.esm.js} +1 -25
- package/dist/BrowserVisibilityObserverProvider-EZ_rxOqV.esm.js +25 -0
- package/dist/Face2DProvider-B6fcPUZn.esm.js +824 -0
- package/dist/FaceDetectionProvider-CVU9Tfgu.d.ts +248 -0
- package/dist/IVisibilityObserverCapability-DIWWAmF2.d.ts +12 -0
- package/dist/IpifyProvider-CN96dlWf.esm.js +51 -0
- package/dist/{OpenViduRecordingProvider-DF7A4ZNJ.esm.js → OpenViduRecordingProvider-NzFiqaEU.esm.js} +1 -1
- package/dist/PrivacyLensProvider-DSgQUHtW.esm.js +339 -0
- package/dist/{StreamCanvasCapture-Dr5n_iK1.esm.js → StreamCanvasCapture-Koi0Xc6f.esm.js} +1 -1
- package/dist/StreamCanvasCapture-opC6JnBb.d.ts +42 -0
- package/dist/{addressSearch-BH96a3fq.esm.js → addressSearch-Cmf1l1zD.esm.js} +4 -4
- package/dist/{ae-signature-CDEN8y-w.esm.js → ae-signature-Kjug39_Z.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +10 -9
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +7 -6
- package/dist/{antifraudManager-B7WQTIdu.d.ts → antifraudManager-B26zslni.d.ts} +2 -2
- package/dist/{antifraudManager-DZifA5zX.esm.js → antifraudManager-CSREEbtK.esm.js} +4 -3
- package/dist/{antifraudStateMachine-DlKrK2hL.esm.js → antifraudStateMachine-BLZzwvJY.esm.js} +3 -3
- package/dist/{api-DUZwyz0o.esm.js → api-KOw05L_i.esm.js} +21 -2
- package/dist/authentication.d.ts +16 -12
- package/dist/authentication.esm.js +32 -27
- package/dist/{authenticationManager-BM4LzyV7.esm.js → authenticationManager-BcOjHyWa.esm.js} +6 -6
- package/dist/{authenticationManager-Dve7mGLe.d.ts → authenticationManager-BxBa-I5y.d.ts} +3 -3
- package/dist/{authenticationStateMachine-Chx3ySdT.esm.js → authenticationStateMachine-DoFadRn8.esm.js} +8 -8
- package/dist/avatar.d.ts +3 -0
- package/dist/avatar.esm.js +3 -0
- package/dist/{backCameraStream-iftkf3rd.esm.js → backCameraStream-6nEEESaK.esm.js} +3 -3
- package/dist/{browserSimulation-CGjpdNA1.esm.js → browserSimulation-BaRUkqo0.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/{StreamCanvasCapture-Ctgyx-oD.d.ts → canvas-BFl4HMZy.d.ts} +1 -41
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +8 -7
- package/dist/{certificateIssuanceStateMachine-CLNXtXaC.esm.js → certificateIssuanceStateMachine-DVX0JsVJ.esm.js} +4 -4
- package/dist/clientLifecycle-B_ckqcX0.esm.js +534 -0
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +7 -6
- package/dist/{consentManager-psDCeJ0E.esm.js → consentManager-BJmYmw_6.esm.js} +4 -3
- package/dist/{consentManager-B4V_yYxG.d.ts → consentManager-vvPkWTMc.d.ts} +54 -54
- package/dist/{consentStateMachine-DRsFFSHE.esm.js → consentStateMachine-DgSJ1ayL.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +7 -6
- package/dist/{cpfOcrManager-BWAxB7u-.d.ts → cpfOcrManager-B-VkoepP.d.ts} +22 -22
- package/dist/{cpfOcrManager-BxcgxvgO.esm.js → cpfOcrManager-Dpj_HlZe.esm.js} +6 -5
- package/dist/createFaceAvatar-CCD0HA4W.d.ts +394 -0
- package/dist/createFaceAvatar-D94d2jjL.esm.js +46 -0
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +6 -5
- package/dist/curp-validation.d.ts +9 -7
- package/dist/curp-validation.esm.js +7 -6
- package/dist/{curpValidationManager-Bt6CVD8b.d.ts → curpValidationManager-5xtZ6QlA.d.ts} +3 -3
- package/dist/{curpValidationManager-BgLDw0Ub.esm.js → curpValidationManager-IqH8rIei.esm.js} +4 -3
- package/dist/{curpValidationStateMachine-BK_wJ48C.esm.js → curpValidationStateMachine-Cr2o6gEl.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +6 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +6 -5
- package/dist/{customWatchlistStateMachine-Bi4P59HM.esm.js → customWatchlistStateMachine-CTczBFAU.esm.js} +3 -3
- package/dist/{deepsightLoader-BMmvk0X6.esm.js → deepsightLoader-CjjkJx1c.esm.js} +15 -13
- package/dist/{deepsightService-CEZrdiW0.esm.js → deepsightService-Bu6z1_jl.esm.js} +8 -37
- package/dist/{deepsightService-ByNKY5Jv.d.ts → deepsightService-ek58P8wR.d.ts} +3 -72
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +235 -235
- package/dist/document-capture.esm.js +14 -13
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +9 -8
- package/dist/{documentCaptureStateMachine-MpwpJO7t.esm.js → documentCaptureStateMachine-BPPxiBEI.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +7 -6
- package/dist/{dynamicFormsStateMachine-Do84A4uU.esm.js → dynamicFormsStateMachine-DXYYYnqM.esm.js} +4 -4
- package/dist/ekyb.d.ts +8 -6
- package/dist/ekyb.esm.js +20 -17
- package/dist/{ekybStateMachine-9tKuUA6e.esm.js → ekybStateMachine-9OxB2ALm.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +9 -8
- package/dist/{ekycStateMachine-DcynX0rj.esm.js → ekycStateMachine-M8Z7G5x4.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +9 -8
- package/dist/{electronicSignatureManager-B63aAuI5.esm.js → electronicSignatureManager--IIqwxf3.esm.js} +7 -6
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +9 -8
- package/dist/{emailManager-DxHjAe5u.esm.js → emailManager-BzeQI0Vo.esm.js} +5 -4
- package/dist/{emailManager-C6D2u4mQ.d.ts → emailManager-hmA0Elfn.d.ts} +3 -3
- package/dist/{emailStateMachine-758f34gg.esm.js → emailStateMachine-BuoiLQJF.esm.js} +5 -5
- package/dist/{endpoints-BM2_j_IE.esm.js → endpoints-CJH8R79Q.esm.js} +4 -0
- package/dist/{events-DN-u67gb.esm.js → events-C5GpmPbS.esm.js} +2 -188
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +3 -2
- package/dist/extensibility.d.ts +29 -25
- package/dist/extensibility.esm.js +65 -58
- package/dist/{externalFetch-crimxkN9.esm.js → externalFetch-DHzmXTlR.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +6 -5
- package/dist/faceCaptureManagerFactory-BLbVAxGM.d.ts +398 -0
- package/dist/{faceCaptureManagerFactory-BNXZchWX.esm.js → faceCaptureManagerFactory-C1OM3hCs.esm.js} +25 -16
- package/dist/{faceCaptureSetup-Dqb09D24.esm.js → faceCaptureSetup-BqYvT2de.esm.js} +97 -13
- package/dist/{faceMatchStateMachine-FikRaUZH.esm.js → faceMatchStateMachine-CrODY2X6.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +6 -5
- package/dist/{fieldComparisonManager-BXc6-DJv.d.ts → fieldComparisonManager-CvaG1tq6.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Dic0DVgl.esm.js → fieldComparisonManager-n9Rz0az-.esm.js} +5 -4
- package/dist/fiscal-qr.d.ts +4 -3
- package/dist/fiscal-qr.esm.js +13 -12
- package/dist/flow-events.d.ts +8 -6
- package/dist/flow.d.ts +13 -11
- package/dist/flow.esm.js +21 -18
- package/dist/{flowCompletionService-D_CsiDZM.esm.js → flowCompletionService-CbGOzDDc.esm.js} +3 -3
- package/dist/{flowServices-DvpNlpPG.esm.js → flowServices-CG1KLhsN.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +7 -6
- package/dist/{geolocationStateMachine-BWjrMGS_.esm.js → geolocationStateMachine-D6afIT5B.esm.js} +4 -4
- package/dist/{getDeviceClass-rXKlXywy.esm.js → getDeviceClass-DF3rXlUY.esm.js} +1 -1
- package/dist/getDeviceData-CxHuJqz9.esm.js +101 -0
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +8 -7
- package/dist/{governmentValidationStateMachine-BoF7U1of.esm.js → governmentValidationStateMachine-Cl_w7lDx.esm.js} +5 -5
- package/dist/home.d.ts +17 -15
- package/dist/home.esm.js +4 -3
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +57 -57
- package/dist/id-ocr.esm.js +7 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +6 -5
- package/dist/id.d.ts +14 -11
- package/dist/id.esm.js +38 -32
- package/dist/{idCaptureManager-BompNgq8.esm.js → idCaptureManager-BWHXDmsp.esm.js} +7 -5
- package/dist/{idCaptureManager-BvGUSN2e.d.ts → idCaptureManager-BxmYAiCr.d.ts} +10 -7
- package/dist/{idCaptureStateMachine-Dhzgl3mX.esm.js → idCaptureStateMachine-DgwiwGTp.esm.js} +20 -19
- package/dist/{idOcrStateMachine-YMCDGplq.esm.js → idOcrStateMachine-CSnVfav-.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-Bo1IYuZH.esm.js → idVerificationStateMachine-BYrQ6Ism.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +7 -6
- package/dist/{identityReuseManager-D0knIrOy.esm.js → identityReuseManager-BTBb6dNP.esm.js} +4 -3
- package/dist/{identityReuseManager-BAd_bDnZ.d.ts → identityReuseManager-DJUD1zYW.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-CSQfZOqD.esm.js → identityReuseStateMachine-B-DkkQQG.esm.js} +3 -3
- package/dist/{index-CJ2M0GG9.d.ts → index-Btsz0iWy.d.ts} +169 -169
- package/dist/{index-CdqrfCh3.d.ts → index-DCAqU5Gu.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +17 -13
- package/dist/{invokeOnCaptureCallback-Dzemudhk.esm.js → invokeOnCaptureCallback-BuIOnlDE.esm.js} +1 -1
- package/dist/{lib-7ZQ9BdKH.esm.js → lib-BToFFxxd.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +9 -7
- package/dist/mandatory-consent.esm.js +7 -6
- package/dist/{mandatoryConsentManager-DzTXtPrr.d.ts → mandatoryConsentManager-BeWWbVnU.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-Lon46nPQ.esm.js → mandatoryConsentManager-DOzIV_FJ.esm.js} +4 -3
- package/dist/{mandatoryConsentStateMachine-D_dZ7IF6.esm.js → mandatoryConsentStateMachine-_-BhToZb.esm.js} +3 -3
- package/dist/mediapipeShared-COY8pwRa.esm.js +67 -0
- package/dist/{recordingService-CxMJP4tQ.esm.js → onDeviceFaceResults-D8WDLBEo.esm.js} +64 -386
- package/dist/{openviduLazy-oAXXI9w_.esm.js → openviduLazy-BudLG7F2.esm.js} +2 -2
- package/dist/openviduLazy-DRlOk6Fa.esm.js +3 -0
- package/dist/{permissionGuards-D-Z-lgNj.esm.js → permissionGuards-BV5m2Z86.esm.js} +1 -1
- package/dist/{permissionServices-CPDboRoE.esm.js → permissionServices-Cc8lx66Z.esm.js} +3 -3
- package/dist/personhood.d.ts +531 -0
- package/dist/personhood.esm.js +1495 -0
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +9 -8
- package/dist/{phoneManager-TSq1Ief6.d.ts → phoneManager-C6Go0zbQ.d.ts} +3 -3
- package/dist/{phoneManager-Blt4Oc2P.esm.js → phoneManager-Ss4F2DsU.esm.js} +5 -4
- package/dist/{phoneStateMachine-W3c6Z8sj.esm.js → phoneStateMachine-DTP4bnzW.esm.js} +5 -5
- package/dist/{qe-signature-CQLK6LKE.esm.js → qe-signature-0orRwkzA.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +10 -9
- package/dist/recordingService-IPWMXEFL.esm.js +374 -0
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +9 -8
- package/dist/{redirectToMobileManager-yOHAmwg-.d.ts → redirectToMobileManager-BNyb1Snt.d.ts} +2 -2
- package/dist/{redirectToMobileManager-DCvpKdkD.esm.js → redirectToMobileManager-CivoSWZq.esm.js} +5 -4
- package/dist/{redirectToMobileStateMachine-DC9z4Vfu.esm.js → redirectToMobileStateMachine-DHUqKZFf.esm.js} +5 -5
- package/dist/{runChildModule-C9G0wfVC.esm.js → runChildModule-C1mLru0r.esm.js} +3 -3
- package/dist/selfie.d.ts +16 -12
- package/dist/selfie.esm.js +33 -28
- package/dist/{selfieManager-imY2dAcH.d.ts → selfieManager-6M1LjHJh.d.ts} +3 -3
- package/dist/{selfieManager-BRL6c_Oc.esm.js → selfieManager-qI7u7XbN.esm.js} +6 -6
- package/dist/{selfieStateMachine-D2Q0uwDK.esm.js → selfieStateMachine-CFAOkAVX.esm.js} +4 -4
- package/dist/{session-Be_IA1e0.esm.js → session-CSjmHjvS.esm.js} +3 -3
- package/dist/session.d.ts +7 -5
- package/dist/session.esm.js +17 -14
- package/dist/{sessionInitializer-BYi2q9WC.esm.js → sessionInitializer-CY3gDJ_h.esm.js} +11 -107
- package/dist/{setup-BJZAkajt.d.ts → setup-CBG8_-sJ.d.ts} +2 -2
- package/dist/{setup-Bk_aB8AH.esm.js → setup-CMXo0607.esm.js} +9 -534
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +6 -5
- package/dist/{signatureStateMachine-DAxXmMrk.esm.js → signatureStateMachine-3spNUdNE.esm.js} +3 -3
- package/dist/{stats-DntyIiGr.esm.js → stats-s3hq1r1j.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/{tri-CtxWthxz.esm.js → tri-ByBCC5y2.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-CrWAulDi.esm.js → tri.esm-DKh4PZHK.esm.js} +1 -1
- package/dist/tri.esm.js +2 -2
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +4 -3
- package/dist/{types-Dv-9WPJX.d.ts → types-B5wtXkOy.d.ts} +35 -3
- package/dist/types-BmLWSDdq.esm.js +188 -0
- package/dist/{types-Z9wv19v2.d.ts → types-CzQBFW6W.d.ts} +1 -1
- package/dist/{types-DpTWgfKY.d.ts → types-DiIMjgm2.d.ts} +1 -1
- package/dist/video-CSEulBxm.esm.js +36 -0
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +17 -13
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +6 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +6 -5
- package/dist/{watchlistForBusinessStateMachine-DtefJb-D.esm.js → watchlistForBusinessStateMachine-DUnGwscI.esm.js} +3 -3
- package/dist/{watchlistStateMachine-B0aIS2_n.esm.js → watchlistStateMachine-D6x4BABN.esm.js} +3 -3
- package/dist/workflow.d.ts +112 -110
- package/dist/workflow.esm.js +72 -66
- package/package.json +13 -3
- package/dist/faceCaptureManagerFactory-CL-7T_vH.d.ts +0 -731
- package/dist/openviduLazy-B_s6jnEk.esm.js +0 -3
- /package/dist/{Actor-fIPLXfoi.d.ts → Actor-D0X2YV92.d.ts} +0 -0
- /package/dist/{BrowserTimerProvider-BVgutW_b.esm.js → BrowserTimerProvider-Dp6Dvq18.esm.js} +0 -0
- /package/dist/{ITimerCapability-BvH0pDwp.esm.js → ITimerCapability-Cqq9AIfp.esm.js} +0 -0
- /package/dist/{Manager-B2OEDYqf.d.ts → Manager-BV5ZkaGs.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-C9fPAJdS.esm.js → MotionSensorProvider-DIBb_60H.esm.js} +0 -0
- /package/dist/{WasmUtilProvider-CIu373BZ.esm.js → WasmUtilProvider-DKxRt6ZI.esm.js} +0 -0
- /package/dist/{apiError-D-GTvFrH.esm.js → apiError-CFVRvReX.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-7tbRR1aR.esm.js → browser-DlFgHpoC-CTDo0MZI.esm.js} +0 -0
- /package/dist/{camera-biGPWlmx.d.ts → camera-CE_iClyf.d.ts} +0 -0
- /package/dist/{camera-x4LjGTjZ.esm.js → camera-Kk9gT8I8.esm.js} +0 -0
- /package/dist/{canvas-7uX2izHb.esm.js → canvas-CYuviOmq.esm.js} +0 -0
- /package/dist/{chunk-BK1xu56N.esm.js → chunk-DWboWZWR.esm.js} +0 -0
- /package/dist/{cpf-xBg-DFNn.esm.js → cpf-DxC8njkD.esm.js} +0 -0
- /package/dist/{dateUtils-8dCcuArE.esm.js → dateUtils-GSUTCu5W.esm.js} +0 -0
- /package/dist/{flowCompletionService-W_gSMyD5.d.ts → flowCompletionService-CYN44D74.d.ts} +0 -0
- /package/dist/{getBrowser-Dv8LZyHE.esm.js → getBrowser-THrm1MWD.esm.js} +0 -0
- /package/dist/{getDeviceClass-C0zrM97a.esm.js → getDeviceClass-BsWQ9mVm.esm.js} +0 -0
- /package/dist/{http-CfVTgMfU.esm.js → http-BnPz8fHx.esm.js} +0 -0
- /package/dist/{index-52_qi4bd.d.ts → index-B0ZPExIF.d.ts} +0 -0
- /package/dist/{otp-BHJnjEEc.d.ts → otp-D3JAuulv.d.ts} +0 -0
- /package/dist/{otp-D87RTwrx.esm.js → otp-DoLw7vGV.esm.js} +0 -0
- /package/dist/{platform-BfoqeM61.esm.js → platform-CwFB3DeY.esm.js} +0 -0
- /package/dist/{types-BdVOWGGW.esm.js → types-BYdJ3Mc2.esm.js} +0 -0
- /package/dist/{types-DYZja-k9.d.ts → types-CoMD38x7.d.ts} +0 -0
- /package/dist/{types-F0IXbaCB.d.ts → types-Dzi_YW-0.d.ts} +0 -0
- /package/dist/{urlUtils-8RNHyW3x.esm.js → urlUtils-i6O-S_Eb.esm.js} +0 -0
- /package/dist/{warmup--6HA3yUR.d.ts → warmup-BPFiCw6Z.d.ts} +0 -0
- /package/dist/{xstate.esm-Dkm1jy5u.esm.js → xstate.esm-MXSDq4yW.esm.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BV5ZkaGs.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-D0X2YV92.js";
|
|
3
|
+
import * as xstate349 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -37,7 +37,7 @@ type ConsentContext = {
|
|
|
37
37
|
type ConsentInput = {
|
|
38
38
|
config: ConsentConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const consentMachine:
|
|
40
|
+
declare const consentMachine: xstate349.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate349.ActorRefFromLogic<xstate349.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate349.EventObject>> | xstate349.ActorRefFromLogic<xstate349.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate349.EventObject>> | undefined;
|
|
59
|
+
}, xstate349.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate349.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate349.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate349.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate349.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
77
|
-
clearError: {
|
|
78
|
-
type: "clearError";
|
|
79
|
-
params: xstate1483.NonReducibleUnknown;
|
|
80
|
-
};
|
|
76
|
+
}>, xstate349.Values<{
|
|
81
77
|
setError: {
|
|
82
78
|
type: "setError";
|
|
83
|
-
params:
|
|
79
|
+
params: xstate349.NonReducibleUnknown;
|
|
84
80
|
};
|
|
85
|
-
|
|
86
|
-
type: "
|
|
87
|
-
params:
|
|
81
|
+
clearError: {
|
|
82
|
+
type: "clearError";
|
|
83
|
+
params: xstate349.NonReducibleUnknown;
|
|
88
84
|
};
|
|
89
85
|
setConsentData: {
|
|
90
86
|
type: "setConsentData";
|
|
91
|
-
params:
|
|
87
|
+
params: xstate349.NonReducibleUnknown;
|
|
92
88
|
};
|
|
93
89
|
toggleCheckbox: {
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
|
-
params:
|
|
91
|
+
params: xstate349.NonReducibleUnknown;
|
|
92
|
+
};
|
|
93
|
+
resetContext: {
|
|
94
|
+
type: "resetContext";
|
|
95
|
+
params: xstate349.NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate349.NonReducibleUnknown, xstate349.EventObject, xstate349.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate349.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate349.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate349.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate349.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate349.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate349.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate349.RequiredActorOptions<T>]: unknown }) | undefined], xstate349.IsNotNever<xstate349.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate349.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate349.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate349.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate349.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate349.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate349.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate349.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate349.IsNotNever<xstate349.RequiredActorOptions<T_1>>> : never : never : never)): xstate349.ActorRefFromLogic<xstate349.GetConcreteByKey<xstate349.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate349.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate349.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate349.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate349.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate349.AnyActorLogic>(src: TLogic, ...[options]: xstate349.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate349.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate349.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate349.IsNotNever<xstate349.RequiredLogicInput<TLogic>>>): xstate349.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate349.ActorRef<xstate349.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate349.AnyActorRef | undefined>, xstate349.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate349.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate349.ActorRef<xstate349.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate349.AnyActorRef>, xstate349.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate349.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate349.ActorRef<xstate349.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate349.AnyActorRef>, xstate349.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1483.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate349.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-KOw05L_i.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-CJH8R79Q.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-MXSDq4yW.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, language, signal) {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-
|
|
1
|
+
import "./Manager-BV5ZkaGs.js";
|
|
2
|
+
import "./Actor-D0X2YV92.js";
|
|
3
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-B-VkoepP.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
|
|
6
6
|
declare function formatCPF(value: string): string;
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
1
|
+
import "./api-KOw05L_i.esm.js";
|
|
2
|
+
import "./events-C5GpmPbS.esm.js";
|
|
3
|
+
import "./types-BmLWSDdq.esm.js";
|
|
4
|
+
import "./endpoints-CJH8R79Q.esm.js";
|
|
5
|
+
import "./xstate.esm-MXSDq4yW.esm.js";
|
|
6
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-Dpj_HlZe.esm.js";
|
|
7
|
+
import "./cpf-DxC8njkD.esm.js";
|
|
7
8
|
|
|
8
9
|
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BV5ZkaGs.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-D0X2YV92.js";
|
|
3
|
+
import * as xstate324 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/cpf-ocr/types.d.ts
|
|
6
6
|
type CpfOcrDataResponse = {
|
|
@@ -17,7 +17,7 @@ type CpfOcrContext = {
|
|
|
17
17
|
error: string | undefined;
|
|
18
18
|
};
|
|
19
19
|
type CpfOcrInput = Record<string, never>;
|
|
20
|
-
declare const cpfOcrMachine:
|
|
20
|
+
declare const cpfOcrMachine: xstate324.StateMachine<CpfOcrContext, {
|
|
21
21
|
type: "LOAD";
|
|
22
22
|
} | {
|
|
23
23
|
type: "SET_CPF";
|
|
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate1458.StateMachine<CpfOcrContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "RETRY";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]:
|
|
30
|
+
[x: string]: xstate324.ActorRefFromLogic<xstate324.PromiseActorLogic<CpfOcrDataResponse, void, xstate324.EventObject>> | xstate324.ActorRefFromLogic<xstate324.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
31
31
|
cpf: string;
|
|
32
|
-
},
|
|
33
|
-
},
|
|
32
|
+
}, xstate324.EventObject>> | undefined;
|
|
33
|
+
}, xstate324.Values<{
|
|
34
34
|
fetchCpfOcrData: {
|
|
35
35
|
src: "fetchCpfOcrData";
|
|
36
|
-
logic:
|
|
36
|
+
logic: xstate324.PromiseActorLogic<CpfOcrDataResponse, void, xstate324.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
submitCpfOcr: {
|
|
40
40
|
src: "submitCpfOcr";
|
|
41
|
-
logic:
|
|
41
|
+
logic: xstate324.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
42
42
|
cpf: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate324.EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
47
|
-
clearError: {
|
|
48
|
-
type: "clearError";
|
|
49
|
-
params: xstate1458.NonReducibleUnknown;
|
|
50
|
-
};
|
|
46
|
+
}>, xstate324.Values<{
|
|
51
47
|
setError: {
|
|
52
48
|
type: "setError";
|
|
53
|
-
params:
|
|
49
|
+
params: xstate324.NonReducibleUnknown;
|
|
50
|
+
};
|
|
51
|
+
clearError: {
|
|
52
|
+
type: "clearError";
|
|
53
|
+
params: xstate324.NonReducibleUnknown;
|
|
54
54
|
};
|
|
55
55
|
setPrefill: {
|
|
56
56
|
type: "setPrefill";
|
|
57
|
-
params:
|
|
57
|
+
params: xstate324.NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
59
|
setCpf: {
|
|
60
60
|
type: "setCpf";
|
|
61
|
-
params:
|
|
61
|
+
params: xstate324.NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput,
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate324.NonReducibleUnknown, xstate324.EventObject, xstate324.MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -118,7 +118,7 @@ declare const cpfOcrMachine: xstate1458.StateMachine<CpfOcrContext, {
|
|
|
118
118
|
} | {
|
|
119
119
|
type: "RETRY";
|
|
120
120
|
};
|
|
121
|
-
self:
|
|
121
|
+
self: xstate324.ActorRef<xstate324.MachineSnapshot<CpfOcrContext, {
|
|
122
122
|
type: "LOAD";
|
|
123
123
|
} | {
|
|
124
124
|
type: "SET_CPF";
|
|
@@ -127,7 +127,7 @@ declare const cpfOcrMachine: xstate1458.StateMachine<CpfOcrContext, {
|
|
|
127
127
|
type: "SUBMIT";
|
|
128
128
|
} | {
|
|
129
129
|
type: "RETRY";
|
|
130
|
-
}, Record<string,
|
|
130
|
+
}, Record<string, xstate324.AnyActorRef>, xstate324.StateValue, string, unknown, any, any>, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "SET_CPF";
|
|
@@ -136,7 +136,7 @@ declare const cpfOcrMachine: xstate1458.StateMachine<CpfOcrContext, {
|
|
|
136
136
|
type: "SUBMIT";
|
|
137
137
|
} | {
|
|
138
138
|
type: "RETRY";
|
|
139
|
-
},
|
|
139
|
+
}, xstate324.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
cpf: string;
|
|
142
142
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
1
|
+
import { t as api } from "./api-KOw05L_i.esm.js";
|
|
2
|
+
import { n as createManagerInstrumentation } from "./events-C5GpmPbS.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-BmLWSDdq.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-CJH8R79Q.esm.js";
|
|
5
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-MXSDq4yW.esm.js";
|
|
6
|
+
import { t as validateCPF } from "./cpf-DxC8njkD.esm.js";
|
|
6
7
|
|
|
7
8
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
9
|
async function fetchCpfOcrData(signal) {
|