@incodetech/core 0.0.0-dev-20260630-ecf25d01 → 0.0.0-dev-20260701-bdeaa221
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-g_5khIgq.esm.js → 3dAvatarProvider-3yqmC0fd.esm.js} +2 -2
- package/dist/{Face2DProvider-BciFOpqp.esm.js → Face2DProvider-C-fAuV-p.esm.js} +2 -2
- package/dist/{FaceDetectionProvider-C723Vh4J.d.ts → FaceDetectionProvider-B4SVWfK7.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-DCe8akKn.d.ts → IWasmUtilCapability-Dpg64Qr2.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-DmA__QfK.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-BZsWqkv9.esm.js → PrivacyLensProvider-D3KyqFh7.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DHDxv6hH.d.ts → StreamCanvasCapture-BqaiJxNa.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-DNcWK2xu.esm.js → StreamCanvasCapture-Bz17q4FP.esm.js} +1 -1
- package/dist/{addressSearch-BhjurwQo.esm.js → addressSearch-BGuQejtl.esm.js} +1 -1
- package/dist/{ae-signature-CPKOMQX7.esm.js → ae-signature-G5MZoOKy.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 +3 -3
- package/dist/antifraud.esm.js +3 -3
- package/dist/{antifraudManager-CMJCjGu9.esm.js → antifraudManager-BwWxvE5A.esm.js} +2 -2
- package/dist/{antifraudManager-0tq22vID.d.ts → antifraudManager-DcraYd6r.d.ts} +2 -2
- package/dist/{antifraudStateMachine-CwsNI6mD.esm.js → antifraudStateMachine-DLKtOiwd.esm.js} +1 -1
- package/dist/authentication.d.ts +18 -18
- package/dist/authentication.esm.js +26 -26
- package/dist/{authenticationManager-DYeRtXSb.d.ts → authenticationManager-BwUutUMI.d.ts} +3 -3
- package/dist/{authenticationManager-B_iOhBuD.esm.js → authenticationManager-Mk-k_cwG.esm.js} +4 -4
- package/dist/{authenticationStateMachine-BJFMX_d6.esm.js → authenticationStateMachine-BMnMVLy-.esm.js} +5 -5
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-cH8Ctfrg.esm.js → backCameraStream-ZyqrFyjO.esm.js} +2 -2
- package/dist/{browserSimulation-CUgn29iJ.esm.js → browserSimulation-TsSoavQv.esm.js} +152 -1215
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +4 -4
- package/dist/{certificateIssuanceStateMachine-B0zUpVxm.esm.js → certificateIssuanceStateMachine-x9HFaxKK.esm.js} +2 -2
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +3 -3
- package/dist/{consentManager-jU_9tYGg.d.ts → consentManager-B--Uv8aw.d.ts} +55 -55
- package/dist/{consentManager-D71Ar-I7.esm.js → consentManager-Cj83yok8.esm.js} +2 -2
- package/dist/{consentStateMachine-enfdBshh.esm.js → consentStateMachine-YtU_4jUt.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +3 -3
- package/dist/{cpfOcrManager-9Ubp2TpO.d.ts → cpfOcrManager-C0BUpDyT.d.ts} +22 -22
- package/dist/{cpfOcrManager-DkkrkErG.esm.js → cpfOcrManager-D8H0HGKj.esm.js} +2 -2
- package/dist/{createFaceAvatar-BXYFc_kA.esm.js → createFaceAvatar-CiNyvRNO.esm.js} +3 -3
- package/dist/{createFaceAvatar-DNMSIcRb.d.ts → createFaceAvatar-tloe__L_.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +2 -2
- package/dist/curp-validation.d.ts +9 -9
- package/dist/curp-validation.esm.js +3 -3
- package/dist/{curpValidationManager-DcnaKhq7.d.ts → curpValidationManager-Bd_J27C3.d.ts} +3 -3
- package/dist/{curpValidationManager-DKh_9ckM.esm.js → curpValidationManager-DRHOME_q.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-DzXb57MU.esm.js → curpValidationStateMachine-B68HEUSO.esm.js} +1 -1
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +2 -2
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customWatchlistStateMachine-Cl2gXi_b.esm.js → customWatchlistStateMachine-ji778XCE.esm.js} +1 -1
- package/dist/{deepsightLoader-DIUgvW9k.esm.js → deepsightLoader-C2P7w1dA.esm.js} +8 -9
- package/dist/{deepsightService-lLD3G31S.esm.js → deepsightService-CDahSjGP.esm.js} +6 -6
- package/dist/device.d.ts +9 -1
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +229 -229
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +4 -4
- package/dist/{documentCaptureStateMachine-JAnvcB0V.esm.js → documentCaptureStateMachine-BKXzGfAp.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +3 -3
- package/dist/{dynamicFormsStateMachine-DdU0Y5OL.esm.js → dynamicFormsStateMachine-BZSn4t1z.esm.js} +2 -2
- package/dist/ekyb.d.ts +8 -8
- package/dist/ekyb.esm.js +12 -13
- package/dist/{ekybStateMachine-CdA_Btr0.esm.js → ekybStateMachine-DiyeD-bn.esm.js} +3 -3
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +4 -4
- package/dist/{ekycStateMachine-DajcBUqD.esm.js → ekycStateMachine-C9681Yzd.esm.js} +3 -3
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +5 -5
- package/dist/{electronicSignatureManager-Dz-CglxP.esm.js → electronicSignatureManager-DTX6Pccb.esm.js} +3 -3
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +4 -4
- package/dist/{emailManager-Bf8HT0py.esm.js → emailManager-CyJ3OwB0.esm.js} +3 -3
- package/dist/{emailManager-D5kHN_Zj.d.ts → emailManager-DB7-HTVr.d.ts} +3 -3
- package/dist/{emailStateMachine-DBtggNGB.esm.js → emailStateMachine-DlZr3jep.esm.js} +2 -2
- package/dist/extensibility.d.ts +31 -31
- package/dist/extensibility.esm.js +57 -58
- package/dist/{externalFetch-Sh2H5VZA.esm.js → externalFetch-D_eLLNOS.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-DWZ4fnkS.esm.js → faceCaptureManagerFactory-C6K2AbsU.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-D6uM60D6.d.ts → faceCaptureManagerFactory-CyZP_Q9V.d.ts} +12 -12
- package/dist/{faceCaptureSetup-BX9vTP8-.esm.js → faceCaptureSetup-Bq_wPGhK.esm.js} +8 -8
- package/dist/{faceMatchStateMachine-C-ioayCI.esm.js → faceMatchStateMachine-v8z7PvvD.esm.js} +1 -1
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +2 -2
- package/dist/{fieldComparisonManager-brjMzIRO.d.ts → fieldComparisonManager-CjIY3Y1d.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Dvx8pH8s.esm.js → fieldComparisonManager-D0RJA6Qx.esm.js} +1 -1
- package/dist/fiscal-qr.d.ts +4 -4
- package/dist/fiscal-qr.esm.js +7 -7
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +13 -13
- package/dist/flow.esm.js +13 -14
- package/dist/{flowCompletionService-BfjCIg8B.esm.js → flowCompletionService-BqDrPtNh.esm.js} +1 -1
- package/dist/{flowServices-Cs7Wm9ah.esm.js → flowServices-nx81re-L.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-DNwn-K0X.esm.js → geolocationStateMachine-5NOAiXiW.esm.js} +1 -1
- package/dist/{getDeviceClass-CKbolkq0.esm.js → getDeviceClass-DGGzzfqm.esm.js} +1 -1
- package/dist/{getDeviceData-cRiZDfyj.esm.js → getDeviceData-TrKM8NPh.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-BrbwYVeb.esm.js → governmentValidationStateMachine-DK1YeRDr.esm.js} +2 -2
- package/dist/home.d.ts +17 -17
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +15 -15
- package/dist/id.esm.js +30 -31
- package/dist/{idCaptureDefaults-Dtu-M3av.esm.js → idCaptureDefaults-GTCesE6K.esm.js} +1 -1
- package/dist/{idCaptureManager-CUsOoSYY.esm.js → idCaptureManager-CeaNK-Ve.esm.js} +5 -5
- package/dist/{idCaptureManager-D8vun2iW.d.ts → idCaptureManager-DDkfMlsm.d.ts} +11 -11
- package/dist/{idCaptureStateMachine-Z2FqIvHr.esm.js → idCaptureStateMachine-DdlLGjwa.esm.js} +14 -14
- package/dist/{idOcrStateMachine-BrgpQWHm.esm.js → idOcrStateMachine-Tr48722s.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-CVfNJ9c4.esm.js → idVerificationStateMachine-DwjJiKun.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{identityReuseManager-BdtFLG5j.esm.js → identityReuseManager-DjhuypVV.esm.js} +2 -2
- package/dist/{identityReuseManager-CCeMUbEv.d.ts → identityReuseManager-piMy-REi.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-CJn-Eaqd.esm.js → identityReuseStateMachine-CE7CiLs9.esm.js} +1 -1
- package/dist/{index-CY0AZlu3.d.ts → index-B75DQgX_.d.ts} +169 -169
- package/dist/{index-Oj_Fvhsa.d.ts → index-CpQYJA2K.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +6 -7
- package/dist/mandatory-consent.d.ts +9 -9
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentManager-Bys5puZC.d.ts → mandatoryConsentManager-BT8eEhPZ.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-DMQBfOP7.esm.js → mandatoryConsentManager-CwQSmcyl.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-A0_KwmZK.esm.js → mandatoryConsentStateMachine-DMHuQ9p6.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-u-0o4u8K.esm.js → onDeviceFaceResults-DlErdHcT.esm.js} +8 -8
- package/dist/{openviduLazy-wEojM41w.esm.js → openviduLazy-BXDnVFe2.esm.js} +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +3 -0
- package/dist/{permissionGuards-pJ0BBI8s.esm.js → permissionGuards-BR2oN573.esm.js} +1 -1
- package/dist/{permissionServices-DylQrLrh.esm.js → permissionServices-BJhGL13R.esm.js} +2 -2
- package/dist/personhood.d.ts +15 -15
- package/dist/personhood.esm.js +18 -19
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +4 -4
- package/dist/{phoneManager-DPDc0FVX.d.ts → phoneManager-DWBrSRZq.d.ts} +3 -3
- package/dist/{phoneManager-DI_wCv7R.esm.js → phoneManager-DoREHm5q.esm.js} +3 -3
- package/dist/{phoneStateMachine-DBFRhm__.esm.js → phoneStateMachine-DBCFyMqD.esm.js} +2 -2
- package/dist/{qe-signature-DBH54XrQ.esm.js → qe-signature-CvRT6Nr8.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +6 -6
- package/dist/{recordingService-Bu2ksN82.esm.js → recordingService-D8zRQbVb.esm.js} +4 -4
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +4 -4
- package/dist/{redirectToMobileManager-CBbNZj35.esm.js → redirectToMobileManager-BlK4U22c.esm.js} +2 -2
- package/dist/{redirectToMobileManager-Ck3mOj_a.d.ts → redirectToMobileManager-slUK-Ttt.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-CswwJZgS.esm.js → redirectToMobileStateMachine-DbHl-Hnq.esm.js} +2 -2
- package/dist/{runChildModule-B3dFXzju.esm.js → runChildModule-Cm4q5mtc.esm.js} +2 -2
- package/dist/selfie.d.ts +18 -18
- package/dist/selfie.esm.js +27 -27
- package/dist/{selfieManager-CQuIQApd.d.ts → selfieManager-CARwc0rJ.d.ts} +3 -3
- package/dist/{selfieManager-dj_tGmCf.esm.js → selfieManager-mMYgwONo.esm.js} +4 -4
- package/dist/{selfieStateMachine-DE5bvZIY.esm.js → selfieStateMachine-j8QNgRSM.esm.js} +4 -4
- package/dist/{session-ACyn7yHq.esm.js → session-D4m9r-7U.esm.js} +1 -1
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +8 -9
- package/dist/{sessionInitializer-DjzgA8H9.esm.js → sessionInitializer-BPoQYSR2.esm.js} +5 -5
- package/dist/{setup-Da51UnII.d.ts → setup-B0dyRJVg.d.ts} +2 -2
- package/dist/{setup-C6-abnQA.esm.js → setup-DttzrMgn.esm.js} +2 -2
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-FeZrImMZ.esm.js → signatureStateMachine-Ds7LOonk.esm.js} +1 -1
- package/dist/thumbmarkAdapter-fHBUDlAP.esm.js +1194 -0
- package/dist/{tri-CvoIihYm.esm.js → tri-RHgg98ap.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-B47NPJjh.esm.js → tri.esm-Q8X11Udu.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-BBSIY1G3.d.ts → types-B4nBoeCd.d.ts} +3 -3
- package/dist/{types-B_YCuHZx.d.ts → types-Bl8JJxqM.d.ts} +1 -1
- package/dist/{types-Cyi3gwPK.d.ts → types-BoOrY6Kj.d.ts} +2 -2
- package/dist/{types-BCcaoWwg.d.ts → types-DHIl-AtE.d.ts} +1 -1
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +23 -24
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +6 -7
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-Dpx2tEHF.esm.js → watchlistForBusinessStateMachine-DXpbE4Sx.esm.js} +1 -1
- package/dist/{watchlistStateMachine-z7-X0tWf.esm.js → watchlistStateMachine-ByxT83kR.esm.js} +1 -1
- package/dist/workflow.d.ts +166 -166
- package/dist/workflow.esm.js +65 -66
- package/package.json +1 -1
- package/dist/BrowserEnvironmentProvider-CrBAYw20.esm.js +0 -117
- package/dist/getBrowser-BKXPso_u.esm.js +0 -8
- package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
- /package/dist/{Actor-DYjXVMQm.d.ts → Actor-Du_LU0S4.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-C2pRHzF2.esm.js → BrowserStorageProvider-CrrN540a.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-CwxgeRE5.esm.js → BrowserVisibilityObserverProvider-rim9Jrz-.esm.js} +0 -0
- /package/dist/{ITimerCapability-C2fjikpS.esm.js → ITimerCapability-pltuG1E8.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-BxPj7hsu.d.ts → IVisibilityObserverCapability-D8EjWdOj.d.ts} +0 -0
- /package/dist/{Manager-BylDhZIB.d.ts → Manager-BUc6OqO5.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BtOFKz9L.esm.js → MotionSensorProvider-DCbId4De.esm.js} +0 -0
- /package/dist/{apiError-C4NaqM8p.esm.js → apiError-C7SFQTB2.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-BieMg30k.esm.js → browser-DlFgHpoC-D0saHs_w.esm.js} +0 -0
- /package/dist/{camera-3BoIlw6r.esm.js → camera-DUkgmYMo.esm.js} +0 -0
- /package/dist/{camera-CWO06Lu5.d.ts → camera-DtXTDZWt.d.ts} +0 -0
- /package/dist/{canvas-pLrXU1id.d.ts → canvas-Dcq7XIdx.d.ts} +0 -0
- /package/dist/{canvas-BhqSuIuO.esm.js → canvas-_I95hkPg.esm.js} +0 -0
- /package/dist/{cpf-Dv38bdsH.esm.js → cpf-BKaho0j_.esm.js} +0 -0
- /package/dist/{dateUtils-CmsPWQ3R.esm.js → dateUtils-7-tQYRNN.esm.js} +0 -0
- /package/dist/{deepsightService-6J67NoN9.d.ts → deepsightService-DMGqYUMO.d.ts} +0 -0
- /package/dist/{flowCompletionService-9TuYMrhu.d.ts → flowCompletionService-CY9Cb5V1.d.ts} +0 -0
- /package/dist/{getDeviceClass-DYWA0flM.esm.js → getDeviceClass-DavNdcxh.esm.js} +0 -0
- /package/dist/{http-BbZ696Pj.esm.js → http-C6s60xSe.esm.js} +0 -0
- /package/dist/{index-BAyZ8_iI.d.ts → index-CCG6MnCO.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-D5rcHH57.esm.js → invokeOnCaptureCallback-DrpXOwkG.esm.js} +0 -0
- /package/dist/{lib-Bjd6nOLG.esm.js → lib-TRTXfron.esm.js} +0 -0
- /package/dist/{mediaRecorderOptions-WW6P1KjB.esm.js → mediaRecorderOptions-C3NAkVgK.esm.js} +0 -0
- /package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-yKDdOf_V.esm.js} +0 -0
- /package/dist/{otp-DZSnImi6.d.ts → otp-DyNGp0Po.d.ts} +0 -0
- /package/dist/{otp-Bfnzf7I3.esm.js → otp-nhnnp9FM.esm.js} +0 -0
- /package/dist/{types-CTnn7kUK.d.ts → types-BXkFotpx.d.ts} +0 -0
- /package/dist/{types--nHSBKJP.esm.js → types-CMcxlSmH.esm.js} +0 -0
- /package/dist/{types-BOiKESZY.d.ts → types-CYK29a4w.d.ts} +0 -0
- /package/dist/{urlUtils-D8J2Zta7.esm.js → urlUtils-CwKgB7_U.esm.js} +0 -0
- /package/dist/{video-Dy6zy_yl.esm.js → video-C2WIj6TS.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-7M5vxKn-.esm.js → videoSelfieSteps-DAky5sq5.esm.js} +0 -0
- /package/dist/{warmup-CZ80odyW.d.ts → warmup-DzJ0I4Kv.d.ts} +0 -0
- /package/dist/{xstate.esm-h2zbOb-8.esm.js → xstate.esm-r0zHjE2E.esm.js} +0 -0
package/dist/camera.d.ts
CHANGED
package/dist/camera.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
4
|
-
import "./camera-
|
|
2
|
+
import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
3
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-BJhGL13R.esm.js";
|
|
4
|
+
import "./camera-DUkgmYMo.esm.js";
|
|
5
5
|
|
|
6
6
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
|
+
import "./Actor-Du_LU0S4.js";
|
|
3
|
+
import * as xstate677 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
|
|
6
6
|
declare const MIN_PASSWORD_LENGTH = 8;
|
|
@@ -39,7 +39,7 @@ type CertificateIssuanceContext = {
|
|
|
39
39
|
type CertificateIssuanceInput = {
|
|
40
40
|
config: CertificateIssuanceConfig;
|
|
41
41
|
};
|
|
42
|
-
declare const certificateIssuanceMachine:
|
|
42
|
+
declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssuanceContext, {
|
|
43
43
|
type: "LOAD";
|
|
44
44
|
} | {
|
|
45
45
|
type: "PASSWORD_CHANGED";
|
|
@@ -53,28 +53,28 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
53
53
|
} | {
|
|
54
54
|
type: "FINISH";
|
|
55
55
|
}, {
|
|
56
|
-
[x: string]:
|
|
56
|
+
[x: string]: xstate677.ActorRefFromLogic<xstate677.PromiseActorLogic<IssueCertificateResponse, {
|
|
57
57
|
password: string;
|
|
58
|
-
},
|
|
58
|
+
}, xstate677.EventObject>> | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
src: "issueCertificate";
|
|
61
|
-
logic:
|
|
61
|
+
logic: xstate677.PromiseActorLogic<IssueCertificateResponse, {
|
|
62
62
|
password: string;
|
|
63
|
-
},
|
|
63
|
+
}, xstate677.EventObject>;
|
|
64
64
|
id: string | undefined;
|
|
65
|
-
},
|
|
65
|
+
}, xstate677.Values<{
|
|
66
66
|
setPassword: {
|
|
67
67
|
type: "setPassword";
|
|
68
|
-
params:
|
|
68
|
+
params: xstate677.NonReducibleUnknown;
|
|
69
69
|
};
|
|
70
70
|
setBlob: {
|
|
71
71
|
type: "setBlob";
|
|
72
|
-
params:
|
|
72
|
+
params: xstate677.NonReducibleUnknown;
|
|
73
73
|
};
|
|
74
74
|
}>, {
|
|
75
75
|
type: "isPasswordValid";
|
|
76
76
|
params: unknown;
|
|
77
|
-
}, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput,
|
|
77
|
+
}, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate677.NonReducibleUnknown, xstate677.EventObject, xstate677.MetaObject, {
|
|
78
78
|
readonly id: "certificateIssuance";
|
|
79
79
|
readonly initial: "idle";
|
|
80
80
|
readonly context: ({
|
|
@@ -83,39 +83,39 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
83
83
|
spawn: {
|
|
84
84
|
<TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
|
|
85
85
|
src: "issueCertificate";
|
|
86
|
-
logic:
|
|
86
|
+
logic: xstate677.PromiseActorLogic<IssueCertificateResponse, {
|
|
87
87
|
password: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate677.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
} extends infer T ? T extends {
|
|
91
91
|
src: "issueCertificate";
|
|
92
|
-
logic:
|
|
92
|
+
logic: xstate677.PromiseActorLogic<IssueCertificateResponse, {
|
|
93
93
|
password: string;
|
|
94
|
-
},
|
|
94
|
+
}, xstate677.EventObject>;
|
|
95
95
|
id: string | undefined;
|
|
96
96
|
} ? T extends {
|
|
97
97
|
src: TSrc;
|
|
98
|
-
} ?
|
|
98
|
+
} ? xstate677.ConditionalRequired<[options?: ({
|
|
99
99
|
id?: T["id"] | undefined;
|
|
100
100
|
systemId?: string;
|
|
101
|
-
input?:
|
|
101
|
+
input?: xstate677.InputFrom<T["logic"]> | undefined;
|
|
102
102
|
syncSnapshot?: boolean;
|
|
103
|
-
} & { [K in
|
|
103
|
+
} & { [K in xstate677.RequiredActorOptions<T>]: unknown }) | undefined], xstate677.IsNotNever<xstate677.RequiredActorOptions<T>>> : never : never : never): xstate677.ActorRefFromLogic<xstate677.GetConcreteByKey<{
|
|
104
104
|
src: "issueCertificate";
|
|
105
|
-
logic:
|
|
105
|
+
logic: xstate677.PromiseActorLogic<IssueCertificateResponse, {
|
|
106
106
|
password: string;
|
|
107
|
-
},
|
|
107
|
+
}, xstate677.EventObject>;
|
|
108
108
|
id: string | undefined;
|
|
109
109
|
}, "src", TSrc>["logic"]>;
|
|
110
|
-
<TLogic extends
|
|
110
|
+
<TLogic extends xstate677.AnyActorLogic>(src: TLogic, ...[options]: xstate677.ConditionalRequired<[options?: ({
|
|
111
111
|
id?: never;
|
|
112
112
|
systemId?: string;
|
|
113
|
-
input?:
|
|
113
|
+
input?: xstate677.InputFrom<TLogic> | undefined;
|
|
114
114
|
syncSnapshot?: boolean;
|
|
115
|
-
} & { [K in
|
|
115
|
+
} & { [K in xstate677.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate677.IsNotNever<xstate677.RequiredLogicInput<TLogic>>>): xstate677.ActorRefFromLogic<TLogic>;
|
|
116
116
|
};
|
|
117
117
|
input: CertificateIssuanceInput;
|
|
118
|
-
self:
|
|
118
|
+
self: xstate677.ActorRef<xstate677.MachineSnapshot<CertificateIssuanceContext, {
|
|
119
119
|
type: "LOAD";
|
|
120
120
|
} | {
|
|
121
121
|
type: "PASSWORD_CHANGED";
|
|
@@ -128,7 +128,7 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
128
128
|
type: "DOWNLOAD_FAILED";
|
|
129
129
|
} | {
|
|
130
130
|
type: "FINISH";
|
|
131
|
-
}, Record<string,
|
|
131
|
+
}, Record<string, xstate677.AnyActorRef | undefined>, xstate677.StateValue, string, unknown, any, any>, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "PASSWORD_CHANGED";
|
|
@@ -141,7 +141,7 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
141
141
|
type: "DOWNLOAD_FAILED";
|
|
142
142
|
} | {
|
|
143
143
|
type: "FINISH";
|
|
144
|
-
},
|
|
144
|
+
}, xstate677.AnyEventObject>;
|
|
145
145
|
}) => {
|
|
146
146
|
config: CertificateIssuanceConfig;
|
|
147
147
|
password: string;
|
|
@@ -189,7 +189,7 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
189
189
|
} | {
|
|
190
190
|
type: "FINISH";
|
|
191
191
|
};
|
|
192
|
-
self:
|
|
192
|
+
self: xstate677.ActorRef<xstate677.MachineSnapshot<CertificateIssuanceContext, {
|
|
193
193
|
type: "LOAD";
|
|
194
194
|
} | {
|
|
195
195
|
type: "PASSWORD_CHANGED";
|
|
@@ -202,7 +202,7 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
202
202
|
type: "DOWNLOAD_FAILED";
|
|
203
203
|
} | {
|
|
204
204
|
type: "FINISH";
|
|
205
|
-
}, Record<string,
|
|
205
|
+
}, Record<string, xstate677.AnyActorRef>, xstate677.StateValue, string, unknown, any, any>, {
|
|
206
206
|
type: "LOAD";
|
|
207
207
|
} | {
|
|
208
208
|
type: "PASSWORD_CHANGED";
|
|
@@ -215,7 +215,7 @@ declare const certificateIssuanceMachine: xstate1577.StateMachine<CertificateIss
|
|
|
215
215
|
type: "DOWNLOAD_FAILED";
|
|
216
216
|
} | {
|
|
217
217
|
type: "FINISH";
|
|
218
|
-
},
|
|
218
|
+
}, xstate677.AnyEventObject>;
|
|
219
219
|
}) => {
|
|
220
220
|
password: string;
|
|
221
221
|
};
|
|
@@ -2,10 +2,10 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
6
|
-
import "./urlUtils-
|
|
7
|
-
import "./externalFetch-
|
|
8
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
5
|
+
import { c as createManager, s as createActor } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
6
|
+
import "./urlUtils-CwKgB7_U.esm.js";
|
|
7
|
+
import "./externalFetch-D_eLLNOS.esm.js";
|
|
8
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-x9HFaxKK.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
11
11
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, r as getToken } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as externalFetch } from "./externalFetch-
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
4
|
+
import { t as externalFetch } from "./externalFetch-D_eLLNOS.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
|
7
7
|
function buildIssueCertificateUrl(baseURL) {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import "./Manager-BUc6OqO5.js";
|
|
2
|
+
import "./Actor-Du_LU0S4.js";
|
|
3
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-B--Uv8aw.js";
|
|
4
4
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
7
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
5
|
+
import "./xstate.esm-r0zHjE2E.esm.js";
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-YtU_4jUt.esm.js";
|
|
7
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-Cj83yok8.esm.js";
|
|
8
8
|
|
|
9
9
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -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-BUc6OqO5.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-Du_LU0S4.js";
|
|
3
|
+
import * as xstate1184 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: xstate1184.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate1184.ActorRefFromLogic<xstate1184.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate1184.EventObject>> | xstate1184.ActorRefFromLogic<xstate1184.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate1184.EventObject>> | undefined;
|
|
59
|
+
}, xstate1184.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate1184.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate1184.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate1184.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate1184.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate1184.Values<{
|
|
77
|
+
clearError: {
|
|
78
|
+
type: "clearError";
|
|
79
|
+
params: xstate1184.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
setError: {
|
|
82
|
+
type: "setError";
|
|
83
|
+
params: xstate1184.NonReducibleUnknown;
|
|
84
|
+
};
|
|
77
85
|
setConsentData: {
|
|
78
86
|
type: "setConsentData";
|
|
79
|
-
params:
|
|
87
|
+
params: xstate1184.NonReducibleUnknown;
|
|
80
88
|
};
|
|
81
89
|
toggleCheckbox: {
|
|
82
90
|
type: "toggleCheckbox";
|
|
83
|
-
params:
|
|
84
|
-
};
|
|
85
|
-
setError: {
|
|
86
|
-
type: "setError";
|
|
87
|
-
params: xstate495.NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
|
-
clearError: {
|
|
90
|
-
type: "clearError";
|
|
91
|
-
params: xstate495.NonReducibleUnknown;
|
|
91
|
+
params: xstate1184.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
resetContext: {
|
|
94
94
|
type: "resetContext";
|
|
95
|
-
params:
|
|
95
|
+
params: xstate1184.NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate1184.NonReducibleUnknown, xstate1184.EventObject, xstate1184.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1184.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate1184.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate1184.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate1184.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate1184.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate1184.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate1184.RequiredActorOptions<T>]: unknown }) | undefined], xstate1184.IsNotNever<xstate1184.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate1184.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate1184.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate1184.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate1184.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate1184.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate1184.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate1184.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1184.IsNotNever<xstate1184.RequiredActorOptions<T_1>>> : never : never : never)): xstate1184.ActorRefFromLogic<xstate1184.GetConcreteByKey<xstate1184.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate1184.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate1184.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate1184.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate1184.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate1184.AnyActorLogic>(src: TLogic, ...[options]: xstate1184.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate1184.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate1184.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1184.IsNotNever<xstate1184.RequiredLogicInput<TLogic>>>): xstate1184.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate1184.ActorRef<xstate1184.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate1184.AnyActorRef | undefined>, xstate1184.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate1184.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate1184.ActorRef<xstate1184.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate1184.AnyActorRef>, xstate1184.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate1184.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate1184.ActorRef<xstate1184.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate1184.AnyActorRef>, xstate1184.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate495.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate1184.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { c as createManager, s as createActor } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-YtU_4jUt.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/consent/consentActor.ts
|
|
7
7
|
function createConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.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-r0zHjE2E.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-BUc6OqO5.js";
|
|
2
|
+
import "./Actor-Du_LU0S4.js";
|
|
3
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-C0BUpDyT.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
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-
|
|
7
|
-
import "./cpf-
|
|
5
|
+
import "./xstate.esm-r0zHjE2E.esm.js";
|
|
6
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-D8H0HGKj.esm.js";
|
|
7
|
+
import "./cpf-BKaho0j_.esm.js";
|
|
8
8
|
|
|
9
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-BUc6OqO5.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-Du_LU0S4.js";
|
|
3
|
+
import * as xstate1159 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: xstate1159.StateMachine<CpfOcrContext, {
|
|
21
21
|
type: "LOAD";
|
|
22
22
|
} | {
|
|
23
23
|
type: "SET_CPF";
|
|
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "RETRY";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]:
|
|
30
|
+
[x: string]: xstate1159.ActorRefFromLogic<xstate1159.PromiseActorLogic<CpfOcrDataResponse, void, xstate1159.EventObject>> | xstate1159.ActorRefFromLogic<xstate1159.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
31
31
|
cpf: string;
|
|
32
|
-
},
|
|
33
|
-
},
|
|
32
|
+
}, xstate1159.EventObject>> | undefined;
|
|
33
|
+
}, xstate1159.Values<{
|
|
34
34
|
fetchCpfOcrData: {
|
|
35
35
|
src: "fetchCpfOcrData";
|
|
36
|
-
logic:
|
|
36
|
+
logic: xstate1159.PromiseActorLogic<CpfOcrDataResponse, void, xstate1159.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
submitCpfOcr: {
|
|
40
40
|
src: "submitCpfOcr";
|
|
41
|
-
logic:
|
|
41
|
+
logic: xstate1159.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
42
42
|
cpf: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate1159.EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
47
|
-
setError: {
|
|
48
|
-
type: "setError";
|
|
49
|
-
params: xstate1552.NonReducibleUnknown;
|
|
50
|
-
};
|
|
46
|
+
}>, xstate1159.Values<{
|
|
51
47
|
clearError: {
|
|
52
48
|
type: "clearError";
|
|
53
|
-
params:
|
|
49
|
+
params: xstate1159.NonReducibleUnknown;
|
|
50
|
+
};
|
|
51
|
+
setError: {
|
|
52
|
+
type: "setError";
|
|
53
|
+
params: xstate1159.NonReducibleUnknown;
|
|
54
54
|
};
|
|
55
55
|
setPrefill: {
|
|
56
56
|
type: "setPrefill";
|
|
57
|
-
params:
|
|
57
|
+
params: xstate1159.NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
59
|
setCpf: {
|
|
60
60
|
type: "setCpf";
|
|
61
|
-
params:
|
|
61
|
+
params: xstate1159.NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput,
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate1159.NonReducibleUnknown, xstate1159.EventObject, xstate1159.MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -118,7 +118,7 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
118
118
|
} | {
|
|
119
119
|
type: "RETRY";
|
|
120
120
|
};
|
|
121
|
-
self:
|
|
121
|
+
self: xstate1159.ActorRef<xstate1159.MachineSnapshot<CpfOcrContext, {
|
|
122
122
|
type: "LOAD";
|
|
123
123
|
} | {
|
|
124
124
|
type: "SET_CPF";
|
|
@@ -127,7 +127,7 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
127
127
|
type: "SUBMIT";
|
|
128
128
|
} | {
|
|
129
129
|
type: "RETRY";
|
|
130
|
-
}, Record<string,
|
|
130
|
+
}, Record<string, xstate1159.AnyActorRef>, xstate1159.StateValue, string, unknown, any, any>, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "SET_CPF";
|
|
@@ -136,7 +136,7 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
136
136
|
type: "SUBMIT";
|
|
137
137
|
} | {
|
|
138
138
|
type: "RETRY";
|
|
139
|
-
},
|
|
139
|
+
}, xstate1159.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
cpf: string;
|
|
142
142
|
};
|
|
@@ -2,8 +2,8 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
6
|
-
import { t as validateCPF } from "./cpf-
|
|
5
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-r0zHjE2E.esm.js";
|
|
6
|
+
import { t as validateCPF } from "./cpf-BKaho0j_.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
9
9
|
async function fetchCpfOcrData(signal) {
|