@adyen/kyc-components 4.24.1 → 4.25.0-beta.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/{AcceptTermsOfServiceWorkflow-CyMefc3t.js → AcceptTermsOfServiceWorkflow-DVUes-ba.js} +2 -2
- package/dist/{AccountSetupRejected-D63dyojj.js → AccountSetupRejected-B19onnyG.js} +1 -1
- package/dist/{AdaptiveWorkflow-DC4QviLh.js → AdaptiveWorkflow-q5TVr4ET.js} +1 -1
- package/dist/{AdaptiveWorkflowComponent-CsNPizq0.js → AdaptiveWorkflowComponent-CBxlKnJq.js} +54 -54
- package/dist/{AddressFields-BeeqIqdc.js → AddressFields-DR4xhVNv.js} +9 -9
- package/dist/{Alert-Cc7p0N5h.js → Alert-Bv9M3wLb.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYJS13vd.js → BusinessFinancingDropin-B71xoa3g.js} +95 -57
- package/dist/{BusinessFinancingPage-DbTrQ1kt.js → BusinessFinancingPage-DlttycNJ.js} +27 -27
- package/dist/{BusinessRegistrationNumberField-DKka8aVU.js → BusinessRegistrationNumberField-CpRV1Keg.js} +4 -4
- package/dist/{BusinessRegistrationNumberFieldGroup-Df6_sDA0.js → BusinessRegistrationNumberFieldGroup-BBOUoIDC.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C0xUipfe.js → BusinessTypeSelectionPage-DiZhzyXz.js} +7 -7
- package/dist/{Button-DPJ1k02w.js → Button-DpPFIUJx.js} +34 -29
- package/dist/{ComponentGroup-Cw_2w0Rf.js → ComponentGroup-BcVd3jTE.js} +1 -1
- package/dist/{Confirm-DoN9R9Z3.js → Confirm-D8WH4e1L.js} +2 -2
- package/dist/{ConstitutionalDocument-Bbo7P_gi.js → ConstitutionalDocument-BBXjyAH3.js} +14 -14
- package/dist/{ContactDetails-CUjFd94x.js → ContactDetails-e8rkZO7f.js} +6 -6
- package/dist/{ContextGuidance-BQPwRscq.js → ContextGuidance-DPPaigJE.js} +1 -1
- package/dist/{CountryField-DT6-Jr_b.js → CountryField-C7eHHmYk.js} +4 -4
- package/dist/{Currency-C-sSDMn7.js → Currency-BEr0RDjy.js} +83 -6
- package/dist/{CustomerSupport-C2DrnwDs.js → CustomerSupport-DVMEfZdZ.js} +6 -6
- package/dist/{DataConflictsModal-CCaMgguu.js → DataConflictsModal-BqfTUq4v.js} +6 -6
- package/dist/{DebugModal-QeIdCXu5.js → DebugModal-CGPSu2md.js} +16 -16
- package/dist/{DecisionMakerDetails-Dhi6hsrv.js → DecisionMakerDetails-mi5oGeCi.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DLgKrPA3.js → DecisionMakerDetailsPage-BUvvs6i9.js} +28 -28
- package/dist/{DecisionMakers-B6Qd9fuT.js → DecisionMakers-B2dpzHQ-.js} +32 -32
- package/dist/{Dropzone-BhMYy4nr.js → Dropzone-DAKOThpd.js} +4 -4
- package/dist/{EndStateLayout-zZPm8S5M.js → EndStateLayout-BOdEeTDy.js} +9 -9
- package/dist/{EntityAssociation-C2_Xuvf5.js → EntityAssociation-ty8DqPkJ.js} +5 -5
- package/dist/{ErrorPanel-D4JNFkvi.js → ErrorPanel-D1ygAX21.js} +2 -2
- package/dist/{Field-DwDJQVSS.js → Field-CBvXkDKh.js} +1 -1
- package/dist/{GlobalEntryModal-iZSUeMQf.js → GlobalEntryModal-DLC7METR.js} +783 -86
- package/dist/{GlobalEntryPage-w4KJOeYb.js → GlobalEntryPage-C2vMcR6i.js} +28 -28
- package/dist/{IdentityNumber-3V6ZqvHB.js → IdentityNumber-DhO403_T.js} +6 -6
- package/dist/{IdentityNumberFieldGroup-CAjlgTWn.js → IdentityNumberFieldGroup-CqAj0moi.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bx89cmUF.js → IdentityScreeningWorkflow-Dm2p1_2e.js} +7 -7
- package/dist/{IndividualDropin-BgOmBeoT.js → IndividualDropin-CKnMrjDj.js} +161 -54
- package/dist/{IndustryCodeFieldGroup-BDtoeaUz.js → IndustryCodeFieldGroup-DEYxiu_j.js} +4 -4
- package/dist/{InputDate-ANdv1rKt.js → InputDate-B0RNGCq2.js} +2 -3
- package/dist/{InputText-CFDEmEtp.js → InputText-CwPK55J0.js} +1 -1
- package/dist/{Introduction-D8hMB7Wb.js → Introduction-CTVUoae1.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-DZZe5Ruk.js → InvitedDecisionMakerComponent-XVUjKp4X.js} +55 -55
- package/dist/{JpAddressFields-BIh4120-.js → JpAddressFields-DWDTt4lQ.js} +5 -5
- package/dist/{LegalCompanyNameField-Cosyjk52.js → LegalCompanyNameField-C3zITaw1.js} +3 -3
- package/dist/{LegalName-CtqIpsfy.js → LegalName-DsYl9ReT.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Mpm8AjdQ.js → LegalRepresentativeDetailsPage-CYHPpiXJ.js} +28 -28
- package/dist/{maskHelpers-C0wnCoJl.js → MaskedInput-W1FzWAVl.js} +68 -68
- package/dist/{MaybeModal-C4ySaA8A.js → MaybeModal-DJ-s5rk2.js} +2 -2
- package/dist/{Modal-CHES6970.js → Modal-DeXa4MBg.js} +1 -1
- package/dist/{Name-CdCsijr5.js → Name-C1GAvkWn.js} +4 -4
- package/dist/{NewSummary-D55f70wB.js → NewSummary-C9CV9wJk.js} +4 -4
- package/dist/{NodeRenderer-smgxe7Ni.js → NodeRenderer-CnaWNStD.js} +15 -15
- package/dist/{PatriotActDisclosure-DA6nqTmC.js → PatriotActDisclosure-CnVpPsAg.js} +8 -8
- package/dist/{PayoutDetailsDropin-CPK9u_TO.js → PayoutDetailsDropin-BPms6ZOq.js} +32 -32
- package/dist/{PayoutDetailsPage-LH-4BMk7.js → PayoutDetailsPage-BTBHMzw7.js} +3 -3
- package/dist/{RadioGroup-Bf3DlQnZ.js → RadioGroup-CY33MT83.js} +2 -2
- package/dist/{RadioWithLabel-DQIOEYpF.js → RadioWithLabel-BmUFWDxq.js} +1 -1
- package/dist/{Review-9sjGKoQu.js → Review-CGI0RQO6.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DRN6p6wB.js → RootBusinessDetailsPage-BswHBSIN.js} +1 -1
- package/dist/{RootBusinessLinesPage-uxn9f5K8.js → RootBusinessLinesPage-BQxhfHmx.js} +18 -18
- package/dist/{RootIndividualDetailsPage-BDoKkhcN.js → RootIndividualDetailsPage-CFxtnnY4.js} +28 -28
- package/dist/{Select-phAxjMBQ.js → Select-prMx73V9.js} +35 -36
- package/dist/{SignPCIComponent-BNlTxxJz.js → SignPCIComponent-B1kmyOe5.js} +34 -34
- package/dist/{SingpassSelection-B6_DsZtn.js → SingpassSelection-GiZOYWUI.js} +4 -4
- package/dist/{SoleProprietorshipPage-Dx-pfSwo.js → SoleProprietorshipPage-D84M0iEW.js} +1 -1
- package/dist/{SourceOfFundsPage-ChO-R9o4.js → SourceOfFundsPage-B0SzrryD.js} +22 -22
- package/dist/{SourceOfFundsWorkflow-DuU_n82x.js → SourceOfFundsWorkflow-j-GhdsMt.js} +2 -2
- package/dist/{StateField-BpMwetvd.js → StateField-BYoE_vV0.js} +5 -5
- package/dist/{Step-CctAUYbs.js → Step-BWQnXZ9F.js} +2 -2
- package/dist/{StructuredList-nPasiuLi.js → StructuredList-BHUmeWeh.js} +1 -1
- package/dist/{Summary-DM31WxLr.js → Summary-BxGf1dI5.js} +6 -6
- package/dist/{Task-C12uuPWD.js → Task-B5aOUY4b.js} +23 -14
- package/dist/{TaskGroup-z3ONGLnB.js → TaskGroup-DJXCb94w.js} +1 -1
- package/dist/{TaskListItem-Dx3hKOqG.js → TaskListItem-0-jRJAy9.js} +4 -4
- package/dist/{TaxInformationField-Cc-NDAVo.js → TaxInformationField-DUjQEF-s.js} +4 -4
- package/dist/{TaxInformationFieldGroup-DI2LzuNr.js → TaxInformationFieldGroup-CrTl9kqF.js} +5 -5
- package/dist/{TaxReportingDropin-LNgisxBc.js → TaxReportingDropin-DAdIs3_N.js} +8 -8
- package/dist/{TaxReportingWorkflow-9_9ECX6A.js → TaxReportingWorkflow-P9mRynVj.js} +2 -2
- package/dist/{TermsOfServiceManagement-BGrBal0j.js → TermsOfServiceManagement-BnyyCgPN.js} +34 -34
- package/dist/{TextArea-qGEo3PFG.js → TextArea-C12oXMzX.js} +1 -1
- package/dist/{TileGroup-D1-M64Ul.js → TileGroup-DKwpyGqw.js} +1 -1
- package/dist/{ToastContextProvider-DjYKMflX.js → ToastContextProvider-D2doAiSZ.js} +1 -1
- package/dist/{TrustDetailsPage-cx6yEd6Q.js → TrustDetailsPage-CfjP1Q7K.js} +25 -25
- package/dist/{TrustMemberCompanyPage-DZh9Wn9-.js → TrustMemberCompanyPage-taBHdjIB.js} +3 -3
- package/dist/{TrustMemberIndividualPage--tTWII4G.js → TrustMemberIndividualPage-DdwlWwLJ.js} +28 -28
- package/dist/{TrustMemberRoleAndTypePage-DEzesajA.js → TrustMemberRoleAndTypePage-DAeIxczv.js} +15 -17
- package/dist/{TrustMembersOverview-BpJGWVT5.js → TrustMembersOverview-Bb_rf907.js} +7 -7
- package/dist/{UboTaskItem-DP5LOGom.js → UboTaskItem-RFRcZeJr.js} +23 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DelW_XAz.js → UnincorporatedPartnershipIndividualPage-lWGiysru.js} +28 -28
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js → UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BBeans9j.js → UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js} +5 -5
- package/dist/{VerificationErrorAlert-CixajVtq.js → VerificationErrorAlert-B-WILibe.js} +1 -1
- package/dist/{Workflow-BJbKhY38.js → Workflow-CymBPsE3.js} +27 -17
- package/dist/adyen-business-financing.js +33 -31
- package/dist/adyen-individual-configuration.js +57 -55
- package/dist/adyen-individual-status.js +31 -29
- package/dist/adyen-invited-decision-maker.js +7 -5
- package/dist/adyen-onboarding.js +41 -39
- package/dist/adyen-terms-of-service-management.js +6 -4
- package/dist/adyen-terms-of-service-status.js +6 -4
- package/dist/adyen-transfer-instrument-configuration.js +31 -29
- package/dist/adyen-transfer-instrument-management.js +39 -37
- package/dist/adyen-verification-status.js +7 -5
- package/dist/{bg-BG-DqfAUTUt.js → bg-BG-Cdrkwxmc.js} +2 -2
- package/dist/{bg-BG-BPzEcioF.js → bg-BG-ClMsmcda.js} +16 -2
- package/dist/bg-BG-DfbtcqF4.js +7 -0
- package/dist/{businessRegistrationNumberPatterns-A08SLm03.js → businessRegistrationNumberPatterns-Bd2bazr4.js} +2 -2
- package/dist/{constants-C8yo0_RA.js → constants-C7-xFqmm.js} +4 -4
- package/dist/cs-CZ-CajuRLo4.js +7 -0
- package/dist/{cs-CZ-BwO4yrI4.js → cs-CZ-DpiH1UkS.js} +2 -2
- package/dist/{cs-CZ-D4ml1o2f.js → cs-CZ-DyLd-erd.js} +16 -2
- package/dist/{da-DK-CE7jnGea.js → da-DK-B-BJLcqw.js} +2 -2
- package/dist/da-DK-BEwmSejn.js +7 -0
- package/dist/{da-DK-BoINgPRU.js → da-DK-Dhr4p-qj.js} +16 -2
- package/dist/{de-DE-DKkoZQ0X.js → de-DE-BxTGFyOs.js} +2 -2
- package/dist/de-DE-PyK3jl-6.js +7 -0
- package/dist/{de-DE-By2U6vch.js → de-DE-QDT6VVq9.js} +16 -2
- package/dist/{dropinUtils-DTBezwYT.js → dropinUtils-DaA6mmQp.js} +16 -11
- package/dist/{el-GR-Cvms0L4K.js → el-GR-IQwyd9ws.js} +2 -2
- package/dist/el-GR-KPFghikv.js +7 -0
- package/dist/{el-GR-CdTXa4cP.js → el-GR-V2cZ5gjl.js} +16 -2
- package/dist/en-US-BRCWc67V.js +7 -0
- package/dist/{error-BvgoQFEI.js → error-CQMSa-H_.js} +2 -2
- package/dist/{es-ES-BQrdtEfn.js → es-ES-Cg2IadcX.js} +2 -2
- package/dist/{es-ES-DT39ZlR7.js → es-ES-SsReQJzQ.js} +16 -2
- package/dist/es-ES-z4jLCvkJ.js +7 -0
- package/dist/{es-LA-DQGPNeqX.js → es-LA-DTXCg1tj.js} +16 -2
- package/dist/{es-LA-BxtxM3Ty.js → es-LA-DvMpG4FP.js} +2 -2
- package/dist/es-LA-Dx4QymCh.js +7 -0
- package/dist/et-EE-1EhDxtTe.js +7 -0
- package/dist/{et-EE-S_MAXUF8.js → et-EE-Bg3WOS9m.js} +16 -2
- package/dist/{et-EE-V-YOCgoh.js → et-EE-eGeytyQh.js} +2 -2
- package/dist/{fi-FI-ThDP-8F8.js → fi-FI-B1RyWVH2.js} +16 -2
- package/dist/{fi-FI-CVBmM-U1.js → fi-FI-C02wZfgW.js} +2 -2
- package/dist/fi-FI-Dc2RMc_u.js +7 -0
- package/dist/{form-rules-B0RwhsVw.js → form-rules-DhuNdiqF.js} +1 -1
- package/dist/{formUtils-DVDcdZsP.js → formUtils-DAKrWwgL.js} +1 -1
- package/dist/{formatValidationError-q_w9DTrl.js → formatValidationError-z2D5oU1e.js} +1 -1
- package/dist/{fr-FR-D3maHIWS.js → fr-FR-C3Zi7-JE.js} +16 -2
- package/dist/{fr-FR-BIyJL6Jj.js → fr-FR-CE7k9H5_.js} +2 -2
- package/dist/fr-FR-DswL4wQ1.js +7 -0
- package/dist/{getDefaultRegistrationNumberType-CIu4WMln.js → getDefaultRegistrationNumberType-BzOpwR5x.js} +214 -214
- package/dist/{hr-HR-BOYktLQ2.js → hr-HR-B12DcJ3l.js} +2 -2
- package/dist/{hr-HR-BUI-Ac0o.js → hr-HR-CH9yGEPn.js} +16 -2
- package/dist/hr-HR-DI2D_V50.js +7 -0
- package/dist/{hu-HU-BPjEsgnX.js → hu-HU-DpUG3GwC.js} +16 -2
- package/dist/{hu-HU-CO_7jvk9.js → hu-HU-cosbDuos.js} +2 -2
- package/dist/hu-HU-lyRcZjGI.js +7 -0
- package/dist/individualdetails-UIslI4gf.js +34 -0
- package/dist/{it-IT-W1FjGb6L.js → it-IT-BEEsgu4Z.js} +16 -2
- package/dist/it-IT-Bn4CEcmI.js +7 -0
- package/dist/{it-IT-CNr6PIu3.js → it-IT-CiKoOxzk.js} +2 -2
- package/dist/ja-JP-CAX_xwUx.js +7 -0
- package/dist/{ja-JP-avJECfKw.js → ja-JP-CcXk7Gcc.js} +16 -2
- package/dist/{ja-JP-DAClbueM.js → ja-JP-D7PEVMmT.js} +2 -2
- package/dist/lt-LT-BdgYuJW7.js +7 -0
- package/dist/{lt-LT-DoYCfhZU.js → lt-LT-C2oxTakB.js} +2 -2
- package/dist/{lt-LT-wP0YuKeO.js → lt-LT-CGgbFwbx.js} +16 -2
- package/dist/lv-LV-Bz5c0Psg.js +7 -0
- package/dist/{lv-LV-BW0BscAd.js → lv-LV-C_KVkpid.js} +2 -2
- package/dist/{lv-LV-DW_mgZjM.js → lv-LV-Ck_aQ4ML.js} +16 -2
- package/dist/{mapExistingFile-2QXrkhqJ.js → mapExistingFile-BrDc9SLg.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js → mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Crz7aXZB.js → mapLegalEntityToIndividualSchema-Cs24QJ_x.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BrbrK2wk.js → mapTransferInstrumentToPayoutAccount-BpXU-nP1.js} +1 -1
- package/dist/nl-NL-BE2cQh0x.js +7 -0
- package/dist/{nl-NL-DR5SCDAF.js → nl-NL-CwNBy0Ku.js} +2 -2
- package/dist/{nl-NL-7kT4I7Tj.js → nl-NL-_hbzuQ0h.js} +16 -2
- package/dist/{no-NO-BoEKDB8U.js → no-NO-B_ijkAtf.js} +16 -2
- package/dist/{no-NO-P8SZ1t-h.js → no-NO-VqkeNhzB.js} +2 -2
- package/dist/no-NO-vgzpp44v.js +7 -0
- package/dist/{pl-PL-BY6KUTBO.js → pl-PL-Bp218jDD.js} +2 -2
- package/dist/pl-PL-DgDSRVmp.js +7 -0
- package/dist/{pl-PL-B6DeEX-m.js → pl-PL-u6DrL8IY.js} +16 -2
- package/dist/{processValidationErrors-CjsNfiRK.js → processValidationErrors-DsZ6_OXy.js} +2 -2
- package/dist/pt-BR-BaKp-J8F.js +7 -0
- package/dist/{pt-BR-CsQI9W3I.js → pt-BR-CPS77pGy.js} +16 -2
- package/dist/{pt-BR-CrLCMcSz2.js → pt-BR-CPbFPNwq2.js} +2 -2
- package/dist/{pt-PT-DDYnXawl.js → pt-PT-Bz39smeX.js} +2 -2
- package/dist/{pt-PT-i_EH0CM6.js → pt-PT-DIKqQR6V.js} +16 -2
- package/dist/pt-PT-Df48oeP5.js +7 -0
- package/dist/{resolveEnvironment-CAymXEQ9.js → resolveEnvironment-g21Gu4Y_.js} +38 -39
- package/dist/ro-RO-CTMsv_EY.js +7 -0
- package/dist/{ro-RO-B7CJDsKz.js → ro-RO-Cg1nG9ns.js} +16 -2
- package/dist/{ro-RO-BA5GhaCE.js → ro-RO-jNItoBZk.js} +2 -2
- package/dist/{roleMetadata-Dm1FVuPT.js → roleMetadata-CQeuOFRE.js} +1 -1
- package/dist/{sk-SK-NU95U8E2.js → sk-SK-CRfiVN3e.js} +16 -2
- package/dist/{sk-SK-BeNF_m_j.js → sk-SK-CsSqXqf_.js} +2 -2
- package/dist/sk-SK-oqO5I3Aw.js +7 -0
- package/dist/sl-SI-CQhJFnpj.js +7 -0
- package/dist/{sl-SI-B6Kv1DgA.js → sl-SI-Dpr3StsS.js} +16 -2
- package/dist/{sl-SI-Bxu4m_5e.js → sl-SI-PRqWis0E.js} +2 -2
- package/dist/style.css +965 -704
- package/dist/styles-DYaAeu4q.js +965 -704
- package/dist/{sv-SE-DKTrk_eI.js → sv-SE-CH4wMrUZ.js} +16 -2
- package/dist/sv-SE-CmevESLi.js +7 -0
- package/dist/{sv-SE-B-CXDaXM.js → sv-SE-Dv-rMOdB.js} +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/WorkflowEndState/WorkflowEndState.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/context/WorkflowContext/WorkflowContextProvider.d.ts +2 -0
- package/dist/types/api/createLegalEntity/createLegalEntity.types.d.ts +3 -0
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +14 -11
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +10 -30
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +80 -66
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +15 -15
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +0 -3
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +524 -7805
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +22 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/companySearchStore.d.ts +22 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +20 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessSelection.d.ts +3 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/types.d.ts +8 -0
- package/dist/types/components/GlobalEntry/hooks/useCompanySearchNextClickOverrides.d.ts +26 -0
- package/dist/types/components/GlobalEntry/modals/LegalArrangementModal.d.ts +10 -0
- package/dist/types/components/GlobalEntry/modals/RegistrationNumberMismatchModal.d.ts +16 -0
- package/dist/types/components/GlobalEntry/modals/TinMismatchModal.d.ts +6 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +3 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +2 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils/applyVerifiedCompanyData.d.ts +19 -0
- package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +1 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +12 -10
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStartedModalContent.d.ts +1 -0
- package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/validate.formats.d.ts +1 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -1
- package/dist/types/context/SettingsContext/types.d.ts +0 -2
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +1 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +1 -1
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.d.ts +1 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +1 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +1 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +1 -1
- package/dist/types/utils/decodeJwt.d.ts +0 -5
- package/dist/types/utils/genUtils.d.ts +0 -9
- package/dist/types/utils/getProps.d.ts +0 -8
- package/dist/{types-Cwq1JAWT.js → types-B28r2lAW.js} +1 -2
- package/dist/{useBusinessDetailsData-sWGe796Y.js → useBusinessDetailsData-FHWhosZj.js} +69 -413
- package/dist/{useCanSeeIntroduction-DQbanJNE.js → useCanSeeIntroduction-X0L-NhMZ.js} +1 -1
- package/dist/{useDataset-CdLBLq98.js → useDataset-BMitsLFp.js} +1 -1
- package/dist/{useForm-CWrbJG44.js → useForm-BFeaSvlP.js} +1 -1
- package/dist/{useMultiForm-BxASst0O.js → useMultiForm-CM3lpilP.js} +1 -1
- package/dist/{useNavigate-n4tia10x.js → useNavigate-BqrdWTzq.js} +32 -32
- package/dist/{useSalesChannels-B06_h460.js → useSalesChannels-huIL6Dhk.js} +1 -1
- package/dist/{useTrustMembers-DtOJPaaV.js → useTrustMembers-CurK1nMF.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CxDZCOte.js → useUnincorporatedPartnershipMembers-DLGY4jqB.js} +1 -1
- package/dist/{utils-CJcGZvj1.js → utils-D8pwjFm5.js} +1 -1
- package/dist/{utils-Ck_mZapQ.js → utils-Dnwr-Kc0.js} +207 -207
- package/dist/{utils-BWumuCvl.js → utils-lIizXlcC.js} +1 -1
- package/dist/validate-C1ZPhUgV.js +443 -0
- package/dist/{validate-D-l4YRka.js → validate-D8sQbtil.js} +1 -1
- package/dist/{validate-BCNnfwPW.js → validate-k6dACmjX.js} +2 -2
- package/dist/{validate-96E_RrNB.js → validate-t6pT7AaZ.js} +2 -2
- package/dist/{validateExtractionResult-D3d0xx90.js → validateExtractionResult-D41PgEa-.js} +2 -2
- package/dist/{validationError-DV6t8Ubb.js → validationError-CLDQ0Qwt.js} +2 -2
- package/package.json +1 -1
- package/dist/bg-BG-B2xaZ3wB.js +0 -7
- package/dist/cs-CZ-ywYpJk1F.js +0 -7
- package/dist/da-DK-DH5YNYFM.js +0 -7
- package/dist/de-DE-vdy64knk.js +0 -7
- package/dist/el-GR-ChapyKa7.js +0 -7
- package/dist/en-US-B7HQdrn_.js +0 -7
- package/dist/es-ES-DCUvAmKI.js +0 -7
- package/dist/es-LA-ChRHGYJP.js +0 -7
- package/dist/et-EE-HHgM0CfO.js +0 -7
- package/dist/fi-FI-DCYPQ6vS.js +0 -7
- package/dist/fr-FR-BzyefnBh.js +0 -7
- package/dist/hr-HR-6Wj5Tf60.js +0 -7
- package/dist/hu-HU-Bwm4UqZz.js +0 -7
- package/dist/it-IT-DgRuEpeD.js +0 -7
- package/dist/ja-JP--tMJF7eu.js +0 -7
- package/dist/lt-LT-DqtpAjOg.js +0 -7
- package/dist/lv-LV-ZmyUvPst.js +0 -7
- package/dist/nl-NL-CePL3t7P.js +0 -7
- package/dist/no-NO-DGCfRiU8.js +0 -7
- package/dist/pl-PL-D-s-JI6X.js +0 -7
- package/dist/pt-BR-BvNR77Ru.js +0 -7
- package/dist/pt-PT-qAzFgjvF.js +0 -7
- package/dist/ro-RO-B3Fcn95o.js +0 -7
- package/dist/sk-SK-CcoUWnJ4.js +0 -7
- package/dist/sl-SI-DxomO9JQ.js +0 -7
- package/dist/sv-SE-BzPNBHOj.js +0 -7
- package/dist/validate-DKwCZSlM.js +0 -178
|
@@ -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] = "1c88ccd1-dd99-4c50-943f-baec0445325c", e._sentryDebugIdIdentifier = "sentry-dbid-1c88ccd1-dd99-4c50-943f-baec0445325c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-DpPFIUJx.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 LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
11
|
-
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-
|
|
11
|
+
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-DLC7METR.js";
|
|
12
12
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
13
13
|
import { t as Link } from "./Link-CvYhseSD.js";
|
|
14
14
|
import { lazy } from "preact/compat";
|
|
@@ -22,32 +22,32 @@ var GlobalEntryPage = ({ onComplete }) => {
|
|
|
22
22
|
addResourceBundles(i18n, [{
|
|
23
23
|
ns: "globalEntry",
|
|
24
24
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
25
|
-
"../language/bg-BG.json": () => import("./bg-BG-
|
|
26
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-
|
|
27
|
-
"../language/da-DK.json": () => import("./da-DK-
|
|
28
|
-
"../language/de-DE.json": () => import("./de-DE-
|
|
29
|
-
"../language/el-GR.json": () => import("./el-GR-
|
|
25
|
+
"../language/bg-BG.json": () => import("./bg-BG-ClMsmcda.js"),
|
|
26
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-DyLd-erd.js"),
|
|
27
|
+
"../language/da-DK.json": () => import("./da-DK-Dhr4p-qj.js"),
|
|
28
|
+
"../language/de-DE.json": () => import("./de-DE-QDT6VVq9.js"),
|
|
29
|
+
"../language/el-GR.json": () => import("./el-GR-V2cZ5gjl.js"),
|
|
30
30
|
"../language/en-US.json": () => import("./en-US-Cz4JoU20.js"),
|
|
31
|
-
"../language/es-ES.json": () => import("./es-ES-
|
|
32
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
33
|
-
"../language/et-EE.json": () => import("./et-EE-
|
|
34
|
-
"../language/fi-FI.json": () => import("./fi-FI-
|
|
35
|
-
"../language/fr-FR.json": () => import("./fr-FR-
|
|
36
|
-
"../language/hr-HR.json": () => import("./hr-HR-
|
|
37
|
-
"../language/hu-HU.json": () => import("./hu-HU-
|
|
38
|
-
"../language/it-IT.json": () => import("./it-IT-
|
|
39
|
-
"../language/ja-JP.json": () => import("./ja-JP-
|
|
40
|
-
"../language/lt-LT.json": () => import("./lt-LT-
|
|
41
|
-
"../language/lv-LV.json": () => import("./lv-LV-
|
|
42
|
-
"../language/nl-NL.json": () => import("./nl-NL-
|
|
43
|
-
"../language/no-NO.json": () => import("./no-NO-
|
|
44
|
-
"../language/pl-PL.json": () => import("./pl-PL-
|
|
45
|
-
"../language/pt-BR.json": () => import("./pt-BR-
|
|
46
|
-
"../language/pt-PT.json": () => import("./pt-PT-
|
|
47
|
-
"../language/ro-RO.json": () => import("./ro-RO-
|
|
48
|
-
"../language/sk-SK.json": () => import("./sk-SK-
|
|
49
|
-
"../language/sl-SI.json": () => import("./sl-SI-
|
|
50
|
-
"../language/sv-SE.json": () => import("./sv-SE-
|
|
31
|
+
"../language/es-ES.json": () => import("./es-ES-SsReQJzQ.js"),
|
|
32
|
+
"../language/es-LA.json": () => import("./es-LA-DTXCg1tj.js"),
|
|
33
|
+
"../language/et-EE.json": () => import("./et-EE-Bg3WOS9m.js"),
|
|
34
|
+
"../language/fi-FI.json": () => import("./fi-FI-B1RyWVH2.js"),
|
|
35
|
+
"../language/fr-FR.json": () => import("./fr-FR-C3Zi7-JE.js"),
|
|
36
|
+
"../language/hr-HR.json": () => import("./hr-HR-CH9yGEPn.js"),
|
|
37
|
+
"../language/hu-HU.json": () => import("./hu-HU-DpUG3GwC.js"),
|
|
38
|
+
"../language/it-IT.json": () => import("./it-IT-BEEsgu4Z.js"),
|
|
39
|
+
"../language/ja-JP.json": () => import("./ja-JP-CcXk7Gcc.js"),
|
|
40
|
+
"../language/lt-LT.json": () => import("./lt-LT-CGgbFwbx.js"),
|
|
41
|
+
"../language/lv-LV.json": () => import("./lv-LV-Ck_aQ4ML.js"),
|
|
42
|
+
"../language/nl-NL.json": () => import("./nl-NL-_hbzuQ0h.js"),
|
|
43
|
+
"../language/no-NO.json": () => import("./no-NO-B_ijkAtf.js"),
|
|
44
|
+
"../language/pl-PL.json": () => import("./pl-PL-u6DrL8IY.js"),
|
|
45
|
+
"../language/pt-BR.json": () => import("./pt-BR-CPS77pGy.js"),
|
|
46
|
+
"../language/pt-PT.json": () => import("./pt-PT-DIKqQR6V.js"),
|
|
47
|
+
"../language/ro-RO.json": () => import("./ro-RO-Cg1nG9ns.js"),
|
|
48
|
+
"../language/sk-SK.json": () => import("./sk-SK-CRfiVN3e.js"),
|
|
49
|
+
"../language/sl-SI.json": () => import("./sl-SI-Dpr3StsS.js"),
|
|
50
|
+
"../language/sv-SE.json": () => import("./sv-SE-CH4wMrUZ.js")
|
|
51
51
|
}), `../language/${lang}.json`, 3)
|
|
52
52
|
}]);
|
|
53
53
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -1,17 +1,17 @@
|
|
|
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] = "f177022d-f2af-4ef3-a20a-84a36363b951", e._sentryDebugIdIdentifier = "sentry-dbid-f177022d-f2af-4ef3-a20a-84a36363b951");
|
|
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
7
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
8
|
-
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
8
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
9
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-W1FzWAVl.js";
|
|
10
|
+
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
11
11
|
import { o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
12
|
+
import { t as Field } from "./Field-CBvXkDKh.js";
|
|
13
|
+
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
12
14
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
13
|
-
import { a as nonInputs, c as MaskedInput, i as makeMask, n as alphanumericInputs, o as numericInputs, r as customInputs, s as spacer, t as alphaInputs } from "./maskHelpers-C0wnCoJl.js";
|
|
14
|
-
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
16
16
|
//#region src/utils/regex/countryIdNumberPatterns.ts
|
|
17
17
|
var CountryIdNumberPatterns = {
|
|
@@ -1,8 +1,8 @@
|
|
|
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] = "c189b1cd-08ae-4a26-9917-776bb0f109e4", e._sentryDebugIdIdentifier = "sentry-dbid-c189b1cd-08ae-4a26-9917-776bb0f109e4");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as IdentityNumber } from "./IdentityNumber-
|
|
5
|
+
import { t as IdentityNumber } from "./IdentityNumber-DhO403_T.js";
|
|
6
6
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
7
7
|
import { useCallback } from "preact/hooks";
|
|
8
8
|
import { jsx } from "preact/jsx-runtime";
|
package/dist/{IdentityScreeningWorkflow-Bx89cmUF.js → IdentityScreeningWorkflow-Dm2p1_2e.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
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] = "c1eab9a0-2500-4567-a847-e60bfbf62dfc", e._sentryDebugIdIdentifier = "sentry-dbid-c1eab9a0-2500-4567-a847-e60bfbf62dfc");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
|
-
import { t as Button } from "./Button-
|
|
8
|
+
import { t as Button } from "./Button-DpPFIUJx.js";
|
|
9
9
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
10
|
-
import { t as Alert } from "./Alert-
|
|
11
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
10
|
+
import { t as Alert } from "./Alert-Bv9M3wLb.js";
|
|
11
|
+
import { t as EndStateLayout } from "./EndStateLayout-BOdEeTDy.js";
|
|
12
12
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
13
13
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
14
|
-
import { t as Modal } from "./Modal-
|
|
14
|
+
import { t as Modal } from "./Modal-DeXa4MBg.js";
|
|
15
15
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
16
16
|
import { t as FormFlow_module_default } from "./FormFlow.module-DqMxjYHl.js";
|
|
17
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-BqfTUq4v.js";
|
|
17
18
|
import { t as Link } from "./Link-CvYhseSD.js";
|
|
18
|
-
import { a as fromIndividualConflictSchema, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult } from "./validateExtractionResult-
|
|
19
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-CCaMgguu.js";
|
|
19
|
+
import { a as fromIndividualConflictSchema, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult } from "./validateExtractionResult-D41PgEa-.js";
|
|
20
20
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
21
21
|
import { t as useHideTaskStepper } from "./useHideTaskStepper-Dk7ZQ3U8.js";
|
|
22
22
|
import { lazy } from "preact/compat";
|
|
@@ -1,93 +1,95 @@
|
|
|
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] = "5e378ae3-5717-41c6-8381-6105f5bb8d7b", e._sentryDebugIdIdentifier = "sentry-dbid-5e378ae3-5717-41c6-8381-6105f5bb8d7b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.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-DpPFIUJx.js";
|
|
10
10
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
12
12
|
import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
|
|
13
13
|
import { t as useSettingsContext } from "./useSettingsContext-9O3Aqpfq.js";
|
|
14
14
|
import { a as objectsDeepEqual, n as doArraysMatch, r as drop, t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
15
|
-
import { E as standardKatakanaValidator, T as standardKanjiValidator, _ as hasText,
|
|
15
|
+
import { E as standardKatakanaValidator, T as standardKanjiValidator, _ as hasText, h as hasMaximumTwoRepeatedCharacters, n as EMOJI_REGEX, o as NO_ALPHABET_UNICODE_REGEX, r as INDIVIDUAL_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName, y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
16
16
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
17
|
+
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
17
18
|
import { t as Header } from "./Header-DVLlJ6we.js";
|
|
18
19
|
import { n as useCapabilities, t as useAllowedCountries } from "./useAllowedCountries-qyvo-c6A.js";
|
|
19
20
|
import { r as euCountries, t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
20
|
-
import { t as useDataset } from "./useDataset-
|
|
21
|
+
import { t as useDataset } from "./useDataset-BMitsLFp.js";
|
|
21
22
|
import { n as datasetUtilities, t as datasetIdentifier } from "./datasetUtil-BdHPWsxZ.js";
|
|
22
|
-
import { t as Alert } from "./Alert-
|
|
23
|
+
import { t as Alert } from "./Alert-Bv9M3wLb.js";
|
|
23
24
|
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-CWE5UFt8.js";
|
|
24
25
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
25
26
|
import { n as attachNomineeToRole, r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations, t as allowedCountriesForNominee, u as hasNomineesChanged } from "./entityAssociationUtil-CY0grcyH.js";
|
|
27
|
+
import { r as useGetTaskStatus } from "./globalStore-WASei98w.js";
|
|
26
28
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
27
29
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
28
30
|
import { s as getAvailableDecisionMakerRoleTypes, t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-C6LMC4mh.js";
|
|
29
31
|
import { i as isLowRiskCountry } from "./country-BEZkohEO.js";
|
|
30
32
|
import { i as isLegalRepresentativeNeeded, n as getAgeRangeForLegalRepresentative, r as getAgeToday } from "./birthDateUtils-D6uk7zwm.js";
|
|
31
33
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
32
|
-
import { t as SettingNames } from "./types-
|
|
34
|
+
import { t as SettingNames } from "./types-B28r2lAW.js";
|
|
33
35
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
34
36
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
35
37
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
36
|
-
import { t as Modal } from "./Modal-
|
|
37
|
-
import { t as Confirm } from "./Confirm-
|
|
38
|
+
import { t as Modal } from "./Modal-DeXa4MBg.js";
|
|
39
|
+
import { t as Confirm } from "./Confirm-D8WH4e1L.js";
|
|
38
40
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
39
41
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
|
|
40
|
-
import { a as useFormComposer, i as FormFlow, n as getRequiredForms, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
41
|
-
import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-
|
|
42
|
+
import { a as useFormComposer, i as FormFlow, n as getRequiredForms, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-DaA6mmQp.js";
|
|
43
|
+
import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-DhuNdiqF.js";
|
|
42
44
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
43
45
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
44
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
45
|
-
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-
|
|
46
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-D1ygAX21.js";
|
|
47
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
46
48
|
import { n as preTranslatedSummaryItem } from "./summaryItem-uDWmtYtt.js";
|
|
47
|
-
import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-
|
|
48
|
-
import { t as
|
|
49
|
-
import { A as taxIdNumberOptions, c as taxInformationDefaultFieldConfig, l as taxInformationDefaultFieldMetadata } from "./utils-Ck_mZapQ.js";
|
|
49
|
+
import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
|
|
50
|
+
import { n as InputEmail, t as MaskedInput } from "./MaskedInput-W1FzWAVl.js";
|
|
50
51
|
import { n as mapSchemaFieldsToApiScriptLocalization } from "./mapScriptLocalization-BCfkZo1y.js";
|
|
51
52
|
import { t as isEmpty$1 } from "./isEmpty-Uewyl-r6.js";
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import { t as
|
|
53
|
+
import { c as taxInformationDefaultFieldConfig, l as taxInformationDefaultFieldMetadata, p as taxIdNumberOptions } from "./utils-Dnwr-Kc0.js";
|
|
54
|
+
import { t as Field } from "./Field-CBvXkDKh.js";
|
|
55
|
+
import { a as isValidationError } from "./validationError-CLDQ0Qwt.js";
|
|
56
|
+
import { t as Select } from "./Select-prMx73V9.js";
|
|
57
|
+
import { n as CountryField } from "./CountryField-C7eHHmYk.js";
|
|
58
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, i as mapAddressLabels, l as addressFields, t as getAddressSchemaForCountry } from "./utils-lIizXlcC.js";
|
|
59
|
+
import { t as InputText } from "./InputText-CwPK55J0.js";
|
|
56
60
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
57
61
|
import { t as convertFullToHalf } from "./formFieldsUtils-CnDkgahc.js";
|
|
58
|
-
import { n as TaxInformationField, r as isJapanLocalizationEnabled } from "./TaxInformationField-
|
|
62
|
+
import { n as TaxInformationField, r as isJapanLocalizationEnabled } from "./TaxInformationField-DUjQEF-s.js";
|
|
59
63
|
import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
|
|
60
|
-
import {
|
|
61
|
-
import { t as
|
|
64
|
+
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
65
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-BqfTUq4v.js";
|
|
62
66
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
63
67
|
import { a as idNowPostSubmit, i as idNowModalChildEntityId, n as isBafinSignatoryFlow, o as shouldShowIdNowModal, s as showIdNowModal } from "./bafinUtils-DDrD6bfK.js";
|
|
64
68
|
import { t as getIndividualLegalEntityName } from "./getName-DgxRqagk.js";
|
|
65
69
|
import { t as useScenarios } from "./useScenarios-BfYE0clW.js";
|
|
66
|
-
import { a as GuidanceQuestion, c as shouldNavigateToAdditionalPersonalDetailsForMissingData, i as findRelevantTaxInformation, l as useCreateInvitation, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as GuidanceQuestionValues, r as isManualVerificationOrExistingDoc, s as individualFormDefaultData, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
67
|
-
import { n as ALL_ADDRESS_FIELDS, s as useProviderStatus, t as AddressFields } from "./AddressFields-
|
|
68
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
69
|
-
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
70
|
+
import { a as GuidanceQuestion, c as shouldNavigateToAdditionalPersonalDetailsForMissingData, i as findRelevantTaxInformation, l as useCreateInvitation, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as GuidanceQuestionValues, r as isManualVerificationOrExistingDoc, s as individualFormDefaultData, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-Cs24QJ_x.js";
|
|
71
|
+
import { n as ALL_ADDRESS_FIELDS, s as useProviderStatus, t as AddressFields } from "./AddressFields-DR4xhVNv.js";
|
|
72
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-e8rkZO7f.js";
|
|
73
|
+
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BrDc9SLg.js";
|
|
70
74
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
71
|
-
import { i as JP_ADDRESS_REQUIRED_FIELDS, n as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
72
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
73
|
-
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, p as getLocalizedIdDocumentTypeOptions, s as getDocument, u as getIdDocument } from "./validate-
|
|
74
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
75
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS, n as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js";
|
|
76
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DsZ6_OXy.js";
|
|
77
|
+
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, p as getLocalizedIdDocumentTypeOptions, s as getDocument, u as getIdDocument } from "./validate-D8sQbtil.js";
|
|
78
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-CnVpPsAg.js";
|
|
75
79
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
76
|
-
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-
|
|
77
|
-
import { a as
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import { t as addressValidators } from "./validate-96E_RrNB.js";
|
|
80
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-CQMSa-H_.js";
|
|
81
|
+
import { a as getAsyncIdNumberValidationRule, i as defaultFieldMetadata$1, n as idNumberFields, o as licenseCardNumberDefaultConfig, r as defaultFieldConfig, s as licenseCardNumberDefaultMetadata, t as IdentityNumber } from "./IdentityNumber-DhO403_T.js";
|
|
82
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-B0RNGCq2.js";
|
|
83
|
+
import { t as addressValidators } from "./validate-t6pT7AaZ.js";
|
|
81
84
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
82
|
-
import { t as TextArea } from "./TextArea-
|
|
83
|
-
import { t as Dropzone } from "./Dropzone-
|
|
85
|
+
import { t as TextArea } from "./TextArea-C12oXMzX.js";
|
|
86
|
+
import { t as Dropzone } from "./Dropzone-DAKOThpd.js";
|
|
84
87
|
import { n as getFieldProps, r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
85
88
|
import { t as Link } from "./Link-CvYhseSD.js";
|
|
86
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
87
|
-
import { n as nameFields, t as Name } from "./Name-
|
|
88
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
89
|
-
import { a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString } from "./validateExtractionResult-
|
|
90
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-CCaMgguu.js";
|
|
89
|
+
import { t as ContextGuidance } from "./ContextGuidance-DPPaigJE.js";
|
|
90
|
+
import { n as nameFields, t as Name } from "./Name-C1GAvkWn.js";
|
|
91
|
+
import { t as formatValidationError } from "./formatValidationError-z2D5oU1e.js";
|
|
92
|
+
import { a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString } from "./validateExtractionResult-D41PgEa-.js";
|
|
91
93
|
import { Suspense, lazy, memo } from "preact/compat";
|
|
92
94
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
93
95
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -209,7 +211,6 @@ var nameValidationRulesV4 = () => {
|
|
|
209
211
|
}]
|
|
210
212
|
};
|
|
211
213
|
};
|
|
212
|
-
getFormattingRegEx(SPECIAL_CHARS.replace("-", ""));
|
|
213
214
|
//#endregion
|
|
214
215
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/validate.ts
|
|
215
216
|
var isNotOutOfRangeBirthDateValidatorRule = {
|
|
@@ -1266,7 +1267,7 @@ var additionalIdentityInfoFields = [
|
|
|
1266
1267
|
];
|
|
1267
1268
|
//#endregion
|
|
1268
1269
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.tsx
|
|
1269
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
1270
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-DWDTt4lQ.js")).JpAddressFields);
|
|
1270
1271
|
var additionalPersonalDetailsFields = [
|
|
1271
1272
|
"birthDate",
|
|
1272
1273
|
...idNumberFields,
|
|
@@ -1620,7 +1621,10 @@ function BasicDetails(props) {
|
|
|
1620
1621
|
return /* @__PURE__ */ jsxs("form", {
|
|
1621
1622
|
"aria-describedby": "ariaErrorField",
|
|
1622
1623
|
children: [
|
|
1623
|
-
heading && /* @__PURE__ */ jsx(Header, {
|
|
1624
|
+
heading && /* @__PURE__ */ jsx(Header, {
|
|
1625
|
+
description: individualT(($) => $["reasonForFillingIndividualPersonalDetails"]),
|
|
1626
|
+
title: heading
|
|
1627
|
+
}),
|
|
1624
1628
|
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1625
1629
|
verificationErrors: formVerificationErrors,
|
|
1626
1630
|
validationErrors: fieldValidationErrors,
|
|
@@ -1634,15 +1638,6 @@ function BasicDetails(props) {
|
|
|
1634
1638
|
lastName: parentLegalEntity?.individual?.name.lastName || ""
|
|
1635
1639
|
})
|
|
1636
1640
|
}),
|
|
1637
|
-
/* @__PURE__ */ jsx("div", {
|
|
1638
|
-
className: "u-margin-bottom-32",
|
|
1639
|
-
children: /* @__PURE__ */ jsx(ContextGuidance, {
|
|
1640
|
-
title: commonT(($) => $["whyDoINeedToFillInThisInformation"]),
|
|
1641
|
-
content: individualT(($) => $["reasonForFillingIndividualPersonalDetails"]),
|
|
1642
|
-
titleId: "whyDoINeedToFillInThisInformation",
|
|
1643
|
-
contentId: "reasonForFillingIndividualPersonalDetails"
|
|
1644
|
-
})
|
|
1645
|
-
}),
|
|
1646
1641
|
isDecisionMakerTask(taskType) && trustedFieldsProvider === "singpass" && readOnlyFields && /* @__PURE__ */ jsx(Typography, {
|
|
1647
1642
|
color: "secondary",
|
|
1648
1643
|
variant: "caption",
|
|
@@ -3512,6 +3507,112 @@ var individualFieldsPerScenario = {
|
|
|
3512
3507
|
L1_IDDOC: idDocRequired,
|
|
3513
3508
|
L_PH: phoneNumberBase
|
|
3514
3509
|
};
|
|
3510
|
+
var IndividualGettingStarted_module_default = {
|
|
3511
|
+
"individual-getting-started": "_individual-getting-started_lfmf9_1",
|
|
3512
|
+
individualGettingStarted: "_individual-getting-started_lfmf9_1"
|
|
3513
|
+
};
|
|
3514
|
+
//#endregion
|
|
3515
|
+
//#region src/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStartedModalContent.tsx
|
|
3516
|
+
var IndividualGettingStartedModalContent = () => {
|
|
3517
|
+
const { t } = useTranslation("individual");
|
|
3518
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
3519
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
3520
|
+
variant: "title-l",
|
|
3521
|
+
el: "h3",
|
|
3522
|
+
className: "u-margin-bottom-40",
|
|
3523
|
+
children: t(($) => $["moreAboutIdentityVerification"])
|
|
3524
|
+
}),
|
|
3525
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
3526
|
+
variant: "body-strongest",
|
|
3527
|
+
el: "h4",
|
|
3528
|
+
className: "u-margin-bottom-12",
|
|
3529
|
+
children: t(($) => $["whyDoYouNeedPersonalInformation"])
|
|
3530
|
+
}),
|
|
3531
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
3532
|
+
el: "p",
|
|
3533
|
+
className: "u-margin-bottom-32",
|
|
3534
|
+
children: t(($) => $["paymentProvidersNeedToKnowWhoTheyProvideServicesTo"])
|
|
3535
|
+
}),
|
|
3536
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
3537
|
+
variant: "body-strongest",
|
|
3538
|
+
el: "h4",
|
|
3539
|
+
className: "u-margin-bottom-12",
|
|
3540
|
+
children: t(($) => $["whatInformationWillINeedToProvide"])
|
|
3541
|
+
}),
|
|
3542
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
3543
|
+
el: "p",
|
|
3544
|
+
className: "u-margin-bottom-32",
|
|
3545
|
+
children: t(($) => $["weAskForDetailsSuchAsNameDateOfBirthAndAddress"])
|
|
3546
|
+
}),
|
|
3547
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
3548
|
+
el: "p",
|
|
3549
|
+
variant: "body",
|
|
3550
|
+
children: /* @__PURE__ */ jsx(Trans, {
|
|
3551
|
+
t,
|
|
3552
|
+
i18nKey: ($) => $["readMoreInOurPrivacyStatement"],
|
|
3553
|
+
components: { privacyLink: /* @__PURE__ */ jsx(Link, {
|
|
3554
|
+
href: "https://www.adyen.com/privacy-policy",
|
|
3555
|
+
external: true,
|
|
3556
|
+
inline: true
|
|
3557
|
+
}) }
|
|
3558
|
+
})
|
|
3559
|
+
})
|
|
3560
|
+
] });
|
|
3561
|
+
};
|
|
3562
|
+
//#endregion
|
|
3563
|
+
//#region src/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStarted.tsx
|
|
3564
|
+
var individualImage = lazy(() => import("./individualdetails-UIslI4gf.js"));
|
|
3565
|
+
var IndividualGettingStarted = ({ handleGetStartedClick, handleCancelClick }) => {
|
|
3566
|
+
const { t: commonT } = useTranslation("common");
|
|
3567
|
+
const { t: individualT } = useTranslation("individual");
|
|
3568
|
+
const userEvents = useAnalyticsContext();
|
|
3569
|
+
const [isModalOpen, setIsModalOpen] = useState$1(false);
|
|
3570
|
+
const openModal = () => {
|
|
3571
|
+
userEvents.addPageEvent("Opened modal", {
|
|
3572
|
+
actionType: "open",
|
|
3573
|
+
label: "individualGettingStartedModal"
|
|
3574
|
+
});
|
|
3575
|
+
setIsModalOpen(true);
|
|
3576
|
+
};
|
|
3577
|
+
const closeModal = () => {
|
|
3578
|
+
userEvents.addPageEvent("Closed modal", {
|
|
3579
|
+
actionType: "close",
|
|
3580
|
+
label: "individualGettingStartedModal"
|
|
3581
|
+
});
|
|
3582
|
+
setIsModalOpen(false);
|
|
3583
|
+
};
|
|
3584
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
3585
|
+
className: IndividualGettingStarted_module_default.individualGettingStarted,
|
|
3586
|
+
children: [/* @__PURE__ */ jsx(LandingLayout, {
|
|
3587
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: individualImage }),
|
|
3588
|
+
title: individualT(($) => $["personalDetails"]),
|
|
3589
|
+
description: individualT(($) => $["toProvideSafeAndSecurePaymentServices"]),
|
|
3590
|
+
helpAction: /* @__PURE__ */ jsx(Button, {
|
|
3591
|
+
variant: "link",
|
|
3592
|
+
onClick: openModal,
|
|
3593
|
+
fullWidth: true,
|
|
3594
|
+
children: commonT(($) => $["learnMore"])
|
|
3595
|
+
}),
|
|
3596
|
+
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
3597
|
+
fullWidth: true,
|
|
3598
|
+
testId: "individual-getting-started-primary-button",
|
|
3599
|
+
onClick: handleGetStartedClick,
|
|
3600
|
+
children: commonT(($) => $["getStarted"])
|
|
3601
|
+
}), handleCancelClick && /* @__PURE__ */ jsx(Button, {
|
|
3602
|
+
variant: "tertiary",
|
|
3603
|
+
fullWidth: true,
|
|
3604
|
+
testId: "individual-getting-started-cancel-button",
|
|
3605
|
+
onClick: handleCancelClick,
|
|
3606
|
+
children: commonT(($) => $["finishLater"])
|
|
3607
|
+
})] })
|
|
3608
|
+
}), isModalOpen && /* @__PURE__ */ jsx(Modal, {
|
|
3609
|
+
onClose: closeModal,
|
|
3610
|
+
ariaLabel: individualT(($) => $["moreAboutOwnersAndDecisionMakers"]),
|
|
3611
|
+
inset: true,
|
|
3612
|
+
children: /* @__PURE__ */ jsx(IndividualGettingStartedModalContent, {})
|
|
3613
|
+
})]
|
|
3614
|
+
});
|
|
3615
|
+
};
|
|
3515
3616
|
//#endregion
|
|
3516
3617
|
//#region src/components/Individual/tasks/IndividualDropin/IndividualDropin.tsx
|
|
3517
3618
|
var parseIndividualScenarios = (scenarios) => composePerScenarioFormConfigurations(scenarios, individualFieldsPerScenario);
|
|
@@ -3569,6 +3670,8 @@ function IndividualDropin({ taskType = TaskTypes.INDIVIDUAL, parentLegalEntity,
|
|
|
3569
3670
|
const [derivedProps, setDerivedProps] = useState$1();
|
|
3570
3671
|
const [nextHandler, setNextHandler] = useState$1();
|
|
3571
3672
|
const [hasBafinNavigated, setHasBafinNavigated] = useState$1(false);
|
|
3673
|
+
const individualTaskStatus = useGetTaskStatus()(TaskTypes.INDIVIDUAL);
|
|
3674
|
+
const [showGettingStarted, setShowGettingStarted] = useState$1(taskType === TaskTypes.INDIVIDUAL && individualTaskStatus === TaskStatuses.EMPTY);
|
|
3572
3675
|
const problems = useMemo$1(() => ({
|
|
3573
3676
|
...propProblems,
|
|
3574
3677
|
validationErrors
|
|
@@ -4116,6 +4219,10 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4116
4219
|
gotoFormByFormId(shouldNavigateToAdditionalPersonalDetails ? individualForms.additionalPersonalDetails.formId : individualForms.signatoryQuestionnaire.formId);
|
|
4117
4220
|
}
|
|
4118
4221
|
const disableNextButton = activeForm?.formId === "idVerificationMethod" && !activeForm?.isValid || isNextStepDisabled.value;
|
|
4222
|
+
if (showGettingStarted) return /* @__PURE__ */ jsx(IndividualGettingStarted, {
|
|
4223
|
+
handleGetStartedClick: () => setShowGettingStarted(false),
|
|
4224
|
+
handleCancelClick: handleHomeClick
|
|
4225
|
+
});
|
|
4119
4226
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Show, {
|
|
4120
4227
|
when: shouldShowIdNowModal,
|
|
4121
4228
|
children: /* @__PURE__ */ jsx(IdNowVerificationModal, { handleFinish: handleHomeClick })
|
|
@@ -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] = "dcf82371-6f74-42e9-9692-e756de5a718c", e._sentryDebugIdIdentifier = "sentry-dbid-dcf82371-6f74-42e9-9692-e756de5a718c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
7
|
-
import { n as IconButton } from "./Button-
|
|
7
|
+
import { n as IconButton } from "./Button-DpPFIUJx.js";
|
|
8
8
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
9
9
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
10
10
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
11
|
-
import { t as Field } from "./Field-
|
|
12
|
-
import { t as Select } from "./Select-
|
|
11
|
+
import { t as Field } from "./Field-CBvXkDKh.js";
|
|
12
|
+
import { t as Select } from "./Select-prMx73V9.js";
|
|
13
13
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
14
14
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
15
15
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
@@ -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] = "fc1f5c4d-2455-4d74-8d37-24196e815314", e._sentryDebugIdIdentifier = "sentry-dbid-fc1f5c4d-2455-4d74-8d37-24196e815314");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
6
6
|
import { c as SPECIAL_CHARS, f as getFormattingRegEx } from "./validatorUtils-D2O6AAZn.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import { r as InputBase } from "./InputText-
|
|
8
|
+
import { r as InputBase } from "./InputText-CwPK55J0.js";
|
|
9
9
|
import { useCallback, useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -52,7 +52,6 @@ var createFormatByDigits = (digits) => {
|
|
|
52
52
|
maxlength: digits
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
getFormattingRegEx(SPECIAL_CHARS.replace(/[-(\\/)]/g, ""));
|
|
56
55
|
var countrySpecificFormatters = {
|
|
57
56
|
[CountryCodes.Australia]: { postalCode: createFormatByDigits(4) },
|
|
58
57
|
[CountryCodes.Austria]: { postalCode: createFormatByDigits(4) },
|
|
@@ -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] = "42beddf6-70c2-4186-89ee-074df20d65df", e._sentryDebugIdIdentifier = "sentry-dbid-42beddf6-70c2-4186-89ee-074df20d65df");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
6
6
|
import { t as debouncedInputEvent } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
@@ -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] = "16537117-190e-437f-b2d4-6f4e21ae2c3f", e._sentryDebugIdIdentifier = "sentry-dbid-16537117-190e-437f-b2d4-6f4e21ae2c3f");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-DpPFIUJx.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 TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
11
11
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
12
|
-
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
12
|
+
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-X0L-NhMZ.js";
|
|
13
13
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
15
|
import { useEffect as useEffect$1, useState as useState$1 } from "preact/hooks";
|