@adyen/kyc-components 4.25.0-beta.0 → 4.25.0-beta.2
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/{AcceptTermsOfServiceWorkflow-DVUes-ba.js → AcceptTermsOfServiceWorkflow-BKWCrZdZ.js} +4 -4
- package/dist/{Accordion-Dgdxfe-d.js → Accordion-D_DOaWj2.js} +1 -1
- package/dist/{AccountSetupRejected-B19onnyG.js → AccountSetupRejected-BtcxtVKO.js} +2 -2
- package/dist/{AdaptiveWorkflow-q5TVr4ET.js → AdaptiveWorkflow-2EE8iiMD.js} +2 -2
- package/dist/{AdaptiveWorkflowComponent-CBxlKnJq.js → AdaptiveWorkflowComponent-C4Q6NVtv.js} +3 -3
- package/dist/{AddressFields-DR4xhVNv.js → AddressFields-CFG2_P0x.js} +8 -7
- package/dist/{Alert-Bv9M3wLb.js → Alert-BqbbDRYR.js} +3 -3
- package/dist/{Avatar-oTPu6Ejy.js → Avatar-k5lNd5KG.js} +1 -1
- package/dist/{BusinessFinancingDropin-B71xoa3g.js → BusinessFinancingDropin-BjTnxk__.js} +16 -16
- package/dist/{BusinessFinancingPage-DlttycNJ.js → BusinessFinancingPage-C4dAslMp.js} +2 -2
- package/dist/{BusinessRegistrationNumberField-CpRV1Keg.js → BusinessRegistrationNumberField-Dz1uGvRQ.js} +3 -3
- package/dist/{BusinessRegistrationNumberFieldGroup-BBOUoIDC.js → BusinessRegistrationNumberFieldGroup-BFPrFa1_.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-DiZhzyXz.js → BusinessTypeSelectionPage-DeWD37jR.js} +4 -4
- package/dist/{Button-DpPFIUJx.js → Button-BxdC8cVB.js} +1 -1
- package/dist/{ComponentGroup-BcVd3jTE.js → ComponentGroup-S6c3rVoX.js} +3 -3
- package/dist/{Confirm-D8WH4e1L.js → Confirm-DjFpxSzC.js} +2 -2
- package/dist/{ConstitutionalDocument-BBXjyAH3.js → ConstitutionalDocument-CNNhKkzD.js} +7 -7
- package/dist/{ContactDetails-e8rkZO7f.js → ContactDetails-_HCOKj3-.js} +5 -5
- package/dist/{ContextGuidance-DPPaigJE.js → ContextGuidance-v-d9RQuo.js} +1 -1
- package/dist/{CountryField-C7eHHmYk.js → CountryField-CMOB4yz4.js} +2 -2
- package/dist/{Currency-BEr0RDjy.js → Currency-3Z9i_AhY.js} +5 -5
- package/dist/{CustomerSupport-DVMEfZdZ.js → CustomerSupport-B0UJHtAq.js} +5 -5
- package/dist/{DataConflictsModal-BqfTUq4v.js → DataConflictsModal-8Nnj7_UD.js} +4 -4
- package/dist/{DebugModal-CGPSu2md.js → DebugModal-BxebnUyQ.js} +8 -8
- package/dist/{DecisionMakerDetails-mi5oGeCi.js → DecisionMakerDetails-RF9BoMYF.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-BUvvs6i9.js → DecisionMakerDetailsPage-CGOs2Ubt.js} +4 -4
- package/dist/{DecisionMakers-B2dpzHQ-.js → DecisionMakers-qRoXooYA.js} +12 -12
- package/dist/{Dropzone-DAKOThpd.js → Dropzone-cewfCgXt.js} +4 -4
- package/dist/{EmbeddedStatus-CYd2p4sP.js → EmbeddedStatus-Keg7UojY.js} +4 -4
- package/dist/{EndStateLayout-BOdEeTDy.js → EndStateLayout-GHEYl82p.js} +2 -2
- package/dist/{EntityAssociation-ty8DqPkJ.js → EntityAssociation-BPtrqdQR.js} +5 -5
- package/dist/{ErrorPanel-D1ygAX21.js → ErrorPanel-PefRq1M4.js} +2 -2
- package/dist/{Field-CBvXkDKh.js → Field-Df7ajJE2.js} +1 -1
- package/dist/{GlobalEntryModal-DLC7METR.js → GlobalEntryModal-CTGSdkW7.js} +20 -20
- package/dist/{GlobalEntryPage-C2vMcR6i.js → GlobalEntryPage-CdGXV-QZ.js} +4 -4
- package/dist/{Header-DVLlJ6we.js → Header-DvifUz7-.js} +1 -1
- package/dist/{Icon-4XR6gZzk.js → Icon-DFQgr7dy.js} +1 -1
- package/dist/{IdentityNumber-DhO403_T.js → IdentityNumber-Cz6-4YcM.js} +2 -2
- package/dist/{IdentityNumberFieldGroup-CqAj0moi.js → IdentityNumberFieldGroup-D2PV_4A5.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Dm2p1_2e.js → IdentityScreeningWorkflow-mbcaIctn.js} +9 -9
- package/dist/{IndividualDropin-CKnMrjDj.js → IndividualDropin-D1UOavsw.js} +65 -42
- package/dist/{IndustryCodeFieldGroup-DEYxiu_j.js → IndustryCodeFieldGroup-DmOqxPIg.js} +3 -3
- package/dist/{Introduction-CTVUoae1.js → Introduction-DFW6EaLG.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-XVUjKp4X.js → InvitedDecisionMakerComponent-hdQc0T7D.js} +6 -6
- package/dist/{JpAddressFields-DWDTt4lQ.js → JpAddressFields-CzGnXBMk.js} +3 -3
- package/dist/{LegalCompanyNameField-C3zITaw1.js → LegalCompanyNameField-CV2EgRCw.js} +1 -1
- package/dist/{LegalName-DsYl9ReT.js → LegalName-BYQ12uWc.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-CYHPpiXJ.js → LegalRepresentativeDetailsPage-BiAfoErR.js} +2 -2
- package/dist/{Link-CvYhseSD.js → Link-C3dYYTm_.js} +1 -1
- package/dist/{ListItem-CYTpdOMa.js → ListItem-CHGVbHhB.js} +2 -2
- package/dist/{MaskedInput-W1FzWAVl.js → MaskedInput-CkDwzLxe.js} +2 -2
- package/dist/{MaybeModal-DJ-s5rk2.js → MaybeModal-Dfm1rIUG.js} +2 -2
- package/dist/{Modal-DeXa4MBg.js → Modal-Dq44ZUNN.js} +1 -1
- package/dist/{Name-C1GAvkWn.js → Name-BfQr3et_.js} +1 -1
- package/dist/{NewSummary-C9CV9wJk.js → NewSummary-DYLlnpwx.js} +3 -3
- package/dist/{NodeRenderer-CnaWNStD.js → NodeRenderer-Z10yF5MV.js} +16 -16
- package/dist/{PatriotActDisclosure-CnVpPsAg.js → PatriotActDisclosure-BNAsJXEL.js} +6 -6
- package/dist/{PayoutDetailsDropin-BPms6ZOq.js → PayoutDetailsDropin-NyizAaYy.js} +25 -24
- package/dist/{PayoutDetailsPage-BTBHMzw7.js → PayoutDetailsPage-NM0Eqf4K.js} +3 -3
- package/dist/{Review-CGI0RQO6.js → Review-CzgmjDcZ.js} +3 -3
- package/dist/{RootBusinessDetailsPage-BswHBSIN.js → RootBusinessDetailsPage-B1a0hu8F.js} +2 -2
- package/dist/{RootBusinessLinesPage-BQxhfHmx.js → RootBusinessLinesPage-Dv1uT7OS.js} +15 -15
- package/dist/{RootIndividualDetailsPage-CFxtnnY4.js → RootIndividualDetailsPage-vkjzmyF7.js} +3 -3
- package/dist/{SignPCIComponent-B1kmyOe5.js → SignPCIComponent-CIkdVNH2.js} +6 -6
- package/dist/{SingpassSelection-GiZOYWUI.js → SingpassSelection-B6NONcr4.js} +3 -3
- package/dist/{SoleProprietorshipPage-D84M0iEW.js → SoleProprietorshipPage-BmNs557C.js} +2 -2
- package/dist/{SourceOfFundsPage-B0SzrryD.js → SourceOfFundsPage-B5nZ3MjN.js} +17 -17
- package/dist/{SourceOfFundsWorkflow-j-GhdsMt.js → SourceOfFundsWorkflow-IkLZG9JI.js} +4 -4
- package/dist/{StateField-BYoE_vV0.js → StateField-BiNI3dm9.js} +2 -2
- package/dist/{Step-BWQnXZ9F.js → Step-BJh4XZae.js} +3 -3
- package/dist/{Summary-BxGf1dI5.js → Summary-BTDbRMfh.js} +5 -5
- package/dist/{Task-B5aOUY4b.js → Task-yQcY16x1.js} +6 -6
- package/dist/{TaskGroup-DJXCb94w.js → TaskGroup-C9iFHpux.js} +3 -3
- package/dist/{TaskListItem-0-jRJAy9.js → TaskListItem-ChlmCIfF.js} +7 -7
- package/dist/{TaskStepperContextProvider-DdcsqXT7.js → TaskStepperContextProvider-I7talGDO.js} +1 -1
- package/dist/{TaskVerificationStatus-DEXk_ndE.js → TaskVerificationStatus-Bd5Eftf2.js} +1 -1
- package/dist/{TaxInformationField-DUjQEF-s.js → TaxInformationField--Uhp0zLv.js} +3 -3
- package/dist/{TaxInformationFieldGroup-CrTl9kqF.js → TaxInformationFieldGroup-Dq0J9rBU.js} +4 -4
- package/dist/{TaxReportingDropin-DAdIs3_N.js → TaxReportingDropin-Cq3gBWtp.js} +8 -8
- package/dist/{TaxReportingWorkflow-P9mRynVj.js → TaxReportingWorkflow-flQPRAPy.js} +4 -4
- package/dist/{TermsOfServiceManagement-BnyyCgPN.js → TermsOfServiceManagement-BM5K4cpw.js} +7 -7
- package/dist/{TileGroup-DKwpyGqw.js → TileGroup-BFcSgQ1l.js} +1 -1
- package/dist/{ToastContextProvider-D2doAiSZ.js → ToastContextProvider-BSQ1Upl_.js} +2 -2
- package/dist/{TrustDetailsPage-CfjP1Q7K.js → TrustDetailsPage-z7s9FxVC.js} +20 -20
- package/dist/{TrustMemberCompanyPage-taBHdjIB.js → TrustMemberCompanyPage-tU2HTiDG.js} +3 -3
- package/dist/{TrustMemberIndividualPage-DdwlWwLJ.js → TrustMemberIndividualPage-BLBtnoSq.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-DAeIxczv.js → TrustMemberRoleAndTypePage-DIwrtOWr.js} +13 -13
- package/dist/{TrustMembersOverview-Bb_rf907.js → TrustMembersOverview-CowTgfIb.js} +14 -14
- package/dist/{UboTaskItem-RFRcZeJr.js → UboTaskItem-CZLDzQil.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-lWGiysru.js → UnincorporatedPartnershipIndividualPage-BT0j54-O.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js → UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js → UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js} +7 -7
- package/dist/{UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js → UnincorporatedPartnershipMembersOverview-5w1BrDMI.js} +7 -7
- package/dist/{VerificationErrorAlert-B-WILibe.js → VerificationErrorAlert-B6HmAZ0g.js} +1 -1
- package/dist/{Workflow-CymBPsE3.js → Workflow-CF-HUIjR.js} +5 -5
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +4 -4
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +18 -18
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +10 -10
- package/dist/adyen-verification-status.js +5 -5
- package/dist/{bafinUtils-DDrD6bfK.js → bafinUtils-RXELXyTR.js} +3 -3
- package/dist/{businessRegistrationNumberPatterns-Bd2bazr4.js → businessRegistrationNumberPatterns-pbrCVTTp.js} +1 -1
- package/dist/{constants-C7-xFqmm.js → constants-DAb_IqC6.js} +2 -2
- package/dist/{decision-maker-type-NR4GFAeT.js → decisionMaker-CR0qaGWQ.js} +1 -1
- package/dist/{decisionMakerRoles-C6LMC4mh.js → decisionMakerRoles-JEb0ON4e.js} +3 -3
- package/dist/{validate-D8sQbtil.js → documentUtils-CxjFpoJB.js} +9 -180
- package/dist/{dropinUtils-DaA6mmQp.js → dropinUtils-OsMsnnYG.js} +5 -5
- package/dist/{error-CQMSa-H_.js → error-DrzrPjvf.js} +1 -1
- package/dist/{getDefaultRegistrationNumberType-BzOpwR5x.js → getDefaultRegistrationNumberType-BNO2BcfK.js} +3 -3
- package/dist/{globalStore-WASei98w.js → globalStore--_np-9ON.js} +4 -4
- package/dist/{mapExistingFile-BrDc9SLg.js → mapExistingFile-RrS8dCpX.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Cs24QJ_x.js → mapLegalEntityToIndividualSchema-DtT3pcZJ.js} +17 -13
- package/dist/{view-verification-status-XSQs02td.js → onboardingStatus-B8UCsL8G.js} +1 -1
- package/dist/{processValidationErrors-DsZ6_OXy.js → processValidationErrors-CFU1x_1n.js} +1 -1
- package/dist/{resolveEnvironment-g21Gu4Y_.js → resolveEnvironment-CcCbs90B.js} +12 -12
- package/dist/{roleMetadata-CQeuOFRE.js → roleMetadata-CbgaYaH8.js} +4 -4
- package/dist/{get-scenarios-Bb-paHmJ.js → scenarios-nibtmpSb.js} +1 -1
- package/dist/{trustMemberGuidance-CgdU2v0j.js → trustMemberGuidance-BpeDHAJP.js} +1 -1
- package/dist/{trustUtil-5cyXiJnX.js → trustUtil-BG17fZ56.js} +2 -2
- package/dist/types/api/address/address.types.d.ts +3 -13
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -2
- package/dist/types/api/address/useSearchAddress.d.ts +1 -9
- package/dist/types/api/businessLines/businessLines.types.d.ts +6 -1
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +3 -15
- package/dist/types/api/check/useCheck.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +22 -1
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +5 -2
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +3 -0
- package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +1 -1
- package/dist/types/api/openId/openId.types.d.ts +2 -0
- package/dist/types/api/taxClassification/taxClassification.types.d.ts +4 -0
- package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +8 -1
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -2
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +3 -11
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
- package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -2145
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -2
- package/dist/types/components/Business/utils/utils.d.ts +2 -3
- package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +5 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
- package/dist/types/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.d.ts +2 -3
- package/dist/types/components/EFP/mapping/sourceOfFundsKeyMappings.d.ts +2 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +3 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +3 -4
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +2 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +2 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +2 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +22 -9
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -14
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -2
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual.types.d.ts +4 -5
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +1 -1
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +1 -1
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +5 -5
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +1 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +1 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/getAvailableRoles.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +1 -1
- package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
- package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +1 -1
- package/dist/types/hooks/useDataset.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -1
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -2
- package/dist/types/stores/globalStore/globalStore.d.ts +1 -2
- package/dist/types/types/form-configuration.d.ts +1 -1
- package/dist/types/types/form-rules.d.ts +1 -1
- package/dist/types/{core/models/api/get-scenarios.d.ts → types/scenarios.d.ts} +1 -1
- package/dist/types/{core/models/api/verification-status.d.ts → types/verificationStatus.d.ts} +2 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/api/processCapabilities.d.ts +1 -2
- package/dist/types/utils/api/useCapabilities.d.ts +2 -2
- package/dist/types/utils/datasetUtil.d.ts +1 -1
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/decisionMakerRoles.d.ts +2 -2
- package/dist/types/utils/entityAssociationUtil.d.ts +7 -1
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/utils/mapScriptLocalization.d.ts +9 -1
- package/dist/types/utils/roleMetadata.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{types-BA3bcGAv.js → types-D6p5FQF-.js} +1 -1
- package/dist/{unincorporated-partnership-DNTK5Y_5.js → unincorporatedPartnership-BbNowjM2.js} +1 -1
- package/dist/{useBusinessDetailsData-FHWhosZj.js → useBusinessDetailsData-dsYTeDom.js} +37 -37
- package/dist/{useCanSeeIntroduction-X0L-NhMZ.js → useCanSeeIntroduction-BLGY7sE-.js} +1 -1
- package/dist/{useDataset-BMitsLFp.js → useDataset-K19TDoyR.js} +1 -1
- package/dist/{useHideTaskStepper-Dk7ZQ3U8.js → useHideTaskStepper-C_w6iUY-.js} +1 -1
- package/dist/{useNavigate-BqrdWTzq.js → useNavigate-J0sRAAoI.js} +32 -32
- package/dist/{useScenarios-BfYE0clW.js → useScenarios-DV2TeNvN.js} +2 -2
- package/dist/{useTrustMembers-CurK1nMF.js → useTrustMembers-uhgi2qfN.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DLGY4jqB.js → useUnincorporatedPartnershipMembers-DVEWj1is.js} +2 -2
- package/dist/{utils-Dnwr-Kc0.js → utils-BLBh0VEd.js} +3 -3
- package/dist/{validate-C1ZPhUgV.js → validate-BBVJuFm5.js} +4 -4
- package/dist/validate-Bkpa-y5Q.js +180 -0
- package/dist/{validate-k6dACmjX.js → validate-Dmdw3pYn.js} +1 -1
- package/dist/{validateExtractionResult-D41PgEa-.js → validateExtractionResult-qkFkcrwl.js} +2 -2
- package/dist/{validationError-CLDQ0Qwt.js → validationError-DUn2rT0n.js} +1 -1
- package/package.json +1 -1
- package/dist/types/core/models/api/capability.d.ts +0 -59
- package/dist/types/core/models/api/contracts.d.ts +0 -44
- package/dist/types/core/models/api/instant-id-verification.d.ts +0 -36
- package/dist/types/core/models/api/legal-entity-association.d.ts +0 -8
- package/dist/types/core/models/api/openid-initiate.d.ts +0 -3
- package/dist/types/core/models/api/phone.d.ts +0 -6
- package/dist/types/core/models/api/scriptLocalization.d.ts +0 -9
- package/dist/types/core/models/api/source-of-funds.d.ts +0 -53
- package/dist/types/core/models/api/supporting-entity-capability.d.ts +0 -29
- package/dist/types/core/models/api/tax-reporting-classification.d.ts +0 -15
- /package/dist/types/{core/models/api/accountIdentification.d.ts → api/transferInstruments/accountIdentification.types.d.ts} +0 -0
- /package/dist/types/{core/models/api/data-set.d.ts → types/dataset.d.ts} +0 -0
- /package/dist/types/{core/models/api/decision-maker-type.d.ts → types/decisionMaker.d.ts} +0 -0
- /package/dist/types/{core/models/api/view-verification-status.d.ts → types/onboardingStatus.d.ts} +0 -0
- /package/dist/types/{core/models/api/trust-member-type.d.ts → types/trustMemberType.d.ts} +0 -0
- /package/dist/types/{core/models/api/unincorporated-partnership.d.ts → types/unincorporatedPartnership.d.ts} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e449d049-73f3-4417-8b4c-53bf8a2a1f13", e._sentryDebugIdIdentifier = "sentry-dbid-e449d049-73f3-4417-8b4c-53bf8a2a1f13");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
10
10
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
13
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { t as IndividualDropin } from "./IndividualDropin-D1UOavsw.js";
|
|
14
14
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
15
15
|
import register from "preact-custom-element";
|
|
16
16
|
import { useRef } from "preact/hooks";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c8c9f4a5-2a39-40e5-94ff-2748036d3f63", e._sentryDebugIdIdentifier = "sentry-dbid-c8c9f4a5-2a39-40e5-94ff-2748036d3f63");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
10
10
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
11
11
|
import { t as useOnboardingStatus } from "./useOnboardingStatus-CsGUjkm-.js";
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
12
|
+
import { t as EmbeddedStatus } from "./EmbeddedStatus-Keg7UojY.js";
|
|
13
|
+
import { t as OnboardingStatuses } from "./onboardingStatus-B8UCsL8G.js";
|
|
14
14
|
import register from "preact-custom-element";
|
|
15
15
|
import { useRef } from "preact/hooks";
|
|
16
16
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "729d62d4-46f0-4621-9cfc-3c262f5216ec", e._sentryDebugIdIdentifier = "sentry-dbid-729d62d4-46f0-4621-9cfc-3c262f5216ec");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
-
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-
|
|
5
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
6
|
+
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-hdQc0T7D.js";
|
|
7
7
|
import register from "preact-custom-element";
|
|
8
8
|
import { jsx } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/embeds/invited-decision-maker/adyen-invited-decision-maker.tsx
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea7a5ccb-7585-4d92-9605-76a462d6b491", e._sentryDebugIdIdentifier = "sentry-dbid-ea7a5ccb-7585-4d92-9605-76a462d6b491");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-DFQgr7dy.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
10
10
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
11
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
11
|
+
import { n as IconButton, t as Button } from "./Button-BxdC8cVB.js";
|
|
12
12
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
13
13
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
14
14
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
@@ -22,13 +22,13 @@ import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
|
22
22
|
import { i as TaskStatuses, n as TASK_STATUS_POLLING_INTERVAL_MS, t as TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
23
23
|
import { r as useSetting } from "./useAllowedCountries-qyvo-c6A.js";
|
|
24
24
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
25
|
-
import { n as Skeleton } from "./Accordion-
|
|
26
|
-
import { t as Alert } from "./Alert-
|
|
25
|
+
import { n as Skeleton } from "./Accordion-D_DOaWj2.js";
|
|
26
|
+
import { t as Alert } from "./Alert-BqbbDRYR.js";
|
|
27
27
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
28
28
|
import { a as getLegalRepresentative, c as getOwnSolePropProblems, f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CY0grcyH.js";
|
|
29
|
-
import { c as getOwnUnincorporatedPartnershipProblems, d as isInstantVerifiedAccount, i as useGlobalStore, l as isPartOfUnincorporatedPartnership, o as hasAllCapabilitiesResolved, r as useGetTaskStatus, s as hasRejectedCapabilities, u as getObscuredAccountNumber } from "./globalStore-
|
|
30
|
-
import { a as getOwnSignatories, i as getOwnDecisionMakersLegalEntityIds } from "./decisionMakerRoles-
|
|
31
|
-
import { i as getOwnTrustProblems, o as isPartOfTrustFromLegalEntity } from "./trustUtil-
|
|
29
|
+
import { c as getOwnUnincorporatedPartnershipProblems, d as isInstantVerifiedAccount, i as useGlobalStore, l as isPartOfUnincorporatedPartnership, o as hasAllCapabilitiesResolved, r as useGetTaskStatus, s as hasRejectedCapabilities, u as getObscuredAccountNumber } from "./globalStore--_np-9ON.js";
|
|
30
|
+
import { a as getOwnSignatories, i as getOwnDecisionMakersLegalEntityIds } from "./decisionMakerRoles-JEb0ON4e.js";
|
|
31
|
+
import { i as getOwnTrustProblems, o as isPartOfTrustFromLegalEntity } from "./trustUtil-BG17fZ56.js";
|
|
32
32
|
import { t as doesLegalEntityRequiresLegalRepresentative } from "./birthDateUtils-D6uk7zwm.js";
|
|
33
33
|
import { t as canShowAdaptivePoc } from "./utils-SKYT7xU4.js";
|
|
34
34
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
@@ -42,24 +42,24 @@ import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-huI
|
|
|
42
42
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DbJDklA2.js";
|
|
43
43
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
44
44
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
45
|
-
import { t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
45
|
+
import { t as useCanSeeIntroduction } from "./useCanSeeIntroduction-BLGY7sE-.js";
|
|
46
46
|
import { n as getDefaultAccountHolderType } from "./accountHolderUtils-CAu4V0ed.js";
|
|
47
47
|
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-ttUrk09_.js";
|
|
48
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
48
|
+
import { t as EndStateLayout } from "./EndStateLayout-GHEYl82p.js";
|
|
49
49
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
50
50
|
import { n as useCapabilityProblems } from "./getProblemsForEntity-BY_voJ99.js";
|
|
51
51
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
52
52
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DaJ3LZ2L.js";
|
|
53
53
|
import { t as useDeleteTransferInstrument } from "./useDeleteTransferInstrument-C10xzHiO.js";
|
|
54
|
-
import { t as TaskListItem } from "./TaskListItem-
|
|
55
|
-
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-
|
|
54
|
+
import { t as TaskListItem } from "./TaskListItem-ChlmCIfF.js";
|
|
55
|
+
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-CTGSdkW7.js";
|
|
56
56
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
57
57
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
58
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./
|
|
58
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-BbNowjM2.js";
|
|
59
59
|
import { t as isNewEntity } from "./isNewEntity-vML86iIM.js";
|
|
60
|
-
import { a as idNowPostSubmit, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-
|
|
61
|
-
import { A as UnincorporatedPartnershipMemberRoleAndTypePage, C as TrustDetailsPage, D as TrustMembersOverview, E as TrustMemberRoleAndTypePage, M as getDefaultTask, O as UnincorporatedPartnershipIndividualPage, S as TaxReportingDropin, T as TrustMemberIndividualPage, _ as RootIndividualDetailsPage, a as BusinessTypeSelectionPage, b as SoleProprietorshipPage, c as DecisionMakers, d as LegalRepresentativeDetailsPage, f as PayoutDetailsPage, g as RootBusinessLinesPage, h as RootBusinessDetailsPage, i as BusinessFinancingPage, j as UnincorporatedPartnershipMembersOverview, k as UnincorporatedPartnershipMemberCompanyPage, l as GlobalEntryPage, m as Review, n as AcceptTermsOfService, o as CustomerSupport, p as ROUTE_PATHS, r as AccountSetupRejected, s as DecisionMakerDetailsPage, t as useNavigate, u as Introduction, v as SignPCIComponent, w as TrustMemberCompanyPage, x as SourceOfFundsPage, y as SingpassSelection } from "./useNavigate-
|
|
62
|
-
import { t as useTrustMembers } from "./useTrustMembers-
|
|
60
|
+
import { a as idNowPostSubmit, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-RXELXyTR.js";
|
|
61
|
+
import { A as UnincorporatedPartnershipMemberRoleAndTypePage, C as TrustDetailsPage, D as TrustMembersOverview, E as TrustMemberRoleAndTypePage, M as getDefaultTask, O as UnincorporatedPartnershipIndividualPage, S as TaxReportingDropin, T as TrustMemberIndividualPage, _ as RootIndividualDetailsPage, a as BusinessTypeSelectionPage, b as SoleProprietorshipPage, c as DecisionMakers, d as LegalRepresentativeDetailsPage, f as PayoutDetailsPage, g as RootBusinessLinesPage, h as RootBusinessDetailsPage, i as BusinessFinancingPage, j as UnincorporatedPartnershipMembersOverview, k as UnincorporatedPartnershipMemberCompanyPage, l as GlobalEntryPage, m as Review, n as AcceptTermsOfService, o as CustomerSupport, p as ROUTE_PATHS, r as AccountSetupRejected, s as DecisionMakerDetailsPage, t as useNavigate, u as Introduction, v as SignPCIComponent, w as TrustMemberCompanyPage, x as SourceOfFundsPage, y as SingpassSelection } from "./useNavigate-J0sRAAoI.js";
|
|
62
|
+
import { t as useTrustMembers } from "./useTrustMembers-uhgi2qfN.js";
|
|
63
63
|
import register from "preact-custom-element";
|
|
64
64
|
import { Suspense, lazy } from "preact/compat";
|
|
65
65
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -1724,7 +1724,7 @@ function WouterDropinComposerInner({ legalEntityResponse, onSubmit, onNavigate =
|
|
|
1724
1724
|
}
|
|
1725
1725
|
//#endregion
|
|
1726
1726
|
//#region src/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.tsx
|
|
1727
|
-
var AdaptiveWorkflowComponent = lazy(async () => (await import("./AdaptiveWorkflowComponent-
|
|
1727
|
+
var AdaptiveWorkflowComponent = lazy(async () => (await import("./AdaptiveWorkflowComponent-C4Q6NVtv.js")).AdaptiveWorkflowComponent);
|
|
1728
1728
|
function OnboardingDropinComponent({ legalEntityId, openBankingPartnerConfigId }) {
|
|
1729
1729
|
const { isFeatureEnabled } = useToggleContext();
|
|
1730
1730
|
if (!legalEntityId) throw new Error("Must provide at-least legalEntityId");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "76188a61-cee8-435e-97b4-bbcd37f1b015", e._sentryDebugIdIdentifier = "sentry-dbid-76188a61-cee8-435e-97b4-bbcd37f1b015");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
5
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
7
|
-
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-
|
|
7
|
+
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-BM5K4cpw.js";
|
|
8
8
|
import register from "preact-custom-element";
|
|
9
9
|
import { useRef } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6e7ed64d-ba1c-4bf1-9694-dcbe81993253", e._sentryDebugIdIdentifier = "sentry-dbid-6e7ed64d-ba1c-4bf1-9694-dcbe81993253");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
9
9
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DbJDklA2.js";
|
|
10
10
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
11
|
-
import { t as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { t as EmbeddedStatus } from "./EmbeddedStatus-Keg7UojY.js";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
13
|
import { useRef } from "preact/hooks";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "924eebdb-f5e0-4575-893d-a9254accb0dd", e._sentryDebugIdIdentifier = "sentry-dbid-924eebdb-f5e0-4575-893d-a9254accb0dd");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
10
10
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
11
11
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
12
|
-
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
12
|
+
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-NyizAaYy.js";
|
|
13
13
|
import register from "preact-custom-element";
|
|
14
14
|
import { useRef, useState } from "preact/hooks";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66db2553-002d-49b1-b95d-268183963e08", e._sentryDebugIdIdentifier = "sentry-dbid-66db2553-002d-49b1-b95d-268183963e08");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
11
11
|
import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
|
|
12
12
|
import { o as entriesOf, t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
13
13
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
14
14
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
15
|
-
import { t as useDataset } from "./useDataset-
|
|
15
|
+
import { t as useDataset } from "./useDataset-K19TDoyR.js";
|
|
16
16
|
import { n as datasetUtilities, t as datasetIdentifier } from "./datasetUtil-BdHPWsxZ.js";
|
|
17
|
-
import { t as Alert } from "./Alert-
|
|
17
|
+
import { t as Alert } from "./Alert-BqbbDRYR.js";
|
|
18
18
|
import { n as getCapabilityProblems } from "./processCapabilities-CWE5UFt8.js";
|
|
19
19
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
20
20
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
21
21
|
import { t as useDeleteTransferInstrument } from "./useDeleteTransferInstrument-C10xzHiO.js";
|
|
22
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
23
|
-
import { t as Modal } from "./Modal-
|
|
24
|
-
import { t as Confirm } from "./Confirm-
|
|
22
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-B6HmAZ0g.js";
|
|
23
|
+
import { t as Modal } from "./Modal-Dq44ZUNN.js";
|
|
24
|
+
import { t as Confirm } from "./Confirm-DjFpxSzC.js";
|
|
25
25
|
import { t as StructuredList } from "./StructuredList-BHUmeWeh.js";
|
|
26
26
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
27
27
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
28
|
-
import { n as statusToTag, t as EmbeddedStatus } from "./EmbeddedStatus-
|
|
28
|
+
import { n as statusToTag, t as EmbeddedStatus } from "./EmbeddedStatus-Keg7UojY.js";
|
|
29
29
|
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-BpXU-nP1.js";
|
|
30
|
-
import { t as currencyByCountry } from "./types-
|
|
30
|
+
import { t as currencyByCountry } from "./types-D6p5FQF-.js";
|
|
31
31
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
32
32
|
import register from "preact-custom-element";
|
|
33
33
|
import { useRef, useState } from "preact/hooks";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb214a55-b971-4dd3-ad1d-70c387e23def", e._sentryDebugIdIdentifier = "sentry-dbid-fb214a55-b971-4dd3-ad1d-70c387e23def");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
10
10
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
12
|
-
import { t as Alert } from "./Alert-
|
|
12
|
+
import { t as Alert } from "./Alert-BqbbDRYR.js";
|
|
13
13
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
14
14
|
import { t as useOnboardingStatus } from "./useOnboardingStatus-CsGUjkm-.js";
|
|
15
|
-
import { t as OnboardingStatuses } from "./
|
|
15
|
+
import { t as OnboardingStatuses } from "./onboardingStatus-B8UCsL8G.js";
|
|
16
16
|
import register from "preact-custom-element";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f50d17ea-ef59-4029-ab68-c838dbcb6d14", e._sentryDebugIdIdentifier = "sentry-dbid-f50d17ea-ef59-4029-ab68-c838dbcb6d14");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
6
|
-
import { t as DecisionMakerTypes } from "./
|
|
7
|
-
import { t as Scenarios } from "./
|
|
6
|
+
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
7
|
+
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
8
8
|
import { computed, signal } from "@preact/signals";
|
|
9
9
|
//#region src/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.ts
|
|
10
10
|
var showIdNowModal = signal(false);
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aa5bf553-6f83-485f-a2d2-a504d59e8c20", e._sentryDebugIdIdentifier = "sentry-dbid-aa5bf553-6f83-485f-a2d2-a504d59e8c20");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-
|
|
6
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-CkDwzLxe.js";
|
|
7
7
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
8
8
|
//#region src/types/datasets/state-code.ts
|
|
9
9
|
var StateCodesUS = {
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b10c93fe-1fe4-49e4-9a6d-2ffe3b640d6d", e._sentryDebugIdIdentifier = "sentry-dbid-b10c93fe-1fe4-49e4-9a6d-2ffe3b640d6d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { n as IconButton } from "./Button-
|
|
6
|
+
import { n as IconButton } from "./Button-BxdC8cVB.js";
|
|
7
7
|
import { y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
8
8
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
9
9
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
10
|
-
import { t as Field } from "./Field-
|
|
10
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
11
11
|
import { t as Select } from "./Select-prMx73V9.js";
|
|
12
12
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "256351d2-61e7-4301-8224-1dd75071100b", e._sentryDebugIdIdentifier = "sentry-dbid-256351d2-61e7-4301-8224-1dd75071100b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var DecisionMakerTypes = {
|
|
6
6
|
CONTROLLING_PERSON: "uboThroughControl",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7b674833-32fd-455d-b21d-813aa3eee890", e._sentryDebugIdIdentifier = "sentry-dbid-7b674833-32fd-455d-b21d-813aa3eee890");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
6
6
|
import { i as getDirectEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
|
|
7
|
-
import { t as DecisionMakerTypes } from "./
|
|
8
|
-
import { t as Scenarios } from "./
|
|
7
|
+
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
8
|
+
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
9
9
|
//#region src/utils/decisionMaker.ts
|
|
10
10
|
var DEFAULT_DECISION_MAKER_REQUIREMENTS = [
|
|
11
11
|
{
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "01c394ee-ce06-4f48-aa27-0eb995f649d2", e._sentryDebugIdIdentifier = "sentry-dbid-01c394ee-ce06-4f48-aa27-0eb995f649d2");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
5
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Icon } from "./Icon-4XR6gZzk.js";
|
|
8
|
-
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
-
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
10
|
-
import { n as IconButton } from "./Button-DpPFIUJx.js";
|
|
11
6
|
import { n as httpGet, r as httpPost, t as httpDelete } from "./http-DsJtugN1.js";
|
|
12
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
13
|
-
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
14
|
-
import { useEffect } from "preact/hooks";
|
|
15
|
-
import cx from "classnames";
|
|
16
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
17
8
|
import "@tanstack/preact-query";
|
|
18
9
|
//#region src/api/documents/useCreateDocument.ts
|
|
19
10
|
var createDocument = async (context, document, ownerId) => {
|
|
@@ -127,10 +118,12 @@ var fetchDocuments = async (documentDetails, entityId) => {
|
|
|
127
118
|
documentStore[entityId] = [];
|
|
128
119
|
entityDocuments.forEach((document) => {
|
|
129
120
|
const id = document.owner?.id;
|
|
130
|
-
if (id)
|
|
131
|
-
|
|
121
|
+
if (id) {
|
|
122
|
+
if (!documentStore[id]) documentStore[id] = [];
|
|
123
|
+
documentStore[id].push(document);
|
|
124
|
+
} else logger.error("Document has no `owner.id`", document);
|
|
132
125
|
});
|
|
133
|
-
return documentStore[entityId];
|
|
126
|
+
return documentStore[entityId] ?? [];
|
|
134
127
|
};
|
|
135
128
|
var fetchDocument = async (documentDetail) => {
|
|
136
129
|
if (!documentDetail.id || !documentDetail.modificationDate) throw new Error("Document detail is missing required fields");
|
|
@@ -189,7 +182,8 @@ var getDocuments = (entityId, documentType) => {
|
|
|
189
182
|
if (!entityId) return [];
|
|
190
183
|
return documentStore[entityId]?.filter((document) => document.type === documentType) ?? [];
|
|
191
184
|
};
|
|
192
|
-
var
|
|
185
|
+
var isIdDocumentType = (documentType) => idTypes.includes(documentType);
|
|
186
|
+
var getIdDocument = (entityId) => documentStore[entityId]?.find((document) => isIdDocumentType(document.type));
|
|
193
187
|
var createDocumentRequest = async ({ entityId, entityType, documentType, page1, page2, description, existingDocument }) => {
|
|
194
188
|
const pagesToUpload = [page1, page2].filter((page) => page !== void 0 && isNewlyUploadedFile(page));
|
|
195
189
|
const [page1ToUpload, page2ToUpload] = pagesToUpload;
|
|
@@ -262,169 +256,4 @@ var mergeProofOfOwnershipAttachments = (existing, incoming) => {
|
|
|
262
256
|
return [...incoming, ...filteredExisting].slice(0, 2);
|
|
263
257
|
};
|
|
264
258
|
//#endregion
|
|
265
|
-
|
|
266
|
-
function bytesToSize(bytes) {
|
|
267
|
-
const sizes = [
|
|
268
|
-
"Bytes",
|
|
269
|
-
"KB",
|
|
270
|
-
"MB",
|
|
271
|
-
"GB",
|
|
272
|
-
"TB"
|
|
273
|
-
];
|
|
274
|
-
if (bytes === 0) return "n/a";
|
|
275
|
-
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
276
|
-
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
277
|
-
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
278
|
-
}
|
|
279
|
-
var DropzoneFile_module_default = {
|
|
280
|
-
"dropzone-file": "_dropzone-file_1hbeu_1",
|
|
281
|
-
dropzoneFile: "_dropzone-file_1hbeu_1",
|
|
282
|
-
"dropzone-file-error": "_dropzone-file-error_1hbeu_13",
|
|
283
|
-
dropzoneFileError: "_dropzone-file-error_1hbeu_13",
|
|
284
|
-
"dropzone-file-icon": "_dropzone-file-icon_1hbeu_16",
|
|
285
|
-
dropzoneFileIcon: "_dropzone-file-icon_1hbeu_16",
|
|
286
|
-
"dropzone-file-labels": "_dropzone-file-labels_1hbeu_30",
|
|
287
|
-
dropzoneFileLabels: "_dropzone-file-labels_1hbeu_30",
|
|
288
|
-
"dropzone-file-name": "_dropzone-file-name_1hbeu_36",
|
|
289
|
-
dropzoneFileName: "_dropzone-file-name_1hbeu_36",
|
|
290
|
-
"dropzone-file-size": "_dropzone-file-size_1hbeu_43",
|
|
291
|
-
dropzoneFileSize: "_dropzone-file-size_1hbeu_43",
|
|
292
|
-
"dropzone-file-error-message": "_dropzone-file-error-message_1hbeu_47",
|
|
293
|
-
dropzoneFileErrorMessage: "_dropzone-file-error-message_1hbeu_47"
|
|
294
|
-
};
|
|
295
|
-
//#endregion
|
|
296
|
-
//#region src/components/ui/molecules/Dropzone/DropzoneFile.tsx
|
|
297
|
-
function DropzoneFile(props) {
|
|
298
|
-
const { file, errorMessage, onDelete, loading } = props;
|
|
299
|
-
const { t } = useTranslation("common");
|
|
300
|
-
const userEvents = useAnalyticsContext();
|
|
301
|
-
let documentIcon;
|
|
302
|
-
const formatSize = (bytes) => {
|
|
303
|
-
const sizes = [
|
|
304
|
-
"Bytes",
|
|
305
|
-
"KB",
|
|
306
|
-
"MB",
|
|
307
|
-
"GB",
|
|
308
|
-
"TB"
|
|
309
|
-
];
|
|
310
|
-
if (!bytes || bytes === 0) return "n/a";
|
|
311
|
-
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
312
|
-
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
313
|
-
return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
|
|
314
|
-
};
|
|
315
|
-
switch (file.type?.split("/")[0]) {
|
|
316
|
-
case "image":
|
|
317
|
-
documentIcon = "image";
|
|
318
|
-
break;
|
|
319
|
-
default: documentIcon = "document";
|
|
320
|
-
}
|
|
321
|
-
useEffect(() => {
|
|
322
|
-
if (!errorMessage) return;
|
|
323
|
-
userEvents.addFieldEvent("Encountered error", {
|
|
324
|
-
actionType: "change",
|
|
325
|
-
field: "dropzone file",
|
|
326
|
-
returnType: "validation",
|
|
327
|
-
returnValue: errorMessage
|
|
328
|
-
});
|
|
329
|
-
}, [errorMessage, userEvents]);
|
|
330
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
331
|
-
className: cx(DropzoneFile_module_default.dropzoneFile, { [DropzoneFile_module_default.dropzoneFileError]: errorMessage }),
|
|
332
|
-
children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
|
|
333
|
-
className: DropzoneFile_module_default.dropzoneFileLabels,
|
|
334
|
-
children: [
|
|
335
|
-
errorMessage ? /* @__PURE__ */ jsx(Icon, {
|
|
336
|
-
testId: "document-invalid",
|
|
337
|
-
name: "warning",
|
|
338
|
-
className: DropzoneFile_module_default.dropzoneFileIcon
|
|
339
|
-
}) : /* @__PURE__ */ jsx(Icon, {
|
|
340
|
-
testId: "document-valid",
|
|
341
|
-
name: documentIcon,
|
|
342
|
-
className: DropzoneFile_module_default.dropzoneFileIcon
|
|
343
|
-
}),
|
|
344
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
345
|
-
variant: "body-stronger",
|
|
346
|
-
className: DropzoneFile_module_default.dropzoneFileName,
|
|
347
|
-
children: file.name
|
|
348
|
-
}),
|
|
349
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
350
|
-
className: DropzoneFile_module_default.dropzoneFileSize,
|
|
351
|
-
children: isNewlyUploadedFile(file) && formatSize(file.size)
|
|
352
|
-
})
|
|
353
|
-
]
|
|
354
|
-
}), errorMessage && /* @__PURE__ */ jsx("div", {
|
|
355
|
-
className: DropzoneFile_module_default.dropzoneFileErrorMessage,
|
|
356
|
-
children: t(($) => $[errorMessage])
|
|
357
|
-
})] }), loading ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(IconButton, {
|
|
358
|
-
ariaLabel: t(($) => $["close"]),
|
|
359
|
-
icon: "cross",
|
|
360
|
-
variant: "tertiary",
|
|
361
|
-
onClick: onDelete
|
|
362
|
-
}) : /* @__PURE__ */ jsx(IconButton, {
|
|
363
|
-
ariaLabel: t(($) => $["deleteDocument"]),
|
|
364
|
-
icon: "bin",
|
|
365
|
-
variant: "tertiary",
|
|
366
|
-
onClick: onDelete
|
|
367
|
-
})]
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
//#endregion
|
|
371
|
-
//#region src/utils/hasDuplicates.ts
|
|
372
|
-
var hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
|
|
373
|
-
//#endregion
|
|
374
|
-
//#region src/components/ui/molecules/Dropzone/validate.ts
|
|
375
|
-
var defaultFileValidationOptions = {
|
|
376
|
-
allowedFileTypes: [
|
|
377
|
-
"JPG",
|
|
378
|
-
"JPEG",
|
|
379
|
-
"PNG",
|
|
380
|
-
"PDF"
|
|
381
|
-
],
|
|
382
|
-
maxNumberOfFiles: 1,
|
|
383
|
-
maxSize: 4194304,
|
|
384
|
-
isOptional: false
|
|
385
|
-
};
|
|
386
|
-
var filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
|
|
387
|
-
var fileValidationRules = ({ allowedFileTypes, maxNumberOfFiles, maxSize, isOptional }) => [
|
|
388
|
-
{
|
|
389
|
-
validate: (files) => {
|
|
390
|
-
if (isOptional && (!files || files.length === 0)) return true;
|
|
391
|
-
return Boolean(files && files.length > 0);
|
|
392
|
-
},
|
|
393
|
-
errorMessage: "fieldIsRequired",
|
|
394
|
-
modes: ["blur", "input"]
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
validate: (files) => {
|
|
398
|
-
if (!files) return true;
|
|
399
|
-
return files.length <= maxNumberOfFiles;
|
|
400
|
-
},
|
|
401
|
-
errorMessage: "tooManyFiles",
|
|
402
|
-
modes: ["blur", "input"]
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
validate: (files) => {
|
|
406
|
-
if (!files) return true;
|
|
407
|
-
return !hasDuplicates(files.map((file) => file.name));
|
|
408
|
-
},
|
|
409
|
-
errorMessage: "duplicatedFiles",
|
|
410
|
-
modes: ["blur", "input"]
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
validate: (files) => {
|
|
414
|
-
if (!files) return true;
|
|
415
|
-
return filterOnlyNewlyUploadedFiles(files).every((file) => allowedFileTypes.some((filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())));
|
|
416
|
-
},
|
|
417
|
-
errorMessage: "unsupportedFiletype",
|
|
418
|
-
modes: ["blur", "input"]
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
validate: (files) => {
|
|
422
|
-
if (!files) return true;
|
|
423
|
-
return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
|
|
424
|
-
},
|
|
425
|
-
errorMessage: "maximumFileSizeExceeded",
|
|
426
|
-
modes: ["blur", "input"]
|
|
427
|
-
}
|
|
428
|
-
];
|
|
429
|
-
//#endregion
|
|
430
|
-
export { createDocumentRequest as a, getDocuments as c, mergeAttachments as d, mergeProofOfOwnershipAttachments as f, bytesToSize as i, getFileExtention as l, fileValidationRules as n, documentApiUtils as o, getLocalizedIdDocumentTypeOptions as p, DropzoneFile as r, getDocument as s, defaultFileValidationOptions as t, getIdDocument as u };
|
|
259
|
+
export { getFileExtention as a, mergeAttachments as c, isNewlyUploadedFile as d, getDocuments as i, mergeProofOfOwnershipAttachments as l, documentApiUtils as n, getIdDocument as o, getDocument as r, isIdDocumentType as s, createDocumentRequest as t, getLocalizedIdDocumentTypeOptions as u };
|
|
@@ -4,14 +4,14 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
8
8
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
9
9
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
10
|
-
import { t as Confirm } from "./Confirm-
|
|
10
|
+
import { t as Confirm } from "./Confirm-DjFpxSzC.js";
|
|
11
11
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
12
|
-
import { r as FormRouterContext } from "./ErrorPanel-
|
|
13
|
-
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-
|
|
14
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
12
|
+
import { r as FormRouterContext } from "./ErrorPanel-PefRq1M4.js";
|
|
13
|
+
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-BTDbRMfh.js";
|
|
14
|
+
import { t as MaybeModal } from "./MaybeModal-Dfm1rIUG.js";
|
|
15
15
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
16
16
|
import { t as FormFlow_module_default } from "./FormFlow.module-DqMxjYHl.js";
|
|
17
17
|
import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0fcd8549-6e9d-4435-81ec-f14ab78932d0", e._sentryDebugIdIdentifier = "sentry-dbid-0fcd8549-6e9d-4435-81ec-f14ab78932d0");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
6
|
-
import { r as isValueObscured } from "./MaskedInput-
|
|
6
|
+
import { r as isValueObscured } from "./MaskedInput-CkDwzLxe.js";
|
|
7
7
|
import { i as getProp, n as deleteProp } from "./utils-DdHbAadK.js";
|
|
8
8
|
//#region src/utils/omitObscuredFieldsIfUnchanged.ts
|
|
9
9
|
var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
@@ -4,10 +4,10 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-
|
|
8
|
-
import { n as businessRegistrationNumberMasks, r as stateFormatGuidanceText, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-
|
|
7
|
+
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-CkDwzLxe.js";
|
|
8
|
+
import { n as businessRegistrationNumberMasks, r as stateFormatGuidanceText, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-pbrCVTTp.js";
|
|
9
9
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
10
|
-
import { t as Field } from "./Field-
|
|
10
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
11
11
|
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
12
12
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|