@adyen/kyc-components 4.21.0 → 4.22.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-DrB_fPrZ.js → AcceptTermsOfServiceWorkflow-D2mvc_PB.js} +5 -5
- package/dist/{Accordion-DC7Iuj-J.js → Accordion-DEivLTcw.js} +1 -1
- package/dist/{AccountSetupRejected-DoXfDWqU.js → AccountSetupRejected-pcQcFAhQ.js} +1 -1
- package/dist/{AdaptiveWorkflow-J27A0gN7.js → AdaptiveWorkflow-C0EsaW8F.js} +16 -16
- package/dist/{AdaptiveWorkflowComponent-D6pqqlwM.js → AdaptiveWorkflowComponent-Nk2CJaU4.js} +54 -54
- package/dist/{AddressField-M0N4sAfl.js → AddressFields-3kqeRdC_.js} +108 -173
- package/dist/{Avatar-BKTdqNpO.js → Avatar-DHyXCNwV.js} +1 -1
- package/dist/{BusinessFinancingDropin-DemdZ7gf.js → BusinessFinancingDropin-BOECqGNd.js} +104 -197
- package/dist/{BusinessFinancingPage-_0QYXpNT.js → BusinessFinancingPage-DSy5an97.js} +30 -30
- package/dist/BusinessRegistrationNumberField-DHccXqsX.js +101 -0
- package/dist/{BusinessRegistrationNumberFieldGroup-C7gU9147.js → BusinessRegistrationNumberFieldGroup-2e9GKH-i.js} +5 -6
- package/dist/{BusinessTypeSelectionPage-BDhSt6pA.js → BusinessTypeSelectionPage-BraXRUrg.js} +13 -13
- package/dist/{Button-DSD_afG_.js → Button-nDbNtBn3.js} +1 -1
- package/dist/{Checkbox-Bc98rXHW.js → Checkbox-BiKnP2fS.js} +1 -1
- package/dist/{ComponentGroup-btCOkWx3.js → ComponentGroup-Due-N8Yz.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-B2_WSs7X.js → ConstitutionalDocument-CtRHXMb9.js} +67 -105
- package/dist/{ContactDetails-CtYPAJYy.js → ContactDetails-Syyy5BfB.js} +5 -5
- package/dist/{ContextGuidance-CQ6rdW_a.js → ContextGuidance-D8leB0D6.js} +2 -2
- package/dist/{Currency-BlBJnPV7.js → Currency-CFsMnSP0.js} +5 -5
- package/dist/{CustomerSupport-CrCRjZZq.js → CustomerSupport-DqayB3BM.js} +13 -12
- package/dist/{DataConflictsModal-iMz4Afov.js → DataConflictsModal-Bz2SYyi5.js} +6 -6
- package/dist/{DebugModal-BAf5ZU42.js → DebugModal-fH0uKl1E.js} +10 -10
- package/dist/{DecisionMakerDetails-DX5nw1Co.js → DecisionMakerDetails-7IPREpy1.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-BJn9whGe.js → DecisionMakerDetailsPage-Bs9q7sxc.js} +34 -34
- package/dist/{DecisionMakers-C6IDwXGe.js → DecisionMakers-Dw66GRhZ.js} +40 -40
- package/dist/{Dropzone-pCIXbO4I.js → Dropzone-CjLSK2UN.js} +7 -7
- package/dist/{EmbeddedStatus-CkSg9-9r.js → EmbeddedStatus-BIVFBjzu.js} +3 -3
- package/dist/{EndStateLayout-CarfWtTC.js → EndStateLayout-D2CSEwEn.js} +2 -2
- package/dist/{EntityAssociation-DFnGtIFI.js → EntityAssociation-LF_5ihhI.js} +6 -6
- package/dist/{ErrorPanel-ugcZz_Be.js → ErrorPanel-tLtZnFnX.js} +3 -3
- package/dist/{GlobalEntryModal-DAf4bqoT.js → GlobalEntryModal-CY-t1fGQ.js} +279 -79
- package/dist/{GlobalEntryPage-GK_Vfoub.js → GlobalEntryPage-xX4ruKnx.js} +7 -7
- package/dist/{Icon-CurE93CX.js → Icon-BcaP-f1D.js} +1 -1
- package/dist/{IdentityNumber-9wipDyP1.js → IdentityNumber-4ky6SOcb.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-PyIIIJ0a.js → IdentityNumberFieldGroup-BKKmSfLG.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DCru4Ax4.js → IdentityScreeningWorkflow-D0eNj4nD.js} +13 -13
- package/dist/{Individual.rules-PTvR4V7c.js → Individual.rules-PKwY3D-0.js} +4 -4
- package/dist/{IndividualDropin-odcDbuOv.js → IndividualDropin-DrQiG_Vy.js} +252 -224
- package/dist/{IndustryCodeFieldGroup-NJw6ULN9.js → IndustryCodeFieldGroup-jm8KFccr.js} +3 -3
- package/dist/InputDate-C14J5Af2.js +211 -0
- package/dist/{InputText-BvrH0bId.js → InputText-Dr-Wg0uc.js} +2 -2
- package/dist/{Introduction-Cc1kb6ZF.js → Introduction-DXAxkrDG.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CqRP9jG_.js → InvitedDecisionMakerComponent-CPMIUjiE.js} +61 -61
- package/dist/{JpAddressFields-gw_fQGFK.js → JpAddressFields-olKUlhpt.js} +8 -8
- package/dist/{LegalCompanyNameField-BmLuKn05.js → LegalCompanyNameField-BrdI-awc.js} +4 -4
- package/dist/{LegalName-CeRLeIRV.js → LegalName-CWoSqy0V.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-V35wZbnY.js → LegalRepresentativeDetailsPage-Ca3FLoSd.js} +30 -30
- package/dist/{Link-B-gN0d8l.js → Link-opuU6bLF.js} +1 -1
- package/dist/{ListItem-BGdnopqb.js → ListItem-CbjOa0L_.js} +2 -2
- package/dist/{Modal-smcFQS1n.js → Modal-BDNS-0rS.js} +3 -3
- package/dist/{Name-CjSRwrBX.js → Name-CxlxPgUR.js} +4 -4
- package/dist/{NewSummary-BBgZk5N5.js → NewSummary-mLsovGX8.js} +6 -6
- package/dist/{PatriotActDisclosure-DMB5NHHl.js → PatriotActDisclosure-kOnDnF8P.js} +10 -113
- package/dist/{PayoutDetailsDropin-B-hXWFtT.js → PayoutDetailsDropin-CZ77wefd.js} +26 -26
- package/dist/{PayoutDetailsPage-C_lCST-K.js → PayoutDetailsPage-Cyy-fDbK.js} +7 -7
- package/dist/{RadioGroup-CdF_CJsU.js → RadioGroup-C0mNADXE.js} +10 -17
- package/dist/{Review-D5P6Ac8i.js → Review-CDtJh9j3.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DVI9j8Ml.js → RootBusinessDetailsPage-CnVWFx0H.js} +30 -30
- package/dist/{RootBusinessLinesPage-W9tYnmw0.js → RootBusinessLinesPage-Dtx9X-mD.js} +23 -23
- package/dist/{RootIndividualDetailsPage-DOdcTAg9.js → RootIndividualDetailsPage-q8PZ0Khk.js} +31 -31
- package/dist/{Select-VeoEeZS8.js → Select-UO37dd_q.js} +5 -5
- package/dist/{SignPCIComponent-NpbyWtsj.js → SignPCIComponent-D21OqVWo.js} +38 -38
- package/dist/{SingpassSelection-CYThm6K3.js → SingpassSelection-CRYphIRT.js} +4 -4
- package/dist/{SoleProprietorshipPage-o0P3YdSD.js → SoleProprietorshipPage-BKB0sRiP.js} +30 -30
- package/dist/{SourceOfFundsPage-CzKXKYUk.js → SourceOfFundsPage-C2ZEp0lT.js} +26 -26
- package/dist/{SourceOfFundsWorkflow-qqY2jygF.js → SourceOfFundsWorkflow-Cy12c7ou.js} +4 -4
- package/dist/{StateField-Bez_WtWb.js → StateField-CWS8eXex.js} +8 -34
- package/dist/{Step-Onf402RU.js → Step-CYG94mSp.js} +9 -13
- package/dist/{StructuredList-36A9DDQa.js → StructuredList-CqZM_5X9.js} +3 -3
- package/dist/{Task-DiyDnOz9.js → Task-D6xuGucd.js} +11 -11
- package/dist/{TaskGroup-CIR21I_w.js → TaskGroup-C4ND30dB.js} +3 -3
- package/dist/{TaskListItem-DHIH6gi-.js → TaskListItem-Dc6n6llv.js} +9 -9
- package/dist/TaskStepperContextProvider-CvChF1W5.js +26 -0
- package/dist/{TaskVerificationStatus-DCfFNRJc.js → TaskVerificationStatus-pjPK5vVN.js} +1 -1
- package/dist/{TaxInformationFieldGroup-D_wL_Vik.js → TaxInformationFieldGroup-BACQgHQ7.js} +7 -8
- package/dist/{TaxReportingDropin-KSc9a6fn.js → TaxReportingDropin-DmOclyYQ.js} +14 -14
- package/dist/{TaxReportingWorkflow-CxxK1I0P.js → TaxReportingWorkflow-CBEB7oAn.js} +4 -4
- package/dist/{TermsOfServiceManagement-BjVUvy6A.js → TermsOfServiceManagement-No_9QGjv.js} +37 -37
- package/dist/{TextArea-CZ6EPFIm.js → TextArea-BzY5efza.js} +3 -3
- package/dist/{TrustDetailsPage-CMH_pooy.js → TrustDetailsPage-BHjbebZX.js} +79 -68
- package/dist/TrustMemberCompanyPage-BSe-Pn1O.js +109 -0
- package/dist/TrustMemberIndividualPage-DxlZQF6W.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-DtbIRzd6.js → TrustMemberRoleAndTypePage-AtlXyfKk.js} +40 -39
- package/dist/{TrustMembersOverview-CyiHoXHO.js → TrustMembersOverview-DpmUv4Vj.js} +36 -36
- package/dist/{UboTaskItem-DehpjG8P.js → UboTaskItem-ESC2Ze3o.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-B51DLOKD.js → UnincorporatedPartnershipIndividualPage-BVpz27KZ.js} +30 -30
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DwxgFOUv.js → UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js} +31 -31
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CGcWrzzR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-CYKGg4bE.js → UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js} +7 -7
- package/dist/{VerificationErrorAlert-DHnpqmkb.js → VerificationErrorAlert-BCEhkhpr.js} +2 -2
- package/dist/{Workflow-CKPX92cv.js → Workflow-CzSGihyD.js} +6 -6
- package/dist/{accountHolderUtils--ZEylxaF.js → accountHolderUtils-3WiED1-j.js} +1 -1
- package/dist/adyen-business-financing.js +31 -31
- package/dist/adyen-individual-configuration.js +56 -56
- package/dist/adyen-individual-status.js +29 -29
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +55 -57
- 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 +30 -30
- package/dist/adyen-transfer-instrument-management.js +38 -38
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-DkDlAHgN.js → bafinUtils-h8n1IbJ9.js} +45 -21
- package/dist/{bg-BG-D4mSRREu.js → bg-BG-BizRzO_4.js} +2 -2
- package/dist/bg-BG-BtgA44Ui.js +7 -0
- package/dist/{bg-BG-BeFIiwVZ.js → bg-BG-DFFyUYhz.js} +1 -4
- package/dist/bg-BG-DYkxVgeJ.js +7 -0
- package/dist/{constants-CpzwsYLt.js → constants-B9iXz9xK.js} +3 -3
- package/dist/cs-CZ-Ci8c58xJ.js +7 -0
- package/dist/{cs-CZ-DHfA1xjQ.js → cs-CZ-DbxpNCVt.js} +1 -4
- package/dist/cs-CZ-DcUnrLLF.js +7 -0
- package/dist/cs-CZ-lJQmuyHq.js +7 -0
- package/dist/da-DK-C1kmOHvo.js +7 -0
- package/dist/da-DK-D53M_d04.js +7 -0
- package/dist/da-DK-DxZQbdeO.js +7 -0
- package/dist/{da-DK--DlccBc0.js → da-DK-zLJRzcB1.js} +1 -4
- package/dist/{de-DE-B_iHAkLT.js → de-DE-BMfqDClD.js} +1 -4
- package/dist/de-DE-BnxQPuqK.js +7 -0
- package/dist/de-DE-qJPTCQlG.js +7 -0
- package/dist/de-DE-qSBQE-6M.js +7 -0
- package/dist/el-GR-Bx996PXx.js +7 -0
- package/dist/el-GR-CgoxpC-Q.js +7 -0
- package/dist/{el-GR-C6jyW53I.js → el-GR-Dv4ru2dp.js} +2 -2
- package/dist/{el-GR-D09thseu.js → el-GR-RfSX8m4j.js} +1 -4
- package/dist/{en-US-Del1h5SS.js → en-US-BUmtG-Wj.js} +5 -1
- package/dist/en-US-C_-DId-G.js +7 -0
- package/dist/{error-DYzwu0no.js → error-CHFF8jLc.js} +2 -2
- package/dist/{es-ES-Bpxn6XGC.js → es-ES-CYw82sbG.js} +1 -4
- package/dist/es-ES-DNhmrVEV.js +7 -0
- package/dist/es-ES-DyB2KXfT.js +7 -0
- package/dist/es-ES-U4-lDfZq.js +7 -0
- package/dist/es-LA-B5IRDCf_.js +7 -0
- package/dist/{es-LA-C8U1qPSu.js → es-LA-BctkHpgC.js} +5 -5
- package/dist/es-LA-C9A4OcR1.js +7 -0
- package/dist/{es-LA-DWAiA7Dw.js → es-LA-CG_cu1hM.js} +2 -2
- package/dist/{es-LA-CJdZb5eY.js → es-LA-CgkOJrPJ.js} +2 -2
- package/dist/es-LA-ChLRkx-r.js +7 -0
- package/dist/{es-LA-CjxlB1WZ.js → es-LA-DDXEJd1M.js} +1 -4
- package/dist/{es-LA-DBBkFhgU.js → es-LA-DcnCNM5a.js} +2 -2
- package/dist/es-LA-Oe31aP7N.js +7 -0
- package/dist/{es-LA-CE8hE_Qb.js → es-LA-s415mKU0.js} +2 -2
- package/dist/et-EE-4_ZUNt3W.js +7 -0
- package/dist/et-EE-BgBr1C0u.js +7 -0
- package/dist/{et-EE-Dtc7YYb4.js → et-EE-BlZkCwz8.js} +1 -4
- package/dist/et-EE-DSK7kb3n.js +7 -0
- package/dist/fi-FI-BSsXGaNE.js +7 -0
- package/dist/{fi-FI-DBhYlO4B.js → fi-FI-CNoPIGJP.js} +1 -4
- package/dist/fi-FI-D06EzKrW.js +7 -0
- package/dist/fi-FI-DgMsQBRO.js +7 -0
- package/dist/{form-rules-Cy_z1LiE.js → form-rules-CKwx5XtT.js} +82 -75
- package/dist/{formatValidationError-DGv-uwBi.js → formatValidationError-DZ1CxHdw.js} +1 -1
- package/dist/fr-FR-BTJoQq71.js +7 -0
- package/dist/{fr-FR-Dsh0Vb20.js → fr-FR-C88I1PF4.js} +2 -2
- package/dist/{fr-FR-N8UDU_0Y.js → fr-FR-CQZLvhS1.js} +1 -4
- package/dist/fr-FR-Dl4NL-Nc.js +7 -0
- package/dist/{CompanyRegistrationNumberTypeSelector-CX4-v376.js → getDefaultRegistrationNumberType-6m6DEmW8.js} +49 -49
- package/dist/{useAssociatedLegalEntity-BdcoiUby.js → getFormSlice-DzRO0UUx.js} +19 -2
- package/dist/{getProblemsForEntity-CTxd78-9.js → getProblemsForEntity-CfzojTAS.js} +1 -1
- package/dist/{getTrustedDecisionMakers-DWVtW7JE.js → getTrustedDecisionMakers-qs2frwk2.js} +1 -1
- package/dist/hr-HR-B11sggmG.js +7 -0
- package/dist/{hr-HR-GLRwxTIZ.js → hr-HR-C6-nBPZJ.js} +1 -4
- package/dist/hr-HR-COdiWKoq.js +7 -0
- package/dist/hr-HR-HlAOaG4N.js +7 -0
- package/dist/{hu-HU-s1MKqwI4.js → hu-HU-CKm1kMo5.js} +1 -4
- package/dist/hu-HU-DkSsL94T.js +7 -0
- package/dist/hu-HU-Dp6xOBN_.js +7 -0
- package/dist/hu-HU-s1kS1v8Y.js +7 -0
- package/dist/it-IT-BlaVymCj.js +7 -0
- package/dist/it-IT-CawjvBDX.js +7 -0
- package/dist/{it-IT-xXO07yyz.js → it-IT-DPOJ9mKi.js} +2 -2
- package/dist/{it-IT-2reNk09A.js → it-IT-DjUFw9e_.js} +1 -4
- package/dist/{ja-JP-Bf97gKqg.js → ja-JP-Ce_xNqZj.js} +1 -4
- package/dist/ja-JP-DGj167Zw.js +7 -0
- package/dist/ja-JP-Dpe9Odla.js +7 -0
- package/dist/ja-JP-h3E8hgLv.js +7 -0
- package/dist/{types-CdxNdaM6.js → legalArrangementUtils-skU_cq9L.js} +4 -3
- package/dist/lt-LT-B18sQY9g.js +7 -0
- package/dist/{lt-LT-BUgsY7cD.js → lt-LT-BQD7QWIk.js} +1 -4
- package/dist/lt-LT-CEpjHJry.js +7 -0
- package/dist/lt-LT-Fc1lOUlz.js +7 -0
- package/dist/lv-LV-COsG0cJY.js +7 -0
- package/dist/{lv-LV-BpniO6xp.js → lv-LV-DHwdYWGZ.js} +1 -4
- package/dist/lv-LV-DctYQmfH.js +7 -0
- package/dist/lv-LV-adiXoKhv.js +7 -0
- package/dist/{mapExistingFile-R6-FnjjY.js → mapExistingFile-CDahgHsP.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-C-kAGmiq.js → mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BIisj-RE.js → mapLegalEntityToIndividualSchema-ChE9qTUB.js} +6 -6
- package/dist/{mapTransferInstrumentToPayoutAccount-D-RdVquH.js → mapTransferInstrumentToPayoutAccount-BmSbFaJJ.js} +2 -2
- package/dist/nl-NL-9sJ9sG_Q.js +7 -0
- package/dist/nl-NL-BIpptPn4.js +7 -0
- package/dist/{nl-NL-_B3Ey_x1.js → nl-NL-Cdmgljzx.js} +1 -4
- package/dist/nl-NL-DOB0b0m4.js +7 -0
- package/dist/no-NO-BG1sYkpp.js +7 -0
- package/dist/no-NO-DnsCTUl4.js +7 -0
- package/dist/{no-NO-CytzrDfA.js → no-NO-MhaaDGft.js} +1 -4
- package/dist/no-NO-P5tRWhV9.js +7 -0
- package/dist/{pl-PL-DLBeIbY5.js → pl-PL-B0tX08_r.js} +1 -4
- package/dist/pl-PL-BX9Xsn_R.js +7 -0
- package/dist/pl-PL-J9S3_lCf.js +7 -0
- package/dist/pl-PL-_KG-ZD1N.js +7 -0
- package/dist/{processCapabilities-uXoRmB5x.js → processCapabilities-BfskhjUw.js} +2 -1
- package/dist/{processValidationErrors-CxYdVSIk.js → processValidationErrors-CRWq2tu-.js} +3 -3
- package/dist/pt-BR-BYbyk6xS.js +7 -0
- package/dist/{pt-BR-Cf5Jif3w.js → pt-BR-CExpeuK1.js} +1 -4
- package/dist/pt-BR-D23HWCOv2.js +7 -0
- package/dist/pt-BR-fKlNUybd.js +7 -0
- package/dist/{pt-PT-Cg7oMqTO.js → pt-PT-CedGAyU5.js} +1 -4
- package/dist/pt-PT-D8ldyR-j.js +7 -0
- package/dist/pt-PT-DAvsI-Tr.js +7 -0
- package/dist/pt-PT-oMj1KA74.js +7 -0
- package/dist/{resolveEnvironment-iYzRliVi.js → resolveEnvironment-D2iMH7UD.js} +69 -70
- package/dist/{ro-RO-UHWXt9rv.js → ro-RO-C-lRWe1h.js} +1 -4
- package/dist/ro-RO-CQJk7Cpo.js +7 -0
- package/dist/ro-RO-CnMe6Mfw.js +7 -0
- package/dist/ro-RO-Cri5-XPn.js +7 -0
- package/dist/sk-SK-Br1Y4_CN.js +7 -0
- package/dist/sk-SK-Bx2_85dW.js +7 -0
- package/dist/{sk-SK-BQHhBpDH.js → sk-SK-D1duuBif.js} +1 -4
- package/dist/sk-SK-XvPPBgTO.js +7 -0
- package/dist/sl-SI-B31X-t8A.js +7 -0
- package/dist/sl-SI-DHPadSTy.js +7 -0
- package/dist/{sl-SI-DOAJBgQV.js → sl-SI-DO9c7geI.js} +2 -2
- package/dist/{sl-SI-CTrggdef.js → sl-SI-iGtJR9Tk.js} +1 -4
- package/dist/style.css +21 -0
- package/dist/styles-DYaAeu4q.js +21 -0
- package/dist/{sv-SE-Bk55FXGN.js → sv-SE-9GnBnxvb.js} +1 -4
- package/dist/sv-SE-BXrlr0X5.js +7 -0
- package/dist/sv-SE-DBANqFwL.js +7 -0
- package/dist/sv-SE-l_UVgmVu.js +7 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -9
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +0 -8
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +2 -40
- package/dist/types/components/Business/utils/utils.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +6 -8
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +13 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +12 -3
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/PrimaryPartner/PrimaryPartner.d.ts +4 -0
- package/dist/types/components/GlobalEntry/forms/PrimaryPartner/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +2 -1
- package/dist/types/components/GlobalEntry/rules.d.ts +8 -3
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +2 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +2 -7
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -1
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/utils/businessUtils.d.ts +38 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/{components/UnincorporatedPartnership/types/types.d.ts → utils/legalArrangementUtils.d.ts} +2 -1
- package/dist/types/{components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts → utils/unincorporatedParnershipUtils.d.ts} +3 -3
- package/dist/{types-Ai_80DXu.js → types-Bdfu7HN6.js} +1 -1
- package/dist/{useBusinessDetailsData-Dt4JqZ87.js → useBusinessDetailsData-DZQuIMNw.js} +83 -180
- package/dist/{useCanSeeIntroduction-CMzerxJL.js → useCanSeeIntroduction-BGYdkMIE.js} +3 -3
- package/dist/{useDataMissingRemediations-Cd-jucOu.js → useDataMissingRemediations-D-NZOgal.js} +1 -1
- package/dist/{useForm-CEXA_F3u.js → useForm-BJq32Ve1.js} +2 -2
- package/dist/{useHideTaskStepper-MdPt1zI8.js → useHideTaskStepper-CcCmW80A.js} +9 -8
- package/dist/{useId-CZMbF_sJ.js → useId-BMocIuPK.js} +1 -1
- package/dist/{useNavigate-RRamr3fr.js → useNavigate-D4ypqPBN.js} +33 -33
- package/dist/{useSalesChannels-B9PV1rQa.js → useSalesChannels-BCzs8Xya.js} +3 -3
- package/dist/{useTaskLandedEvent-DbQ2E-rM.js → useTaskLandedEvent-Cf1fN_gV.js} +1 -1
- package/dist/useTaskStepperContext-DCNMsKUc.js +51 -0
- package/dist/{useTrustMembers-gdgm1nJI.js → useTrustMembers-DqpnYNNj.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-00l8eNLk.js → useUnincorporatedPartnershipMembers-w3dG_nyc.js} +2 -2
- package/dist/{useUpdateLegalEntity-Cp9Cq-yR.js → useUpdateLegalEntity-CvACAgDP.js} +1 -1
- package/dist/{utils-DxOvaA3u.js → utils-BMhvbUV1.js} +6 -6
- package/dist/{utils-CFaGY5aD.js → utils-P67T6pKI.js} +1 -1
- package/dist/validate-BqIbVY0E.js +151 -0
- package/dist/{validate-BevFCyzw.js → validate-Dfw99Sal.js} +5 -31
- package/dist/{validate-BbOeJY9-.js → validate-DiEa5w30.js} +4 -4
- package/dist/{validate--p4TuNQC.js → validate-RLWN-I5L.js} +68 -51
- package/dist/{validateExtractionResult-BnSV5Z6F.js → validateExtractionResult-DueyX5oY.js} +2 -2
- package/dist/{validationError-BLSF1VbX.js → validationError-BhICjGiF.js} +1 -1
- package/package.json +1 -1
- package/dist/InputDate-Cgld5B0-.js +0 -52
- package/dist/TaskStepperContextProvider-DuM9tlet.js +0 -81
- package/dist/TrustMemberCompanyPage-Bzcvc0Cz.js +0 -109
- package/dist/TrustMemberIndividualPage-DN_epZ5a.js +0 -110
- package/dist/bg-BG-CXqERnFH.js +0 -7
- package/dist/bg-BG-DbS559bK.js +0 -7
- package/dist/cs-CZ-4yvBEVL0.js +0 -7
- package/dist/cs-CZ-DAXMHrMi.js +0 -7
- package/dist/cs-CZ-DySBJFlc.js +0 -7
- package/dist/da-DK-BVaEiAWd.js +0 -7
- package/dist/da-DK-BuvKW6Sq.js +0 -7
- package/dist/da-DK-D3mbpcHG.js +0 -7
- package/dist/de-DE-BQaqplTp.js +0 -7
- package/dist/de-DE-BqujMxXu.js +0 -7
- package/dist/de-DE-D6R-XC2F.js +0 -7
- package/dist/el-GR-B1NjHThy.js +0 -7
- package/dist/el-GR-CedmhUFh.js +0 -7
- package/dist/en-US-D4NrsDmW.js +0 -7
- package/dist/es-ES-BM5RTwb7.js +0 -7
- package/dist/es-ES-C64v4NJD.js +0 -7
- package/dist/es-ES-DTUHhE47.js +0 -7
- package/dist/es-LA-B7pY2dp1.js +0 -7
- package/dist/es-LA-BjZq9RK_.js +0 -7
- package/dist/es-LA-CcMAcJ7u.js +0 -7
- package/dist/es-LA-DlL8vCjJ.js +0 -7
- package/dist/et-EE-DqhEsLik.js +0 -7
- package/dist/et-EE-FtKFvr3u.js +0 -7
- package/dist/et-EE-wDQx9HoZ.js +0 -7
- package/dist/fi-FI-KMP96Qxc.js +0 -7
- package/dist/fi-FI-RfGqWbnB.js +0 -7
- package/dist/fi-FI-SFw2grVp.js +0 -7
- package/dist/fr-FR-C8IPWMDL.js +0 -7
- package/dist/fr-FR-zDxTr2D3.js +0 -7
- package/dist/getFormSlice-C1ma6Xd4.js +0 -21
- package/dist/hr-HR-COvc9TZy.js +0 -7
- package/dist/hr-HR-Cqgf9B0v.js +0 -7
- package/dist/hr-HR-DPjuJ54x.js +0 -7
- package/dist/hu-HU-DIjDe5aa.js +0 -7
- package/dist/hu-HU-DyM1X3r6.js +0 -7
- package/dist/hu-HU-hB61p4H9.js +0 -7
- package/dist/it-IT-BKTDLRBT.js +0 -7
- package/dist/it-IT-BMXQzE0P.js +0 -7
- package/dist/ja-JP-BhHK_ru2.js +0 -7
- package/dist/ja-JP-BuFZko8b.js +0 -7
- package/dist/ja-JP-DbLRpEVj.js +0 -7
- package/dist/lt-LT-Be3q6tyu.js +0 -7
- package/dist/lt-LT-Btr5el2q.js +0 -7
- package/dist/lt-LT-D4raqCUa.js +0 -7
- package/dist/lv-LV-8wOWTo3r.js +0 -7
- package/dist/lv-LV-DBms129k.js +0 -7
- package/dist/lv-LV-DCeyOqHY.js +0 -7
- package/dist/nl-NL-CdHkQcOS.js +0 -7
- package/dist/nl-NL-Dyb3tkBi.js +0 -7
- package/dist/nl-NL-UhYf45fo.js +0 -7
- package/dist/no-NO-B-xCUkf4.js +0 -7
- package/dist/no-NO-DN7Ovyir.js +0 -7
- package/dist/no-NO-DXDddmYv.js +0 -7
- package/dist/pl-PL-BmiDQi18.js +0 -7
- package/dist/pl-PL-CBwRmIu5.js +0 -7
- package/dist/pl-PL-Cc09pXO8.js +0 -7
- package/dist/pt-BR-DA4PVtVa2.js +0 -7
- package/dist/pt-BR-DXGEP6IP.js +0 -7
- package/dist/pt-BR-hMhyqixD.js +0 -7
- package/dist/pt-PT-BXIKj_3F.js +0 -7
- package/dist/pt-PT-D2qX_lOd.js +0 -7
- package/dist/pt-PT-QU0CQs-d.js +0 -7
- package/dist/ro-RO-CQjOM8e-.js +0 -7
- package/dist/ro-RO-D4TQUwVB.js +0 -7
- package/dist/ro-RO-DNye-gMC.js +0 -7
- package/dist/sk-SK-2jlbtz2r.js +0 -7
- package/dist/sk-SK-CszMszV5.js +0 -7
- package/dist/sk-SK-CwbBfCsU.js +0 -7
- package/dist/sl-SI-9XdXVgB8.js +0 -7
- package/dist/sl-SI-Cyx0QtxG.js +0 -7
- package/dist/sv-SE--LlaHl85.js +0 -7
- package/dist/sv-SE-CqhSdYBe.js +0 -7
- package/dist/sv-SE-kbf3zbjX.js +0 -7
- package/dist/types/components/Shared/forms/Address/Address.d.ts +0 -3
- package/dist/useTaskStepperContext-BIEhTt1x.js +0 -15
- package/dist/validate-BjD_UO5x.js +0 -125
|
@@ -1,68 +1,68 @@
|
|
|
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] = "c525d180-c114-4dab-8506-353709633ca9", e._sentryDebugIdIdentifier = "sentry-dbid-c525d180-c114-4dab-8506-353709633ca9");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, U as NO_ALPHABET_UNICODE_REGEX, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator,
|
|
6
|
+
import { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, U as NO_ALPHABET_UNICODE_REGEX, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, ft as useSettingsContext, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator, nt as isEmpty, o as getAgeRangeForLegalRepresentative, pt as useAccountHolder, s as getAgeToday, st as matchesRegex, w as datasetIdentifier, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-D2iMH7UD.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-BEpMlKm2.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-nDbNtBn3.js";
|
|
11
11
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
12
12
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
13
13
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
14
14
|
import { a as objectsDeepEqual, n as doArraysMatch, r as drop, t as cloneObject } from "./genUtils-Ce61IJs8.js";
|
|
15
15
|
import { r as euCountries, t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
16
|
-
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-
|
|
16
|
+
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-BfskhjUw.js";
|
|
17
17
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
18
18
|
import { n as attachNomineeToRole, r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations, u as hasNomineesChanged } from "./entityAssociationUtil-CLBR9osP.js";
|
|
19
19
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
20
20
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
21
21
|
import { t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-DbKnutwk.js";
|
|
22
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
23
|
-
import { a as SettingNames, t as InputText } from "./InputText-
|
|
24
|
-
import { _ as
|
|
25
|
-
import { r as useToastContext } from "./useId-
|
|
26
|
-
import {
|
|
27
|
-
import { f as translateTranslatable, p as LoaderWrapper, r as Field, t as Select } from "./Select-
|
|
28
|
-
import { n as Confirm } from "./StructuredList-
|
|
29
|
-
import { A as
|
|
22
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-BDNS-0rS.js";
|
|
23
|
+
import { a as SettingNames, t as InputText } from "./InputText-Dr-Wg0uc.js";
|
|
24
|
+
import { _ as getPropsFromConfigurations, d as InputEmail, g as composePerScenarioFormConfigurations, m as resolveFieldMetadata, p as convertFullToHalf, u as MaskedInput, v as LandingLayout, y as TrustedFieldsProviders } from "./form-rules-CKwx5XtT.js";
|
|
25
|
+
import { r as useToastContext } from "./useId-BMocIuPK.js";
|
|
26
|
+
import { B as toFullWidth, F as taxInformationDefaultFieldConfig, I as taxInformationDefaultFieldMetadata, V as isJapanLocalizationEnabled, _ as taxIdNumberOptions, a as idNowPostSubmit, i as idNowModalChildEntityId, o as shouldShowIdNowModal, s as showIdNowModal, u as TaxInformationField } from "./bafinUtils-h8n1IbJ9.js";
|
|
27
|
+
import { f as translateTranslatable, p as LoaderWrapper, r as Field, t as Select } from "./Select-UO37dd_q.js";
|
|
28
|
+
import { n as Confirm } from "./StructuredList-CqZM_5X9.js";
|
|
29
|
+
import { A as mergeFieldMetadataIntoProps, C as preTranslatedSummaryItem, M as FormContextProvider, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, m as FormFlow, p as getRequiredForms, t as RadioGroup, u as CountryField, v as isTruthyValidator, y as useFormComposer } from "./RadioGroup-C0mNADXE.js";
|
|
30
30
|
import { t as Image } from "./Image-D82terx4.js";
|
|
31
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
32
|
-
import {
|
|
31
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-tLtZnFnX.js";
|
|
32
|
+
import { f as addressFields, s as mapAddressLabels } from "./StateField-CWS8eXex.js";
|
|
33
33
|
import { t as getIndividualLegalEntityName } from "./getName-s7qmFean.js";
|
|
34
34
|
import { t as useScenarios } from "./useScenarios-CGcmXgJv.js";
|
|
35
35
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
36
|
-
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
37
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
38
|
-
import { s as useProviderStatus } from "./
|
|
39
|
-
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-
|
|
40
|
-
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
41
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
42
|
-
import { i as JP_ADDRESS_REQUIRED_FIELDS, n as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
43
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
44
|
-
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument, u as getIdDocument } from "./validate-
|
|
36
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-ChE9qTUB.js";
|
|
37
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CvACAgDP.js";
|
|
38
|
+
import { n as ALL_ADDRESS_FIELDS, s as useProviderStatus, t as AddressFields } from "./AddressFields-3kqeRdC_.js";
|
|
39
|
+
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-Syyy5BfB.js";
|
|
40
|
+
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CDahgHsP.js";
|
|
41
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Cf1fN_gV.js";
|
|
42
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS, n as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js";
|
|
43
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CRWq2tu-.js";
|
|
44
|
+
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument, u as getIdDocument } from "./validate-DiEa5w30.js";
|
|
45
45
|
import { t as getLocalizedIdDocumentTypeOptions } from "./utils-Br7Ah3uy.js";
|
|
46
46
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
47
|
-
import {
|
|
47
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-kOnDnF8P.js";
|
|
48
48
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
49
|
-
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-
|
|
50
|
-
import { a as isValidationError } from "./validationError-
|
|
51
|
-
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-
|
|
52
|
-
import {
|
|
49
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-CHFF8jLc.js";
|
|
50
|
+
import { a as isValidationError } from "./validationError-BhICjGiF.js";
|
|
51
|
+
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-4ky6SOcb.js";
|
|
52
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-C14J5Af2.js";
|
|
53
|
+
import { t as addressValidators } from "./validate-Dfw99Sal.js";
|
|
53
54
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
54
|
-
import { t as TextArea } from "./TextArea-
|
|
55
|
-
import { t as Dropzone } from "./Dropzone-
|
|
55
|
+
import { t as TextArea } from "./TextArea-BzY5efza.js";
|
|
56
|
+
import { t as Dropzone } from "./Dropzone-CjLSK2UN.js";
|
|
56
57
|
import { n as getFieldProps, r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
57
|
-
import { t as Link } from "./Link-
|
|
58
|
-
import {
|
|
59
|
-
import { t as
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import { t as
|
|
63
|
-
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-BnSV5Z6F.js";
|
|
58
|
+
import { t as Link } from "./Link-opuU6bLF.js";
|
|
59
|
+
import { t as ContextGuidance } from "./ContextGuidance-D8leB0D6.js";
|
|
60
|
+
import { i as individualRules, n as DECISION_MAKER_TYPES_WITH_JOBTITLE, t as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES } from "./Individual.rules-PKwY3D-0.js";
|
|
61
|
+
import { n as nameFields, t as Name } from "./Name-CxlxPgUR.js";
|
|
62
|
+
import { t as formatValidationError } from "./formatValidationError-DZ1CxHdw.js";
|
|
63
|
+
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-DueyX5oY.js";
|
|
64
64
|
import { t as isEmpty$1 } from "./isEmpty-DD8Insy0.js";
|
|
65
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
65
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-Bz2SYyi5.js";
|
|
66
66
|
import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
67
67
|
import { Suspense, lazy, memo } from "preact/compat";
|
|
68
68
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -723,6 +723,10 @@ function IndividualIdNumberTypeSelector({ country, selected, handleFieldChange }
|
|
|
723
723
|
//#endregion
|
|
724
724
|
//#region src/components/Individual/helpers/isDecisionMakerTask.ts
|
|
725
725
|
var isDecisionMakerTask = (taskType) => taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
726
|
+
var AdditionalPersonalDetails_module_default = {
|
|
727
|
+
"additional-details-section-heading": "_additional-details-section-heading_o3tfa_1",
|
|
728
|
+
additionalDetailsSectionHeading: "_additional-details-section-heading_o3tfa_1"
|
|
729
|
+
};
|
|
726
730
|
//#endregion
|
|
727
731
|
//#region src/components/Individual/fields/DriversLicense/DriversLicense.tsx
|
|
728
732
|
var DriversLicense = ({ country, driversLicense, onIssuerStateChange, onLicenseNumberInput, onLicenseNumberBlur, onCardNumberInput, onCardNumberBlur, formUtils, isValid, errorMessages, guidanceText, shouldValidate }) => {
|
|
@@ -999,7 +1003,7 @@ var additionalIdentityInfoFields = [
|
|
|
999
1003
|
];
|
|
1000
1004
|
//#endregion
|
|
1001
1005
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.tsx
|
|
1002
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
1006
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-olKUlhpt.js")).JpAddressFields);
|
|
1003
1007
|
var additionalPersonalDetailsFields = [
|
|
1004
1008
|
"birthDate",
|
|
1005
1009
|
...idNumberFields,
|
|
@@ -1022,12 +1026,8 @@ function AdditionalPersonalDetails(props) {
|
|
|
1022
1026
|
const isSettingsEnforceLegalAgeEnabled = isSettingEnabled(SettingNames.EnforceLegalAge);
|
|
1023
1027
|
const { country: defaultCountry, data, formVerificationErrors, heading, shouldValidate, valid, fieldValidationErrors, errors = {}, taskType, handleFieldChange } = props;
|
|
1024
1028
|
const country = data?.country ?? defaultCountry;
|
|
1025
|
-
const taxIdNumberType = getDefaultTaxIdNumberType(form.data?.additionalPersonalDetails?.taxInformation, country, LegalEntityTypes.INDIVIDUAL);
|
|
1026
1029
|
const showField = (fieldKeys) => fieldKeys.some((field) => formUtils.isRequiredField(field) || formUtils.isOptionalField(field));
|
|
1027
|
-
const formUtils = createFormUtils(
|
|
1028
|
-
taxIdNumberType,
|
|
1029
|
-
companyType: LegalEntityTypes.INDIVIDUAL
|
|
1030
|
-
}, taxInformationDefaultFieldMetadata), props), t);
|
|
1030
|
+
const formUtils = createFormUtils(props, t);
|
|
1031
1031
|
const birthDateErrorMessage = formUtils.getErrorMessage("birthDate", errors, fieldValidationErrors);
|
|
1032
1032
|
if (!handleFieldChange) return;
|
|
1033
1033
|
const handleBirthDateChange = (event) => {
|
|
@@ -1066,15 +1066,18 @@ function AdditionalPersonalDetails(props) {
|
|
|
1066
1066
|
formUtils,
|
|
1067
1067
|
id: "ariaErrorField"
|
|
1068
1068
|
}),
|
|
1069
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1069
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1070
|
+
className: AdditionalPersonalDetails_module_default.additionalDetailsSectionHeading,
|
|
1071
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1072
|
+
el: "h3",
|
|
1073
|
+
variant: "title",
|
|
1074
|
+
children: t(($) => $["residentialAddress"])
|
|
1075
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
1076
|
+
el: "p",
|
|
1077
|
+
variant: "body",
|
|
1078
|
+
children: t(($) => $["thisPersonsPrimaryAddress"], { ns: "individual" })
|
|
1079
|
+
})]
|
|
1080
|
+
}),
|
|
1078
1081
|
formUtils.isRequiredField("country") && /* @__PURE__ */ jsx(CountryField, {
|
|
1079
1082
|
data: { country },
|
|
1080
1083
|
valid: { country: valid?.country },
|
|
@@ -1097,23 +1100,26 @@ function AdditionalPersonalDetails(props) {
|
|
|
1097
1100
|
addressType: "residentialAddress",
|
|
1098
1101
|
hideCountry: true
|
|
1099
1102
|
}),
|
|
1100
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1103
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1104
|
+
className: AdditionalPersonalDetails_module_default.additionalDetailsSectionHeading,
|
|
1105
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1106
|
+
el: "h3",
|
|
1107
|
+
variant: "title",
|
|
1108
|
+
children: t(($) => $["personalIdentityDetails"], { ns: "individual" })
|
|
1109
|
+
}), /* @__PURE__ */ jsxs(Typography, {
|
|
1110
|
+
el: "p",
|
|
1111
|
+
variant: "body",
|
|
1112
|
+
children: [
|
|
1113
|
+
t(($) => $["weOnlyUseTheseDetailsForIdentityVerification"], { ns: "individual" }),
|
|
1114
|
+
" ",
|
|
1115
|
+
/* @__PURE__ */ jsx(Link, {
|
|
1116
|
+
href: "https://www.adyen.com/privacy-policy",
|
|
1117
|
+
external: true,
|
|
1118
|
+
children: t(($) => $["privacyStatement"])
|
|
1119
|
+
})
|
|
1120
|
+
]
|
|
1121
|
+
})]
|
|
1122
|
+
}),
|
|
1117
1123
|
formUtils.isRequiredField("birthDate") && /* @__PURE__ */ jsx(Field, {
|
|
1118
1124
|
name: "birthDate",
|
|
1119
1125
|
label: formUtils.getLabel("birthDate"),
|
|
@@ -1163,8 +1169,6 @@ function AdditionalPersonalDetails(props) {
|
|
|
1163
1169
|
data: formUtils.getFieldData(form.data?.additionalPersonalDetails ?? {}, ["taxInformation"]),
|
|
1164
1170
|
valid: formUtils.getFieldValid(form.valid?.additionalPersonalDetails ?? {}, ["taxInformation"]),
|
|
1165
1171
|
errors: { taxInformation: formUtils.getErrorMessage("taxInformation", errors, fieldValidationErrors) },
|
|
1166
|
-
labels: formUtils.getFieldLabels(["taxInformation"]),
|
|
1167
|
-
mask: formUtils.getMask("taxInformation"),
|
|
1168
1172
|
readonly: formUtils.isReadOnly("taxInformation"),
|
|
1169
1173
|
shouldValidate,
|
|
1170
1174
|
handleChangeFor: handleFieldChange,
|
|
@@ -1367,11 +1371,14 @@ function BasicDetails(props) {
|
|
|
1367
1371
|
lastName: parentLegalEntity?.individual?.name.lastName || ""
|
|
1368
1372
|
})
|
|
1369
1373
|
}),
|
|
1370
|
-
/* @__PURE__ */ jsx(
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1374
|
+
/* @__PURE__ */ jsx("div", {
|
|
1375
|
+
className: "u-margin-bottom-32",
|
|
1376
|
+
children: /* @__PURE__ */ jsx(ContextGuidance, {
|
|
1377
|
+
title: commonT(($) => $["whyDoINeedToFillInThisInformation"]),
|
|
1378
|
+
content: individualT(($) => $["reasonForFillingIndividualPersonalDetails"]),
|
|
1379
|
+
titleId: "whyDoINeedToFillInThisInformation",
|
|
1380
|
+
contentId: "reasonForFillingIndividualPersonalDetails"
|
|
1381
|
+
})
|
|
1375
1382
|
}),
|
|
1376
1383
|
isDecisionMakerTask(taskType) && trustedFieldsProvider === TrustedFieldsProviders.SINGPASS && readOnlyFields && /* @__PURE__ */ jsx(Typography, {
|
|
1377
1384
|
color: "secondary",
|
|
@@ -2342,200 +2349,221 @@ var useGuidanceQuestionnaire = ({ data, handleFieldChange, openModal, formUtils,
|
|
|
2342
2349
|
questionsMap
|
|
2343
2350
|
]) };
|
|
2344
2351
|
};
|
|
2352
|
+
var UboQuestionnaireModalContent_module_default = {
|
|
2353
|
+
"questionnaire-modal-content": "_questionnaire-modal-content_8je6c_1",
|
|
2354
|
+
questionnaireModalContent: "_questionnaire-modal-content_8je6c_1",
|
|
2355
|
+
"questionnaire-list": "_questionnaire-list_8je6c_5",
|
|
2356
|
+
questionnaireList: "_questionnaire-list_8je6c_5"
|
|
2357
|
+
};
|
|
2345
2358
|
//#endregion
|
|
2346
2359
|
//#region src/components/Individual/forms/UboQuestionnaire/UboQuestionnaireModalContent.tsx
|
|
2347
2360
|
var UboQuestionnaireModalContent = ({ modalType, country }) => {
|
|
2348
2361
|
const { t } = useTranslation("individual");
|
|
2349
2362
|
switch (modalType) {
|
|
2350
|
-
case "isOwner": return /* @__PURE__ */ jsxs(
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
el: "h3",
|
|
2354
|
-
className: "u-margin-bottom-40",
|
|
2355
|
-
children: t(($) => $["moreAboutOwners"])
|
|
2356
|
-
}),
|
|
2357
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2358
|
-
variant: "body-strongest",
|
|
2359
|
-
el: "h4",
|
|
2360
|
-
className: "u-margin-bottom-12",
|
|
2361
|
-
children: t(($) => $["ownersDescriptionQ1"])
|
|
2362
|
-
}),
|
|
2363
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2364
|
-
el: "p",
|
|
2365
|
-
children: t(($) => $["ownersDescriptionA1P1"])
|
|
2366
|
-
}),
|
|
2367
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2368
|
-
el: "p",
|
|
2369
|
-
className: "u-margin-bottom-32",
|
|
2370
|
-
children: t(($) => $["ownersDescriptionA1P2"])
|
|
2371
|
-
}),
|
|
2372
|
-
/* @__PURE__ */ jsx(Alert, {
|
|
2373
|
-
title: t(($) => $["ownersDescriptionAlertTitle"]),
|
|
2374
|
-
icon: false,
|
|
2375
|
-
className: "u-margin-bottom-32",
|
|
2376
|
-
children: t(($) => $["ownersDescriptionAlertContent"])
|
|
2377
|
-
}),
|
|
2378
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2379
|
-
variant: "body-strongest",
|
|
2380
|
-
el: "h4",
|
|
2381
|
-
className: "u-margin-bottom-12",
|
|
2382
|
-
children: t(($) => $["ownersDescriptionQ2"])
|
|
2383
|
-
}),
|
|
2384
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2385
|
-
el: "p",
|
|
2386
|
-
children: t(($) => $["ownersDescriptionA2P1"])
|
|
2387
|
-
}),
|
|
2388
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2389
|
-
el: "p",
|
|
2390
|
-
className: "u-margin-bottom-32",
|
|
2391
|
-
children: t(($) => $["ownersDescriptionA2P2"])
|
|
2392
|
-
}),
|
|
2393
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2394
|
-
variant: "body-strongest",
|
|
2395
|
-
el: "h4",
|
|
2396
|
-
className: "u-margin-bottom-12",
|
|
2397
|
-
children: t(($) => $["ownersDescriptionQ3"])
|
|
2398
|
-
}),
|
|
2399
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2400
|
-
el: "p",
|
|
2401
|
-
className: "u-margin-bottom-32",
|
|
2402
|
-
children: t(($) => $["ownersDescriptionA3"])
|
|
2403
|
-
}),
|
|
2404
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2405
|
-
variant: "body-strongest",
|
|
2406
|
-
el: "h4",
|
|
2407
|
-
className: "u-margin-bottom-12",
|
|
2408
|
-
children: t(($) => $["ownersDescriptionQ4"])
|
|
2409
|
-
}),
|
|
2410
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2411
|
-
el: "p",
|
|
2412
|
-
className: "u-margin-bottom-32",
|
|
2413
|
-
children: t(($) => $["ownersDescriptionA4"])
|
|
2414
|
-
})
|
|
2415
|
-
] });
|
|
2416
|
-
case "isControllingPerson": return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2417
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2418
|
-
variant: "title-l",
|
|
2419
|
-
el: "h3",
|
|
2420
|
-
className: "u-margin-bottom-40",
|
|
2421
|
-
children: t(($) => $["moreAboutOwnershipThroughControl"])
|
|
2422
|
-
}),
|
|
2423
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2424
|
-
variant: "body-strongest",
|
|
2425
|
-
el: "h4",
|
|
2426
|
-
className: "u-margin-bottom-12",
|
|
2427
|
-
children: t(($) => $["controllingPersonDescriptionQ1"])
|
|
2428
|
-
}),
|
|
2429
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2430
|
-
el: "p",
|
|
2431
|
-
className: "u-margin-bottom-32",
|
|
2432
|
-
children: t(($) => $["controllingPersonDescriptionA1P1"])
|
|
2433
|
-
}),
|
|
2434
|
-
/* @__PURE__ */ jsxs("ul", { children: [
|
|
2435
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2436
|
-
t,
|
|
2437
|
-
i18nKey: ($) => $["controllingPersonDescriptionA1L1"]
|
|
2438
|
-
}) }),
|
|
2439
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2440
|
-
t,
|
|
2441
|
-
i18nKey: ($) => $["controllingPersonDescriptionA1L2"]
|
|
2442
|
-
}) }),
|
|
2443
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2444
|
-
t,
|
|
2445
|
-
i18nKey: ($) => $["controllingPersonDescriptionA1L3"]
|
|
2446
|
-
}) }),
|
|
2447
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2448
|
-
t,
|
|
2449
|
-
i18nKey: ($) => $["controllingPersonDescriptionA1L4"]
|
|
2450
|
-
}) })
|
|
2451
|
-
] }),
|
|
2452
|
-
/* @__PURE__ */ jsx(Alert, {
|
|
2453
|
-
title: t(($) => $["ownersDescriptionAlertTitle"]),
|
|
2454
|
-
icon: false,
|
|
2455
|
-
className: "u-margin-bottom-32",
|
|
2456
|
-
children: t(($) => $["controllingPersonDescriptionAlertContent"])
|
|
2457
|
-
}),
|
|
2458
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2459
|
-
variant: "body-strongest",
|
|
2460
|
-
el: "h4",
|
|
2461
|
-
className: "u-margin-bottom-12",
|
|
2462
|
-
children: t(($) => $["ownersDescriptionQ4"])
|
|
2463
|
-
}),
|
|
2464
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2465
|
-
el: "p",
|
|
2466
|
-
children: t(($) => $["ownersDescriptionA4"])
|
|
2467
|
-
}),
|
|
2468
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2469
|
-
variant: "body-strongest",
|
|
2470
|
-
el: "h4",
|
|
2471
|
-
className: "u-margin-bottom-12",
|
|
2472
|
-
children: t(($) => $["controllingPersonDescriptionQ2"])
|
|
2473
|
-
}),
|
|
2474
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
2475
|
-
el: "p",
|
|
2476
|
-
className: "u-margin-bottom-32",
|
|
2477
|
-
children: t(($) => $["controllingPersonDescriptionA2"])
|
|
2478
|
-
})
|
|
2479
|
-
] });
|
|
2480
|
-
case "isDirector":
|
|
2481
|
-
if (country === "JP") return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2363
|
+
case "isOwner": return /* @__PURE__ */ jsxs("div", {
|
|
2364
|
+
className: UboQuestionnaireModalContent_module_default.questionnaireModalContent,
|
|
2365
|
+
children: [
|
|
2482
2366
|
/* @__PURE__ */ jsx(Typography, {
|
|
2483
2367
|
variant: "title-l",
|
|
2484
2368
|
el: "h3",
|
|
2485
2369
|
className: "u-margin-bottom-40",
|
|
2486
|
-
children: t(($) => $["
|
|
2370
|
+
children: t(($) => $["moreAboutOwners"])
|
|
2487
2371
|
}),
|
|
2488
2372
|
/* @__PURE__ */ jsx(Typography, {
|
|
2489
2373
|
variant: "body-strongest",
|
|
2490
2374
|
el: "h4",
|
|
2491
2375
|
className: "u-margin-bottom-12",
|
|
2492
|
-
children: t(($) => $["
|
|
2376
|
+
children: t(($) => $["ownersDescriptionQ1"])
|
|
2493
2377
|
}),
|
|
2494
2378
|
/* @__PURE__ */ jsx(Typography, {
|
|
2495
2379
|
el: "p",
|
|
2380
|
+
children: t(($) => $["ownersDescriptionA1P1"])
|
|
2381
|
+
}),
|
|
2382
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2383
|
+
el: "p",
|
|
2384
|
+
className: "u-margin-bottom-32",
|
|
2385
|
+
children: t(($) => $["ownersDescriptionA1P2"])
|
|
2386
|
+
}),
|
|
2387
|
+
/* @__PURE__ */ jsx(Alert, {
|
|
2388
|
+
title: t(($) => $["ownersDescriptionAlertTitle"]),
|
|
2389
|
+
icon: false,
|
|
2496
2390
|
className: "u-margin-bottom-32",
|
|
2497
|
-
children: t(($) => $["
|
|
2391
|
+
children: t(($) => $["ownersDescriptionAlertContent"])
|
|
2498
2392
|
}),
|
|
2499
2393
|
/* @__PURE__ */ jsx(Typography, {
|
|
2500
2394
|
variant: "body-strongest",
|
|
2501
2395
|
el: "h4",
|
|
2502
2396
|
className: "u-margin-bottom-12",
|
|
2503
|
-
children: t(($) => $["
|
|
2397
|
+
children: t(($) => $["ownersDescriptionQ2"])
|
|
2398
|
+
}),
|
|
2399
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2400
|
+
el: "p",
|
|
2401
|
+
children: t(($) => $["ownersDescriptionA2P1"])
|
|
2504
2402
|
}),
|
|
2505
2403
|
/* @__PURE__ */ jsx(Typography, {
|
|
2506
2404
|
el: "p",
|
|
2507
|
-
|
|
2405
|
+
className: "u-margin-bottom-32",
|
|
2406
|
+
children: t(($) => $["ownersDescriptionA2P2"])
|
|
2407
|
+
}),
|
|
2408
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2409
|
+
variant: "body-strongest",
|
|
2410
|
+
el: "h4",
|
|
2411
|
+
className: "u-margin-bottom-12",
|
|
2412
|
+
children: t(($) => $["ownersDescriptionQ3"])
|
|
2413
|
+
}),
|
|
2414
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2415
|
+
el: "p",
|
|
2416
|
+
className: "u-margin-bottom-32",
|
|
2417
|
+
children: t(($) => $["ownersDescriptionA3"])
|
|
2418
|
+
}),
|
|
2419
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2420
|
+
variant: "body-strongest",
|
|
2421
|
+
el: "h4",
|
|
2422
|
+
className: "u-margin-bottom-12",
|
|
2423
|
+
children: t(($) => $["ownersDescriptionQ4"])
|
|
2424
|
+
}),
|
|
2425
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2426
|
+
el: "p",
|
|
2427
|
+
className: "u-margin-bottom-32",
|
|
2428
|
+
children: t(($) => $["ownersDescriptionA4"])
|
|
2508
2429
|
})
|
|
2509
|
-
]
|
|
2510
|
-
|
|
2430
|
+
]
|
|
2431
|
+
});
|
|
2432
|
+
case "isControllingPerson": return /* @__PURE__ */ jsxs("div", {
|
|
2433
|
+
className: UboQuestionnaireModalContent_module_default.questionnaireModalContent,
|
|
2434
|
+
children: [
|
|
2511
2435
|
/* @__PURE__ */ jsx(Typography, {
|
|
2512
2436
|
variant: "title-l",
|
|
2513
2437
|
el: "h3",
|
|
2514
2438
|
className: "u-margin-bottom-40",
|
|
2515
|
-
children: t(($) => $["
|
|
2439
|
+
children: t(($) => $["moreAboutOwnershipThroughControl"])
|
|
2516
2440
|
}),
|
|
2517
2441
|
/* @__PURE__ */ jsx(Typography, {
|
|
2518
2442
|
variant: "body-strongest",
|
|
2519
2443
|
el: "h4",
|
|
2520
2444
|
className: "u-margin-bottom-12",
|
|
2521
|
-
children: t(($) => $["
|
|
2445
|
+
children: t(($) => $["controllingPersonDescriptionQ1"])
|
|
2522
2446
|
}),
|
|
2523
2447
|
/* @__PURE__ */ jsx(Typography, {
|
|
2524
2448
|
el: "p",
|
|
2449
|
+
className: "u-margin-bottom-16",
|
|
2450
|
+
children: t(($) => $["controllingPersonDescriptionA1P1"])
|
|
2451
|
+
}),
|
|
2452
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
2453
|
+
className: UboQuestionnaireModalContent_module_default.questionnaireList,
|
|
2454
|
+
children: [
|
|
2455
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2456
|
+
t,
|
|
2457
|
+
i18nKey: ($) => $["controllingPersonDescriptionA1L1"]
|
|
2458
|
+
}) }),
|
|
2459
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2460
|
+
t,
|
|
2461
|
+
i18nKey: ($) => $["controllingPersonDescriptionA1L2"]
|
|
2462
|
+
}) }),
|
|
2463
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2464
|
+
t,
|
|
2465
|
+
i18nKey: ($) => $["controllingPersonDescriptionA1L3"]
|
|
2466
|
+
}) }),
|
|
2467
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, {
|
|
2468
|
+
t,
|
|
2469
|
+
i18nKey: ($) => $["controllingPersonDescriptionA1L4"]
|
|
2470
|
+
}) })
|
|
2471
|
+
]
|
|
2472
|
+
}),
|
|
2473
|
+
/* @__PURE__ */ jsx(Alert, {
|
|
2474
|
+
title: t(($) => $["ownersDescriptionAlertTitle"]),
|
|
2475
|
+
icon: false,
|
|
2525
2476
|
className: "u-margin-bottom-32",
|
|
2526
|
-
children: t(($) => $["
|
|
2477
|
+
children: t(($) => $["controllingPersonDescriptionAlertContent"])
|
|
2478
|
+
}),
|
|
2479
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2480
|
+
variant: "body-strongest",
|
|
2481
|
+
el: "h4",
|
|
2482
|
+
className: "u-margin-bottom-12",
|
|
2483
|
+
children: t(($) => $["ownersDescriptionQ4"])
|
|
2484
|
+
}),
|
|
2485
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2486
|
+
el: "p",
|
|
2487
|
+
children: t(($) => $["ownersDescriptionA4"])
|
|
2527
2488
|
}),
|
|
2528
2489
|
/* @__PURE__ */ jsx(Typography, {
|
|
2529
2490
|
variant: "body-strongest",
|
|
2530
2491
|
el: "h4",
|
|
2531
2492
|
className: "u-margin-bottom-12",
|
|
2532
|
-
children: t(($) => $["
|
|
2493
|
+
children: t(($) => $["controllingPersonDescriptionQ2"])
|
|
2533
2494
|
}),
|
|
2534
2495
|
/* @__PURE__ */ jsx(Typography, {
|
|
2535
2496
|
el: "p",
|
|
2536
|
-
|
|
2497
|
+
className: "u-margin-bottom-32",
|
|
2498
|
+
children: t(($) => $["controllingPersonDescriptionA2"])
|
|
2537
2499
|
})
|
|
2538
|
-
]
|
|
2500
|
+
]
|
|
2501
|
+
});
|
|
2502
|
+
case "isDirector":
|
|
2503
|
+
if (country === "JP") return /* @__PURE__ */ jsxs("div", {
|
|
2504
|
+
className: UboQuestionnaireModalContent_module_default.questionnaireModalContent,
|
|
2505
|
+
children: [
|
|
2506
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2507
|
+
variant: "title-l",
|
|
2508
|
+
el: "h3",
|
|
2509
|
+
className: "u-margin-bottom-40",
|
|
2510
|
+
children: t(($) => $["moreAboutRegisteredRepresentativeDirectors"])
|
|
2511
|
+
}),
|
|
2512
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2513
|
+
variant: "body-strongest",
|
|
2514
|
+
el: "h4",
|
|
2515
|
+
className: "u-margin-bottom-12",
|
|
2516
|
+
children: t(($) => $["whatIsARegisteredRepresentativeDirector"])
|
|
2517
|
+
}),
|
|
2518
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2519
|
+
el: "p",
|
|
2520
|
+
className: "u-margin-bottom-32",
|
|
2521
|
+
children: t(($) => $["directorIsANaturalPerson"])
|
|
2522
|
+
}),
|
|
2523
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2524
|
+
variant: "body-strongest",
|
|
2525
|
+
el: "h4",
|
|
2526
|
+
className: "u-margin-bottom-12",
|
|
2527
|
+
children: t(($) => $["canABusinessHaveMultipleRegisteredRepresentativeDirectors"])
|
|
2528
|
+
}),
|
|
2529
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2530
|
+
el: "p",
|
|
2531
|
+
children: t(($) => $["aBusinessCanHaveManyDirectors"])
|
|
2532
|
+
})
|
|
2533
|
+
]
|
|
2534
|
+
});
|
|
2535
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2536
|
+
className: UboQuestionnaireModalContent_module_default.questionnaireModalContent,
|
|
2537
|
+
children: [
|
|
2538
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2539
|
+
variant: "title-l",
|
|
2540
|
+
el: "h3",
|
|
2541
|
+
className: "u-margin-bottom-40",
|
|
2542
|
+
children: t(($) => $["moreAboutDirectors"])
|
|
2543
|
+
}),
|
|
2544
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2545
|
+
variant: "body-strongest",
|
|
2546
|
+
el: "h4",
|
|
2547
|
+
className: "u-margin-bottom-12",
|
|
2548
|
+
children: t(($) => $["directorDescriptionQ1"])
|
|
2549
|
+
}),
|
|
2550
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2551
|
+
el: "p",
|
|
2552
|
+
className: "u-margin-bottom-32",
|
|
2553
|
+
children: t(($) => $["directorDescriptionA1"])
|
|
2554
|
+
}),
|
|
2555
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2556
|
+
variant: "body-strongest",
|
|
2557
|
+
el: "h4",
|
|
2558
|
+
className: "u-margin-bottom-12",
|
|
2559
|
+
children: t(($) => $["directorDescriptionQ2"])
|
|
2560
|
+
}),
|
|
2561
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
2562
|
+
el: "p",
|
|
2563
|
+
children: t(($) => $["directorDescriptionA2"])
|
|
2564
|
+
})
|
|
2565
|
+
]
|
|
2566
|
+
});
|
|
2539
2567
|
default: return null;
|
|
2540
2568
|
}
|
|
2541
2569
|
};
|
|
@@ -3567,7 +3595,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
3567
3595
|
const formattedDocuments = await mapIndividualDocumentToApiDocument(dataSubmitted, legalEntity.id);
|
|
3568
3596
|
if (!formattedDocuments || formattedDocuments?.length === 0) {
|
|
3569
3597
|
if (existingAttachments?.length) logger.log("User has already uploaded documents and is not changing them, nothing needs to be done");
|
|
3570
|
-
else logger.
|
|
3598
|
+
else logger.log("No documents to submit and no existing documents — skipping document upload");
|
|
3571
3599
|
return;
|
|
3572
3600
|
}
|
|
3573
3601
|
formattedDocuments[0].attachments = mergeAttachments(existingAttachments ?? [], formattedDocuments[0]?.attachments ?? []).filter((attachment) => attachment.content);
|
|
@@ -3649,7 +3677,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
3649
3677
|
idDocumentType
|
|
3650
3678
|
});
|
|
3651
3679
|
setAccountHolder(accountHolder);
|
|
3652
|
-
if (dataSubmitted.idVerificationMethod && dataSubmitted.idVerificationMethod
|
|
3680
|
+
if (dataSubmitted.idVerificationMethod?.idVerificationMethod && dataSubmitted.idVerificationMethod.idVerificationMethod !== "existingDocument" || hasVerificationErrors) {
|
|
3653
3681
|
if (!(dataSubmitted?.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY) && matchingScenario?.includes(Scenarios.L_BAFIN))) await submitDocuments({
|
|
3654
3682
|
legalEntity: submittedLegalEntity,
|
|
3655
3683
|
dataSubmitted
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58f38b3c-125c-46e4-bc74-dacf62cd8794", e._sentryDebugIdIdentifier = "sentry-dbid-58f38b3c-125c-46e4-bc74-dacf62cd8794");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext } from "./resolveEnvironment-D2iMH7UD.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
|
-
import { n as IconButton } from "./Button-
|
|
8
|
+
import { n as IconButton } from "./Button-nDbNtBn3.js";
|
|
9
9
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
10
|
-
import { r as Field, t as Select } from "./Select-
|
|
10
|
+
import { r as Field, t as Select } from "./Select-UO37dd_q.js";
|
|
11
11
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
12
12
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|