@adyen/kyc-components 4.23.0 → 4.24.0-beta.1
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/{4-people-Dxu4nHSX.js → 4-people-DKuivE0m.js} +2 -2
- package/dist/{AcceptTermsOfServiceWorkflow-CvKbU2WY.js → AcceptTermsOfServiceWorkflow-CyMefc3t.js} +4 -4
- package/dist/{Accordion-Sjyj7C_t.js → Accordion-Dgdxfe-d.js} +1 -1
- package/dist/{AccountSetupRejected-Cq_nlmLn.js → AccountSetupRejected-D63dyojj.js} +4 -3
- package/dist/AdaptiveWorkflow-DC4QviLh.js +33 -0
- package/dist/{AdaptiveWorkflowComponent-tM1hJ1zF.js → AdaptiveWorkflowComponent-CsNPizq0.js} +62 -61
- package/dist/{AddressFields-BsxEdBvQ.js → AddressFields-BeeqIqdc.js} +15 -11
- package/dist/Alert-Cc7p0N5h.js +172 -0
- package/dist/AnalyticsContext-CpimDlw4.js +21 -0
- package/dist/{Avatar-Zp1T9qAL.js → Avatar-oTPu6Ejy.js} +1 -1
- package/dist/{BusinessFinancingDropin-vugW4Vvi.js → BusinessFinancingDropin-DYJS13vd.js} +50 -37
- package/dist/{BusinessFinancingPage-0J_LImeN.js → BusinessFinancingPage-DbTrQ1kt.js} +34 -34
- package/dist/{BusinessRegistrationNumberField-qdC_srMn.js → BusinessRegistrationNumberField-DKka8aVU.js} +8 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-BvC9n4ou.js → BusinessRegistrationNumberFieldGroup-Df6_sDA0.js} +8 -6
- package/dist/{BusinessTypeSelectionPage-WCEqP4G2.js → BusinessTypeSelectionPage-C0xUipfe.js} +20 -20
- package/dist/{Button-DfRmINzF.js → Button-DPJ1k02w.js} +30 -30
- package/dist/{Checkbox-B730k3Yy.js → Checkbox-qfdF12cF.js} +3 -51
- package/dist/{ComponentGroup-CsnkYMbT.js → ComponentGroup-Cw_2w0Rf.js} +4 -4
- package/dist/Confirm-DoN9R9Z3.js +77 -0
- package/dist/{ConstitutionalDocument-D92EPGmG.js → ConstitutionalDocument-Bbo7P_gi.js} +30 -25
- package/dist/{ContactDetails-DDSd6X0z.js → ContactDetails-CUjFd94x.js} +12 -7
- package/dist/{ContextGuidance-B2ew1lzC.js → ContextGuidance-BQPwRscq.js} +3 -3
- package/dist/{ContractViewer-JtnAXSDa.js → ContractViewer-CG9UNGz1.js} +65 -14
- package/dist/CountryField-DT6-Jr_b.js +38 -0
- package/dist/{Currency-BKTf95Wp.js → Currency-C-sSDMn7.js} +8 -7
- package/dist/{CustomerSupport-CCFayyJG.js → CustomerSupport-C2DrnwDs.js} +19 -18
- package/dist/{DataConflictsModal-D-fP_eNs.js → DataConflictsModal-CCaMgguu.js} +10 -9
- package/dist/{DebugModal-CG6CvUnj.js → DebugModal-CDfvQRk6.js} +18 -12
- package/dist/{DecisionMakerDetails-DWC1nORL.js → DecisionMakerDetails-Dhi6hsrv.js} +90 -86
- package/dist/{DecisionMakerDetailsPage-BVXA74FO.js → DecisionMakerDetailsPage-DLgKrPA3.js} +43 -44
- package/dist/{DecisionMakers-Cvm_i6Uf.js → DecisionMakers-B6Qd9fuT.js} +53 -48
- package/dist/{Dropzone-CNHxDEc3.js → Dropzone-BhMYy4nr.js} +8 -8
- package/dist/{EmbeddedStatus-tbJfdxm8.js → EmbeddedStatus-CYd2p4sP.js} +4 -4
- package/dist/{EndStateLayout-BK1Hh02g.js → EndStateLayout-zZPm8S5M.js} +3 -3
- package/dist/{EntityAssociation-i903L9Dh.js → EntityAssociation-C2_Xuvf5.js} +7 -7
- package/dist/{ErrorPanel-tnFOlOZU.js → ErrorPanel-D4JNFkvi.js} +6 -6
- package/dist/Field-DwDJQVSS.js +154 -0
- package/dist/FormFlow.module-DqMxjYHl.js +20 -0
- package/dist/{GlobalEntryModal-DQoIIvGS.js → GlobalEntryModal-iZSUeMQf.js} +444 -216
- package/dist/{GlobalEntryPage-DLRGPpAu.js → GlobalEntryPage-w4KJOeYb.js} +11 -11
- package/dist/Header-DVLlJ6we.js +93 -0
- package/dist/Icon-4XR6gZzk.js +175 -0
- package/dist/{IdentityNumber-B8MXzXsO.js → IdentityNumber-3V6ZqvHB.js} +10 -6
- package/dist/{IdentityNumberFieldGroup-D7xb2TY7.js → IdentityNumberFieldGroup-CAjlgTWn.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-BdGXtdns.js → IdentityScreeningWorkflow-Bx89cmUF.js} +15 -15
- package/dist/{Image-D82terx4.js → Image-Bn_Yyuof.js} +1 -1
- package/dist/{IndividualDropin-C0vTSDYU.js → IndividualDropin-BgOmBeoT.js} +126 -89
- package/dist/{IndustryCodeFieldGroup-CGcE5yYR.js → IndustryCodeFieldGroup-BDtoeaUz.js} +7 -6
- package/dist/{InputDate-Ci60MBrH.js → InputDate-ANdv1rKt.js} +3 -3
- package/dist/{InputText-CTpVF0Mu.js → InputText-CFDEmEtp.js} +4 -39
- package/dist/{Introduction-Dx6DDaL7.js → Introduction-D8hMB7Wb.js} +16 -17
- package/dist/{InvitedDecisionMakerComponent-Ckd26d6Y.js → InvitedDecisionMakerComponent-DZZe5Ruk.js} +76 -76
- package/dist/{JpAddressFields-C9MbL5XV.js → JpAddressFields-BIh4120-.js} +11 -10
- package/dist/LandingLayout-BsIoIFzs.js +76 -0
- package/dist/{LegalCompanyNameField-D0jM5LDT.js → LegalCompanyNameField-Cosyjk52.js} +5 -5
- package/dist/{LegalName-TjhII9_p.js → LegalName-CtqIpsfy.js} +4 -4
- package/dist/LegalRepresentativeDetailsPage-Mpm8AjdQ.js +73 -0
- package/dist/{Link-c2jAgGgc.js → Link-CvYhseSD.js} +1 -1
- package/dist/{ListItem-C35r8558.js → ListItem-CYTpdOMa.js} +4 -27
- package/dist/{Loader-BEpMlKm2.js → Loader-BVtlpTeo.js} +1 -1
- package/dist/LoaderWrapper-Dc88hY-P.js +34 -0
- package/dist/MaybeModal-C4ySaA8A.js +24 -0
- package/dist/{Modal-BsivDPTd.js → Modal-CHES6970.js} +5 -25
- package/dist/{Name-DMf8Uyof.js → Name-CdCsijr5.js} +5 -5
- package/dist/{NewSummary-DxWLTnJy.js → NewSummary-D55f70wB.js} +7 -7
- package/dist/{AdaptiveWorkflow-CM7ZVGXv.js → NodeRenderer-smgxe7Ni.js} +20 -45
- package/dist/{PatriotActDisclosure-ChZ_ePr2.js → PatriotActDisclosure-DA6nqTmC.js} +13 -12
- package/dist/{PayoutDetailsDropin-BhtJSFAS.js → PayoutDetailsDropin-BH1Sj6GM.js} +89 -58
- package/dist/PayoutDetailsPage-B7mZmc51.js +69 -0
- package/dist/ProgressBar-DWFxLMUA.js +38 -0
- package/dist/RadioGroup-Bf3DlQnZ.js +47 -0
- package/dist/RadioWithLabel-DQIOEYpF.js +45 -0
- package/dist/{Review-DImhCvoG.js → Review-9sjGKoQu.js} +7 -7
- package/dist/RootBusinessDetailsPage-DRN6p6wB.js +67 -0
- package/dist/{RootBusinessLinesPage-C_p-CtCH.js → RootBusinessLinesPage-uxn9f5K8.js} +39 -30
- package/dist/RootIndividualDetailsPage-BDoKkhcN.js +82 -0
- package/dist/{Select-ByVcS_J2.js → Select-phAxjMBQ.js} +46 -357
- package/dist/{SignPCIComponent-CAwp2xCC.js → SignPCIComponent-BNlTxxJz.js} +51 -48
- package/dist/{SingpassSelection-Txx3gp_g.js → SingpassSelection-B6_DsZtn.js} +12 -13
- package/dist/SoleProprietorshipPage-Dx-pfSwo.js +69 -0
- package/dist/{SourceOfFundsPage-B22iW1ow.js → SourceOfFundsPage-ChO-R9o4.js} +95 -76
- package/dist/{SourceOfFundsWorkflow-BKHZbLR_.js → SourceOfFundsWorkflow-DuU_n82x.js} +4 -4
- package/dist/StateContext-B2_Pqd_y.js +9 -0
- package/dist/StateField-BpMwetvd.js +55 -0
- package/dist/{Step-BUMarnLL.js → Step-CctAUYbs.js} +6 -6
- package/dist/StructuredList-nPasiuLi.js +56 -0
- package/dist/Summary-DM31WxLr.js +235 -0
- package/dist/{Task-Bj_CjiHG.js → Task-C12uuPWD.js} +8 -8
- package/dist/{TaskGroup-BMXhoq1Y.js → TaskGroup-z3ONGLnB.js} +4 -4
- package/dist/{TaskListItem-BIKdDEzU.js → TaskListItem-Dx3hKOqG.js} +11 -11
- package/dist/{TaskStepperContextProvider-D0tKJplv.js → TaskStepperContextProvider-DdcsqXT7.js} +1 -1
- package/dist/{TaskVerificationStatus-DPA4ZEPa.js → TaskVerificationStatus-DEXk_ndE.js} +3 -3
- package/dist/TaxInformationField-Cc-NDAVo.js +242 -0
- package/dist/{TaxInformationFieldGroup-D_6IRGj9.js → TaxInformationFieldGroup-DI2LzuNr.js} +16 -13
- package/dist/{TaxReportingDropin-DA475crP.js → TaxReportingDropin-LNgisxBc.js} +23 -18
- package/dist/{TaxReportingWorkflow-kcto0Ysw.js → TaxReportingWorkflow-9_9ECX6A.js} +4 -4
- package/dist/{TermsOfServiceManagement-HDnaIeWZ.js → TermsOfServiceManagement-BGrBal0j.js} +59 -50
- package/dist/{TextArea-qbFhi8Az.js → TextArea-qGEo3PFG.js} +5 -5
- package/dist/TileGroup-D1-M64Ul.js +172 -0
- package/dist/ToastContext-B_wd2IY2.js +13 -0
- package/dist/ToastContextProvider-DjYKMflX.js +103 -0
- package/dist/{TrustDetailsPage-BqVS0xOU.js → TrustDetailsPage-cx6yEd6Q.js} +68 -51
- package/dist/TrustMemberCompanyPage-DZh9Wn9-.js +108 -0
- package/dist/TrustMemberIndividualPage--tTWII4G.js +108 -0
- package/dist/{TrustMemberRoleAndTypePage-GXWuitmt.js → TrustMemberRoleAndTypePage-DEzesajA.js} +51 -41
- package/dist/{TrustMembersOverview-BjJ5fPcC.js → TrustMembersOverview-BpJGWVT5.js} +23 -19
- package/dist/{UboTaskItem-Aq3iNKX0.js → UboTaskItem-DP5LOGom.js} +8 -8
- package/dist/UnincorporatedPartnershipIndividualPage-DelW_XAz.js +78 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-h3OTr_91.js → UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js} +36 -37
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CwemN4fL.js → UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js} +20 -18
- package/dist/{UnincorporatedPartnershipMembersOverview-CUczPfUl.js → UnincorporatedPartnershipMembersOverview-BBeans9j.js} +17 -15
- package/dist/{VerificationErrorAlert-BBfoLMwb.js → VerificationErrorAlert-CixajVtq.js} +4 -30
- package/dist/{Workflow-Do7P-qDn.js → Workflow-BJbKhY38.js} +8 -8
- package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +14 -0
- package/dist/{accountHolderUtils-DMi_DHCU.js → accountHolderUtils-CAu4V0ed.js} +11 -12
- package/dist/adyen-business-financing.js +37 -36
- package/dist/adyen-individual-configuration.js +64 -64
- package/dist/adyen-individual-status.js +32 -31
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +104 -96
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +7 -6
- package/dist/adyen-transfer-instrument-configuration.js +61 -60
- package/dist/adyen-transfer-instrument-management.js +75 -69
- package/dist/adyen-verification-status.js +8 -6
- package/dist/{arrow-right-Bk-ewsex.js → arrow-right-D2hul7WG.js} +2 -2
- package/dist/bafinUtils-DDrD6bfK.js +96 -0
- package/dist/{bag-9BNq_QQO.js → bag-CRRS1aow.js} +2 -2
- package/dist/{bank-BRbxxVK5.js → bank-BoirCLLW.js} +2 -2
- package/dist/bg-BG-B0Ia8sQm.js +7 -0
- package/dist/bg-BG-B2xaZ3wB.js +7 -0
- package/dist/bg-BG-DAR7_x2a.js +7 -0
- package/dist/bg-BG-DqfAUTUt.js +7 -0
- package/dist/bg-BG-ivZjQNJZ.js +7 -0
- package/dist/{bin-DE1613_5.js → bin-BOmfqfrr.js} +2 -2
- package/dist/birthDateUtils-D6uk7zwm.js +84 -0
- package/dist/{businessRegistrationNumberPatterns-C_MSKHlF.js → businessRegistrationNumberPatterns-A08SLm03.js} +3 -2
- package/dist/{capital-aNk7ragc.js → capital-DTjbiurV.js} +2 -2
- package/dist/{cash-stack-DuKKc4Qj.js → cash-stack-7KpYpBek.js} +2 -2
- package/dist/{certificate-9gDKvXCm.js → certificate-BPuoJ6Ip.js} +2 -2
- package/dist/{checkmark-BuqDN4WO.js → checkmark-BiSLf8M1.js} +2 -2
- package/dist/{checkmark-circle-OqcwA6N6.js → checkmark-circle-Ams7bSve.js} +2 -2
- package/dist/{checkmark-circle-fill-BfcUovCf.js → checkmark-circle-fill-_p4ss4ac.js} +2 -2
- package/dist/{checkmark-small-CBORXg_J.js → checkmark-small-3bw4ftPV.js} +2 -2
- package/dist/{chevron-down-CjRta08O.js → chevron-down-GgZawvoy.js} +2 -2
- package/dist/{chevron-left-BEm04mIh.js → chevron-left-TeZTTvo5.js} +2 -2
- package/dist/{chevron-right-B2GkHG0J.js → chevron-right-Cg8XlTxx.js} +2 -2
- package/dist/{chevron-up-BKfe5Btb.js → chevron-up-COQUTli0.js} +2 -2
- package/dist/{circle-C-uuRI8F.js → circle-CypWzg83.js} +2 -2
- package/dist/{circle-small-filled-Bkh5_ZEu.js → circle-small-filled-DfdK2A35.js} +2 -2
- package/dist/{clock-BWfWiMxz.js → clock-DmfGJ2r9.js} +2 -2
- package/dist/{coins-Cw-jDTUz.js → coins-CBvbB8_X.js} +2 -2
- package/dist/{constants-BSBlqXY7.js → constants-C8yo0_RA.js} +7 -5
- package/dist/{contract-PFVBW8xa.js → contract-D1_RJ_xh.js} +2 -2
- package/dist/{countries-BE4iGVAo.js → countries-BGMTpyJv.js} +1 -1
- package/dist/{country-zZC2TAQB.js → country-BEZkohEO.js} +2 -2
- package/dist/{cross-B37j1-r4.js → cross-BORHADVQ.js} +2 -2
- package/dist/{cross-circle-fill-CcjwpLj2.js → cross-circle-fill-CUXdo1x-.js} +2 -2
- package/dist/{cross-circle-fill-small-CJ4fddNo.js → cross-circle-fill-small-DdoPZZeo.js} +2 -2
- package/dist/cs-CZ-BwO4yrI4.js +7 -0
- package/dist/cs-CZ-CHMQYoMF.js +7 -0
- package/dist/cs-CZ-DsKlW7_D.js +7 -0
- package/dist/cs-CZ-NVntX32n.js +7 -0
- package/dist/cs-CZ-ywYpJk1F.js +7 -0
- package/dist/da-DK-BvT8Ob4A.js +7 -0
- package/dist/da-DK-BzBfkSME.js +7 -0
- package/dist/da-DK-CE7jnGea.js +7 -0
- package/dist/da-DK-DH5YNYFM.js +7 -0
- package/dist/da-DK-LPtdP8h0.js +7 -0
- package/dist/datasetUtil-BdHPWsxZ.js +45 -0
- package/dist/de-DE-C9cUCFOi.js +7 -0
- package/dist/de-DE-Cn866nnd.js +7 -0
- package/dist/de-DE-DA4LpyZI.js +7 -0
- package/dist/de-DE-DKkoZQ0X.js +7 -0
- package/dist/de-DE-DY_EJohI.js +7 -0
- package/dist/de-DE-vdy64knk.js +7 -0
- package/dist/debouncedInputEvent-Fwwp_K_-.js +54 -0
- package/dist/debugStore-Dwn1FXrh.js +9 -0
- package/dist/decision-makers-group-iEF9oKPp.js +2673 -0
- package/dist/{decisionMakerRoles-APTR-Ah_.js → decisionMakerRoles-C6LMC4mh.js} +2 -2
- package/dist/{document-1-B3vw8uuK.js → document-1-qvV57JdS.js} +2 -2
- package/dist/{document-person-CERdIfH0.js → document-person-DiJ7M8-D.js} +2 -2
- package/dist/{download-CthdK4dV.js → download-Ca4w0Yfr.js} +2 -2
- package/dist/dropinUtils-DTBezwYT.js +491 -0
- package/dist/{edit-1-BW7NwWP7.js → edit-1-D8VhDchs.js} +2 -2
- package/dist/el-GR-ChapyKa7.js +7 -0
- package/dist/el-GR-Cvms0L4K.js +7 -0
- package/dist/el-GR-D9PjIB9j.js +7 -0
- package/dist/el-GR-Ov9hqMNe.js +7 -0
- package/dist/el-GR-aelq5Q0a.js +7 -0
- package/dist/el-GR-zFv0QxMR.js +7 -0
- package/dist/en-US-B7HQdrn_.js +7 -0
- package/dist/en-US-CI7y0UEH.js +7 -0
- package/dist/en-US-C_VjFvk_.js +7 -0
- package/dist/{en-US-BUmtG-Wj.js → en-US-Cz4JoU20.js} +16 -2
- package/dist/en-US-DPr5RN3e.js +7 -0
- package/dist/en-US-U0d3NI20.js +7 -0
- package/dist/en-US-tFsDZf7y.js +7 -0
- package/dist/{entityAssociationUtil-CLBR9osP.js → entityAssociationUtil-CY0grcyH.js} +7 -8
- package/dist/{error-CpJV-CLa.js → error-BvgoQFEI.js} +4 -4
- package/dist/es-ES-BQrdtEfn.js +7 -0
- package/dist/es-ES-BdByhG4y.js +7 -0
- package/dist/es-ES-BzlHKYJK.js +7 -0
- package/dist/es-ES-DCUvAmKI.js +7 -0
- package/dist/es-ES-DdrA8McY.js +7 -0
- package/dist/es-ES-DhkTbihW.js +7 -0
- package/dist/es-LA-3WgncmHx.js +7 -0
- package/dist/es-LA-BxtxM3Ty.js +7 -0
- package/dist/es-LA-ChRHGYJP.js +7 -0
- package/dist/es-LA-JRuDva0n.js +7 -0
- package/dist/es-LA-i7tKJmA8.js +7 -0
- package/dist/et-EE-BXY66vAz.js +7 -0
- package/dist/et-EE-D8TSvkoE.js +7 -0
- package/dist/et-EE-DOgb4q9o.js +7 -0
- package/dist/et-EE-HHgM0CfO.js +7 -0
- package/dist/et-EE-V-YOCgoh.js +7 -0
- package/dist/{external-link-CFgynH5A.js → external-link-Dy4le-8Q.js} +2 -2
- package/dist/fi-FI-B-eTv4bG.js +7 -0
- package/dist/fi-FI-CClpbvJJ.js +7 -0
- package/dist/fi-FI-CVBmM-U1.js +7 -0
- package/dist/fi-FI-DCYPQ6vS.js +7 -0
- package/dist/fi-FI-DCbhu29J.js +7 -0
- package/dist/fieldConfigurations-CZCFghnK.js +11 -0
- package/dist/form-rules-B0RwhsVw.js +284 -0
- package/dist/formFieldsUtils-CnDkgahc.js +7 -0
- package/dist/formUtils-BHgG8yQZ.js +52 -0
- package/dist/formUtils-DVDcdZsP.js +84 -0
- package/dist/{formatCurrency-Cq3WFpdZ.js → formatCurrency-BetgkQKi.js} +1 -1
- package/dist/{formatValidationError-BHvKLMYZ.js → formatValidationError-q_w9DTrl.js} +2 -2
- package/dist/fr-FR-B-jA_cbo.js +7 -0
- package/dist/fr-FR-BIyJL6Jj.js +7 -0
- package/dist/fr-FR-BzyefnBh.js +7 -0
- package/dist/fr-FR-C1xYwHeC.js +7 -0
- package/dist/fr-FR-D0hY9V44.js +7 -0
- package/dist/fr-FR-Doo1FVx-.js +7 -0
- package/dist/{genUtils-Ce61IJs8.js → genUtils-nphCwt1A.js} +1 -1
- package/dist/{getDefaultRegistrationNumberType-CI1NVzJR.js → getDefaultRegistrationNumberType-CIu4WMln.js} +189 -188
- package/dist/getFormSlice-C1ma6Xd4.js +21 -0
- package/dist/getLegalEntityCountry-BK-HHa65.js +15 -0
- package/dist/{getName-s7qmFean.js → getName-DgxRqagk.js} +5 -6
- package/dist/{getProblemsForEntity-Bh9nSdOW.js → getProblemsForEntity-BY_voJ99.js} +3 -3
- package/dist/{getTrustedDecisionMakers-DX3nImM5.js → getTrustedDecisionMakers-Ta-pURcL.js} +2 -2
- package/dist/getTrustedFields-BJ88GlM-.js +28 -0
- package/dist/{gift-0jLCte2h.js → gift-Bs_mAgul.js} +2 -2
- package/dist/globalStore-WASei98w.js +418 -0
- package/dist/{graph-DrxuzQF7.js → graph-Co0JhGiY.js} +2 -2
- package/dist/{graph-up-4qLbS2Ds.js → graph-up-DIvH9haf.js} +2 -2
- package/dist/{headquarter-3o2GHW5H.js → headquarter-BESfDGKh.js} +2 -2
- package/dist/{hotel-pZlrEAK8.js → hotel-Vne7G5M6.js} +2 -2
- package/dist/hr-HR-6Wj5Tf60.js +7 -0
- package/dist/hr-HR-B4FRVzrd.js +7 -0
- package/dist/hr-HR-B6z7-PYE.js +7 -0
- package/dist/hr-HR-BOYktLQ2.js +7 -0
- package/dist/hr-HR-Ct_41fWV.js +7 -0
- package/dist/hu-HU-B7ofWKn_.js +7 -0
- package/dist/hu-HU-Bwm4UqZz.js +7 -0
- package/dist/hu-HU-CO_7jvk9.js +7 -0
- package/dist/hu-HU-CgJ_F3l2.js +7 -0
- package/dist/hu-HU-DXK7B0r_.js +7 -0
- package/dist/{image-tfgNnE3G.js → image-BQM21XCk.js} +2 -2
- package/dist/{info-DJW5JooY.js → info-DExoPRH5.js} +2 -2
- package/dist/{info-filled-C5mP6T4Z.js → info-filled-11KMeUso.js} +2 -2
- package/dist/{useId-oOIS1nsj.js → invalidateRootLegalEntity-B97dCa-s.js} +3 -31
- package/dist/isEmpty-Uewyl-r6.js +14 -0
- package/dist/isEmptyEntity-3OHnhXqG.js +43 -0
- package/dist/it-IT-BFIW0DCO.js +7 -0
- package/dist/it-IT-CNr6PIu3.js +7 -0
- package/dist/it-IT-CQVFYSVx.js +7 -0
- package/dist/it-IT-DfGdOsTs.js +7 -0
- package/dist/it-IT-DgRuEpeD.js +7 -0
- package/dist/it-IT-tZ7dP-Ia.js +7 -0
- package/dist/ja-JP--tMJF7eu.js +7 -0
- package/dist/ja-JP-BjMyxZiN.js +7 -0
- package/dist/ja-JP-Ct54-uwM.js +7 -0
- package/dist/ja-JP-CtX9NZKD.js +7 -0
- package/dist/ja-JP-DAClbueM.js +7 -0
- package/dist/ja-JP-DOuEAOlh.js +7 -0
- package/dist/keys-Ce8YnRP2.js +20 -0
- package/dist/{legalArrangementUtils-xvCxpgzJ.js → legalArrangementUtils-C68JdH6I.js} +2 -1
- package/dist/listToRecord-DumSkYDz.js +10 -0
- package/dist/{location-Dk0rAiaT.js → location-zRH5zJ8c.js} +2 -2
- package/dist/lt-LT-BUuouq_-.js +7 -0
- package/dist/lt-LT-Cs3cvyKf.js +7 -0
- package/dist/lt-LT-DQp7UGdC.js +7 -0
- package/dist/lt-LT-DoYCfhZU.js +7 -0
- package/dist/lt-LT-DqtpAjOg.js +7 -0
- package/dist/lv-LV-BCXqSzkk.js +7 -0
- package/dist/lv-LV-BW0BscAd.js +7 -0
- package/dist/lv-LV-C3p57pZV.js +7 -0
- package/dist/lv-LV-ZmyUvPst.js +7 -0
- package/dist/lv-LV-cKvnQI3j.js +7 -0
- package/dist/{mail-DG7MBDNE.js → mail-i1-zg-cv.js} +2 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-TUaHGQh6.js → mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js} +2 -2
- package/dist/{mapExistingFile-CwGW1ru4.js → mapExistingFile-2QXrkhqJ.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CdP6PRAO.js → mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js} +4 -3
- package/dist/{mapLegalEntityToIndividualSchema-ByhXwZqs.js → mapLegalEntityToIndividualSchema-Crz7aXZB.js} +49 -12
- package/dist/mapScriptLocalization-BCfkZo1y.js +46 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-6eLKhumO.js → mapTransferInstrumentToPayoutAccount-BrbrK2wk.js} +3 -3
- package/dist/{form-rules-zzbZ2bV6.js → maskHelpers-C0wnCoJl.js} +9 -379
- package/dist/{minus-circle-filled-DglqAgJW.js → minus-circle-filled-CxUdRO8J.js} +2 -2
- package/dist/nl-NL-B77Xr99l.js +7 -0
- package/dist/nl-NL-BUwMAW5C.js +7 -0
- package/dist/nl-NL-B_MaTF5h.js +7 -0
- package/dist/nl-NL-CePL3t7P.js +7 -0
- package/dist/nl-NL-DR5SCDAF.js +7 -0
- package/dist/nl-NL-DqGE4Nz5.js +7 -0
- package/dist/no-NO-BePxpMbr.js +7 -0
- package/dist/no-NO-DGCfRiU8.js +7 -0
- package/dist/no-NO-DdI2BI_e.js +7 -0
- package/dist/no-NO-P8SZ1t-h.js +7 -0
- package/dist/no-NO-oL1v_O9N.js +7 -0
- package/dist/{options-horizontal-CTUn7IEx.js → options-horizontal-D86T_xAF.js} +2 -2
- package/dist/{partner-1StoI4_W.js → partner-Dje0ykF6.js} +2 -2
- package/dist/patternValidators-DsrZkuOO.js +73 -0
- package/dist/{pay-by-link-plane-Sa_qkL8C.js → pay-by-link-plane-DAiddPu6.js} +2 -2
- package/dist/{payout-BAYSxSqU.js → payout-DKiGv3F9.js} +2 -2
- package/dist/{pdf-uNYg4Mqz.js → pdf-CC8vqpTo.js} +37 -32
- package/dist/{pdf.worker.min-gK7UJW5a.js → pdf.worker.min-CdKJICZZ.js} +733 -253
- package/dist/{person-Da15_s3G.js → person-DgALGIIz.js} +2 -2
- package/dist/pl-PL-6Q3Ue3F5.js +7 -0
- package/dist/pl-PL-B5PBixAB.js +7 -0
- package/dist/pl-PL-BCkw9R28.js +7 -0
- package/dist/pl-PL-BY6KUTBO.js +7 -0
- package/dist/pl-PL-D-s-JI6X.js +7 -0
- package/dist/{plus-BQccvKkd.js → plus-DlQKP2C9.js} +2 -2
- package/dist/{plus-circle-filled-CqC30FRL.js → plus-circle-filled-BntUOVIJ.js} +2 -2
- package/dist/{processCapabilities-DRD0Aq2i.js → processCapabilities-CWE5UFt8.js} +50 -54
- package/dist/{processValidationErrors-oxuCOsth.js → processValidationErrors-CjsNfiRK.js} +4 -4
- package/dist/pt-BR-B_XHiDCU.js +7 -0
- package/dist/pt-BR-BvNR77Ru.js +7 -0
- package/dist/pt-BR-CrLCMcSz2.js +7 -0
- package/dist/pt-BR-MrUfWW4a.js +7 -0
- package/dist/pt-BR-vwt2tE7H.js +7 -0
- package/dist/pt-PT-B17is9TY.js +7 -0
- package/dist/pt-PT-BZNPd_Tb.js +7 -0
- package/dist/pt-PT-DDYnXawl.js +7 -0
- package/dist/pt-PT-DhF8wwYH.js +7 -0
- package/dist/pt-PT-Du2K44jh.js +7 -0
- package/dist/pt-PT-qAzFgjvF.js +7 -0
- package/dist/{recurring-DSR1fNMh.js → recurring-DZgT_ekJ.js} +2 -2
- package/dist/resolveEnvironment-mrb68kgW.js +1000 -0
- package/dist/{revenue-accelerate-CPhAVpPK.js → revenue-accelerate-aMLYFVW6.js} +2 -2
- package/dist/ro-RO-B3Fcn95o.js +7 -0
- package/dist/ro-RO-BA5GhaCE.js +7 -0
- package/dist/ro-RO-BmHe4pZ-.js +7 -0
- package/dist/ro-RO-DChAv29z.js +7 -0
- package/dist/ro-RO-W1t7Mnbn.js +7 -0
- package/dist/roleMetadata-Dm1FVuPT.js +56 -0
- package/dist/{save-DQ-mJX8e.js → save-uDNye08N.js} +2 -2
- package/dist/{search-DWqWTW_K.js → search-0OS6oe8N.js} +2 -2
- package/dist/{show-BbhlD3IY.js → show-BWoS9-Y1.js} +2 -2
- package/dist/sk-SK-BeNF_m_j.js +7 -0
- package/dist/sk-SK-C9CiQLgt.js +7 -0
- package/dist/sk-SK-CISCMQ2G.js +7 -0
- package/dist/sk-SK-CcoUWnJ4.js +7 -0
- package/dist/sk-SK-D10Kpths.js +7 -0
- package/dist/sl-SI-Bxu4m_5e.js +7 -0
- package/dist/sl-SI-DCMml0lX.js +7 -0
- package/dist/sl-SI-DmYiMn91.js +7 -0
- package/dist/sl-SI-DxomO9JQ.js +7 -0
- package/dist/sl-SI-Qe4hzx5a.js +7 -0
- package/dist/{solution-payments-D4BORMsX.js → solution-payments-BMal7uJZ.js} +2 -2
- package/dist/{store-DWaq3ZiC.js → store-N7ZA4FKy.js} +2 -2
- package/dist/style.css +2341 -2252
- package/dist/styles-DYaAeu4q.js +2337 -2248
- package/dist/summaryItem-uDWmtYtt.js +16 -0
- package/dist/sv-SE-B-CXDaXM.js +7 -0
- package/dist/sv-SE-BzPNBHOj.js +7 -0
- package/dist/sv-SE-C9SgeFv6.js +7 -0
- package/dist/sv-SE-DESDUMyu.js +7 -0
- package/dist/sv-SE-Dq6oK7B5.js +7 -0
- package/dist/sv-SE-issaSBHd.js +7 -0
- package/dist/{terminal-1-crR-pS_R.js → terminal-1-0RlQpbUC.js} +2 -2
- package/dist/toFullWidth-Dgy4X4i8.js +52 -0
- package/dist/{translation-BOm4lmPx.js → translation-DbATp_35.js} +91 -64
- package/dist/trustUtil-5cyXiJnX.js +98 -0
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +12 -12
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -2
- package/dist/types/api/documents/documents.types.d.ts +9 -0
- package/dist/types/api/documents/useCreateDocument.d.ts +10 -3
- package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +10 -2
- package/dist/types/api/documents/useUpdateDocument.d.ts +3 -3
- package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +1 -1
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +32 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +92 -92
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +14 -14
- package/dist/types/api/taskStatus/useTaskStatuses.d.ts +1 -1
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +18 -0
- package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/components/Apps/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -3
- package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +8 -4
- package/dist/types/components/BankAccount/tasks/PayoutAccount/PayoutAccountTaskListItem.d.ts +2 -2
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +1 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +4 -4
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -4
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +4 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
- package/dist/types/components/Business/utils/buildRequiredForms.d.ts +1 -1
- package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +1 -2
- package/dist/types/components/Business/utils/utils.d.ts +2 -15
- package/dist/types/components/BusinessLines/tasks/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +33 -33
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +2 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +2 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -4
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +2 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +1 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -5
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
- package/dist/types/components/GlobalEntry/companyTypeMetadata.d.ts +10 -0
- package/dist/types/components/GlobalEntry/forms/CompanyStructure/CompanyStructure.d.ts +3 -0
- package/dist/types/components/GlobalEntry/forms/CompanyStructure/types.d.ts +10 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +1 -1
- package/dist/types/components/GlobalEntry/{globalEntryKeyMapping.d.ts → mapping/globalEntryKeyMapping.d.ts} +9 -9
- package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +6 -0
- package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +9 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +16 -0
- package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +12 -0
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +20 -0
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +18 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +3 -1
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +8 -8
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -3
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -4
- package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +28 -0
- package/dist/types/components/Individual/helpers/hasLiveSelfieError.d.ts +11 -0
- package/dist/types/components/Individual/helpers/isManualVerificationOrExistingDoc.d.ts +13 -0
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +4 -4
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +34 -10
- package/dist/types/components/Individual/tasks/DecisionMakers/getTrustedDecisionMakers.d.ts +2 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +1 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +2 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/constants.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
- package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/findExistingTaxInformation.d.ts +10 -0
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -4
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +107 -8
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +7 -6
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +1 -2
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -4
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +1 -1
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +1 -1
- package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/mapping/trustKeyMappings.d.ts +4 -4
- package/dist/types/components/Trust/mapping/trustMembers/getTrustMembers.d.ts +1 -1
- package/dist/types/components/Trust/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +3 -4
- package/dist/types/components/Trust/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +3 -4
- package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +5 -6
- package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/unincorporatedPartnershipKeyMappings.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +3 -4
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +0 -4
- package/dist/types/core/errorMapping.d.ts +3 -4
- package/dist/types/core/models/api/accountIdentification.d.ts +5 -1
- package/dist/types/core/models/api/legal-entity-association.d.ts +0 -19
- package/dist/types/core/process-field-configurations.d.ts +4 -6
- package/dist/types/core/user-events.d.ts +2 -4
- package/dist/types/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +1 -1
- package/dist/types/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -2
- package/dist/types/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
- package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -2
- package/dist/types/hooks/useLegalEntityType.d.ts +1 -2
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -1
- package/dist/types/router/DefaultRouteRedirect.d.ts +1 -1
- package/dist/types/router/OnboardingRouter.d.ts +1 -2
- package/dist/types/router/getDefaultTask.d.ts +1 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +3 -5
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +3 -5
- package/dist/types/stores/globalStore/get-task-status.d.ts +4 -4
- package/dist/types/stores/globalStore/globalStore.d.ts +3 -5
- package/dist/types/stores/globalStore/isEmptyEntity.d.ts +1 -1
- package/dist/types/types/businessEntityType.d.ts +1 -2
- package/dist/types/types/errors/capability-problems.d.ts +5 -1
- package/dist/types/types/errors/entity-problems.d.ts +8 -5
- package/dist/types/types/form-rules.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/addLinkedFields.d.ts +2 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +4 -4
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +2 -3
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +2 -2
- package/dist/types/utils/api/documentUtils.d.ts +21 -10
- package/dist/types/utils/api/getProblemsForEntity.d.ts +1 -1
- package/dist/types/utils/api/processCapabilities.d.ts +11 -4
- package/dist/types/utils/bankUtils.d.ts +5 -0
- package/dist/types/utils/birthDateUtils.d.ts +6 -1
- package/dist/types/utils/businessUtils.d.ts +21 -6
- package/dist/types/utils/customerSupportUtils.d.ts +2 -3
- package/dist/types/utils/decisionMakerRoles.d.ts +4 -5
- package/dist/types/utils/entityAssociationUtil.d.ts +21 -12
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
- package/dist/types/utils/getName.d.ts +3 -3
- package/dist/types/utils/getTrustedFields.d.ts +4 -5
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +2 -2
- package/dist/types/utils/mapping/getPage.d.ts +3 -4
- package/dist/types/utils/mapping/mappingRecord.d.ts +1 -1
- package/dist/types/utils/roleMetadata.d.ts +1 -1
- package/dist/types/utils/unincorporatedParnershipUtils.d.ts +4 -4
- package/dist/{types-BeveNAZK.js → types-B9zXzag-.js} +4 -5
- package/dist/{types-wRlt8bxb.js → types-BA3bcGAv.js} +1 -1
- package/dist/types-CZAHRt31.js +147 -0
- package/dist/types-Cwq1JAWT.js +31 -0
- package/dist/{upload-D85xAAAm.js → upload-C5NC1E4N.js} +2 -2
- package/dist/uppercase-DvjwUM0n.js +7 -0
- package/dist/useAccountHolder-BpIX1iBG.js +102 -0
- package/dist/useAllowedCountries-qyvo-c6A.js +80 -0
- package/dist/useAnalyticsContext-gSnRnYgV.js +12 -0
- package/dist/{getFormSlice-DzRO0UUx.js → useAssociatedLegalEntity-BdcoiUby.js} +2 -19
- package/dist/{useBusinessDetailsData-Bja80UYy.js → useBusinessDetailsData-sWGe796Y.js} +170 -160
- package/dist/{useCanSeeIntroduction-BcfQC4IP.js → useCanSeeIntroduction-DQbanJNE.js} +13 -13
- package/dist/useCreateLegalEntity-CYZd_62a.js +24 -0
- package/dist/{useDataMissingRemediations-msU1AJvo.js → useDataMissingRemediations-ttUrk09_.js} +4 -4
- package/dist/useDataset-CdLBLq98.js +98 -0
- package/dist/useDeleteTransferInstrument-C10xzHiO.js +31 -0
- package/dist/{useForm-DbDFfb2S.js → useForm-CWrbJG44.js} +7 -5
- package/dist/{useHideTaskStepper-CbMcV9mk.js → useHideTaskStepper-Dk7ZQ3U8.js} +1 -1
- package/dist/useId-BkDhUta2.js +28 -0
- package/dist/useMultiForm-BxASst0O.js +790 -0
- package/dist/{useNavigate-CiKOI5QV.js → useNavigate-DkfNV3JZ.js} +33 -33
- package/dist/{useSalesChannels-BvGJ9PT6.js → useSalesChannels-B06_h460.js} +3 -3
- package/dist/{useScenarios-CGcmXgJv.js → useScenarios-BfYE0clW.js} +2 -2
- package/dist/useSettingsContext-9O3Aqpfq.js +12 -0
- package/dist/{useTaskLandedEvent-pmN03gtI.js → useTaskLandedEvent-DwZHcMEQ.js} +2 -2
- package/dist/useToastContext-B6Mqc2HY.js +12 -0
- package/dist/useToggleContext-B_YexrbT.js +21 -0
- package/dist/{useTrustMembers-f13Kf1Zk.js → useTrustMembers-DtOJPaaV.js} +13 -14
- package/dist/{useUnincorporatedPartnershipMembers-K5jkCKfJ.js → useUnincorporatedPartnershipMembers-CxDZCOte.js} +8 -9
- package/dist/useUpdateLegalEntity-B7LRg8m0.js +29 -0
- package/dist/{StateField-CsO_28Co.js → utils-BWumuCvl.js} +3 -89
- package/dist/{utils-BUOt0VrX.js → utils-CJcGZvj1.js} +13 -14
- package/dist/utils-CYUYe54m.js +24 -0
- package/dist/{bafinUtils-M2AASP_e.js → utils-Ck_mZapQ.js} +1534 -1742
- package/dist/utils-DdHbAadK.js +80 -0
- package/dist/{utils-2tir5QtF.js → utils-SKYT7xU4.js} +2 -2
- package/dist/{validate-BpZBKknS.js → validate-96E_RrNB.js} +3 -3
- package/dist/{validate-u6nDNwf1.js → validate-BCNnfwPW.js} +2 -2
- package/dist/{validate-YBDlgvjy.js → validate-D-l4YRka.js} +7 -6
- package/dist/{validate-CPTQceEQ.js → validate-DKwCZSlM.js} +64 -37
- package/dist/{validateExtractionResult-dH4TewHf.js → validateExtractionResult-D3d0xx90.js} +4 -4
- package/dist/{validationError-B-B3GC86.js → validationError-DV6t8Ubb.js} +2 -2
- package/dist/validationResult-bjYBDjbU.js +29 -0
- package/dist/validatorUtils-D2O6AAZn.js +106 -0
- package/dist/{warning-circle-fill-BDTmKU1s.js → warning-circle-fill-C2lMYPJW.js} +2 -2
- package/dist/{warning-diamond-filled-BjDL-xa8.js → warning-diamond-filled-CQ2DdW5g.js} +2 -2
- package/dist/{webinar-YMbPoCx3.js → webinar-BpZWqd-g.js} +2 -2
- package/package.json +26 -26
- package/dist/Icon-C3S5_kkS.js +0 -175
- package/dist/LegalRepresentativeDetailsPage-CvGtANu3.js +0 -74
- package/dist/PayoutDetailsPage-MW5Pygp2.js +0 -70
- package/dist/RadioGroup-D8DRUJ2o.js +0 -1806
- package/dist/RootBusinessDetailsPage-Cmh9Z_4g.js +0 -68
- package/dist/RootIndividualDetailsPage-04cJ6C15.js +0 -80
- package/dist/SoleProprietorshipPage-CWegllTo.js +0 -70
- package/dist/TrustMemberCompanyPage-DTe7xWpj.js +0 -109
- package/dist/TrustMemberIndividualPage-C1BDs9Rm.js +0 -110
- package/dist/UnincorporatedPartnershipIndividualPage-DdPh2_sa.js +0 -79
- package/dist/bg-BG-BtgA44Ui.js +0 -7
- package/dist/bg-BG-DX5QKxJz.js +0 -7
- package/dist/bg-BG-DYkxVgeJ.js +0 -7
- package/dist/bg-BG-K6LIkCdf.js +0 -7
- package/dist/bg-BG-uuNDTOoN.js +0 -7
- package/dist/cs-CZ-BJSrh3Vp.js +0 -7
- package/dist/cs-CZ-CMXGY6Ep.js +0 -7
- package/dist/cs-CZ-Ci8c58xJ.js +0 -7
- package/dist/cs-CZ-Cu1v5FA8.js +0 -7
- package/dist/cs-CZ-lJQmuyHq.js +0 -7
- package/dist/da-DK-B9O3xbY6.js +0 -7
- package/dist/da-DK-BNwXg4DX.js +0 -7
- package/dist/da-DK-C1kmOHvo.js +0 -7
- package/dist/da-DK-D53M_d04.js +0 -7
- package/dist/da-DK-DjAV5d9A.js +0 -7
- package/dist/de-DE-B3sSNcDv.js +0 -7
- package/dist/de-DE-C9N6F5oM.js +0 -7
- package/dist/de-DE-CjMOQMqQ.js +0 -7
- package/dist/de-DE-qJPTCQlG.js +0 -7
- package/dist/de-DE-qSBQE-6M.js +0 -7
- package/dist/de-DE-w4l6boYT.js +0 -7
- package/dist/decision-makers-group-DAoxQRJ3.js +0 -4169
- package/dist/el-GR-BLNCX9mm.js +0 -7
- package/dist/el-GR-Bx996PXx.js +0 -7
- package/dist/el-GR-CgoxpC-Q.js +0 -7
- package/dist/el-GR-DaAMIpOR.js +0 -7
- package/dist/el-GR-DqTetsjB.js +0 -7
- package/dist/el-GR-pGsVWsOm.js +0 -7
- package/dist/en-US-B82BbZaB.js +0 -7
- package/dist/en-US-C3i5Oge2.js +0 -7
- package/dist/en-US-C8karqc5.js +0 -7
- package/dist/en-US-CJPD8qHc.js +0 -7
- package/dist/en-US-D0fscfsz.js +0 -7
- package/dist/en-US-DapC--Cs.js +0 -7
- package/dist/es-ES-C14ZT-97.js +0 -7
- package/dist/es-ES-DeT4zIDW.js +0 -7
- package/dist/es-ES-DyB2KXfT.js +0 -7
- package/dist/es-ES-U4-lDfZq.js +0 -7
- package/dist/es-ES-tVQDUTJN.js +0 -7
- package/dist/es-ES-wvcyuTNN.js +0 -7
- package/dist/es-LA-B5IRDCf_.js +0 -7
- package/dist/es-LA-B_hzWiiE.js +0 -7
- package/dist/es-LA-CG_cu1hM.js +0 -7
- package/dist/es-LA-ChLRkx-r.js +0 -7
- package/dist/es-LA-mFT_9PL_.js +0 -7
- package/dist/et-EE-4_ZUNt3W.js +0 -7
- package/dist/et-EE-BCWBT8XN.js +0 -7
- package/dist/et-EE-BQEyJFZb.js +0 -7
- package/dist/et-EE-DSK7kb3n.js +0 -7
- package/dist/et-EE-DWVzz1wR.js +0 -7
- package/dist/fi-FI-B-7uBAf5.js +0 -7
- package/dist/fi-FI-BeJtSWIh.js +0 -7
- package/dist/fi-FI-Caa9ydMd.js +0 -7
- package/dist/fi-FI-D06EzKrW.js +0 -7
- package/dist/fi-FI-DgMsQBRO.js +0 -7
- package/dist/fr-FR-8a-RK9xd.js +0 -7
- package/dist/fr-FR-BCfqr4jm.js +0 -7
- package/dist/fr-FR-BTJoQq71.js +0 -7
- package/dist/fr-FR-CDv300-8.js +0 -7
- package/dist/fr-FR-D7DTFYe4.js +0 -7
- package/dist/fr-FR-Dl4NL-Nc.js +0 -7
- package/dist/getLegalEntityCountry-CNE5uei8.js +0 -17
- package/dist/hr-HR-B11sggmG.js +0 -7
- package/dist/hr-HR-BjxPRJ1o.js +0 -7
- package/dist/hr-HR-COdiWKoq.js +0 -7
- package/dist/hr-HR-CXH5M5JZ.js +0 -7
- package/dist/hr-HR-me1zsMas.js +0 -7
- package/dist/hu-HU-BNlsrO-l.js +0 -7
- package/dist/hu-HU-BQ5310Yi.js +0 -7
- package/dist/hu-HU-D1ZZwcl0.js +0 -7
- package/dist/hu-HU-DkSsL94T.js +0 -7
- package/dist/hu-HU-Dp6xOBN_.js +0 -7
- package/dist/it-IT-BORQC-7u.js +0 -7
- package/dist/it-IT-BlaVymCj.js +0 -7
- package/dist/it-IT-CawjvBDX.js +0 -7
- package/dist/it-IT-Cnk7j_gC.js +0 -7
- package/dist/it-IT-DIIRAF4_.js +0 -7
- package/dist/it-IT-x4LV31GV.js +0 -7
- package/dist/ja-JP-CyXnoIu3.js +0 -7
- package/dist/ja-JP-DBne3dbI.js +0 -7
- package/dist/ja-JP-DS8zN3mY.js +0 -7
- package/dist/ja-JP-Dpe9Odla.js +0 -7
- package/dist/ja-JP-DrHQO_Se.js +0 -7
- package/dist/ja-JP-h3E8hgLv.js +0 -7
- package/dist/legal-entity-type-0MfCGzUf.js +0 -13
- package/dist/lt-LT-8kOI6QVq.js +0 -7
- package/dist/lt-LT-B18sQY9g.js +0 -7
- package/dist/lt-LT-Byl8QeWO.js +0 -7
- package/dist/lt-LT-D3ZUJfjr.js +0 -7
- package/dist/lt-LT-Fc1lOUlz.js +0 -7
- package/dist/lv-LV-C70c94CI.js +0 -7
- package/dist/lv-LV-CXifQKfG.js +0 -7
- package/dist/lv-LV-DctYQmfH.js +0 -7
- package/dist/lv-LV-Mj_iV56f.js +0 -7
- package/dist/lv-LV-adiXoKhv.js +0 -7
- package/dist/nl-NL-BIpptPn4.js +0 -7
- package/dist/nl-NL-BWGCqpWp.js +0 -7
- package/dist/nl-NL-Bv8Zk-6e.js +0 -7
- package/dist/nl-NL-DOB0b0m4.js +0 -7
- package/dist/nl-NL-ehxkZFQd.js +0 -7
- package/dist/nl-NL-jt4eYGEY.js +0 -7
- package/dist/no-NO-BG1sYkpp.js +0 -7
- package/dist/no-NO-CeZQnyyD.js +0 -7
- package/dist/no-NO-Chwg5Roi.js +0 -7
- package/dist/no-NO-Dx_Z3uoZ.js +0 -7
- package/dist/no-NO-P5tRWhV9.js +0 -7
- package/dist/pl-PL-BsXtscoI.js +0 -7
- package/dist/pl-PL-CWFdZf24.js +0 -7
- package/dist/pl-PL-DSbuyzBx.js +0 -7
- package/dist/pl-PL-J9S3_lCf.js +0 -7
- package/dist/pl-PL-_KG-ZD1N.js +0 -7
- package/dist/pt-BR-B2q9Nl16.js +0 -7
- package/dist/pt-BR-BYbyk6xS.js +0 -7
- package/dist/pt-BR-Cph-P8oH.js +0 -7
- package/dist/pt-BR-D1yTuXWd2.js +0 -7
- package/dist/pt-BR-fKlNUybd.js +0 -7
- package/dist/pt-PT-C1gtp2_N.js +0 -7
- package/dist/pt-PT-CQQkh5PS.js +0 -7
- package/dist/pt-PT-D8ldyR-j.js +0 -7
- package/dist/pt-PT-DAvsI-Tr.js +0 -7
- package/dist/pt-PT-DhokEMPi.js +0 -7
- package/dist/pt-PT-IPhkbQvT.js +0 -7
- package/dist/resolveEnvironment-BYEL10Nc.js +0 -2524
- package/dist/ro-RO-C6xoaASq.js +0 -7
- package/dist/ro-RO-CP_IrOlX.js +0 -7
- package/dist/ro-RO-CQJk7Cpo.js +0 -7
- package/dist/ro-RO-CnMe6Mfw.js +0 -7
- package/dist/ro-RO-_BLhsnIB.js +0 -7
- package/dist/sk-SK-BOc9IqyW.js +0 -7
- package/dist/sk-SK-Bb1CdAzD.js +0 -7
- package/dist/sk-SK-Br1Y4_CN.js +0 -7
- package/dist/sk-SK-Bx2_85dW.js +0 -7
- package/dist/sk-SK-C889qQFo.js +0 -7
- package/dist/sl-SI-B-Xa0hlk.js +0 -7
- package/dist/sl-SI-BQc61Sz2.js +0 -7
- package/dist/sl-SI-DHPadSTy.js +0 -7
- package/dist/sl-SI-DO9c7geI.js +0 -7
- package/dist/sl-SI-bkhhInrg.js +0 -7
- package/dist/sv-SE-BXrlr0X5.js +0 -7
- package/dist/sv-SE-Dk81lopg.js +0 -7
- package/dist/sv-SE-DzsWB30f.js +0 -7
- package/dist/sv-SE-IBYnJfbW.js +0 -7
- package/dist/sv-SE-X89Q6ZAq.js +0 -7
- package/dist/sv-SE-l_UVgmVu.js +0 -7
- package/dist/types/components/GlobalEntry/utils.d.ts +0 -30
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +0 -30
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +0 -13
- package/dist/types/core/models/api/attachment.d.ts +0 -7
- package/dist/types/core/models/api/document.d.ts +0 -25
- package/dist/types/core/models/api/entity-type.d.ts +0 -5
- package/dist/types/core/models/api/legal-arrangement.d.ts +0 -24
- package/dist/types/core/models/api/legal-entity-type.d.ts +0 -8
- package/dist/types/core/models/api/legal-entity.d.ts +0 -36
- package/dist/types/core/models/api/problem.d.ts +0 -12
- package/dist/types/core/models/api/remediating-action.d.ts +0 -5
- package/dist/types/core/models/api/transfer-instrument.d.ts +0 -33
- package/dist/types/core/models/api/trusted-fields-provider.d.ts +0 -5
- package/dist/types/core/models/api/verification-error.d.ts +0 -19
- package/dist/utils-DBIDcVUN.js +0 -214
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
try {
|
|
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] = "ffdd995a-7104-4d0a-bc33-35a8a818d69c", e._sentryDebugIdIdentifier = "sentry-dbid-ffdd995a-7104-4d0a-bc33-35a8a818d69c");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
function getProp(object, path) {
|
|
6
|
+
return path.split(".").reduce((xs, x) => xs && xs[x] !== void 0 ? xs[x] : void 0, object);
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* assigns the value provided to the key in targetObject.
|
|
10
|
+
* @param path - keys separated by a delimiter.
|
|
11
|
+
* @param obj - object to which value will be assigned
|
|
12
|
+
* @param val - value to be assigned
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```
|
|
16
|
+
* targetObject = {};
|
|
17
|
+
* assignToProp('x.y.z', targetObject, 'foo');
|
|
18
|
+
* console.log(targetObject); => {x:{y:{z:'foo'}}}
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function assignToProp(path, obj, val) {
|
|
22
|
+
const splitPath = path.split(".");
|
|
23
|
+
const pathDepth = splitPath.length;
|
|
24
|
+
let currentObj = obj;
|
|
25
|
+
splitPath.forEach((key, index) => {
|
|
26
|
+
if (index === pathDepth - 1) currentObj[key] = val;
|
|
27
|
+
else {
|
|
28
|
+
if (!currentObj[key]) currentObj[key] = {};
|
|
29
|
+
currentObj = currentObj[key];
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function deleteProp(path, obj) {
|
|
34
|
+
const splitPath = path.split(".");
|
|
35
|
+
const pathDepth = splitPath.length;
|
|
36
|
+
let currentObj = obj;
|
|
37
|
+
splitPath.forEach((key, index) => {
|
|
38
|
+
if (currentObj[key] === void 0) throw Error(`The given path does not exist on the object: ${key} (${path})`);
|
|
39
|
+
if (index === pathDepth - 1) delete currentObj[key];
|
|
40
|
+
else currentObj = currentObj[key];
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @param obj - source object
|
|
45
|
+
* @param mapping - key mappings from source to target object structure
|
|
46
|
+
* @example
|
|
47
|
+
* ```
|
|
48
|
+
* let mapping={ 'a.b': 'x.y.z'}
|
|
49
|
+
* let obj = {x: {y: {z: 'foo'}}}
|
|
50
|
+
* formatObject(obj, mapping) => {a:{b:'foo'}}
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
var formatObject = (obj, mapping) => {
|
|
54
|
+
const formattedObj = {};
|
|
55
|
+
Object.entries(mapping).forEach(([targetKey, sourceKey]) => {
|
|
56
|
+
const value = getProp(obj, sourceKey);
|
|
57
|
+
if (value !== void 0) assignToProp(targetKey, formattedObj, value);
|
|
58
|
+
});
|
|
59
|
+
return formattedObj;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @param obj - source object
|
|
63
|
+
* @param mapping - key mappings from target to source object structure
|
|
64
|
+
* @example
|
|
65
|
+
* ```
|
|
66
|
+
* let mapping={ 'a.b': 'x.y.z'}
|
|
67
|
+
* let obj = {x: {y: {z: 'foo'}}}
|
|
68
|
+
* formatObject(obj, mapping) => {a:{b:'foo'}}
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
var mapWith = (obj, mapping) => {
|
|
72
|
+
const formattedObj = {};
|
|
73
|
+
for (const [sourceKey, targetKey] of Object.entries(mapping)) {
|
|
74
|
+
const value = getProp(obj, sourceKey);
|
|
75
|
+
if (value !== void 0) assignToProp(targetKey, formattedObj, value);
|
|
76
|
+
}
|
|
77
|
+
return formattedObj;
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
export { mapWith as a, getProp as i, deleteProp as n, formatObject as r, assignToProp as t };
|
|
@@ -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] = "ab15e96f-0257-4479-a708-72838ac9680e", e._sentryDebugIdIdentifier = "sentry-dbid-ab15e96f-0257-4479-a708-72838ac9680e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
5
|
+
import { t as getCapabilities } from "./processCapabilities-CWE5UFt8.js";
|
|
6
6
|
//#region src/adaptiveWorkflow/utils/utils.ts
|
|
7
7
|
/** Read a value from a nested object using dot-notation path. */
|
|
8
8
|
function getNestedValue(obj, path) {
|
|
@@ -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] = "03e25fab-b019-4909-8fca-a491c0db3ad9", e._sentryDebugIdIdentifier = "sentry-dbid-03e25fab-b019-4909-8fca-a491c0db3ad9");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, et as hasText, it as isInvalidName, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-BYEL10Nc.js";
|
|
6
5
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
|
+
import { C as isValidMinLength, _ as hasText, a as NO_ALPHABET_REGEX, g as hasRepeatedCharacters, h as hasMaximumTwoRepeatedCharacters, l as chomeAndBanchiValidator, n as EMOJI_REGEX, o as NO_ALPHABET_UNICODE_REGEX, t as ADDRESS_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName } from "./validatorUtils-D2O6AAZn.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import { r as countrySpecificFormatters } from "./InputDate-
|
|
8
|
+
import { r as countrySpecificFormatters } from "./InputDate-ANdv1rKt.js";
|
|
9
9
|
//#region src/utils/regex/postalCodePatterns.ts
|
|
10
10
|
var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
|
|
11
11
|
var postalCodePatterns = {
|
|
@@ -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] = "d7c40333-50f7-439e-adeb-504cdb76cc6f", e._sentryDebugIdIdentifier = "sentry-dbid-d7c40333-50f7-439e-adeb-504cdb76cc6f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as addressValidators } from "./validate-
|
|
5
|
+
import { t as addressValidators } from "./validate-96E_RrNB.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
7
7
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
|
|
8
8
|
var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8ad7d01c-b59f-4846-a7cf-1948d859fb90", e._sentryDebugIdIdentifier = "sentry-dbid-8ad7d01c-b59f-4846-a7cf-1948d859fb90");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
5
|
+
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
7
|
+
import { t as Icon } from "./Icon-4XR6gZzk.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
-
import { t as Loader } from "./Loader-
|
|
10
|
-
import { n as IconButton } from "./Button-
|
|
9
|
+
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
10
|
+
import { n as IconButton } from "./Button-DPJ1k02w.js";
|
|
11
11
|
import { n as httpGet, r as httpPost, t as httpDelete } from "./http-DsJtugN1.js";
|
|
12
12
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
13
|
-
import {
|
|
13
|
+
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
14
14
|
import { useEffect } from "preact/hooks";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -133,6 +133,7 @@ var fetchDocuments = async (documentDetails, entityId) => {
|
|
|
133
133
|
return documentStore[entityId];
|
|
134
134
|
};
|
|
135
135
|
var fetchDocument = async (documentDetail) => {
|
|
136
|
+
if (!documentDetail.id || !documentDetail.modificationDate) throw new Error("Document detail is missing required fields");
|
|
136
137
|
return {
|
|
137
138
|
...await getDocumentService(documentDetail.id),
|
|
138
139
|
modificationDate: documentDetail.modificationDate
|
|
@@ -1,20 +1,71 @@
|
|
|
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] = "d0d1965e-00ea-4e30-aca3-058ea84ab620", e._sentryDebugIdIdentifier = "sentry-dbid-d0d1965e-00ea-4e30-aca3-058ea84ab620");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
+
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
+
import { y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
8
|
+
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { i as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
10
|
+
import { t as KEYBOARD_KEYS } from "./keys-Ce8YnRP2.js";
|
|
11
|
+
import { n as CountryField } from "./CountryField-DT6-Jr_b.js";
|
|
12
|
+
import { n as validateJaKanaLegalCompanyName, t as validateJaHaniLegalCompanyName } from "./patternValidators-DsrZkuOO.js";
|
|
13
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-Cosyjk52.js";
|
|
14
|
+
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
15
|
+
import { t as convertFullToHalf } from "./formFieldsUtils-CnDkgahc.js";
|
|
16
|
+
import { r as isJapanLocalizationEnabled } from "./TaxInformationField-Cc-NDAVo.js";
|
|
17
|
+
import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
|
|
18
|
+
import { useEffect, useState } from "preact/hooks";
|
|
17
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
|
+
//#region src/datasets/generators/getCompanyTypeExamplesForCountry.ts
|
|
21
|
+
var companyTypeExamples = /* #__PURE__ */ Object.assign({
|
|
22
|
+
"../localized/companyTypeExamples/AT.json": () => import("./AT-BNvEEyA1.js"),
|
|
23
|
+
"../localized/companyTypeExamples/AU.json": () => import("./AU-yI1HPsCK.js"),
|
|
24
|
+
"../localized/companyTypeExamples/BE.json": () => import("./BE-BsQPppoQ.js"),
|
|
25
|
+
"../localized/companyTypeExamples/BR.json": () => import("./BR-Df_k79xR.js"),
|
|
26
|
+
"../localized/companyTypeExamples/CA.json": () => import("./CA-Drxrt6ud.js"),
|
|
27
|
+
"../localized/companyTypeExamples/CH.json": () => import("./CH-C93Zls9o.js"),
|
|
28
|
+
"../localized/companyTypeExamples/CZ.json": () => import("./CZ-Bk7V7DHn.js"),
|
|
29
|
+
"../localized/companyTypeExamples/DE.json": () => import("./DE-CKGX5CHO.js"),
|
|
30
|
+
"../localized/companyTypeExamples/DK.json": () => import("./DK-DORnwCWQ.js"),
|
|
31
|
+
"../localized/companyTypeExamples/ES.json": () => import("./ES-C89tOy9e.js"),
|
|
32
|
+
"../localized/companyTypeExamples/FI.json": () => import("./FI-DCXniiD4.js"),
|
|
33
|
+
"../localized/companyTypeExamples/FR.json": () => import("./FR-CxvXXv-O.js"),
|
|
34
|
+
"../localized/companyTypeExamples/GB.json": () => import("./GB-DCF0Nkem.js"),
|
|
35
|
+
"../localized/companyTypeExamples/HK.json": () => import("./HK-C1qODiFA.js"),
|
|
36
|
+
"../localized/companyTypeExamples/HR.json": () => import("./HR-DomyNfJ0.js"),
|
|
37
|
+
"../localized/companyTypeExamples/HU.json": () => import("./HU-HvuEJeUR.js"),
|
|
38
|
+
"../localized/companyTypeExamples/IE.json": () => import("./IE-DwzVxL1C.js"),
|
|
39
|
+
"../localized/companyTypeExamples/IT.json": () => import("./IT-CISIu45c.js"),
|
|
40
|
+
"../localized/companyTypeExamples/LT.json": () => import("./LT-DnvVPVhz.js"),
|
|
41
|
+
"../localized/companyTypeExamples/MX.json": () => import("./MX-CXUYOKFF.js"),
|
|
42
|
+
"../localized/companyTypeExamples/NL.json": () => import("./NL-Bn2QKc20.js"),
|
|
43
|
+
"../localized/companyTypeExamples/NO.json": () => import("./NO-D7BSfuUs.js"),
|
|
44
|
+
"../localized/companyTypeExamples/PL.json": () => import("./PL-CtjljK4S.js"),
|
|
45
|
+
"../localized/companyTypeExamples/PT.json": () => import("./PT-Ck3Uvmoz.js"),
|
|
46
|
+
"../localized/companyTypeExamples/RO.json": () => import("./RO-CewdEU2z.js"),
|
|
47
|
+
"../localized/companyTypeExamples/SE.json": () => import("./SE-DzRKAJvT.js"),
|
|
48
|
+
"../localized/companyTypeExamples/SG.json": () => import("./SG-sKZVzzs9.js"),
|
|
49
|
+
"../localized/companyTypeExamples/SI.json": () => import("./SI-BIBw5Y4Z.js"),
|
|
50
|
+
"../localized/companyTypeExamples/SK.json": () => import("./SK-M9wg6on5.js"),
|
|
51
|
+
"../localized/companyTypeExamples/US.json": () => import("./US-D3s6UvEg.js")
|
|
52
|
+
});
|
|
53
|
+
var logger = createLogger();
|
|
54
|
+
var getCompanyTypeExamplesForCountry = async (country) => {
|
|
55
|
+
const importForCountry = companyTypeExamples[`../localized/companyTypeExamples/${country}.json`];
|
|
56
|
+
if (!importForCountry) {
|
|
57
|
+
logger.warn(`No company type examples available for ${country}`);
|
|
58
|
+
return {};
|
|
59
|
+
}
|
|
60
|
+
return (await importForCountry()).default;
|
|
61
|
+
};
|
|
62
|
+
var useCompanyTypeExamples = (country) => {
|
|
63
|
+
const [examples, setExamples] = useState();
|
|
64
|
+
useEffect(() => {
|
|
65
|
+
getCompanyTypeExamplesForCountry(country).then(setExamples).catch(console.error);
|
|
66
|
+
}, [country]);
|
|
67
|
+
return examples;
|
|
68
|
+
};
|
|
18
69
|
var localizedLegalCompanyNameFieldConfig = {
|
|
19
70
|
jaHaniLegalCompanyName: {
|
|
20
71
|
config: {
|
|
@@ -117,30 +168,6 @@ function CountryOfGoverningLawField({ data, valid, errors, handleChangeFor, allo
|
|
|
117
168
|
//#region src/components/Shared/fields/CountryOfGoverningLawField/constants.ts
|
|
118
169
|
var COUNTRY_OF_GOVERNING_LAW_POSSIBLE = [CountryCodes.UnitedKingdom];
|
|
119
170
|
//#endregion
|
|
120
|
-
//#region src/components/Business/utils/utils.ts
|
|
121
|
-
var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, rootLegalEntityType) => {
|
|
122
|
-
const isOrganization = rootLegalEntityType === LegalEntityTypes.ORGANIZATION;
|
|
123
|
-
if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
|
|
124
|
-
if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
|
|
125
|
-
if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
|
|
126
|
-
if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
|
|
130
|
-
if (!isCountryOfGoverningLawEnabled || basicData?.country !== CountryCodes.UnitedKingdom) return;
|
|
131
|
-
return !basicData.countryOfGoverningLaw ? CountryCodes.UnitedKingdom : basicData.countryOfGoverningLaw;
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* Checks if a country allows registration number exemption for business details.
|
|
135
|
-
*
|
|
136
|
-
* @param country The country code to check.
|
|
137
|
-
* @returns True if the country allows registration number exemption, false otherwise.
|
|
138
|
-
*/
|
|
139
|
-
var isRegistrationExemptionAllowed = (country) => country in REGISTRATION_NUMBER_EXEMPTION_RULES;
|
|
140
|
-
var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
|
|
141
|
-
return country === CountryCodes.Australia && (entityType === "governmentalOrganization" || entityType === "partnershipIncorporated") || country === CountryCodes.NewZealand;
|
|
142
|
-
};
|
|
143
|
-
//#endregion
|
|
144
171
|
//#region src/components/Shared/fields/CountryOfGoverningLawField/validate.ts
|
|
145
172
|
var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
|
|
146
173
|
modes: ["blur"],
|
|
@@ -148,4 +175,4 @@ var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
|
|
|
148
175
|
errorMessage: "fieldIsRequired"
|
|
149
176
|
} });
|
|
150
177
|
//#endregion
|
|
151
|
-
export {
|
|
178
|
+
export { useLegalCompanyNameField as a, CountryOfGoverningLawField as i, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as n, localizedLegalCompanyNameFieldConfig as o, COUNTRY_OF_GOVERNING_LAW_FIELD as r, useCompanyTypeExamples as s, CountryOfGoverningLawFieldValidation as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
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] = "64cf64f8-3bab-42cd-ba79-0a4be0b59c25", e._sentryDebugIdIdentifier = "sentry-dbid-64cf64f8-3bab-42cd-ba79-0a4be0b59c25");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
5
|
+
import { r as useTranslation } 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
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
8
|
+
import { n as IconButton, t as Button } from "./Button-DPJ1k02w.js";
|
|
9
9
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
10
|
-
import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-
|
|
10
|
+
import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
11
11
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
12
12
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
13
13
|
import { useMemo } from "preact/hooks";
|
|
@@ -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] = "c84a996d-3ada-4177-9be5-d4031a879007", e._sentryDebugIdIdentifier = "sentry-dbid-c84a996d-3ada-4177-9be5-d4031a879007");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as getFieldNameFromPath } from "./ErrorPanel-
|
|
5
|
+
import { i as getFieldNameFromPath } from "./ErrorPanel-D4JNFkvi.js";
|
|
6
6
|
//#region src/utils/validationError.ts
|
|
7
7
|
var API_VALIDATION_ERROR_CODE = "30_102";
|
|
8
8
|
var ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
try {
|
|
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] = "a85814a4-c579-49d4-8d59-4b1fa9f468b1", e._sentryDebugIdIdentifier = "sentry-dbid-a85814a4-c579-49d4-8d59-4b1fa9f468b1");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
var ValidationResult = class {
|
|
6
|
+
validationResults;
|
|
7
|
+
constructor(results) {
|
|
8
|
+
this.validationResults = results;
|
|
9
|
+
}
|
|
10
|
+
/** Checks if all validation rules have passed */
|
|
11
|
+
get isValid() {
|
|
12
|
+
return this.validationResults.reduce((acc, result) => acc && result.isValid, true);
|
|
13
|
+
}
|
|
14
|
+
/** Checks if any validation rule returned an error */
|
|
15
|
+
hasError() {
|
|
16
|
+
return Boolean(this.getError());
|
|
17
|
+
}
|
|
18
|
+
/** Returns the first validation result that returned an error */
|
|
19
|
+
getError() {
|
|
20
|
+
return this.validationResults.find((result) => result.hasError);
|
|
21
|
+
}
|
|
22
|
+
/** Used to add async validation results to the static validation result*/
|
|
23
|
+
addError(result) {
|
|
24
|
+
this.validationResults.push(result);
|
|
25
|
+
return this.validationResults;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ValidationResult as t };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
try {
|
|
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] = "04885f6e-0c90-4473-96cb-083173c6c1ac", e._sentryDebugIdIdentifier = "sentry-dbid-04885f6e-0c90-4473-96cb-083173c6c1ac");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
var MAX_LENGTH = 30;
|
|
6
|
+
var getMaxLengthByFieldAndCountry = (formattingRules, field, country, ignoreIfFormatterExists) => {
|
|
7
|
+
if (!country) return void 0;
|
|
8
|
+
if (ignoreIfFormatterExists && formattingRules[country]?.[field]?.formatter) return;
|
|
9
|
+
return formattingRules[country]?.[field]?.maxlength || MAX_LENGTH;
|
|
10
|
+
};
|
|
11
|
+
var isUndefinedOrNull = (input) => input === void 0 || input === null;
|
|
12
|
+
var isEmpty = (input) => isUndefinedOrNull(input) || typeof input === "object" && Object.keys(input).length === 0 || typeof input === "string" && /^\s*$/.test(input);
|
|
13
|
+
var hasEmptyFields = (input) => input !== void 0 && (Object.keys(input).length === 0 || Object.values(input).some((value) => value === void 0 || value === null || value === ""));
|
|
14
|
+
var isAccountIdentifierObscured = (payload) => {
|
|
15
|
+
const accountIdentifier = payload?.type === "iban" ? payload.iban : payload?.accountNumber;
|
|
16
|
+
return Boolean(accountIdentifier) && accountIdentifier.includes("*");
|
|
17
|
+
};
|
|
18
|
+
var extractFieldName = (inputString) => {
|
|
19
|
+
const fieldNames = inputString?.split(".");
|
|
20
|
+
return fieldNames?.length > 0 ? fieldNames[fieldNames.length - 1] : "";
|
|
21
|
+
};
|
|
22
|
+
var concatenateFieldNames = (fieldNames) => fieldNames?.join(", ");
|
|
23
|
+
var isString = (input) => typeof input === "string" || input instanceof String;
|
|
24
|
+
var hasText = (input) => isString(input) && !isEmpty(input);
|
|
25
|
+
var SPECIAL_CHARS = "?\\-\\+_=!@#$%^&*(){}~<>\\[\\]\\/\\\\";
|
|
26
|
+
var getFormattingRegEx = (specChars, flags = "g") => new RegExp(`[${specChars}]`, flags);
|
|
27
|
+
var EMOJI_REGEX = /(\p{Emoji}\uFE0F|\p{Emoji_Presentation}|\p{Extended_Pictographic})/gu;
|
|
28
|
+
var NO_ALPHABET_REGEX = /^[^a-zA-Z]*$/;
|
|
29
|
+
var NO_ALPHABET_UNICODE_REGEX = /^[^\p{L}]*$/u;
|
|
30
|
+
var INDIVIDUAL_VALID_CHAR_REGEX = /^[\p{L}\p{M}\d\s\-—./']*$/u;
|
|
31
|
+
var ADDRESS_VALID_CHAR_REGEX = /^[\p{L}\p{M}\d\s\-—.,/']*$/u;
|
|
32
|
+
var OTHER_ENTITIES_VALID_CHAR_REGEX = /^[\w\s,.;:\-—&!?@()"'/\\+\p{L}\p{M}]+$/u;
|
|
33
|
+
var LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX = /^[\p{sc=Latin}\p{Zs}\p{M}\p{Punctuation}\p{N}]+$/u;
|
|
34
|
+
var matchesRegex = (regex, input) => isString(input) && regex.test(input ?? "");
|
|
35
|
+
var hasRepeatedCharacters = (input) => !isEmpty(input) && input.length > 1 && new Set(input.toLowerCase()).size === 1;
|
|
36
|
+
var hasMaximumTwoRepeatedCharacters = (input) => !isEmpty(input) && input.length > 2 && new Set(input.toLowerCase()).size === 1;
|
|
37
|
+
var isValidMinLength = (input, minLength = 1) => !isEmpty(input) && input.length >= minLength;
|
|
38
|
+
var isInvalidName = (input) => {
|
|
39
|
+
return (/* @__PURE__ */ new Set([
|
|
40
|
+
"John Doe",
|
|
41
|
+
"Jane Doe",
|
|
42
|
+
"ABCD",
|
|
43
|
+
"ABCDE",
|
|
44
|
+
"ABCDEF",
|
|
45
|
+
"ABCDEFG",
|
|
46
|
+
"My Customer",
|
|
47
|
+
"An other",
|
|
48
|
+
"n/a",
|
|
49
|
+
"not applicable",
|
|
50
|
+
"n/A",
|
|
51
|
+
"N/A",
|
|
52
|
+
"N/a",
|
|
53
|
+
"N\\ /A",
|
|
54
|
+
"not app",
|
|
55
|
+
"null"
|
|
56
|
+
])).has(input || "");
|
|
57
|
+
};
|
|
58
|
+
var standardKanjiValidator = (input) => {
|
|
59
|
+
const regex = /* @__PURE__ */ new RegExp("^[一-鿿㐀-䶿豈-ぁ-ゖァ-ヺー-ヿ0-9A-Za-z・ー‐-−’,.& Ⅰ-Ⅺ・-゚A-Za-z0-9,.& ]+$");
|
|
60
|
+
return !isEmpty(input) && regex.test(input);
|
|
61
|
+
};
|
|
62
|
+
var standardKatakanaValidator = (input) => {
|
|
63
|
+
const regex = /* @__PURE__ */ new RegExp("^[ァ-ヶㇰ-ㇿA-Za-z0-9・ー‐-−’,.& Ⅰ-Ⅺ・-゚A-Za-z0-9 ,.& へべぺ]+$");
|
|
64
|
+
return !isEmpty(input) && regex.test(input);
|
|
65
|
+
};
|
|
66
|
+
var chomeAndBanchiValidator = (input) => {
|
|
67
|
+
const regex = /* @__PURE__ */ new RegExp("^([0-9]{1,4}-[0-9]{1,4}|[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4}|[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4})$");
|
|
68
|
+
return !isEmpty(input) && regex.test(input);
|
|
69
|
+
};
|
|
70
|
+
function assertString(input) {
|
|
71
|
+
if (input === void 0 || input === null) throw new TypeError(`Expected a string but received a ${input}`);
|
|
72
|
+
if (input.constructor.name !== "String") throw new TypeError(`Expected a string but received a ${input.constructor.name}`);
|
|
73
|
+
}
|
|
74
|
+
var isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;
|
|
75
|
+
function isISIN(str) {
|
|
76
|
+
assertString(str);
|
|
77
|
+
if (!isin.test(str)) return false;
|
|
78
|
+
let double = true;
|
|
79
|
+
let sum = 0;
|
|
80
|
+
for (let i = str.length - 2; i >= 0; i--) {
|
|
81
|
+
const char = str[i];
|
|
82
|
+
if (char >= "A" && char <= "Z") {
|
|
83
|
+
const value = char.charCodeAt(0) - 55;
|
|
84
|
+
const lo = value % 10;
|
|
85
|
+
const hi = Math.trunc(value / 10);
|
|
86
|
+
for (const digit of [lo, hi]) {
|
|
87
|
+
if (double) if (digit >= 5) sum += 1 + (digit - 5) * 2;
|
|
88
|
+
else sum += digit * 2;
|
|
89
|
+
else sum += digit;
|
|
90
|
+
double = !double;
|
|
91
|
+
}
|
|
92
|
+
} else {
|
|
93
|
+
const digit = parseInt(char, 10);
|
|
94
|
+
if (double) if (digit >= 5) sum += 1 + (digit - 5) * 2;
|
|
95
|
+
else sum += digit * 2;
|
|
96
|
+
else sum += digit;
|
|
97
|
+
double = !double;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const check = Math.trunc((sum + 9) / 10) * 10 - sum;
|
|
101
|
+
const lastChar = str[str.length - 1];
|
|
102
|
+
if (lastChar === void 0 || isNaN(parseInt(lastChar, 10))) return false;
|
|
103
|
+
return parseInt(lastChar, 10) === check;
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
export { isValidMinLength as C, standardKatakanaValidator as E, isUndefinedOrNull as S, standardKanjiValidator as T, hasText as _, NO_ALPHABET_REGEX as a, isISIN as b, SPECIAL_CHARS as c, extractFieldName as d, getFormattingRegEx as f, hasRepeatedCharacters as g, hasMaximumTwoRepeatedCharacters as h, LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX as i, chomeAndBanchiValidator as l, hasEmptyFields as m, EMOJI_REGEX as n, NO_ALPHABET_UNICODE_REGEX as o, getMaxLengthByFieldAndCountry as p, INDIVIDUAL_VALID_CHAR_REGEX as r, OTHER_ENTITIES_VALID_CHAR_REGEX as s, ADDRESS_VALID_CHAR_REGEX as t, concatenateFieldNames as u, isAccountIdentifierObscured as v, matchesRegex as w, isInvalidName as x, isEmpty as y };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fe1c8036-3c3d-4a72-ace3-76ed7d81f55c", e._sentryDebugIdIdentifier = "sentry-dbid-fe1c8036-3c3d-4a72-ace3-76ed7d81f55c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.9.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.9.7_vue@3.5.41_typescript@6.0.3_/node_modules/@adyen/ui-assets-icons-16/dist/svg/warning-circle-fill.svg?component
|
|
7
7
|
var SvgWarningCircleFill = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "39aa9b4b-c168-475a-bac1-34513d3e8245", e._sentryDebugIdIdentifier = "sentry-dbid-39aa9b4b-c168-475a-bac1-34513d3e8245");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.9.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.9.7_vue@3.5.41_typescript@6.0.3_/node_modules/@adyen/ui-assets-icons-16/dist/svg/warning-diamond-filled.svg?component
|
|
7
7
|
var SvgWarningDiamondFilled = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f247a4cf-6b20-4c56-bc6c-b3df1f742008", e._sentryDebugIdIdentifier = "sentry-dbid-f247a4cf-6b20-4c56-bc6c-b3df1f742008");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
6
|
-
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.9.
|
|
6
|
+
//#region node_modules/.pnpm/@adyen+ui-assets-icons-16@7.9.7_vue@3.5.41_typescript@6.0.3_/node_modules/@adyen/ui-assets-icons-16/dist/svg/webinar.svg?component
|
|
7
7
|
var SvgWebinar = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: 16,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0-beta.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-for-platforms",
|
|
@@ -71,58 +71,58 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@adyen/adyen-document-viewer": "^1.4.
|
|
74
|
+
"@adyen/adyen-document-viewer": "^1.4.5",
|
|
75
75
|
"@adyen/openbankingsdk": "^0.2.3",
|
|
76
|
-
"@adyen/ui-assets-icons-16": "^7.9.
|
|
77
|
-
"@preact/signals": "^2.9.
|
|
76
|
+
"@adyen/ui-assets-icons-16": "^7.9.7",
|
|
77
|
+
"@preact/signals": "^2.9.4",
|
|
78
78
|
"@tanstack/preact-form": "1.30.2",
|
|
79
|
-
"@tanstack/preact-query": "^5.101.
|
|
79
|
+
"@tanstack/preact-query": "^5.101.4",
|
|
80
80
|
"classnames": "^2.5.1",
|
|
81
81
|
"container-query-polyfill": "^1.0.2",
|
|
82
82
|
"i18next": "^25.10.10",
|
|
83
|
-
"libphonenumber-js": "^1.13.
|
|
84
|
-
"monogon": "^0.3.
|
|
83
|
+
"libphonenumber-js": "^1.13.9",
|
|
84
|
+
"monogon": "^0.3.8",
|
|
85
85
|
"named-slots": "^0.4.3",
|
|
86
86
|
"onfido-sdk-ui": "14.55.0",
|
|
87
87
|
"pdfjs-dist": "5.7.284",
|
|
88
|
-
"preact": "^10.29.
|
|
88
|
+
"preact": "^10.29.7",
|
|
89
89
|
"preact-custom-element": "^4.6.0",
|
|
90
90
|
"wouter-preact": "^3.10.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@adyen/bento-design-tokens": "
|
|
93
|
+
"@adyen/bento-design-tokens": "2.0.0",
|
|
94
94
|
"@commitlint/cli": "^19.8.1",
|
|
95
95
|
"@commitlint/config-conventional": "^19.8.1",
|
|
96
96
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
97
|
-
"@eslint/js": "^9.39.
|
|
98
|
-
"@playwright/test": "^1.
|
|
97
|
+
"@eslint/js": "^9.39.5",
|
|
98
|
+
"@playwright/test": "^1.62.1",
|
|
99
99
|
"@preact/eslint-plugin-signals": "^0.2.0",
|
|
100
|
-
"@preact/preset-vite": "^2.10.
|
|
100
|
+
"@preact/preset-vite": "^2.10.6",
|
|
101
101
|
"@sentry/bundler-plugin-core": "3.5.0",
|
|
102
102
|
"@sentry/cli": "2.42.2",
|
|
103
|
-
"@slack/types": "^2.
|
|
103
|
+
"@slack/types": "^2.22.0",
|
|
104
104
|
"@storybook/addon-a11y": "10.3.4",
|
|
105
105
|
"@storybook/addon-docs": "10.3.4",
|
|
106
106
|
"@storybook/addon-vitest": "10.3.4",
|
|
107
107
|
"@storybook/preact-vite": "10.3.4",
|
|
108
|
-
"@tanstack/eslint-plugin-query": "^5.101.
|
|
109
|
-
"@tanstack/preact-query-devtools": "^5.101.
|
|
108
|
+
"@tanstack/eslint-plugin-query": "^5.101.4",
|
|
109
|
+
"@tanstack/preact-query-devtools": "^5.101.4",
|
|
110
110
|
"@tanstack/react-form-devtools": "0.2.21",
|
|
111
111
|
"@testing-library/jest-dom": "^6.9.1",
|
|
112
112
|
"@testing-library/preact": "3.2.3",
|
|
113
113
|
"@testing-library/user-event": "^14.6.1",
|
|
114
114
|
"@types/react": "^19.2.17",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
116
|
-
"@typescript-eslint/parser": "^8.
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
116
|
+
"@typescript-eslint/parser": "^8.65.0",
|
|
117
117
|
"@vitest/browser-playwright": "4.1.2",
|
|
118
118
|
"@vitest/coverage-v8": "4.1.2",
|
|
119
119
|
"@vitest/ui": "4.1.2",
|
|
120
|
-
"concurrently": "^9.2.
|
|
120
|
+
"concurrently": "^9.2.4",
|
|
121
121
|
"ctrf-cli": "^0.0.5",
|
|
122
|
-
"eslint": "^9.39.
|
|
122
|
+
"eslint": "^9.39.5",
|
|
123
123
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
124
124
|
"eslint-plugin-boundaries": "6.0.2",
|
|
125
|
-
"eslint-plugin-check-file": "^3.3.
|
|
125
|
+
"eslint-plugin-check-file": "^3.3.2",
|
|
126
126
|
"eslint-plugin-compat": "7.0.2",
|
|
127
127
|
"eslint-plugin-import": "^2.32.0",
|
|
128
128
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
134
134
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
135
135
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
136
|
-
"happy-dom": "^20.
|
|
136
|
+
"happy-dom": "^20.11.1",
|
|
137
137
|
"http-server": "^14.1.1",
|
|
138
138
|
"inquirer": "^12.11.1",
|
|
139
139
|
"jsonc-eslint-parser": "^2.4.2",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"oxfmt": "0.52.0",
|
|
143
143
|
"phone": "^3.1.71",
|
|
144
144
|
"playwright-ctrf-json-reporter": "^0.0.29",
|
|
145
|
-
"postcss": "^8.5.
|
|
145
|
+
"postcss": "^8.5.22",
|
|
146
146
|
"preact-iso": "2.12.0",
|
|
147
147
|
"react": "npm:@preact/compat@^18.3.2",
|
|
148
148
|
"react-dom": "npm:@preact/compat@^18.3.2",
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
"stylelint": "^16.26.1",
|
|
156
156
|
"stylelint-config-recommended": "^14.0.1",
|
|
157
157
|
"stylelint-no-unsupported-browser-features": "8.1.1",
|
|
158
|
-
"tsc-alias": "^1.
|
|
159
|
-
"type-fest": "^5.
|
|
158
|
+
"tsc-alias": "^1.9.1",
|
|
159
|
+
"type-fest": "^5.8.0",
|
|
160
160
|
"typescript": "^6.0.3",
|
|
161
|
-
"typescript-eslint": "^8.
|
|
162
|
-
"vite": "^8.
|
|
161
|
+
"typescript-eslint": "^8.65.0",
|
|
162
|
+
"vite": "^8.1.5",
|
|
163
163
|
"vite-node": "^6.0.0",
|
|
164
164
|
"vite-plugin-shadow-styles": "^0.0.3",
|
|
165
165
|
"vite-plugin-svgr": "^5.2.0",
|