@incodetech/welcome 1.85.0-20251215165729.0 → 1.85.0-20251216190848.0
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/incode-localization/src/createI18n.d.ts +0 -1
- package/dist/incode-utils/src/hooks.d.ts +0 -1
- package/dist/incode-utils/src/mobile.d.ts +0 -1
- package/dist/incode-utils/src/utils.d.ts +0 -1
- package/dist/incode-welcome/src/ContentWrapper/ContentWrapper.d.ts +0 -1
- package/dist/incode-welcome/src/DefaultComponent/DefaultComponent.d.ts +0 -1
- package/dist/incode-welcome/src/DefaultComponent/IncodeProvider.d.ts +0 -1
- package/dist/incode-welcome/src/Face/AuthFace.d.ts +0 -1
- package/dist/incode-welcome/src/Face/AuthFaceFlow.d.ts +0 -1
- package/dist/incode-welcome/src/Face/FaceCapture.d.ts +0 -1
- package/dist/incode-welcome/src/Face/FaceFlow.d.ts +0 -1
- package/dist/incode-welcome/src/Face/V1/FaceFlow.d.ts +0 -1
- package/dist/incode-welcome/src/Face/api/sendAuthFaceImage.d.ts +0 -1
- package/dist/incode-welcome/src/Face/api/sendFaceImage.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/FaceFlowPage.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/Tutorial.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/CameraButton.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/Capture.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/CaptureOverlay.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/ErrorModal.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/ErrorModalContent.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/FaceOutline.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/LoadingBorder.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/ManualCaptureButton.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/NoMoreAttempsModal.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/Notification.d.ts +0 -1
- package/dist/incode-welcome/src/Face/components/capture/RetryErrorModal.d.ts +0 -1
- package/dist/incode-welcome/src/Face/detection/DetectionManager.d.ts +0 -1
- package/dist/incode-welcome/src/Face/detection/useFaceDetection.d.ts +0 -1
- package/dist/incode-welcome/src/Face/hooks/useFaceCaptureAspectRatio.d.ts +0 -1
- package/dist/incode-welcome/src/Face/renderAuthFace.d.ts +0 -1
- package/dist/incode-welcome/src/Face/renderCaptureFace.d.ts +0 -1
- package/dist/incode-welcome/src/Face/state/FaceFlowManager.d.ts +0 -1
- package/dist/incode-welcome/src/Face/state/FaceFlowManager.types.d.ts +0 -1
- package/dist/incode-welcome/src/Face/utils/isSecondIdEnabled.d.ts +0 -1
- package/dist/incode-welcome/src/Face/utils/isTutorialEnabled.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/FakePermissionsRequest.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/components/AndroidNotification/AndroidNotification.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/components/AndroidNotification/types.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/components/IOSNotification/IOSNotification.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/components/IOSNotification/types.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/components/Message/Message.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/components/Message/types.d.ts +0 -1
- package/dist/incode-welcome/src/FakePermissionsRequest/types.d.ts +0 -1
- package/dist/incode-welcome/src/FlowManager/AbstractFlowManager.d.ts +0 -1
- package/dist/incode-welcome/src/ID/BaseCaptureCore.d.ts +0 -1
- package/dist/incode-welcome/src/ID/CaptureId.d.ts +0 -1
- package/dist/incode-welcome/src/ID/CaptureIdCore.d.ts +0 -1
- package/dist/incode-welcome/src/ID/CaptureIdV1.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/DigitalIdFlow.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/IdCaptureV2Manager.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/IdFlow.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/IdFlowPage.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/ManualIdUploadWrapper.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/Uploading.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/AttachmentIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/DigitalIdIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/IdBackIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/IdFrontIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/UploadIDScreenImage.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/UploadIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/assets/UploadPassportIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/Api.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/CaptureOverlay.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/CaptureTooltip.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/DocumentConfig.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/DocumentItem.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/ExpiredId.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/IdHint.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/Manager.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/ManualCaptureButton.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/TopText.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/UnacceptableId.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/components/IdAnalyzing.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/components/IdError.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/components/IdProcessingLayout.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/components/IdSuccess.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/components/StatusMessage.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/errorConfig.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/hooks/useProcessingLayout.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/capture/utils/getIdErrorAction.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/components/DigitalIdErrorState.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/components/DigitalIdFileReview.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/components/DigitalIdFileSelection.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/components/PdfPreview.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/hooks/useAspectRatio.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/hooks/useCaptureIdState.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/idFlowSteps.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/renderIdCapture.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/state/IdFlowManager.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/state/IdFlowManager.types.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/tutorials/AgeVerification.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/tutorials/IdTutorial.d.ts +0 -1
- package/dist/incode-welcome/src/ID/IDV2/tutorials/PassportTutorial.d.ts +0 -1
- package/dist/incode-welcome/src/ID/renderCaptureId.d.ts +0 -1
- package/dist/incode-welcome/src/NameCapture.d.ts +0 -1
- package/dist/incode-welcome/src/Phone/renderPhone.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/DeclineSharingModal.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/ErrorMessage.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/InstantVerify.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/InstantVerifyConsent.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/PhoneOrEmail.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/SuccessUniversalIdentity.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/UniversalIdentity.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/constants.d.ts +0 -1
- package/dist/incode-welcome/src/RememberMe/types.d.ts +0 -1
- package/dist/incode-welcome/src/addContract.d.ts +0 -1
- package/dist/incode-welcome/src/addCreditCardBack.d.ts +0 -1
- package/dist/incode-welcome/src/addCreditCardFront.d.ts +0 -1
- package/dist/incode-welcome/src/addDocument.d.ts +0 -1
- package/dist/incode-welcome/src/addFrontSecondId.d.ts +0 -1
- package/dist/incode-welcome/src/addQr.d.ts +0 -1
- package/dist/incode-welcome/src/app.d.ts +0 -1
- package/dist/incode-welcome/src/approve.d.ts +0 -1
- package/dist/incode-welcome/src/auth/Login.d.ts +0 -1
- package/dist/incode-welcome/src/auth/LoginDesktop.d.ts +0 -1
- package/dist/incode-welcome/src/auth/SecondFactor.d.ts +0 -1
- package/dist/incode-welcome/src/auth/identify.d.ts +0 -1
- package/dist/incode-welcome/src/auth/identifyInstantVerify.d.ts +0 -1
- package/dist/incode-welcome/src/auth/oneToOneIdentify.d.ts +0 -1
- package/dist/incode-welcome/src/auth/renderLogin.d.ts +0 -1
- package/dist/incode-welcome/src/auth/renderLoginIncodeID.d.ts +0 -1
- package/dist/incode-welcome/src/camera/BlockingErrorMessage.d.ts +0 -1
- package/dist/incode-welcome/src/camera/CaptureAcceptedDocuments.d.ts +0 -1
- package/dist/incode-welcome/src/camera/CaptureSelfie.d.ts +0 -1
- package/dist/incode-welcome/src/camera/ChooseCamera.d.ts +0 -1
- package/dist/incode-welcome/src/camera/Webcam.d.ts +0 -1
- package/dist/incode-welcome/src/camera/Webcam.types.d.ts +0 -1
- package/dist/incode-welcome/src/camera/documentCapture/DocumentCapture.d.ts +0 -1
- package/dist/incode-welcome/src/camera/documentCapture/V5CDocumentTutorial.d.ts +0 -1
- package/dist/incode-welcome/src/camera/documentCapture/types.d.ts +0 -1
- package/dist/incode-welcome/src/camera/permissionSteps/desktop/index.d.ts +0 -1
- package/dist/incode-welcome/src/camera/proofOfAddress/POA.d.ts +0 -1
- package/dist/incode-welcome/src/camera/proofOfAddress/types.d.ts +0 -1
- package/dist/incode-welcome/src/camera/useSelfie.d.ts +0 -1
- package/dist/incode-welcome/src/consents/MLConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/PrivacyConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/addConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/biometricConsent/BiometricConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/biometricConsent/renderBiometricConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/combinedConsent/CombinedConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/combinedConsent/renderCombinedConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/getConsents.d.ts +0 -1
- package/dist/incode-welcome/src/consents/renderMlConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/renderUserConsent.d.ts +0 -1
- package/dist/incode-welcome/src/consents/types.d.ts +0 -1
- package/dist/incode-welcome/src/create.d.ts +0 -1
- package/dist/incode-welcome/src/createNewSession.d.ts +0 -1
- package/dist/incode-welcome/src/createRedirectUrl.d.ts +0 -1
- package/dist/incode-welcome/src/curp/EnterCurp.d.ts +0 -1
- package/dist/incode-welcome/src/curp/GenerateCurp.d.ts +0 -1
- package/dist/incode-welcome/src/customFields/CustomFields.d.ts +0 -1
- package/dist/incode-welcome/src/detection/IdDetectionManager.d.ts +0 -1
- package/dist/incode-welcome/src/detection/detectFace.d.ts +0 -1
- package/dist/incode-welcome/src/detection/detectID.d.ts +0 -1
- package/dist/incode-welcome/src/detection/detectionSetup.d.ts +0 -1
- package/dist/incode-welcome/src/detection/onboardingAnalytics.d.ts +0 -1
- package/dist/incode-welcome/src/detection/useIdDetection.d.ts +0 -1
- package/dist/incode-welcome/src/documentSelector/DocumentSelector.d.ts +0 -1
- package/dist/incode-welcome/src/ekyb/EKYBCountrySelector/EKYBCountrySelector.d.ts +0 -1
- package/dist/incode-welcome/src/ekyb/Ekyb.d.ts +0 -1
- package/dist/incode-welcome/src/ekyb/components/FieldInput.d.ts +1 -1
- package/dist/incode-welcome/src/ekyb/components/UboInputs.d.ts +1 -1
- package/dist/incode-welcome/src/ekyb/utils/errorUtils.d.ts +0 -1
- package/dist/incode-welcome/src/ekyc/components/Input.d.ts +0 -1
- package/dist/incode-welcome/src/electronicSignatures/CertificateIssuance.d.ts +0 -1
- package/dist/incode-welcome/src/electronicSignatures/components/EndScreen.d.ts +0 -1
- package/dist/incode-welcome/src/faceMatch/FaceMatch.d.ts +0 -1
- package/dist/incode-welcome/src/faceMatch/useFaceMatchData.d.ts +0 -1
- package/dist/incode-welcome/src/fieldComparision/InputWithLabel.d.ts +0 -1
- package/dist/incode-welcome/src/fiscalQr/FiscalQr.d.ts +0 -1
- package/dist/incode-welcome/src/fiscalQr/postQrLink.d.ts +0 -1
- package/dist/incode-welcome/src/fiscalQr/renderFiscalQr.d.ts +0 -1
- package/dist/incode-welcome/src/flow/Flow.d.ts +0 -1
- package/dist/incode-welcome/src/flow/FlowDataContext.d.ts +0 -1
- package/dist/incode-welcome/src/flow/FlowLogger.d.ts +0 -1
- package/dist/incode-welcome/src/flow/defaultFlow.d.ts +0 -1
- package/dist/incode-welcome/src/flow/executeFlow.d.ts +0 -1
- package/dist/incode-welcome/src/flow/getFlow.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/AESignature.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Address.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Antifraud.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Authentication.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/BAV.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/CertificateIssuance.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/CombinedConsent.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Conference.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/CrossDocumentDataMatch.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Curp.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/CustomFields.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/DocumentCapture.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Ekyb.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Ekyc.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Email.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/FaceMatch.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/FieldComparison.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/FiscalQR.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Forms.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Geolocation.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/IDOCR.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Id.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/IneCheck.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/MLConsent.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/NFCScan.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/NameCapture.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Phone.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/QESignature.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/SecondId.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Selfie.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/ShowResults.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Signature.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Skip.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/ThirdId.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/TrustGraph.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/UserConsent.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/VideoSelfie.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/Watchlists.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/index.d.ts +0 -1
- package/dist/incode-welcome/src/flow/modules/types.d.ts +0 -1
- package/dist/incode-welcome/src/flow/services/defaultFlow.d.ts +0 -1
- package/dist/incode-welcome/src/flow/services/flowService.d.ts +0 -1
- package/dist/incode-welcome/src/flow/types.d.ts +0 -1
- package/dist/incode-welcome/src/flow/useFlow.d.ts +0 -1
- package/dist/incode-welcome/src/forms/Forms.d.ts +0 -1
- package/dist/incode-welcome/src/forms/Screen.d.ts +0 -1
- package/dist/incode-welcome/src/forms/renderForms.d.ts +0 -1
- package/dist/incode-welcome/src/geolocation/Geolocation.d.ts +0 -1
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissionAndroidSteps/GeolocationPermissionAndroidSteps.d.ts +0 -1
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissioniOSSteps/GeolocationPermissioniOSSteps.d.ts +0 -1
- package/dist/incode-welcome/src/geolocation/components/RenderSteps.d.ts +0 -1
- package/dist/incode-welcome/src/geolocation/types.d.ts +0 -1
- package/dist/incode-welcome/src/getOnboardingStatus.d.ts +0 -1
- package/dist/incode-welcome/src/getPhone.d.ts +0 -1
- package/dist/incode-welcome/src/getScore.d.ts +0 -1
- package/dist/incode-welcome/src/getTheme.d.ts +0 -1
- package/dist/incode-welcome/src/ine/IneCheck.d.ts +0 -1
- package/dist/incode-welcome/src/manualIdUpload/manuaIdUpload.d.ts +0 -1
- package/dist/incode-welcome/src/mdoc/mDoc.d.ts +0 -1
- package/dist/incode-welcome/src/mediaRecorder/DeepsightVideoRecorder.d.ts +0 -1
- package/dist/incode-welcome/src/mediaRecorder/uploadDeepsightVideo.d.ts +0 -1
- package/dist/incode-welcome/src/network/api.d.ts +0 -1
- package/dist/incode-welcome/src/network/createApi.d.ts +0 -1
- package/dist/incode-welcome/src/ocrData.d.ts +0 -1
- package/dist/incode-welcome/src/options.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/Denied.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/DeniedAndroid.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/DeniedDesktop.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/DeniedInstructions.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/DeniediOS.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/LearnMore.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/NumberedStep.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/Permissions.d.ts +0 -1
- package/dist/incode-welcome/src/permissions/Requesting.d.ts +0 -1
- package/dist/incode-welcome/src/qrScanner/QrScanner.d.ts +0 -1
- package/dist/incode-welcome/src/qrScanner/types.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/ConsentInstructions.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/IdCapture.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/OpenViduVideoSelfie.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/QuestionsMask.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/SelfieCapture.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/SelfieMask.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/SpeechMask.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/StepsHeader.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/addCapturingEvents.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/backCapture.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/faceCapture.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/frontCapture.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/imgs/LockIcon.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/logVideoSelfieEvent.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/openvidu.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/useDetectId.d.ts +0 -1
- package/dist/incode-welcome/src/recorder/useDetectSelfie.d.ts +0 -1
- package/dist/incode-welcome/src/redirect/FlowRedirect.d.ts +0 -1
- package/dist/incode-welcome/src/redirect/PhishingResistanceScreen.d.ts +0 -1
- package/dist/incode-welcome/src/redirect/Qr.d.ts +0 -1
- package/dist/incode-welcome/src/redirect/Redirect.d.ts +0 -1
- package/dist/incode-welcome/src/redirect/useFlowRedirect.d.ts +0 -1
- package/dist/incode-welcome/src/redirect/useQR.d.ts +0 -1
- package/dist/incode-welcome/src/renderCamera.d.ts +0 -1
- package/dist/incode-welcome/src/renderDocumentSelector.d.ts +0 -1
- package/dist/incode-welcome/src/renderEmail.d.ts +0 -1
- package/dist/incode-welcome/src/renderQr.d.ts +0 -1
- package/dist/incode-welcome/src/renderRedirectToMobile.d.ts +0 -1
- package/dist/incode-welcome/src/renderWatchList.d.ts +0 -1
- package/dist/incode-welcome/src/results/Results.d.ts +0 -1
- package/dist/incode-welcome/src/retries/RetrySteps.d.ts +0 -1
- package/dist/incode-welcome/src/retries/renderRetrySteps.d.ts +0 -1
- package/dist/incode-welcome/src/risk/enableDeviceRiskModule.d.ts +0 -1
- package/dist/incode-welcome/src/setup.d.ts +0 -1
- package/dist/incode-welcome/src/setupTests.d.ts +0 -1
- package/dist/incode-welcome/src/signature/Signature.d.ts +0 -1
- package/dist/incode-welcome/src/signature/renderSignature.d.ts +0 -1
- package/dist/incode-welcome/src/testUtils/setup.d.ts +0 -1
- package/dist/incode-welcome/src/theme.d.ts +0 -1
- package/dist/incode-welcome/src/tutorials/TutorialFront.d.ts +0 -1
- package/dist/incode-welcome/src/tutorials/TutorialPapperDL.d.ts +0 -1
- package/dist/incode-welcome/src/ui/BoldWithArrow.d.ts +0 -1
- package/dist/incode-welcome/src/ui/Button.d.ts +0 -1
- package/dist/incode-welcome/src/ui/Card.d.ts +0 -1
- package/dist/incode-welcome/src/ui/Container.d.ts +0 -1
- package/dist/incode-welcome/src/ui/ErrorIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ui/FlowPage.d.ts +0 -1
- package/dist/incode-welcome/src/ui/H2.d.ts +0 -1
- package/dist/incode-welcome/src/ui/Modal.d.ts +0 -1
- package/dist/incode-welcome/src/ui/Title.d.ts +0 -1
- package/dist/incode-welcome/src/ui/assets/ArrowRightIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ui/errors/assets/NoInternetIcon.d.ts +0 -1
- package/dist/incode-welcome/src/ui/index.d.ts +0 -1
- package/dist/incode-welcome/src/ui/tutorials/BaseTutorial.d.ts +0 -1
- package/dist/incode-welcome/src/ui/types.d.ts +0 -1
- package/dist/incode-welcome/src/ui/utils/mergeUiConfig.d.ts +0 -1
- package/dist/incode-welcome/src/updateSession.d.ts +0 -1
- package/dist/incode-welcome/src/userData/UserData.d.ts +0 -1
- package/dist/incode-welcome/src/utils/faceErrorMessages.d.ts +0 -1
- package/dist/incode-welcome/src/wasmUtils/config.d.ts +0 -1
- package/dist/incode-welcome/src/wasmUtils/mlWasmJSApi.d.ts +0 -1
- package/dist/incode-welcome/src/wasmUtils/pipelineProfile.d.ts +0 -1
- package/dist/incode-welcome/src/wasmUtils/pipelinesConfig.d.ts +0 -1
- package/dist/incode-welcome/src/watchList/CustomWatchList.d.ts +0 -1
- package/dist/incode-welcome/src/watchList/GlobalWatchList.d.ts +0 -1
- package/dist/incode-welcome/src/watchList/index.d.ts +0 -1
- package/dist/incode-welcome/src/watchList/loader/Loader.d.ts +0 -1
- package/dist/incode-welcome/src/watchList/types.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/Workflow.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/api/getCurrentNode.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/api/processCustomNode.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/components/ScrollWrapper.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/executeWorkflow.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/hooks/assets.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Address.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/AdvancedElectronicSignature.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/AsyncFinishScreen.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/BiometricConsent.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/CombinedConsent.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Curp.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/CustomModule.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/DocumentCapture.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Ekyb.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Ekyc.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Email.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/FaceAuthentication.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/FaceMatch.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/FinishScreen.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Forms.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Geolocation.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/GovernmentValidation.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/IDCapture.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/OcrData.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Phone.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/PrivacyConsent.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/ProcessID.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/QualifiedElectronicSignature.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Selfie.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/Signature.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/VideoSelfie.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/modules/WatchList.d.ts +0 -1
- package/dist/incode-welcome/src/workflows/types.d.ts +0 -1
- package/dist/incode-welcome/tests/integration/renderWatchlist.test.d.ts +0 -1
- package/dist/onBoarding.mjs +360 -207
- package/dist/onBoarding.umd.js +7 -7
- package/package.json +4 -5
package/dist/onBoarding.mjs
CHANGED
|
@@ -4303,7 +4303,7 @@ const sha256 = (() => {
|
|
|
4303
4303
|
})();
|
|
4304
4304
|
var store;
|
|
4305
4305
|
// @__NO_SIDE_EFFECTS__
|
|
4306
|
-
function getGlobalConfig(Be) {
|
|
4306
|
+
function getGlobalConfig$1(Be) {
|
|
4307
4307
|
return {
|
|
4308
4308
|
lang: store == null ? void 0 : store.lang,
|
|
4309
4309
|
message: Be == null ? void 0 : Be.message,
|
|
@@ -4313,28 +4313,28 @@ function getGlobalConfig(Be) {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
var store2;
|
|
4315
4315
|
// @__NO_SIDE_EFFECTS__
|
|
4316
|
-
function getGlobalMessage(Be) {
|
|
4316
|
+
function getGlobalMessage$1(Be) {
|
|
4317
4317
|
return store2 == null ? void 0 : store2.get(Be);
|
|
4318
4318
|
}
|
|
4319
4319
|
var store3;
|
|
4320
4320
|
// @__NO_SIDE_EFFECTS__
|
|
4321
|
-
function getSchemaMessage(Be) {
|
|
4321
|
+
function getSchemaMessage$1(Be) {
|
|
4322
4322
|
return store3 == null ? void 0 : store3.get(Be);
|
|
4323
4323
|
}
|
|
4324
4324
|
var store4;
|
|
4325
4325
|
// @__NO_SIDE_EFFECTS__
|
|
4326
|
-
function getSpecificMessage(Be, Le) {
|
|
4326
|
+
function getSpecificMessage$1(Be, Le) {
|
|
4327
4327
|
var Ye;
|
|
4328
4328
|
return (Ye = store4 == null ? void 0 : store4.get(Be)) == null ? void 0 : Ye.get(Le);
|
|
4329
4329
|
}
|
|
4330
4330
|
// @__NO_SIDE_EFFECTS__
|
|
4331
|
-
function _stringify$
|
|
4331
|
+
function _stringify$4(Be) {
|
|
4332
4332
|
var Ye, tt;
|
|
4333
4333
|
const Le = typeof Be;
|
|
4334
4334
|
return Le === "string" ? `"${Be}"` : Le === "number" || Le === "bigint" || Le === "boolean" ? `${Be}` : Le === "object" || Le === "function" ? (Be && ((tt = (Ye = Object.getPrototypeOf(Be)) == null ? void 0 : Ye.constructor) == null ? void 0 : tt.name)) ?? "null" : Le;
|
|
4335
4335
|
}
|
|
4336
|
-
function _addIssue(Be, Le, Ye, tt, nt) {
|
|
4337
|
-
const ft = nt && "input" in nt ? nt.input : Ye.value, ht = (nt == null ? void 0 : nt.expected) ?? Be.expects ?? null, gt = (nt == null ? void 0 : nt.received) ?? /* @__PURE__ */ _stringify$
|
|
4336
|
+
function _addIssue$1(Be, Le, Ye, tt, nt) {
|
|
4337
|
+
const ft = nt && "input" in nt ? nt.input : Ye.value, ht = (nt == null ? void 0 : nt.expected) ?? Be.expects ?? null, gt = (nt == null ? void 0 : nt.received) ?? /* @__PURE__ */ _stringify$4(ft), At = {
|
|
4338
4338
|
kind: Be.kind,
|
|
4339
4339
|
type: Be.type,
|
|
4340
4340
|
input: ft,
|
|
@@ -4347,27 +4347,23 @@ function _addIssue(Be, Le, Ye, tt, nt) {
|
|
|
4347
4347
|
lang: tt.lang,
|
|
4348
4348
|
abortEarly: tt.abortEarly,
|
|
4349
4349
|
abortPipeEarly: tt.abortPipeEarly
|
|
4350
|
-
}, xt = Be.kind === "schema", Et = (nt == null ? void 0 : nt.message) ?? Be.message ?? /* @__PURE__ */ getSpecificMessage(Be.reference, At.lang) ?? (xt ? /* @__PURE__ */ getSchemaMessage(At.lang) : null) ?? tt.message ?? /* @__PURE__ */ getGlobalMessage(At.lang);
|
|
4350
|
+
}, xt = Be.kind === "schema", Et = (nt == null ? void 0 : nt.message) ?? Be.message ?? /* @__PURE__ */ getSpecificMessage$1(Be.reference, At.lang) ?? (xt ? /* @__PURE__ */ getSchemaMessage$1(At.lang) : null) ?? tt.message ?? /* @__PURE__ */ getGlobalMessage$1(At.lang);
|
|
4351
4351
|
Et !== void 0 && (At.message = typeof Et == "function" ? (
|
|
4352
4352
|
// @ts-expect-error
|
|
4353
4353
|
Et(At)
|
|
4354
4354
|
) : Et), xt && (Ye.typed = !1), Ye.issues ? Ye.issues.push(At) : Ye.issues = [At];
|
|
4355
4355
|
}
|
|
4356
4356
|
// @__NO_SIDE_EFFECTS__
|
|
4357
|
-
function _getStandardProps(Be) {
|
|
4357
|
+
function _getStandardProps$1(Be) {
|
|
4358
4358
|
return {
|
|
4359
4359
|
version: 1,
|
|
4360
4360
|
vendor: "valibot",
|
|
4361
4361
|
validate(Le) {
|
|
4362
|
-
return Be["~run"]({ value: Le }, /* @__PURE__ */ getGlobalConfig());
|
|
4362
|
+
return Be["~run"]({ value: Le }, /* @__PURE__ */ getGlobalConfig$1());
|
|
4363
4363
|
}
|
|
4364
4364
|
};
|
|
4365
4365
|
}
|
|
4366
4366
|
// @__NO_SIDE_EFFECTS__
|
|
4367
|
-
function _isValidObjectKey(Be, Le) {
|
|
4368
|
-
return Object.hasOwn(Be, Le) && Le !== "__proto__" && Le !== "prototype" && Le !== "constructor";
|
|
4369
|
-
}
|
|
4370
|
-
// @__NO_SIDE_EFFECTS__
|
|
4371
4367
|
function _joinExpects(Be, Le) {
|
|
4372
4368
|
const Ye = [...new Set(Be)];
|
|
4373
4369
|
return Ye.length > 1 ? `(${Ye.join(` ${Le} `)})` : Ye[0] ?? "never";
|
|
@@ -4387,7 +4383,7 @@ var ValiError = class extends Error {
|
|
|
4387
4383
|
}
|
|
4388
4384
|
};
|
|
4389
4385
|
// @__NO_SIDE_EFFECTS__
|
|
4390
|
-
function getFallback(Be, Le, Ye) {
|
|
4386
|
+
function getFallback$1(Be, Le, Ye) {
|
|
4391
4387
|
return typeof Be.fallback == "function" ? (
|
|
4392
4388
|
// @ts-expect-error
|
|
4393
4389
|
Be.fallback(Le, Ye)
|
|
@@ -4397,7 +4393,7 @@ function getFallback(Be, Le, Ye) {
|
|
|
4397
4393
|
);
|
|
4398
4394
|
}
|
|
4399
4395
|
// @__NO_SIDE_EFFECTS__
|
|
4400
|
-
function getDefault(Be, Le, Ye) {
|
|
4396
|
+
function getDefault$1(Be, Le, Ye) {
|
|
4401
4397
|
return typeof Be.default == "function" ? (
|
|
4402
4398
|
// @ts-expect-error
|
|
4403
4399
|
Be.default(Le, Ye)
|
|
@@ -4416,10 +4412,10 @@ function boolean$2(Be) {
|
|
|
4416
4412
|
async: !1,
|
|
4417
4413
|
message: Be,
|
|
4418
4414
|
get "~standard"() {
|
|
4419
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4415
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4420
4416
|
},
|
|
4421
4417
|
"~run"(Le, Ye) {
|
|
4422
|
-
return typeof Le.value == "boolean" ? Le.typed = !0 : _addIssue(this, "type", Le, Ye), Le;
|
|
4418
|
+
return typeof Le.value == "boolean" ? Le.typed = !0 : _addIssue$1(this, "type", Le, Ye), Le;
|
|
4423
4419
|
}
|
|
4424
4420
|
};
|
|
4425
4421
|
}
|
|
@@ -4434,10 +4430,10 @@ function custom(Be, Le) {
|
|
|
4434
4430
|
check: Be,
|
|
4435
4431
|
message: Le,
|
|
4436
4432
|
get "~standard"() {
|
|
4437
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4433
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4438
4434
|
},
|
|
4439
4435
|
"~run"(Ye, tt) {
|
|
4440
|
-
return this.check(Ye.value) ? Ye.typed = !0 : _addIssue(this, "type", Ye, tt), Ye;
|
|
4436
|
+
return this.check(Ye.value) ? Ye.typed = !0 : _addIssue$1(this, "type", Ye, tt), Ye;
|
|
4441
4437
|
}
|
|
4442
4438
|
};
|
|
4443
4439
|
}
|
|
@@ -4451,10 +4447,10 @@ function function_(Be) {
|
|
|
4451
4447
|
async: !1,
|
|
4452
4448
|
message: Be,
|
|
4453
4449
|
get "~standard"() {
|
|
4454
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4450
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4455
4451
|
},
|
|
4456
4452
|
"~run"(Le, Ye) {
|
|
4457
|
-
return typeof Le.value == "function" ? Le.typed = !0 : _addIssue(this, "type", Le, Ye), Le;
|
|
4453
|
+
return typeof Le.value == "function" ? Le.typed = !0 : _addIssue$1(this, "type", Le, Ye), Le;
|
|
4458
4454
|
}
|
|
4459
4455
|
};
|
|
4460
4456
|
}
|
|
@@ -4464,15 +4460,15 @@ function literal(Be, Le) {
|
|
|
4464
4460
|
kind: "schema",
|
|
4465
4461
|
type: "literal",
|
|
4466
4462
|
reference: literal,
|
|
4467
|
-
expects: /* @__PURE__ */ _stringify$
|
|
4463
|
+
expects: /* @__PURE__ */ _stringify$4(Be),
|
|
4468
4464
|
async: !1,
|
|
4469
4465
|
literal: Be,
|
|
4470
4466
|
message: Le,
|
|
4471
4467
|
get "~standard"() {
|
|
4472
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4468
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4473
4469
|
},
|
|
4474
4470
|
"~run"(Ye, tt) {
|
|
4475
|
-
return Ye.value === this.literal ? Ye.typed = !0 : _addIssue(this, "type", Ye, tt), Ye;
|
|
4471
|
+
return Ye.value === this.literal ? Ye.typed = !0 : _addIssue$1(this, "type", Ye, tt), Ye;
|
|
4476
4472
|
}
|
|
4477
4473
|
};
|
|
4478
4474
|
}
|
|
@@ -4486,10 +4482,10 @@ function null_(Be) {
|
|
|
4486
4482
|
async: !1,
|
|
4487
4483
|
message: Be,
|
|
4488
4484
|
get "~standard"() {
|
|
4489
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4485
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4490
4486
|
},
|
|
4491
4487
|
"~run"(Le, Ye) {
|
|
4492
|
-
return Le.value === null ? Le.typed = !0 : _addIssue(this, "type", Le, Ye), Le;
|
|
4488
|
+
return Le.value === null ? Le.typed = !0 : _addIssue$1(this, "type", Le, Ye), Le;
|
|
4493
4489
|
}
|
|
4494
4490
|
};
|
|
4495
4491
|
}
|
|
@@ -4503,25 +4499,25 @@ function number$3(Be) {
|
|
|
4503
4499
|
async: !1,
|
|
4504
4500
|
message: Be,
|
|
4505
4501
|
get "~standard"() {
|
|
4506
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4502
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4507
4503
|
},
|
|
4508
4504
|
"~run"(Le, Ye) {
|
|
4509
|
-
return typeof Le.value == "number" && !isNaN(Le.value) ? Le.typed = !0 : _addIssue(this, "type", Le, Ye), Le;
|
|
4505
|
+
return typeof Le.value == "number" && !isNaN(Le.value) ? Le.typed = !0 : _addIssue$1(this, "type", Le, Ye), Le;
|
|
4510
4506
|
}
|
|
4511
4507
|
};
|
|
4512
4508
|
}
|
|
4513
4509
|
// @__NO_SIDE_EFFECTS__
|
|
4514
|
-
function object(Be, Le) {
|
|
4510
|
+
function object$1(Be, Le) {
|
|
4515
4511
|
return {
|
|
4516
4512
|
kind: "schema",
|
|
4517
4513
|
type: "object",
|
|
4518
|
-
reference: object,
|
|
4514
|
+
reference: object$1,
|
|
4519
4515
|
expects: "Object",
|
|
4520
4516
|
async: !1,
|
|
4521
4517
|
entries: Be,
|
|
4522
4518
|
message: Le,
|
|
4523
4519
|
get "~standard"() {
|
|
4524
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4520
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4525
4521
|
},
|
|
4526
4522
|
"~run"(Ye, tt) {
|
|
4527
4523
|
var ft;
|
|
@@ -4535,7 +4531,7 @@ function object(Be, Le) {
|
|
|
4535
4531
|
const At = ht in nt ? (
|
|
4536
4532
|
// @ts-expect-error
|
|
4537
4533
|
nt[ht]
|
|
4538
|
-
) : /* @__PURE__ */ getDefault(gt), xt = gt["~run"]({ value: At }, tt);
|
|
4534
|
+
) : /* @__PURE__ */ getDefault$1(gt), xt = gt["~run"]({ value: At }, tt);
|
|
4539
4535
|
if (xt.issues) {
|
|
4540
4536
|
const Et = {
|
|
4541
4537
|
type: "object",
|
|
@@ -4553,8 +4549,8 @@ function object(Be, Le) {
|
|
|
4553
4549
|
}
|
|
4554
4550
|
xt.typed || (Ye.typed = !1), Ye.value[ht] = xt.value;
|
|
4555
4551
|
} else if (gt.fallback !== void 0)
|
|
4556
|
-
Ye.value[ht] = /* @__PURE__ */ getFallback(gt);
|
|
4557
|
-
else if (gt.type !== "exact_optional" && gt.type !== "optional" && gt.type !== "nullish" && (_addIssue(this, "key", Ye, tt, {
|
|
4552
|
+
Ye.value[ht] = /* @__PURE__ */ getFallback$1(gt);
|
|
4553
|
+
else if (gt.type !== "exact_optional" && gt.type !== "optional" && gt.type !== "nullish" && (_addIssue$1(this, "key", Ye, tt, {
|
|
4558
4554
|
input: void 0,
|
|
4559
4555
|
expected: `"${ht}"`,
|
|
4560
4556
|
path: [
|
|
@@ -4571,107 +4567,43 @@ function object(Be, Le) {
|
|
|
4571
4567
|
break;
|
|
4572
4568
|
}
|
|
4573
4569
|
} else
|
|
4574
|
-
_addIssue(this, "type", Ye, tt);
|
|
4570
|
+
_addIssue$1(this, "type", Ye, tt);
|
|
4575
4571
|
return Ye;
|
|
4576
4572
|
}
|
|
4577
4573
|
};
|
|
4578
4574
|
}
|
|
4579
4575
|
// @__NO_SIDE_EFFECTS__
|
|
4580
|
-
function optional(Be, Le) {
|
|
4576
|
+
function optional$1(Be, Le) {
|
|
4581
4577
|
return {
|
|
4582
4578
|
kind: "schema",
|
|
4583
4579
|
type: "optional",
|
|
4584
|
-
reference: optional,
|
|
4580
|
+
reference: optional$1,
|
|
4585
4581
|
expects: `(${Be.expects} | undefined)`,
|
|
4586
4582
|
async: !1,
|
|
4587
4583
|
wrapped: Be,
|
|
4588
4584
|
default: Le,
|
|
4589
4585
|
get "~standard"() {
|
|
4590
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4586
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4591
4587
|
},
|
|
4592
4588
|
"~run"(Ye, tt) {
|
|
4593
|
-
return Ye.value === void 0 && (this.default !== void 0 && (Ye.value = /* @__PURE__ */ getDefault(this, Ye, tt)), Ye.value === void 0) ? (Ye.typed = !0, Ye) : this.wrapped["~run"](Ye, tt);
|
|
4594
|
-
}
|
|
4595
|
-
};
|
|
4596
|
-
}
|
|
4597
|
-
// @__NO_SIDE_EFFECTS__
|
|
4598
|
-
function record(Be, Le, Ye) {
|
|
4599
|
-
return {
|
|
4600
|
-
kind: "schema",
|
|
4601
|
-
type: "record",
|
|
4602
|
-
reference: record,
|
|
4603
|
-
expects: "Object",
|
|
4604
|
-
async: !1,
|
|
4605
|
-
key: Be,
|
|
4606
|
-
value: Le,
|
|
4607
|
-
message: Ye,
|
|
4608
|
-
get "~standard"() {
|
|
4609
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4610
|
-
},
|
|
4611
|
-
"~run"(tt, nt) {
|
|
4612
|
-
var ht, gt;
|
|
4613
|
-
const ft = tt.value;
|
|
4614
|
-
if (ft && typeof ft == "object") {
|
|
4615
|
-
tt.typed = !0, tt.value = {};
|
|
4616
|
-
for (const At in ft)
|
|
4617
|
-
if (/* @__PURE__ */ _isValidObjectKey(ft, At)) {
|
|
4618
|
-
const xt = ft[At], Et = this.key["~run"]({ value: At }, nt);
|
|
4619
|
-
if (Et.issues) {
|
|
4620
|
-
const Ct = {
|
|
4621
|
-
type: "object",
|
|
4622
|
-
origin: "key",
|
|
4623
|
-
input: ft,
|
|
4624
|
-
key: At,
|
|
4625
|
-
value: xt
|
|
4626
|
-
};
|
|
4627
|
-
for (const kt of Et.issues)
|
|
4628
|
-
kt.path = [Ct], (ht = tt.issues) == null || ht.push(kt);
|
|
4629
|
-
if (tt.issues || (tt.issues = Et.issues), nt.abortEarly) {
|
|
4630
|
-
tt.typed = !1;
|
|
4631
|
-
break;
|
|
4632
|
-
}
|
|
4633
|
-
}
|
|
4634
|
-
const yt = this.value["~run"](
|
|
4635
|
-
{ value: xt },
|
|
4636
|
-
nt
|
|
4637
|
-
);
|
|
4638
|
-
if (yt.issues) {
|
|
4639
|
-
const Ct = {
|
|
4640
|
-
type: "object",
|
|
4641
|
-
origin: "value",
|
|
4642
|
-
input: ft,
|
|
4643
|
-
key: At,
|
|
4644
|
-
value: xt
|
|
4645
|
-
};
|
|
4646
|
-
for (const kt of yt.issues)
|
|
4647
|
-
kt.path ? kt.path.unshift(Ct) : kt.path = [Ct], (gt = tt.issues) == null || gt.push(kt);
|
|
4648
|
-
if (tt.issues || (tt.issues = yt.issues), nt.abortEarly) {
|
|
4649
|
-
tt.typed = !1;
|
|
4650
|
-
break;
|
|
4651
|
-
}
|
|
4652
|
-
}
|
|
4653
|
-
(!Et.typed || !yt.typed) && (tt.typed = !1), Et.typed && (tt.value[Et.value] = yt.value);
|
|
4654
|
-
}
|
|
4655
|
-
} else
|
|
4656
|
-
_addIssue(this, "type", tt, nt);
|
|
4657
|
-
return tt;
|
|
4589
|
+
return Ye.value === void 0 && (this.default !== void 0 && (Ye.value = /* @__PURE__ */ getDefault$1(this, Ye, tt)), Ye.value === void 0) ? (Ye.typed = !0, Ye) : this.wrapped["~run"](Ye, tt);
|
|
4658
4590
|
}
|
|
4659
4591
|
};
|
|
4660
4592
|
}
|
|
4661
4593
|
// @__NO_SIDE_EFFECTS__
|
|
4662
|
-
function string$
|
|
4594
|
+
function string$3(Be) {
|
|
4663
4595
|
return {
|
|
4664
4596
|
kind: "schema",
|
|
4665
4597
|
type: "string",
|
|
4666
|
-
reference: string$
|
|
4598
|
+
reference: string$3,
|
|
4667
4599
|
expects: "string",
|
|
4668
4600
|
async: !1,
|
|
4669
4601
|
message: Be,
|
|
4670
4602
|
get "~standard"() {
|
|
4671
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4603
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4672
4604
|
},
|
|
4673
4605
|
"~run"(Le, Ye) {
|
|
4674
|
-
return typeof Le.value == "string" ? Le.typed = !0 : _addIssue(this, "type", Le, Ye), Le;
|
|
4606
|
+
return typeof Le.value == "string" ? Le.typed = !0 : _addIssue$1(this, "type", Le, Ye), Le;
|
|
4675
4607
|
}
|
|
4676
4608
|
};
|
|
4677
4609
|
}
|
|
@@ -4697,7 +4629,7 @@ function union(Be, Le) {
|
|
|
4697
4629
|
options: Be,
|
|
4698
4630
|
message: Le,
|
|
4699
4631
|
get "~standard"() {
|
|
4700
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
4632
|
+
return /* @__PURE__ */ _getStandardProps$1(this);
|
|
4701
4633
|
},
|
|
4702
4634
|
"~run"(Ye, tt) {
|
|
4703
4635
|
let nt, ft, ht;
|
|
@@ -4718,13 +4650,13 @@ function union(Be, Le) {
|
|
|
4718
4650
|
if (ft) {
|
|
4719
4651
|
if (ft.length === 1)
|
|
4720
4652
|
return ft[0];
|
|
4721
|
-
_addIssue(this, "type", Ye, tt, {
|
|
4653
|
+
_addIssue$1(this, "type", Ye, tt, {
|
|
4722
4654
|
issues: /* @__PURE__ */ _subIssues(ft)
|
|
4723
4655
|
}), Ye.typed = !0;
|
|
4724
4656
|
} else {
|
|
4725
4657
|
if ((ht == null ? void 0 : ht.length) === 1)
|
|
4726
4658
|
return ht[0];
|
|
4727
|
-
_addIssue(this, "type", Ye, tt, {
|
|
4659
|
+
_addIssue$1(this, "type", Ye, tt, {
|
|
4728
4660
|
issues: /* @__PURE__ */ _subIssues(ht)
|
|
4729
4661
|
});
|
|
4730
4662
|
}
|
|
@@ -4733,7 +4665,7 @@ function union(Be, Le) {
|
|
|
4733
4665
|
};
|
|
4734
4666
|
}
|
|
4735
4667
|
function parse$8(Be, Le, Ye) {
|
|
4736
|
-
const tt = Be["~run"]({ value: Le }, /* @__PURE__ */ getGlobalConfig(Ye));
|
|
4668
|
+
const tt = Be["~run"]({ value: Le }, /* @__PURE__ */ getGlobalConfig$1(Ye));
|
|
4737
4669
|
if (tt.issues)
|
|
4738
4670
|
throw new ValiError(tt.issues);
|
|
4739
4671
|
return tt.value;
|
|
@@ -8350,7 +8282,7 @@ class MlWasmJSApi {
|
|
|
8350
8282
|
);
|
|
8351
8283
|
}
|
|
8352
8284
|
}
|
|
8353
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8285
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251216190848.0";
|
|
8354
8286
|
function e$2(Be, Le) {
|
|
8355
8287
|
return function(Ye, tt) {
|
|
8356
8288
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -142616,7 +142548,230 @@ const SynchronizedInputGroup = styled.div`
|
|
|
142616
142548
|
}
|
|
142617
142549
|
}
|
|
142618
142550
|
}
|
|
142619
|
-
})
|
|
142551
|
+
});
|
|
142552
|
+
let store$4;
|
|
142553
|
+
// @__NO_SIDE_EFFECTS__
|
|
142554
|
+
function getGlobalConfig(Be) {
|
|
142555
|
+
return {
|
|
142556
|
+
lang: (Be == null ? void 0 : Be.lang) ?? (store$4 == null ? void 0 : store$4.lang),
|
|
142557
|
+
message: Be == null ? void 0 : Be.message,
|
|
142558
|
+
abortEarly: (Be == null ? void 0 : Be.abortEarly) ?? (store$4 == null ? void 0 : store$4.abortEarly),
|
|
142559
|
+
abortPipeEarly: (Be == null ? void 0 : Be.abortPipeEarly) ?? (store$4 == null ? void 0 : store$4.abortPipeEarly)
|
|
142560
|
+
};
|
|
142561
|
+
}
|
|
142562
|
+
let store$3;
|
|
142563
|
+
// @__NO_SIDE_EFFECTS__
|
|
142564
|
+
function getGlobalMessage(Be) {
|
|
142565
|
+
return store$3 == null ? void 0 : store$3.get(Be);
|
|
142566
|
+
}
|
|
142567
|
+
let store$2;
|
|
142568
|
+
// @__NO_SIDE_EFFECTS__
|
|
142569
|
+
function getSchemaMessage(Be) {
|
|
142570
|
+
return store$2 == null ? void 0 : store$2.get(Be);
|
|
142571
|
+
}
|
|
142572
|
+
let store$1;
|
|
142573
|
+
// @__NO_SIDE_EFFECTS__
|
|
142574
|
+
function getSpecificMessage(Be, Le) {
|
|
142575
|
+
var Ye;
|
|
142576
|
+
return (Ye = store$1 == null ? void 0 : store$1.get(Be)) == null ? void 0 : Ye.get(Le);
|
|
142577
|
+
}
|
|
142578
|
+
// @__NO_SIDE_EFFECTS__
|
|
142579
|
+
function _stringify$3(Be) {
|
|
142580
|
+
var Ye, tt;
|
|
142581
|
+
const Le = typeof Be;
|
|
142582
|
+
return Le === "string" ? `"${Be}"` : Le === "number" || Le === "bigint" || Le === "boolean" ? `${Be}` : Le === "object" || Le === "function" ? (Be && ((tt = (Ye = Object.getPrototypeOf(Be)) == null ? void 0 : Ye.constructor) == null ? void 0 : tt.name)) ?? "null" : Le;
|
|
142583
|
+
}
|
|
142584
|
+
function _addIssue(Be, Le, Ye, tt, nt) {
|
|
142585
|
+
const ft = nt && "input" in nt ? nt.input : Ye.value, ht = (nt == null ? void 0 : nt.expected) ?? Be.expects ?? null, gt = (nt == null ? void 0 : nt.received) ?? /* @__PURE__ */ _stringify$3(ft), At = {
|
|
142586
|
+
kind: Be.kind,
|
|
142587
|
+
type: Be.type,
|
|
142588
|
+
input: ft,
|
|
142589
|
+
expected: ht,
|
|
142590
|
+
received: gt,
|
|
142591
|
+
message: `Invalid ${Le}: ${ht ? `Expected ${ht} but r` : "R"}eceived ${gt}`,
|
|
142592
|
+
requirement: Be.requirement,
|
|
142593
|
+
path: nt == null ? void 0 : nt.path,
|
|
142594
|
+
issues: nt == null ? void 0 : nt.issues,
|
|
142595
|
+
lang: tt.lang,
|
|
142596
|
+
abortEarly: tt.abortEarly,
|
|
142597
|
+
abortPipeEarly: tt.abortPipeEarly
|
|
142598
|
+
}, xt = Be.kind === "schema", Et = (nt == null ? void 0 : nt.message) ?? Be.message ?? /* @__PURE__ */ getSpecificMessage(Be.reference, At.lang) ?? (xt ? /* @__PURE__ */ getSchemaMessage(At.lang) : null) ?? tt.message ?? /* @__PURE__ */ getGlobalMessage(At.lang);
|
|
142599
|
+
Et !== void 0 && (At.message = typeof Et == "function" ? Et(At) : Et), xt && (Ye.typed = !1), Ye.issues ? Ye.issues.push(At) : Ye.issues = [At];
|
|
142600
|
+
}
|
|
142601
|
+
// @__NO_SIDE_EFFECTS__
|
|
142602
|
+
function _getStandardProps(Be) {
|
|
142603
|
+
return {
|
|
142604
|
+
version: 1,
|
|
142605
|
+
vendor: "valibot",
|
|
142606
|
+
validate(Le) {
|
|
142607
|
+
return Be["~run"]({ value: Le }, /* @__PURE__ */ getGlobalConfig());
|
|
142608
|
+
}
|
|
142609
|
+
};
|
|
142610
|
+
}
|
|
142611
|
+
// @__NO_SIDE_EFFECTS__
|
|
142612
|
+
function _isValidObjectKey(Be, Le) {
|
|
142613
|
+
return Object.hasOwn(Be, Le) && Le !== "__proto__" && Le !== "prototype" && Le !== "constructor";
|
|
142614
|
+
}
|
|
142615
|
+
// @__NO_SIDE_EFFECTS__
|
|
142616
|
+
function getFallback(Be, Le, Ye) {
|
|
142617
|
+
return typeof Be.fallback == "function" ? Be.fallback(Le, Ye) : Be.fallback;
|
|
142618
|
+
}
|
|
142619
|
+
// @__NO_SIDE_EFFECTS__
|
|
142620
|
+
function getDefault(Be, Le, Ye) {
|
|
142621
|
+
return typeof Be.default == "function" ? Be.default(Le, Ye) : Be.default;
|
|
142622
|
+
}
|
|
142623
|
+
// @__NO_SIDE_EFFECTS__
|
|
142624
|
+
function object(Be, Le) {
|
|
142625
|
+
return {
|
|
142626
|
+
kind: "schema",
|
|
142627
|
+
type: "object",
|
|
142628
|
+
reference: object,
|
|
142629
|
+
expects: "Object",
|
|
142630
|
+
async: !1,
|
|
142631
|
+
entries: Be,
|
|
142632
|
+
message: Le,
|
|
142633
|
+
get "~standard"() {
|
|
142634
|
+
return /* @__PURE__ */ _getStandardProps(this);
|
|
142635
|
+
},
|
|
142636
|
+
"~run"(Ye, tt) {
|
|
142637
|
+
var ft;
|
|
142638
|
+
const nt = Ye.value;
|
|
142639
|
+
if (nt && typeof nt == "object") {
|
|
142640
|
+
Ye.typed = !0, Ye.value = {};
|
|
142641
|
+
for (const ht in this.entries) {
|
|
142642
|
+
const gt = this.entries[ht];
|
|
142643
|
+
if (ht in nt || (gt.type === "exact_optional" || gt.type === "optional" || gt.type === "nullish") && gt.default !== void 0) {
|
|
142644
|
+
const At = ht in nt ? nt[ht] : /* @__PURE__ */ getDefault(gt), xt = gt["~run"]({ value: At }, tt);
|
|
142645
|
+
if (xt.issues) {
|
|
142646
|
+
const Et = {
|
|
142647
|
+
type: "object",
|
|
142648
|
+
origin: "value",
|
|
142649
|
+
input: nt,
|
|
142650
|
+
key: ht,
|
|
142651
|
+
value: At
|
|
142652
|
+
};
|
|
142653
|
+
for (const yt of xt.issues)
|
|
142654
|
+
yt.path ? yt.path.unshift(Et) : yt.path = [Et], (ft = Ye.issues) == null || ft.push(yt);
|
|
142655
|
+
if (Ye.issues || (Ye.issues = xt.issues), tt.abortEarly) {
|
|
142656
|
+
Ye.typed = !1;
|
|
142657
|
+
break;
|
|
142658
|
+
}
|
|
142659
|
+
}
|
|
142660
|
+
xt.typed || (Ye.typed = !1), Ye.value[ht] = xt.value;
|
|
142661
|
+
} else if (gt.fallback !== void 0) Ye.value[ht] = /* @__PURE__ */ getFallback(gt);
|
|
142662
|
+
else if (gt.type !== "exact_optional" && gt.type !== "optional" && gt.type !== "nullish" && (_addIssue(this, "key", Ye, tt, {
|
|
142663
|
+
input: void 0,
|
|
142664
|
+
expected: `"${ht}"`,
|
|
142665
|
+
path: [{
|
|
142666
|
+
type: "object",
|
|
142667
|
+
origin: "key",
|
|
142668
|
+
input: nt,
|
|
142669
|
+
key: ht,
|
|
142670
|
+
value: nt[ht]
|
|
142671
|
+
}]
|
|
142672
|
+
}), tt.abortEarly))
|
|
142673
|
+
break;
|
|
142674
|
+
}
|
|
142675
|
+
} else _addIssue(this, "type", Ye, tt);
|
|
142676
|
+
return Ye;
|
|
142677
|
+
}
|
|
142678
|
+
};
|
|
142679
|
+
}
|
|
142680
|
+
// @__NO_SIDE_EFFECTS__
|
|
142681
|
+
function optional(Be, Le) {
|
|
142682
|
+
return {
|
|
142683
|
+
kind: "schema",
|
|
142684
|
+
type: "optional",
|
|
142685
|
+
reference: optional,
|
|
142686
|
+
expects: `(${Be.expects} | undefined)`,
|
|
142687
|
+
async: !1,
|
|
142688
|
+
wrapped: Be,
|
|
142689
|
+
default: Le,
|
|
142690
|
+
get "~standard"() {
|
|
142691
|
+
return /* @__PURE__ */ _getStandardProps(this);
|
|
142692
|
+
},
|
|
142693
|
+
"~run"(Ye, tt) {
|
|
142694
|
+
return Ye.value === void 0 && (this.default !== void 0 && (Ye.value = /* @__PURE__ */ getDefault(this, Ye, tt)), Ye.value === void 0) ? (Ye.typed = !0, Ye) : this.wrapped["~run"](Ye, tt);
|
|
142695
|
+
}
|
|
142696
|
+
};
|
|
142697
|
+
}
|
|
142698
|
+
// @__NO_SIDE_EFFECTS__
|
|
142699
|
+
function record(Be, Le, Ye) {
|
|
142700
|
+
return {
|
|
142701
|
+
kind: "schema",
|
|
142702
|
+
type: "record",
|
|
142703
|
+
reference: record,
|
|
142704
|
+
expects: "Object",
|
|
142705
|
+
async: !1,
|
|
142706
|
+
key: Be,
|
|
142707
|
+
value: Le,
|
|
142708
|
+
message: Ye,
|
|
142709
|
+
get "~standard"() {
|
|
142710
|
+
return /* @__PURE__ */ _getStandardProps(this);
|
|
142711
|
+
},
|
|
142712
|
+
"~run"(tt, nt) {
|
|
142713
|
+
var ht, gt;
|
|
142714
|
+
const ft = tt.value;
|
|
142715
|
+
if (ft && typeof ft == "object") {
|
|
142716
|
+
tt.typed = !0, tt.value = {};
|
|
142717
|
+
for (const At in ft) if (/* @__PURE__ */ _isValidObjectKey(ft, At)) {
|
|
142718
|
+
const xt = ft[At], Et = this.key["~run"]({ value: At }, nt);
|
|
142719
|
+
if (Et.issues) {
|
|
142720
|
+
const Ct = {
|
|
142721
|
+
type: "object",
|
|
142722
|
+
origin: "key",
|
|
142723
|
+
input: ft,
|
|
142724
|
+
key: At,
|
|
142725
|
+
value: xt
|
|
142726
|
+
};
|
|
142727
|
+
for (const kt of Et.issues)
|
|
142728
|
+
kt.path = [Ct], (ht = tt.issues) == null || ht.push(kt);
|
|
142729
|
+
if (tt.issues || (tt.issues = Et.issues), nt.abortEarly) {
|
|
142730
|
+
tt.typed = !1;
|
|
142731
|
+
break;
|
|
142732
|
+
}
|
|
142733
|
+
}
|
|
142734
|
+
const yt = this.value["~run"]({ value: xt }, nt);
|
|
142735
|
+
if (yt.issues) {
|
|
142736
|
+
const Ct = {
|
|
142737
|
+
type: "object",
|
|
142738
|
+
origin: "value",
|
|
142739
|
+
input: ft,
|
|
142740
|
+
key: At,
|
|
142741
|
+
value: xt
|
|
142742
|
+
};
|
|
142743
|
+
for (const kt of yt.issues)
|
|
142744
|
+
kt.path ? kt.path.unshift(Ct) : kt.path = [Ct], (gt = tt.issues) == null || gt.push(kt);
|
|
142745
|
+
if (tt.issues || (tt.issues = yt.issues), nt.abortEarly) {
|
|
142746
|
+
tt.typed = !1;
|
|
142747
|
+
break;
|
|
142748
|
+
}
|
|
142749
|
+
}
|
|
142750
|
+
(!Et.typed || !yt.typed) && (tt.typed = !1), Et.typed && (tt.value[Et.value] = yt.value);
|
|
142751
|
+
}
|
|
142752
|
+
} else _addIssue(this, "type", tt, nt);
|
|
142753
|
+
return tt;
|
|
142754
|
+
}
|
|
142755
|
+
};
|
|
142756
|
+
}
|
|
142757
|
+
// @__NO_SIDE_EFFECTS__
|
|
142758
|
+
function string$2(Be) {
|
|
142759
|
+
return {
|
|
142760
|
+
kind: "schema",
|
|
142761
|
+
type: "string",
|
|
142762
|
+
reference: string$2,
|
|
142763
|
+
expects: "string",
|
|
142764
|
+
async: !1,
|
|
142765
|
+
message: Be,
|
|
142766
|
+
get "~standard"() {
|
|
142767
|
+
return /* @__PURE__ */ _getStandardProps(this);
|
|
142768
|
+
},
|
|
142769
|
+
"~run"(Le, Ye) {
|
|
142770
|
+
return typeof Le.value == "string" ? Le.typed = !0 : _addIssue(this, "type", Le, Ye), Le;
|
|
142771
|
+
}
|
|
142772
|
+
};
|
|
142773
|
+
}
|
|
142774
|
+
const CustomPrimitivesSchema = /* @__PURE__ */ object({
|
|
142620
142775
|
colors: /* @__PURE__ */ optional(
|
|
142621
142776
|
/* @__PURE__ */ object({
|
|
142622
142777
|
neutral: /* @__PURE__ */ optional(
|
|
@@ -162179,35 +162334,35 @@ const AppProvider = ({ children: Be }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
|
162179
162334
|
]
|
|
162180
162335
|
}
|
|
162181
162336
|
) }) }) : null;
|
|
162182
|
-
}, UiConfigSchema = /* @__PURE__ */ object({
|
|
162183
|
-
branding: /* @__PURE__ */ optional(
|
|
162184
|
-
/* @__PURE__ */ object({
|
|
162185
|
-
logo: /* @__PURE__ */ optional(
|
|
162186
|
-
/* @__PURE__ */ object({
|
|
162187
|
-
src: /* @__PURE__ */ optional(/* @__PURE__ */ string$
|
|
162188
|
-
height: /* @__PURE__ */ optional(/* @__PURE__ */ string$
|
|
162337
|
+
}, UiConfigSchema = /* @__PURE__ */ object$1({
|
|
162338
|
+
branding: /* @__PURE__ */ optional$1(
|
|
162339
|
+
/* @__PURE__ */ object$1({
|
|
162340
|
+
logo: /* @__PURE__ */ optional$1(
|
|
162341
|
+
/* @__PURE__ */ object$1({
|
|
162342
|
+
src: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$3()),
|
|
162343
|
+
height: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$3())
|
|
162189
162344
|
})
|
|
162190
162345
|
),
|
|
162191
|
-
hideFooterBranding: /* @__PURE__ */ optional(/* @__PURE__ */ boolean$2()),
|
|
162192
|
-
hideHeaderBranding: /* @__PURE__ */ optional(/* @__PURE__ */ boolean$2())
|
|
162346
|
+
hideFooterBranding: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$2()),
|
|
162347
|
+
hideHeaderBranding: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$2())
|
|
162193
162348
|
})
|
|
162194
162349
|
),
|
|
162195
|
-
closeButton: /* @__PURE__ */ optional(
|
|
162196
|
-
/* @__PURE__ */ object({
|
|
162197
|
-
show: /* @__PURE__ */ optional(/* @__PURE__ */ boolean$2()),
|
|
162198
|
-
position: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("left"), /* @__PURE__ */ literal("right")])),
|
|
162199
|
-
offset: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ number$3(), /* @__PURE__ */ string$
|
|
162350
|
+
closeButton: /* @__PURE__ */ optional$1(
|
|
162351
|
+
/* @__PURE__ */ object$1({
|
|
162352
|
+
show: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$2()),
|
|
162353
|
+
position: /* @__PURE__ */ optional$1(/* @__PURE__ */ union([/* @__PURE__ */ literal("left"), /* @__PURE__ */ literal("right")])),
|
|
162354
|
+
offset: /* @__PURE__ */ optional$1(/* @__PURE__ */ union([/* @__PURE__ */ number$3(), /* @__PURE__ */ string$3()]))
|
|
162200
162355
|
})
|
|
162201
162356
|
),
|
|
162202
|
-
theming: /* @__PURE__ */ optional(
|
|
162203
|
-
/* @__PURE__ */ object({
|
|
162204
|
-
designTokens: /* @__PURE__ */ optional(CustomPrimitivesSchema),
|
|
162205
|
-
shirtColor: /* @__PURE__ */ optional(/* @__PURE__ */ string$
|
|
162357
|
+
theming: /* @__PURE__ */ optional$1(
|
|
162358
|
+
/* @__PURE__ */ object$1({
|
|
162359
|
+
designTokens: /* @__PURE__ */ optional$1(CustomPrimitivesSchema),
|
|
162360
|
+
shirtColor: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$3())
|
|
162206
162361
|
})
|
|
162207
162362
|
),
|
|
162208
|
-
notifications: /* @__PURE__ */ optional(
|
|
162209
|
-
/* @__PURE__ */ object({
|
|
162210
|
-
minimal: /* @__PURE__ */ optional(/* @__PURE__ */ boolean$2())
|
|
162363
|
+
notifications: /* @__PURE__ */ optional$1(
|
|
162364
|
+
/* @__PURE__ */ object$1({
|
|
162365
|
+
minimal: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$2())
|
|
162211
162366
|
})
|
|
162212
162367
|
)
|
|
162213
162368
|
}), Container$g = dt.div`
|
|
@@ -173402,17 +173557,17 @@ const StyledPath = dt.path`
|
|
|
173402
173557
|
}, AuthFace = (Be) => {
|
|
173403
173558
|
var Le;
|
|
173404
173559
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(IncodeProvider, { token: (Le = Be.session) == null ? void 0 : Le.token, uiConfig: Be.uiConfig, children: /* @__PURE__ */ jsxRuntimeExports.jsx(AuthFaceInside, { ...Be }) });
|
|
173405
|
-
}, AuthFacePropsSchema = /* @__PURE__ */ object({
|
|
173406
|
-
session: /* @__PURE__ */ object({
|
|
173407
|
-
token: /* @__PURE__ */ string$
|
|
173560
|
+
}, AuthFacePropsSchema = /* @__PURE__ */ object$1({
|
|
173561
|
+
session: /* @__PURE__ */ object$1({
|
|
173562
|
+
token: /* @__PURE__ */ string$3()
|
|
173408
173563
|
}),
|
|
173409
|
-
authHint: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ string$
|
|
173410
|
-
onSuccess: /* @__PURE__ */ optional(/* @__PURE__ */ function_()),
|
|
173411
|
-
onError: /* @__PURE__ */ optional(/* @__PURE__ */ function_()),
|
|
173412
|
-
uiConfig: /* @__PURE__ */ optional(UiConfigSchema),
|
|
173413
|
-
forceV2: /* @__PURE__ */ optional(/* @__PURE__ */ boolean$2()),
|
|
173414
|
-
parentSize: /* @__PURE__ */ optional(
|
|
173415
|
-
/* @__PURE__ */ object({
|
|
173564
|
+
authHint: /* @__PURE__ */ optional$1(/* @__PURE__ */ union([/* @__PURE__ */ string$3(), /* @__PURE__ */ null_()])),
|
|
173565
|
+
onSuccess: /* @__PURE__ */ optional$1(/* @__PURE__ */ function_()),
|
|
173566
|
+
onError: /* @__PURE__ */ optional$1(/* @__PURE__ */ function_()),
|
|
173567
|
+
uiConfig: /* @__PURE__ */ optional$1(UiConfigSchema),
|
|
173568
|
+
forceV2: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$2()),
|
|
173569
|
+
parentSize: /* @__PURE__ */ optional$1(
|
|
173570
|
+
/* @__PURE__ */ object$1({
|
|
173416
173571
|
width: /* @__PURE__ */ number$3(),
|
|
173417
173572
|
height: /* @__PURE__ */ number$3()
|
|
173418
173573
|
})
|
|
@@ -268854,6 +269009,7 @@ const changelog = "https://github.com/remarkjs/react-markdown/blob/main/changelo
|
|
|
268854
269009
|
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
268855
269010
|
to: "allowedElements"
|
|
268856
269011
|
},
|
|
269012
|
+
{ from: "className", id: "remove-classname" },
|
|
268857
269013
|
{
|
|
268858
269014
|
from: "disallowedTypes",
|
|
268859
269015
|
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
@@ -268890,20 +269046,8 @@ function post(Be, Le) {
|
|
|
268890
269046
|
const Ye = Le.allowedElements, tt = Le.allowElement, nt = Le.components, ft = Le.disallowedElements, ht = Le.skipHtml, gt = Le.unwrapDisallowed, At = Le.urlTransform || defaultUrlTransform;
|
|
268891
269047
|
for (const Et of deprecations)
|
|
268892
269048
|
Object.hasOwn(Le, Et.from) && ("" + Et.from + (Et.to ? "use `" + Et.to + "` instead" : "remove it") + changelog + Et.id, void 0);
|
|
268893
|
-
return
|
|
268894
|
-
type: "element",
|
|
268895
|
-
tagName: "div",
|
|
268896
|
-
properties: { className: Le.className },
|
|
268897
|
-
// Assume no doctypes.
|
|
268898
|
-
children: (
|
|
268899
|
-
/** @type {Array<ElementContent>} */
|
|
268900
|
-
Be.type === "root" ? Be.children : [Be]
|
|
268901
|
-
)
|
|
268902
|
-
}), visit$1(Be, xt), toJsxRuntime(Be, {
|
|
269049
|
+
return visit$1(Be, xt), toJsxRuntime(Be, {
|
|
268903
269050
|
Fragment: jsxRuntimeExports.Fragment,
|
|
268904
|
-
// @ts-expect-error
|
|
268905
|
-
// React components are allowed to return numbers,
|
|
268906
|
-
// but not according to the types in hast-util-to-jsx-runtime
|
|
268907
269051
|
components: nt,
|
|
268908
269052
|
ignoreInvalidStyle: !0,
|
|
268909
269053
|
jsx: jsxRuntimeExports.jsx,
|
|
@@ -354611,20 +354755,21 @@ const CountryWrapper = dt.div`
|
|
|
354611
354755
|
register: nt,
|
|
354612
354756
|
setValue: ft,
|
|
354613
354757
|
trigger: ht,
|
|
354614
|
-
errors: gt
|
|
354758
|
+
errors: gt,
|
|
354759
|
+
optional: At = !1
|
|
354615
354760
|
}) => {
|
|
354616
|
-
var
|
|
354617
|
-
const { t:
|
|
354618
|
-
return Be === "state"
|
|
354761
|
+
var yt, Ct, kt;
|
|
354762
|
+
const { t: xt } = useTranslation$1(), Et = At || OPTIONAL_FIELDS[Be];
|
|
354763
|
+
return Be === "state" ? tt ? /* @__PURE__ */ jsxRuntimeExports.jsx(CountryWrapper, { error: !!((yt = gt == null ? void 0 : gt.state) != null && yt.message), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
354619
354764
|
StateSelector,
|
|
354620
354765
|
{
|
|
354621
354766
|
id: "state",
|
|
354622
|
-
label: (
|
|
354623
|
-
placeholder:
|
|
354624
|
-
searchPlaceholder:
|
|
354767
|
+
label: (Ct = gt == null ? void 0 : gt.state) != null && Ct.message ? (kt = gt == null ? void 0 : gt.state) == null ? void 0 : kt.message : xt("verification.labels.chooseState"),
|
|
354768
|
+
placeholder: xt("common.state.placeholder"),
|
|
354769
|
+
searchPlaceholder: xt("common.state.searchPlaceholder"),
|
|
354625
354770
|
name: "state",
|
|
354626
|
-
onChange: (
|
|
354627
|
-
ft("state",
|
|
354771
|
+
onChange: (vt) => {
|
|
354772
|
+
ft("state", vt), ht("state");
|
|
354628
354773
|
},
|
|
354629
354774
|
value: Ye
|
|
354630
354775
|
},
|
|
@@ -354634,13 +354779,13 @@ const CountryWrapper = dt.div`
|
|
|
354634
354779
|
{
|
|
354635
354780
|
id: Be,
|
|
354636
354781
|
register: nt,
|
|
354637
|
-
onBlur: (
|
|
354638
|
-
ft(Be,
|
|
354782
|
+
onBlur: (vt) => {
|
|
354783
|
+
ft(Be, vt.target.value.trim());
|
|
354639
354784
|
},
|
|
354640
354785
|
registerOpts: {
|
|
354641
|
-
required:
|
|
354786
|
+
required: Et ? "" : xt("ekyb.error.requiredField")
|
|
354642
354787
|
},
|
|
354643
|
-
label:
|
|
354788
|
+
label: xt(`ekyb.${Be}`),
|
|
354644
354789
|
error: formatFieldError(gt[Be])
|
|
354645
354790
|
},
|
|
354646
354791
|
Be
|
|
@@ -354649,18 +354794,18 @@ const CountryWrapper = dt.div`
|
|
|
354649
354794
|
{
|
|
354650
354795
|
id: Be,
|
|
354651
354796
|
register: nt,
|
|
354652
|
-
onBlur: (
|
|
354653
|
-
ft(Be,
|
|
354797
|
+
onBlur: (vt) => {
|
|
354798
|
+
ft(Be, vt.target.value.trim());
|
|
354654
354799
|
},
|
|
354655
354800
|
registerOpts: {
|
|
354656
|
-
required:
|
|
354801
|
+
required: Et ? "" : xt("ekyb.error.requiredField"),
|
|
354657
354802
|
pattern: Be === "taxId" && !COUNTRIES_WITH_CNPJ_VALIDATION.includes(Le) && !COUNTRIES_WITH_SPECIAL_TAX_ID_RULES.includes(Le) ? {
|
|
354658
354803
|
value: /^[a-zA-Z0-9]+$/,
|
|
354659
|
-
message:
|
|
354804
|
+
message: xt("ekyb.error.taxId")
|
|
354660
354805
|
} : void 0,
|
|
354661
|
-
validate: Be === "taxId" && COUNTRIES_WITH_CNPJ_VALIDATION.includes(Le) ? (
|
|
354806
|
+
validate: Be === "taxId" && COUNTRIES_WITH_CNPJ_VALIDATION.includes(Le) ? (vt) => validateCnpjNumber(vt) || "ekyb.error.invalidTaxId" : void 0
|
|
354662
354807
|
},
|
|
354663
|
-
label:
|
|
354808
|
+
label: xt(`ekyb.${Be}`),
|
|
354664
354809
|
error: formatFieldError(gt[Be])
|
|
354665
354810
|
},
|
|
354666
354811
|
Be
|
|
@@ -354668,35 +354813,36 @@ const CountryWrapper = dt.div`
|
|
|
354668
354813
|
}, UboInputs = ({
|
|
354669
354814
|
uboCount: Be,
|
|
354670
354815
|
register: Le,
|
|
354671
|
-
errors: Ye
|
|
354816
|
+
errors: Ye,
|
|
354817
|
+
optional: tt = !1
|
|
354672
354818
|
}) => {
|
|
354673
|
-
const { t:
|
|
354674
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: Array.from({ length: Be }).map((
|
|
354819
|
+
const { t: nt } = useTranslation$1();
|
|
354820
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: Array.from({ length: Be }).map((ft, ht) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
354675
354821
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
354676
354822
|
Input$4,
|
|
354677
354823
|
{
|
|
354678
|
-
id: `uboName-${
|
|
354824
|
+
id: `uboName-${ht + 1}`,
|
|
354679
354825
|
register: Le,
|
|
354680
|
-
label:
|
|
354681
|
-
error: formatFieldError(Ye[`uboName-${
|
|
354826
|
+
label: ht === 0 ? nt("ekyb.uboName") : nt("ekyb.uboNameWithNumber", { number: ht + 1 }),
|
|
354827
|
+
error: formatFieldError(Ye[`uboName-${ht + 1}`]),
|
|
354682
354828
|
registerOpts: {
|
|
354683
|
-
required:
|
|
354829
|
+
required: ht === 0 && !tt ? nt("ekyb.error.requiredField") : ""
|
|
354684
354830
|
}
|
|
354685
354831
|
}
|
|
354686
354832
|
),
|
|
354687
354833
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
354688
354834
|
Input$4,
|
|
354689
354835
|
{
|
|
354690
|
-
id: `uboSurname-${
|
|
354836
|
+
id: `uboSurname-${ht + 1}`,
|
|
354691
354837
|
register: Le,
|
|
354692
|
-
label:
|
|
354693
|
-
error: formatFieldError(Ye[`uboSurname-${
|
|
354838
|
+
label: ht === 0 ? nt("ekyb.uboSurname") : nt("ekyb.uboSurnameWithNumber", { number: ht + 1 }),
|
|
354839
|
+
error: formatFieldError(Ye[`uboSurname-${ht + 1}`]),
|
|
354694
354840
|
registerOpts: {
|
|
354695
|
-
required:
|
|
354841
|
+
required: ht === 0 && !tt ? nt("ekyb.error.requiredField") : ""
|
|
354696
354842
|
}
|
|
354697
354843
|
}
|
|
354698
354844
|
)
|
|
354699
|
-
] }, `ubo-${
|
|
354845
|
+
] }, `ubo-${ht + 1}`)) });
|
|
354700
354846
|
}, useUboManagement = () => {
|
|
354701
354847
|
const [Be, Le] = useState(1);
|
|
354702
354848
|
return {
|
|
@@ -354818,7 +354964,7 @@ const sharedStyle$1 = lt`
|
|
|
354818
354964
|
flow: Ye,
|
|
354819
354965
|
token: tt
|
|
354820
354966
|
}) => {
|
|
354821
|
-
var
|
|
354967
|
+
var $t;
|
|
354822
354968
|
const [nt, ft] = useState(
|
|
354823
354969
|
VERIFICATION_STATES.IDLE
|
|
354824
354970
|
), { uboCount: ht, handleAddUbo: gt, extractUboNames: At } = useUboManagement(), {
|
|
@@ -354854,27 +355000,25 @@ const sharedStyle$1 = lt`
|
|
|
354854
355000
|
screen: "EKYB",
|
|
354855
355001
|
token: tt
|
|
354856
355002
|
});
|
|
354857
|
-
const Dt = Le ? Le.filter((
|
|
354858
|
-
(
|
|
354859
|
-
)
|
|
354860
|
-
|
|
354861
|
-
|
|
354862
|
-
|
|
354863
|
-
const $t = At(Wt), Kt = {
|
|
354864
|
-
...Wt,
|
|
355003
|
+
const Dt = Le ? Le.filter((Kt) => Kt === "ubos-user_input" ? (wt = !0, !1) : !0) : ($t = Ye == null ? void 0 : Ye.modules) == null ? void 0 : $t.filter(
|
|
355004
|
+
(Kt) => Kt.includes("user_input") && !Kt.includes("socure") && Kt !== "ubos-user_input"
|
|
355005
|
+
), Pt = sortModulesByOrder(Dt || [], FIELD_ORDER), Nt = async (Kt) => {
|
|
355006
|
+
ft(VERIFICATION_STATES.VERIFYING);
|
|
355007
|
+
const Vt = At(Kt), Ut = {
|
|
355008
|
+
...Kt,
|
|
354865
355009
|
plugins: ["ekyb"],
|
|
354866
|
-
uboNames:
|
|
355010
|
+
uboNames: Vt
|
|
354867
355011
|
};
|
|
354868
355012
|
try {
|
|
354869
355013
|
await sendEkyb({
|
|
354870
355014
|
token: tt,
|
|
354871
|
-
body:
|
|
355015
|
+
body: Ut
|
|
354872
355016
|
}), ft(VERIFICATION_STATES.SUCCESS);
|
|
354873
355017
|
} catch {
|
|
354874
355018
|
ft(VERIFICATION_STATES.FAILED);
|
|
354875
355019
|
}
|
|
354876
355020
|
Be();
|
|
354877
|
-
};
|
|
355021
|
+
}, Lt = Tt === "GB", Wt = Tt === "GB";
|
|
354878
355022
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(VerificationContainer, { children: [
|
|
354879
355023
|
/* @__PURE__ */ jsxRuntimeExports.jsx(InformationVerificationTitle, { children: It("ekyb.title") }),
|
|
354880
355024
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -354891,24 +355035,33 @@ const sharedStyle$1 = lt`
|
|
|
354891
355035
|
errors: yt
|
|
354892
355036
|
}
|
|
354893
355037
|
),
|
|
354894
|
-
Pt.map((
|
|
354895
|
-
const
|
|
355038
|
+
Pt.map((Kt) => {
|
|
355039
|
+
const Vt = getFieldName(Kt);
|
|
354896
355040
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
354897
355041
|
FieldInput,
|
|
354898
355042
|
{
|
|
354899
|
-
name:
|
|
355043
|
+
name: Vt,
|
|
354900
355044
|
country: Tt,
|
|
354901
355045
|
state: Rt,
|
|
354902
355046
|
isUnitedStates: Bt,
|
|
354903
355047
|
register: xt,
|
|
354904
355048
|
setValue: Ct,
|
|
354905
355049
|
trigger: vt,
|
|
354906
|
-
errors: yt
|
|
355050
|
+
errors: yt,
|
|
355051
|
+
optional: Wt
|
|
354907
355052
|
},
|
|
354908
|
-
|
|
355053
|
+
Vt
|
|
354909
355054
|
);
|
|
354910
355055
|
}),
|
|
354911
|
-
wt && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
355056
|
+
wt && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
355057
|
+
UboInputs,
|
|
355058
|
+
{
|
|
355059
|
+
uboCount: ht,
|
|
355060
|
+
register: xt,
|
|
355061
|
+
errors: yt,
|
|
355062
|
+
optional: Lt
|
|
355063
|
+
}
|
|
355064
|
+
),
|
|
354912
355065
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(ButtonsContainer$1, { children: [
|
|
354913
355066
|
wt && ht < UBO_INPUT_LIMIT ? /* @__PURE__ */ jsxRuntimeExports.jsx(UBOButton, { type: "button", onClick: gt, children: It("ekyb.addAnotherUbo") }) : null,
|
|
354914
355067
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|