@adyen/kyc-components 4.24.0 → 4.25.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-CyMefc3t.js → AcceptTermsOfServiceWorkflow-DVUes-ba.js} +2 -2
- package/dist/{AccountSetupRejected-D63dyojj.js → AccountSetupRejected-B19onnyG.js} +1 -1
- package/dist/{AdaptiveWorkflow-DC4QviLh.js → AdaptiveWorkflow-q5TVr4ET.js} +1 -1
- package/dist/{AdaptiveWorkflowComponent-CsNPizq0.js → AdaptiveWorkflowComponent-CBxlKnJq.js} +54 -54
- package/dist/{AddressFields-BeeqIqdc.js → AddressFields-DR4xhVNv.js} +9 -9
- package/dist/{Alert-Cc7p0N5h.js → Alert-Bv9M3wLb.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYJS13vd.js → BusinessFinancingDropin-B71xoa3g.js} +95 -57
- package/dist/{BusinessFinancingPage-DbTrQ1kt.js → BusinessFinancingPage-DlttycNJ.js} +27 -27
- package/dist/{BusinessRegistrationNumberField-DKka8aVU.js → BusinessRegistrationNumberField-CpRV1Keg.js} +4 -4
- package/dist/{BusinessRegistrationNumberFieldGroup-Df6_sDA0.js → BusinessRegistrationNumberFieldGroup-BBOUoIDC.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C0xUipfe.js → BusinessTypeSelectionPage-DiZhzyXz.js} +7 -7
- package/dist/{Button-DPJ1k02w.js → Button-DpPFIUJx.js} +34 -29
- package/dist/{ComponentGroup-Cw_2w0Rf.js → ComponentGroup-BcVd3jTE.js} +1 -1
- package/dist/{Confirm-DoN9R9Z3.js → Confirm-D8WH4e1L.js} +2 -2
- package/dist/{ConstitutionalDocument-Bbo7P_gi.js → ConstitutionalDocument-BBXjyAH3.js} +14 -14
- package/dist/{ContactDetails-CUjFd94x.js → ContactDetails-e8rkZO7f.js} +6 -6
- package/dist/{ContextGuidance-BQPwRscq.js → ContextGuidance-DPPaigJE.js} +1 -1
- package/dist/{CountryField-DT6-Jr_b.js → CountryField-C7eHHmYk.js} +4 -4
- package/dist/{Currency-C-sSDMn7.js → Currency-BEr0RDjy.js} +83 -6
- package/dist/{CustomerSupport-C2DrnwDs.js → CustomerSupport-DVMEfZdZ.js} +6 -6
- package/dist/{DataConflictsModal-CCaMgguu.js → DataConflictsModal-BqfTUq4v.js} +6 -6
- package/dist/{DebugModal-CvRyl9qY.js → DebugModal-CGPSu2md.js} +16 -16
- package/dist/{DecisionMakerDetails-Dhi6hsrv.js → DecisionMakerDetails-mi5oGeCi.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DLgKrPA3.js → DecisionMakerDetailsPage-BUvvs6i9.js} +28 -28
- package/dist/{DecisionMakers-B6Qd9fuT.js → DecisionMakers-B2dpzHQ-.js} +32 -32
- package/dist/{Dropzone-BhMYy4nr.js → Dropzone-DAKOThpd.js} +4 -4
- package/dist/{EndStateLayout-zZPm8S5M.js → EndStateLayout-BOdEeTDy.js} +9 -9
- package/dist/{EntityAssociation-C2_Xuvf5.js → EntityAssociation-ty8DqPkJ.js} +5 -5
- package/dist/{ErrorPanel-D4JNFkvi.js → ErrorPanel-D1ygAX21.js} +2 -2
- package/dist/{Field-DwDJQVSS.js → Field-CBvXkDKh.js} +1 -1
- package/dist/{GlobalEntryModal-iZSUeMQf.js → GlobalEntryModal-DLC7METR.js} +783 -86
- package/dist/{GlobalEntryPage-w4KJOeYb.js → GlobalEntryPage-C2vMcR6i.js} +28 -28
- package/dist/{IdentityNumber-3V6ZqvHB.js → IdentityNumber-DhO403_T.js} +6 -6
- package/dist/{IdentityNumberFieldGroup-CAjlgTWn.js → IdentityNumberFieldGroup-CqAj0moi.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bx89cmUF.js → IdentityScreeningWorkflow-Dm2p1_2e.js} +7 -7
- package/dist/{IndividualDropin-BgOmBeoT.js → IndividualDropin-CKnMrjDj.js} +161 -54
- package/dist/{IndustryCodeFieldGroup-BDtoeaUz.js → IndustryCodeFieldGroup-DEYxiu_j.js} +4 -4
- package/dist/{InputDate-ANdv1rKt.js → InputDate-B0RNGCq2.js} +2 -3
- package/dist/{InputText-CFDEmEtp.js → InputText-CwPK55J0.js} +1 -1
- package/dist/{Introduction-D8hMB7Wb.js → Introduction-CTVUoae1.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-DZZe5Ruk.js → InvitedDecisionMakerComponent-XVUjKp4X.js} +55 -55
- package/dist/{JpAddressFields-BIh4120-.js → JpAddressFields-DWDTt4lQ.js} +5 -5
- package/dist/{LegalCompanyNameField-Cosyjk52.js → LegalCompanyNameField-C3zITaw1.js} +3 -3
- package/dist/{LegalName-CtqIpsfy.js → LegalName-DsYl9ReT.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Mpm8AjdQ.js → LegalRepresentativeDetailsPage-CYHPpiXJ.js} +28 -28
- package/dist/{maskHelpers-C0wnCoJl.js → MaskedInput-W1FzWAVl.js} +68 -68
- package/dist/{MaybeModal-C4ySaA8A.js → MaybeModal-DJ-s5rk2.js} +2 -2
- package/dist/{Modal-CHES6970.js → Modal-DeXa4MBg.js} +1 -1
- package/dist/{Name-CdCsijr5.js → Name-C1GAvkWn.js} +4 -4
- package/dist/{NewSummary-D55f70wB.js → NewSummary-C9CV9wJk.js} +4 -4
- package/dist/{NodeRenderer-smgxe7Ni.js → NodeRenderer-CnaWNStD.js} +15 -15
- package/dist/{PatriotActDisclosure-DA6nqTmC.js → PatriotActDisclosure-CnVpPsAg.js} +8 -8
- package/dist/{PayoutDetailsDropin-BH1Sj6GM.js → PayoutDetailsDropin-BPms6ZOq.js} +140 -93
- package/dist/{PayoutDetailsPage-B7mZmc51.js → PayoutDetailsPage-BTBHMzw7.js} +3 -3
- package/dist/{RadioGroup-Bf3DlQnZ.js → RadioGroup-CY33MT83.js} +2 -2
- package/dist/{RadioWithLabel-DQIOEYpF.js → RadioWithLabel-BmUFWDxq.js} +1 -1
- package/dist/{Review-9sjGKoQu.js → Review-CGI0RQO6.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DRN6p6wB.js → RootBusinessDetailsPage-BswHBSIN.js} +1 -1
- package/dist/{RootBusinessLinesPage-uxn9f5K8.js → RootBusinessLinesPage-BQxhfHmx.js} +18 -18
- package/dist/{RootIndividualDetailsPage-BDoKkhcN.js → RootIndividualDetailsPage-CFxtnnY4.js} +28 -28
- package/dist/{Select-phAxjMBQ.js → Select-prMx73V9.js} +35 -36
- package/dist/{SignPCIComponent-BNlTxxJz.js → SignPCIComponent-B1kmyOe5.js} +34 -34
- package/dist/{SingpassSelection-B6_DsZtn.js → SingpassSelection-GiZOYWUI.js} +4 -4
- package/dist/{SoleProprietorshipPage-Dx-pfSwo.js → SoleProprietorshipPage-D84M0iEW.js} +1 -1
- package/dist/{SourceOfFundsPage-ChO-R9o4.js → SourceOfFundsPage-B0SzrryD.js} +22 -22
- package/dist/{SourceOfFundsWorkflow-DuU_n82x.js → SourceOfFundsWorkflow-j-GhdsMt.js} +2 -2
- package/dist/{StateField-BpMwetvd.js → StateField-BYoE_vV0.js} +5 -5
- package/dist/{Step-CctAUYbs.js → Step-BWQnXZ9F.js} +2 -2
- package/dist/{StructuredList-nPasiuLi.js → StructuredList-BHUmeWeh.js} +1 -1
- package/dist/{Summary-DM31WxLr.js → Summary-BxGf1dI5.js} +6 -6
- package/dist/{Task-C12uuPWD.js → Task-B5aOUY4b.js} +23 -14
- package/dist/{TaskGroup-z3ONGLnB.js → TaskGroup-DJXCb94w.js} +1 -1
- package/dist/{TaskListItem-Dx3hKOqG.js → TaskListItem-0-jRJAy9.js} +4 -4
- package/dist/{TaxInformationField-Cc-NDAVo.js → TaxInformationField-DUjQEF-s.js} +4 -4
- package/dist/{TaxInformationFieldGroup-DI2LzuNr.js → TaxInformationFieldGroup-CrTl9kqF.js} +5 -5
- package/dist/{TaxReportingDropin-LNgisxBc.js → TaxReportingDropin-DAdIs3_N.js} +8 -8
- package/dist/{TaxReportingWorkflow-9_9ECX6A.js → TaxReportingWorkflow-P9mRynVj.js} +2 -2
- package/dist/{TermsOfServiceManagement-BGrBal0j.js → TermsOfServiceManagement-BnyyCgPN.js} +34 -34
- package/dist/{TextArea-qGEo3PFG.js → TextArea-C12oXMzX.js} +1 -1
- package/dist/{TileGroup-D1-M64Ul.js → TileGroup-DKwpyGqw.js} +1 -1
- package/dist/{ToastContextProvider-DjYKMflX.js → ToastContextProvider-D2doAiSZ.js} +1 -1
- package/dist/{TrustDetailsPage-cx6yEd6Q.js → TrustDetailsPage-CfjP1Q7K.js} +25 -25
- package/dist/{TrustMemberCompanyPage-DZh9Wn9-.js → TrustMemberCompanyPage-taBHdjIB.js} +3 -3
- package/dist/{TrustMemberIndividualPage--tTWII4G.js → TrustMemberIndividualPage-DdwlWwLJ.js} +28 -28
- package/dist/{TrustMemberRoleAndTypePage-DEzesajA.js → TrustMemberRoleAndTypePage-DAeIxczv.js} +15 -17
- package/dist/{TrustMembersOverview-BpJGWVT5.js → TrustMembersOverview-Bb_rf907.js} +7 -7
- package/dist/{UboTaskItem-DP5LOGom.js → UboTaskItem-RFRcZeJr.js} +23 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DelW_XAz.js → UnincorporatedPartnershipIndividualPage-lWGiysru.js} +28 -28
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js → UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BBeans9j.js → UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js} +5 -5
- package/dist/{VerificationErrorAlert-CixajVtq.js → VerificationErrorAlert-B-WILibe.js} +1 -1
- package/dist/{Workflow-BJbKhY38.js → Workflow-CymBPsE3.js} +27 -17
- package/dist/adyen-business-financing.js +33 -31
- package/dist/adyen-individual-configuration.js +57 -55
- package/dist/adyen-individual-status.js +31 -29
- package/dist/adyen-invited-decision-maker.js +7 -5
- package/dist/adyen-onboarding.js +41 -39
- package/dist/adyen-terms-of-service-management.js +6 -4
- package/dist/adyen-terms-of-service-status.js +6 -4
- package/dist/adyen-transfer-instrument-configuration.js +31 -29
- package/dist/adyen-transfer-instrument-management.js +39 -37
- package/dist/adyen-verification-status.js +7 -5
- package/dist/{bg-BG-DqfAUTUt.js → bg-BG-Cdrkwxmc.js} +2 -2
- package/dist/{bg-BG-BPzEcioF.js → bg-BG-ClMsmcda.js} +16 -2
- package/dist/bg-BG-DfbtcqF4.js +7 -0
- package/dist/{businessRegistrationNumberPatterns-A08SLm03.js → businessRegistrationNumberPatterns-Bd2bazr4.js} +2 -2
- package/dist/{constants-C8yo0_RA.js → constants-C7-xFqmm.js} +4 -4
- package/dist/cs-CZ-CajuRLo4.js +7 -0
- package/dist/{cs-CZ-BwO4yrI4.js → cs-CZ-DpiH1UkS.js} +2 -2
- package/dist/{cs-CZ-D4ml1o2f.js → cs-CZ-DyLd-erd.js} +16 -2
- package/dist/{da-DK-CE7jnGea.js → da-DK-B-BJLcqw.js} +2 -2
- package/dist/da-DK-BEwmSejn.js +7 -0
- package/dist/{da-DK-BoINgPRU.js → da-DK-Dhr4p-qj.js} +16 -2
- package/dist/{de-DE-DKkoZQ0X.js → de-DE-BxTGFyOs.js} +2 -2
- package/dist/de-DE-PyK3jl-6.js +7 -0
- package/dist/{de-DE-By2U6vch.js → de-DE-QDT6VVq9.js} +16 -2
- package/dist/{dropinUtils-DTBezwYT.js → dropinUtils-DaA6mmQp.js} +16 -11
- package/dist/{el-GR-Cvms0L4K.js → el-GR-IQwyd9ws.js} +2 -2
- package/dist/el-GR-KPFghikv.js +7 -0
- package/dist/{el-GR-CdTXa4cP.js → el-GR-V2cZ5gjl.js} +16 -2
- package/dist/en-US-BRCWc67V.js +7 -0
- package/dist/{error-BvgoQFEI.js → error-CQMSa-H_.js} +2 -2
- package/dist/{es-ES-BQrdtEfn.js → es-ES-Cg2IadcX.js} +2 -2
- package/dist/{es-ES-DT39ZlR7.js → es-ES-SsReQJzQ.js} +16 -2
- package/dist/es-ES-z4jLCvkJ.js +7 -0
- package/dist/{es-LA-DQGPNeqX.js → es-LA-DTXCg1tj.js} +16 -2
- package/dist/{es-LA-BxtxM3Ty.js → es-LA-DvMpG4FP.js} +2 -2
- package/dist/es-LA-Dx4QymCh.js +7 -0
- package/dist/et-EE-1EhDxtTe.js +7 -0
- package/dist/{et-EE-S_MAXUF8.js → et-EE-Bg3WOS9m.js} +16 -2
- package/dist/{et-EE-V-YOCgoh.js → et-EE-eGeytyQh.js} +2 -2
- package/dist/{fi-FI-ThDP-8F8.js → fi-FI-B1RyWVH2.js} +16 -2
- package/dist/{fi-FI-CVBmM-U1.js → fi-FI-C02wZfgW.js} +2 -2
- package/dist/fi-FI-Dc2RMc_u.js +7 -0
- package/dist/{form-rules-B0RwhsVw.js → form-rules-DhuNdiqF.js} +1 -1
- package/dist/{formUtils-DVDcdZsP.js → formUtils-DAKrWwgL.js} +1 -1
- package/dist/{formatValidationError-q_w9DTrl.js → formatValidationError-z2D5oU1e.js} +1 -1
- package/dist/{fr-FR-D3maHIWS.js → fr-FR-C3Zi7-JE.js} +16 -2
- package/dist/{fr-FR-BIyJL6Jj.js → fr-FR-CE7k9H5_.js} +2 -2
- package/dist/fr-FR-DswL4wQ1.js +7 -0
- package/dist/{getDefaultRegistrationNumberType-CIu4WMln.js → getDefaultRegistrationNumberType-BzOpwR5x.js} +214 -214
- package/dist/{hr-HR-BOYktLQ2.js → hr-HR-B12DcJ3l.js} +2 -2
- package/dist/{hr-HR-BUI-Ac0o.js → hr-HR-CH9yGEPn.js} +16 -2
- package/dist/hr-HR-DI2D_V50.js +7 -0
- package/dist/{hu-HU-BPjEsgnX.js → hu-HU-DpUG3GwC.js} +16 -2
- package/dist/{hu-HU-CO_7jvk9.js → hu-HU-cosbDuos.js} +2 -2
- package/dist/hu-HU-lyRcZjGI.js +7 -0
- package/dist/individualdetails-UIslI4gf.js +34 -0
- package/dist/{it-IT-W1FjGb6L.js → it-IT-BEEsgu4Z.js} +16 -2
- package/dist/it-IT-Bn4CEcmI.js +7 -0
- package/dist/{it-IT-CNr6PIu3.js → it-IT-CiKoOxzk.js} +2 -2
- package/dist/ja-JP-CAX_xwUx.js +7 -0
- package/dist/{ja-JP-avJECfKw.js → ja-JP-CcXk7Gcc.js} +16 -2
- package/dist/{ja-JP-DAClbueM.js → ja-JP-D7PEVMmT.js} +2 -2
- package/dist/lt-LT-BdgYuJW7.js +7 -0
- package/dist/{lt-LT-DoYCfhZU.js → lt-LT-C2oxTakB.js} +2 -2
- package/dist/{lt-LT-wP0YuKeO.js → lt-LT-CGgbFwbx.js} +16 -2
- package/dist/lv-LV-Bz5c0Psg.js +7 -0
- package/dist/{lv-LV-BW0BscAd.js → lv-LV-C_KVkpid.js} +2 -2
- package/dist/{lv-LV-DW_mgZjM.js → lv-LV-Ck_aQ4ML.js} +16 -2
- package/dist/{mapExistingFile-2QXrkhqJ.js → mapExistingFile-BrDc9SLg.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js → mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Crz7aXZB.js → mapLegalEntityToIndividualSchema-Cs24QJ_x.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BrbrK2wk.js → mapTransferInstrumentToPayoutAccount-BpXU-nP1.js} +1 -1
- package/dist/nl-NL-BE2cQh0x.js +7 -0
- package/dist/{nl-NL-DR5SCDAF.js → nl-NL-CwNBy0Ku.js} +2 -2
- package/dist/{nl-NL-7kT4I7Tj.js → nl-NL-_hbzuQ0h.js} +16 -2
- package/dist/{no-NO-BoEKDB8U.js → no-NO-B_ijkAtf.js} +16 -2
- package/dist/{no-NO-P8SZ1t-h.js → no-NO-VqkeNhzB.js} +2 -2
- package/dist/no-NO-vgzpp44v.js +7 -0
- package/dist/{pl-PL-BY6KUTBO.js → pl-PL-Bp218jDD.js} +2 -2
- package/dist/pl-PL-DgDSRVmp.js +7 -0
- package/dist/{pl-PL-B6DeEX-m.js → pl-PL-u6DrL8IY.js} +16 -2
- package/dist/{processValidationErrors-CjsNfiRK.js → processValidationErrors-DsZ6_OXy.js} +2 -2
- package/dist/pt-BR-BaKp-J8F.js +7 -0
- package/dist/{pt-BR-CsQI9W3I.js → pt-BR-CPS77pGy.js} +16 -2
- package/dist/{pt-BR-CrLCMcSz2.js → pt-BR-CPbFPNwq2.js} +2 -2
- package/dist/{pt-PT-DDYnXawl.js → pt-PT-Bz39smeX.js} +2 -2
- package/dist/{pt-PT-i_EH0CM6.js → pt-PT-DIKqQR6V.js} +16 -2
- package/dist/pt-PT-Df48oeP5.js +7 -0
- package/dist/{resolveEnvironment-BwfBwdTL.js → resolveEnvironment-g21Gu4Y_.js} +38 -39
- package/dist/ro-RO-CTMsv_EY.js +7 -0
- package/dist/{ro-RO-B7CJDsKz.js → ro-RO-Cg1nG9ns.js} +16 -2
- package/dist/{ro-RO-BA5GhaCE.js → ro-RO-jNItoBZk.js} +2 -2
- package/dist/{roleMetadata-Dm1FVuPT.js → roleMetadata-CQeuOFRE.js} +1 -1
- package/dist/{sk-SK-NU95U8E2.js → sk-SK-CRfiVN3e.js} +16 -2
- package/dist/{sk-SK-BeNF_m_j.js → sk-SK-CsSqXqf_.js} +2 -2
- package/dist/sk-SK-oqO5I3Aw.js +7 -0
- package/dist/sl-SI-CQhJFnpj.js +7 -0
- package/dist/{sl-SI-B6Kv1DgA.js → sl-SI-Dpr3StsS.js} +16 -2
- package/dist/{sl-SI-Bxu4m_5e.js → sl-SI-PRqWis0E.js} +2 -2
- package/dist/style.css +965 -704
- package/dist/styles-DYaAeu4q.js +965 -704
- package/dist/{sv-SE-DKTrk_eI.js → sv-SE-CH4wMrUZ.js} +16 -2
- package/dist/sv-SE-CmevESLi.js +7 -0
- package/dist/{sv-SE-B-CXDaXM.js → sv-SE-Dv-rMOdB.js} +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/WorkflowEndState/WorkflowEndState.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/context/WorkflowContext/WorkflowContextProvider.d.ts +2 -0
- package/dist/types/api/createLegalEntity/createLegalEntity.types.d.ts +3 -0
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +14 -11
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +10 -30
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +80 -66
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +15 -15
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +0 -3
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/clearCountrySpecificAccountFields.d.ts +6 -0
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +524 -7805
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +22 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/companySearchStore.d.ts +22 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +20 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessSelection.d.ts +3 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/types.d.ts +8 -0
- package/dist/types/components/GlobalEntry/hooks/useCompanySearchNextClickOverrides.d.ts +26 -0
- package/dist/types/components/GlobalEntry/modals/LegalArrangementModal.d.ts +10 -0
- package/dist/types/components/GlobalEntry/modals/RegistrationNumberMismatchModal.d.ts +16 -0
- package/dist/types/components/GlobalEntry/modals/TinMismatchModal.d.ts +6 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +3 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +2 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils/applyVerifiedCompanyData.d.ts +19 -0
- package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +1 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +12 -10
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStartedModalContent.d.ts +1 -0
- package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/validate.formats.d.ts +1 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -1
- package/dist/types/context/SettingsContext/types.d.ts +0 -2
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +1 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +1 -1
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.d.ts +1 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +1 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +1 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +1 -1
- package/dist/types/utils/decodeJwt.d.ts +0 -5
- package/dist/types/utils/genUtils.d.ts +0 -9
- package/dist/types/utils/getProps.d.ts +0 -8
- package/dist/{types-Cwq1JAWT.js → types-B28r2lAW.js} +1 -2
- package/dist/{useBusinessDetailsData-sWGe796Y.js → useBusinessDetailsData-FHWhosZj.js} +69 -413
- package/dist/{useCanSeeIntroduction-DQbanJNE.js → useCanSeeIntroduction-X0L-NhMZ.js} +1 -1
- package/dist/{useDataset-CdLBLq98.js → useDataset-BMitsLFp.js} +1 -1
- package/dist/{useForm-CWrbJG44.js → useForm-BFeaSvlP.js} +1 -1
- package/dist/{useMultiForm-BxASst0O.js → useMultiForm-CM3lpilP.js} +1 -1
- package/dist/{useNavigate-DkfNV3JZ.js → useNavigate-BqrdWTzq.js} +32 -32
- package/dist/{useSalesChannels-B06_h460.js → useSalesChannels-huIL6Dhk.js} +1 -1
- package/dist/{useTrustMembers-DtOJPaaV.js → useTrustMembers-CurK1nMF.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CxDZCOte.js → useUnincorporatedPartnershipMembers-DLGY4jqB.js} +1 -1
- package/dist/{utils-CJcGZvj1.js → utils-D8pwjFm5.js} +1 -1
- package/dist/{utils-Ck_mZapQ.js → utils-Dnwr-Kc0.js} +207 -207
- package/dist/{utils-BWumuCvl.js → utils-lIizXlcC.js} +1 -1
- package/dist/validate-C1ZPhUgV.js +443 -0
- package/dist/{validate-D-l4YRka.js → validate-D8sQbtil.js} +1 -1
- package/dist/{validate-BCNnfwPW.js → validate-k6dACmjX.js} +2 -2
- package/dist/{validate-96E_RrNB.js → validate-t6pT7AaZ.js} +2 -2
- package/dist/{validateExtractionResult-D3d0xx90.js → validateExtractionResult-D41PgEa-.js} +2 -2
- package/dist/{validationError-DV6t8Ubb.js → validationError-CLDQ0Qwt.js} +2 -2
- package/package.json +1 -1
- package/dist/bg-BG-B2xaZ3wB.js +0 -7
- package/dist/cs-CZ-ywYpJk1F.js +0 -7
- package/dist/da-DK-DH5YNYFM.js +0 -7
- package/dist/de-DE-vdy64knk.js +0 -7
- package/dist/el-GR-ChapyKa7.js +0 -7
- package/dist/en-US-B7HQdrn_.js +0 -7
- package/dist/es-ES-DCUvAmKI.js +0 -7
- package/dist/es-LA-ChRHGYJP.js +0 -7
- package/dist/et-EE-HHgM0CfO.js +0 -7
- package/dist/fi-FI-DCYPQ6vS.js +0 -7
- package/dist/fr-FR-BzyefnBh.js +0 -7
- package/dist/hr-HR-6Wj5Tf60.js +0 -7
- package/dist/hu-HU-Bwm4UqZz.js +0 -7
- package/dist/it-IT-DgRuEpeD.js +0 -7
- package/dist/ja-JP--tMJF7eu.js +0 -7
- package/dist/lt-LT-DqtpAjOg.js +0 -7
- package/dist/lv-LV-ZmyUvPst.js +0 -7
- package/dist/nl-NL-CePL3t7P.js +0 -7
- package/dist/no-NO-DGCfRiU8.js +0 -7
- package/dist/pl-PL-D-s-JI6X.js +0 -7
- package/dist/pt-BR-BvNR77Ru.js +0 -7
- package/dist/pt-PT-qAzFgjvF.js +0 -7
- package/dist/ro-RO-B3Fcn95o.js +0 -7
- package/dist/sk-SK-CcoUWnJ4.js +0 -7
- package/dist/sl-SI-DxomO9JQ.js +0 -7
- package/dist/sv-SE-BzPNBHOj.js +0 -7
- package/dist/validate-DKwCZSlM.js +0 -178
|
@@ -1,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] = "be84f491-0dc0-473b-ba2c-66e115841af4", e._sentryDebugIdIdentifier = "sentry-dbid-be84f491-0dc0-473b-ba2c-66e115841af4");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
10
|
-
import {
|
|
9
|
+
import { t as Button } from "./Button-DpPFIUJx.js";
|
|
10
|
+
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
12
12
|
import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
|
|
13
13
|
import { t as useSettingsContext } from "./useSettingsContext-9O3Aqpfq.js";
|
|
@@ -21,90 +21,90 @@ import { t as Header } from "./Header-DVLlJ6we.js";
|
|
|
21
21
|
import { t as useAllowedCountries } from "./useAllowedCountries-qyvo-c6A.js";
|
|
22
22
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
23
23
|
import { n as datasetUtilities } from "./datasetUtil-BdHPWsxZ.js";
|
|
24
|
-
import { t as Alert } from "./Alert-
|
|
24
|
+
import { t as Alert } from "./Alert-Bv9M3wLb.js";
|
|
25
25
|
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-CWE5UFt8.js";
|
|
26
26
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
27
27
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
|
|
28
28
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
29
29
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
30
30
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
31
|
-
import { t as SettingNames } from "./types-
|
|
31
|
+
import { t as SettingNames } from "./types-B28r2lAW.js";
|
|
32
32
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
33
33
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
34
34
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
35
35
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
36
36
|
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B97dCa-s.js";
|
|
37
37
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
38
|
-
import { n as ModalContent, t as Modal } from "./Modal-
|
|
39
|
-
import { t as Confirm } from "./Confirm-
|
|
38
|
+
import { n as ModalContent, t as Modal } from "./Modal-DeXa4MBg.js";
|
|
39
|
+
import { t as Confirm } from "./Confirm-D8WH4e1L.js";
|
|
40
|
+
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as companySearchQueryOptions, f as useCompanySearch, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as useClearCompanyData, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as trackPerformance, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as verifyTinQueryOptions } from "./validate-C1ZPhUgV.js";
|
|
40
41
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
41
42
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
|
|
42
|
-
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
43
|
-
import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-
|
|
43
|
+
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-DaA6mmQp.js";
|
|
44
|
+
import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-DhuNdiqF.js";
|
|
44
45
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
45
|
-
import { t as StructuredList } from "./StructuredList-
|
|
46
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
47
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
48
|
-
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-
|
|
49
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
50
|
-
import { t as
|
|
51
|
-
import { t as
|
|
52
|
-
import { a as
|
|
53
|
-
import { t as
|
|
54
|
-
import { a as exemptFromRegistrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldMetadata, l as getCompanyRegistrationNumberOptions, n as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as getDefaultRegistrationNumberType, u as getValidCompanyTypesForRegistrationNumberType } from "./getDefaultRegistrationNumberType-CIu4WMln.js";
|
|
55
|
-
import { A as taxIdNumberOptions, C as isRegistrationNumberAbsentStateV4Scenario, D as getTaxIdNumberOptions, E as mapLocalizationToJapaneseLegalNames, S as isRegistrationExemptionAllowed, T as mapJapaneseLegalNamesToLocalization, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as taxInformationDefaultFieldConfig, d as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, f as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, g as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, h as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, k as getValidCompanyTypesForTaxIdNumberType, l as taxInformationDefaultFieldMetadata, m as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, p as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, s as getTaxInformationPlaceholderText, u as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, v as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, w as isUsingCompanySearch, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-Ck_mZapQ.js";
|
|
46
|
+
import { t as StructuredList } from "./StructuredList-BHUmeWeh.js";
|
|
47
|
+
import { t as ErrorPanel } from "./ErrorPanel-D1ygAX21.js";
|
|
48
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-BxGf1dI5.js";
|
|
49
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
50
|
+
import { t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
|
|
51
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-W1FzWAVl.js";
|
|
52
|
+
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
54
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-BzOpwR5x.js";
|
|
56
55
|
import { t as isEmpty$1 } from "./isEmpty-Uewyl-r6.js";
|
|
56
|
+
import { A as mapLocalizationToJapaneseLegalNames, C as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, D as isRegistrationNumberAbsentStateV4Scenario, E as isRegistrationExemptionAllowed, O as isUsingCompanySearch, S as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, T as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, _ as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, b as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, c as taxInformationDefaultFieldConfig, f as getValidCompanyTypesForTaxIdNumberType, g as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, h as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, k as mapJapaneseLegalNamesToLocalization, l as taxInformationDefaultFieldMetadata, m as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, p as taxIdNumberOptions, s as getTaxInformationPlaceholderText, u as getTaxIdNumberOptions, v as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, w as REGISTRATION_NUMBER_EXEMPTION_RULES, x as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, y as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER } from "./utils-Dnwr-Kc0.js";
|
|
57
|
+
import { t as Field } from "./Field-CBvXkDKh.js";
|
|
58
|
+
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
59
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-CLDQ0Qwt.js";
|
|
60
|
+
import { t as ListItem } from "./ListItem-CYTpdOMa.js";
|
|
61
|
+
import { t as TileGroup } from "./TileGroup-DKwpyGqw.js";
|
|
57
62
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
58
63
|
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
59
|
-
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-
|
|
60
|
-
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import { t as
|
|
64
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-Cosyjk52.js";
|
|
65
|
-
import { t as InputText } from "./InputText-CFDEmEtp.js";
|
|
64
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-C7eHHmYk.js";
|
|
65
|
+
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-lIizXlcC.js";
|
|
66
|
+
import { n as StateField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-BYoE_vV0.js";
|
|
67
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-C3zITaw1.js";
|
|
68
|
+
import { t as InputText } from "./InputText-CwPK55J0.js";
|
|
66
69
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
67
|
-
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
68
|
-
import {
|
|
69
|
-
import { t as
|
|
70
|
-
import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
|
|
71
|
-
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-DKka8aVU.js";
|
|
70
|
+
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-DUjQEF-s.js";
|
|
71
|
+
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
72
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-CpRV1Keg.js";
|
|
72
73
|
import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-C68JdH6I.js";
|
|
74
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-BqfTUq4v.js";
|
|
73
75
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
74
76
|
import { t as useScenarios } from "./useScenarios-BfYE0clW.js";
|
|
75
|
-
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-
|
|
76
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
77
|
+
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-DR4xhVNv.js";
|
|
78
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BrDc9SLg.js";
|
|
77
79
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
78
|
-
import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
79
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
80
|
-
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-
|
|
81
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import { t as addressValidators } from "./validate-96E_RrNB.js";
|
|
80
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js";
|
|
81
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DsZ6_OXy.js";
|
|
82
|
+
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-D8sQbtil.js";
|
|
83
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-CnVpPsAg.js";
|
|
84
|
+
import { i as formatAddressForCleanse, n as formatDateObj, o as useAddressCleanseImperatively, t as InputDate } from "./InputDate-B0RNGCq2.js";
|
|
85
|
+
import { t as addressValidators } from "./validate-t6pT7AaZ.js";
|
|
85
86
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
86
87
|
import { t as Link } from "./Link-CvYhseSD.js";
|
|
87
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
88
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-CCaMgguu.js";
|
|
88
|
+
import { t as formatValidationError } from "./formatValidationError-z2D5oU1e.js";
|
|
89
89
|
import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js";
|
|
90
90
|
import { t as currencyByCountry } from "./types-BA3bcGAv.js";
|
|
91
91
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
92
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
92
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-C9CV9wJk.js";
|
|
93
93
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
94
|
-
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as
|
|
94
|
+
import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-BEr0RDjy.js";
|
|
95
95
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
96
96
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
97
97
|
import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
98
98
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
|
|
99
|
-
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-
|
|
100
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
101
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
99
|
+
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-BBXjyAH3.js";
|
|
100
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-C7-xFqmm.js";
|
|
101
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-D8pwjFm5.js";
|
|
102
102
|
import { lazy } from "preact/compat";
|
|
103
103
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
104
104
|
import cx from "classnames";
|
|
105
105
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
106
106
|
import { createModel, signal, useModel, useSignal } from "@preact/signals";
|
|
107
|
-
import {
|
|
107
|
+
import { useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
108
108
|
import { createContext as createContext$1 } from "preact";
|
|
109
109
|
import { Show } from "@preact/signals/utils";
|
|
110
110
|
//#region src/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.tsx
|
|
@@ -157,78 +157,6 @@ var eInvoicingCodeFieldMetadata = {
|
|
|
157
157
|
transformOnType: uppercase
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
var legalEntityIdentifierFieldMetadata = {
|
|
161
|
-
validators: [{
|
|
162
|
-
modes: ["blur"],
|
|
163
|
-
validate: (val) => {
|
|
164
|
-
const isValidLength = val ? val.length === 20 : false;
|
|
165
|
-
const hasLettersAndNumbers = val ? /[a-zA-Z]/.test(val) && /[0-9]/.test(val) : false;
|
|
166
|
-
return isValidLength && hasLettersAndNumbers;
|
|
167
|
-
},
|
|
168
|
-
errorMessage: {
|
|
169
|
-
key: "enterNCharactersWithAMixForExample",
|
|
170
|
-
values: {
|
|
171
|
-
numChars: "20",
|
|
172
|
-
example: "529900T8BM49AURSDO55"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}],
|
|
176
|
-
mask: {
|
|
177
|
-
mask: makeMask(...alphanumericInputs(20)),
|
|
178
|
-
transformOnType: uppercase
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
//#endregion
|
|
182
|
-
//#region src/components/Shared/fields/LegalEntityIdentifierField/LegalEntityIdentifierField.tsx
|
|
183
|
-
var LEGAL_ENTITY_IDENTIFIER_FIELD = ["legalEntityIdentifier", "exemptedFromLegalEntityIdentifier"];
|
|
184
|
-
function LegalEntityIdentifierField({ data, valid, errors, handleChangeFor, shouldValidate, canExempt = true }) {
|
|
185
|
-
const { t } = useTranslation("common");
|
|
186
|
-
const isExempted = Boolean(data.exemptedFromLegalEntityIdentifier);
|
|
187
|
-
const handleExemptedChange = (isChecked) => {
|
|
188
|
-
handleChangeFor("exemptedFromLegalEntityIdentifier", "blur")(isChecked);
|
|
189
|
-
if (isChecked) handleChangeFor("legalEntityIdentifier", "input")("");
|
|
190
|
-
};
|
|
191
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(MaskedInput, {
|
|
192
|
-
type: "text",
|
|
193
|
-
name: "legalEntityIdentifier",
|
|
194
|
-
label: t(($) => $["legalEntityIdentifier"]),
|
|
195
|
-
onInput: handleChangeFor("legalEntityIdentifier", "input"),
|
|
196
|
-
onBlur: handleChangeFor("legalEntityIdentifier", "blur"),
|
|
197
|
-
value: data.legalEntityIdentifier ?? "",
|
|
198
|
-
isValid: Boolean(valid?.legalEntityIdentifier),
|
|
199
|
-
errorMessage: errors.legalEntityIdentifier,
|
|
200
|
-
disabled: isExempted,
|
|
201
|
-
helper: /* @__PURE__ */ jsxs(Typography, {
|
|
202
|
-
variant: "caption",
|
|
203
|
-
color: "secondary",
|
|
204
|
-
children: [
|
|
205
|
-
t(($) => $["aUniqueIdentifierForGlobalFinancialReporting"]),
|
|
206
|
-
" ",
|
|
207
|
-
/* @__PURE__ */ jsx(Link, {
|
|
208
|
-
href: "https://search.gleif.org/#/search/",
|
|
209
|
-
external: true,
|
|
210
|
-
inline: true,
|
|
211
|
-
children: t(($) => $["lookUpYourLEI"])
|
|
212
|
-
})
|
|
213
|
-
]
|
|
214
|
-
}),
|
|
215
|
-
helperPosition: "below",
|
|
216
|
-
persistHelper: true,
|
|
217
|
-
shouldValidate,
|
|
218
|
-
mask: legalEntityIdentifierFieldMetadata.mask?.mask,
|
|
219
|
-
transformOnType: legalEntityIdentifierFieldMetadata.mask?.transformOnType
|
|
220
|
-
}), canExempt && /* @__PURE__ */ jsx(Field, {
|
|
221
|
-
name: "exemptedFromLegalEntityIdentifier",
|
|
222
|
-
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
223
|
-
...childProps,
|
|
224
|
-
name: "exemptedFromLegalEntityIdentifier",
|
|
225
|
-
value: "exemptedFromLegalEntityIdentifier",
|
|
226
|
-
checked: isExempted,
|
|
227
|
-
label: t(($) => $["iDontHaveAnLEI"]),
|
|
228
|
-
onChange: handleExemptedChange
|
|
229
|
-
})
|
|
230
|
-
})] });
|
|
231
|
-
}
|
|
232
160
|
//#endregion
|
|
233
161
|
//#region src/components/Shared/fields/StockExchangeMICField/fieldConfig.ts
|
|
234
162
|
var stockExchangeMICFieldMetadata = {
|
|
@@ -338,26 +266,6 @@ var legalFormFieldMetadata = {
|
|
|
338
266
|
label: "legalForm",
|
|
339
267
|
validators: [validateNotEmptyOnBlur]
|
|
340
268
|
};
|
|
341
|
-
//#endregion
|
|
342
|
-
//#region src/api/companyDataSet/useClearCompanyData.ts
|
|
343
|
-
var clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
344
|
-
return httpPost({
|
|
345
|
-
baseUrl,
|
|
346
|
-
path: `legalEntities/${legalEntityId}/companyDataset/clearCompanyData`
|
|
347
|
-
});
|
|
348
|
-
};
|
|
349
|
-
var useClearCompanyData = (options) => {
|
|
350
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
351
|
-
const logger = createLogger();
|
|
352
|
-
return useMutation({
|
|
353
|
-
mutationFn: () => {
|
|
354
|
-
return clearCompanyData(rootLegalEntityId.value, baseUrl.value);
|
|
355
|
-
},
|
|
356
|
-
retry: 0,
|
|
357
|
-
onError: (e) => logger.error(e),
|
|
358
|
-
...options
|
|
359
|
-
});
|
|
360
|
-
};
|
|
361
269
|
var BasicInformation_module_default = {
|
|
362
270
|
"basic-information": "_basic-information_1rbd4_1",
|
|
363
271
|
basicInformation: "_basic-information_1rbd4_1"
|
|
@@ -529,273 +437,30 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
|
|
|
529
437
|
});
|
|
530
438
|
}
|
|
531
439
|
//#endregion
|
|
532
|
-
//#region src/utils/performance.ts
|
|
533
|
-
/**
|
|
534
|
-
* Start timing an operation
|
|
535
|
-
* @param key - Unique identifier for the operation
|
|
536
|
-
* @param timings - Map to store timing information
|
|
537
|
-
* @returns The start timestamp
|
|
538
|
-
*/
|
|
539
|
-
var startTiming = (key, timings = /* @__PURE__ */ new Map()) => {
|
|
540
|
-
const startTime = Date.now();
|
|
541
|
-
timings.set(key, { startTime });
|
|
542
|
-
return startTime;
|
|
543
|
-
};
|
|
544
|
-
/**
|
|
545
|
-
* End timing an operation and calculate duration
|
|
546
|
-
* @param key - Unique identifier for the operation
|
|
547
|
-
* @param timings - Map containing timing information
|
|
548
|
-
* @returns The duration in milliseconds, or undefined if timing wasn't started
|
|
549
|
-
*/
|
|
550
|
-
var endTiming = (key, timings) => {
|
|
551
|
-
const timing = timings.get(key);
|
|
552
|
-
if (!timing || timing.endTime) return;
|
|
553
|
-
const endTime = Date.now();
|
|
554
|
-
const duration = endTime - timing.startTime;
|
|
555
|
-
const updatedTiming = {
|
|
556
|
-
...timing,
|
|
557
|
-
endTime,
|
|
558
|
-
duration
|
|
559
|
-
};
|
|
560
|
-
timings.set(key, updatedTiming);
|
|
561
|
-
return duration;
|
|
562
|
-
};
|
|
563
|
-
/**
|
|
564
|
-
* Execute a function with automatic timing
|
|
565
|
-
* @param key - Unique identifier for the operation
|
|
566
|
-
* @param fn - Function to execute
|
|
567
|
-
* @param analytics - UserEvents instance for logging
|
|
568
|
-
* @param timings - Optional map to store timing information
|
|
569
|
-
* @returns Promise that resolves with the function result and timing duration
|
|
570
|
-
*/
|
|
571
|
-
var withTiming = async (key, fn, analytics, timings = /* @__PURE__ */ new Map()) => {
|
|
572
|
-
startTiming(key, timings);
|
|
573
|
-
try {
|
|
574
|
-
const result = await fn();
|
|
575
|
-
const duration = endTiming(key, timings) || 0;
|
|
576
|
-
analytics.addEvent("Performance", {
|
|
577
|
-
actionType: "resolve",
|
|
578
|
-
actionLevel: "page",
|
|
579
|
-
label: key,
|
|
580
|
-
additionalData: { duration }
|
|
581
|
-
});
|
|
582
|
-
return {
|
|
583
|
-
result,
|
|
584
|
-
duration
|
|
585
|
-
};
|
|
586
|
-
} catch (error) {
|
|
587
|
-
const duration = endTiming(key, timings) || 0;
|
|
588
|
-
analytics.addEvent("Performance", {
|
|
589
|
-
actionType: "reject",
|
|
590
|
-
actionLevel: "page",
|
|
591
|
-
label: key,
|
|
592
|
-
additionalData: { duration }
|
|
593
|
-
});
|
|
594
|
-
throw error;
|
|
595
|
-
}
|
|
596
|
-
};
|
|
597
|
-
/**
|
|
598
|
-
* Convenience function to track async operation timing
|
|
599
|
-
* @param key - Unique identifier for the operation
|
|
600
|
-
* @param fn - Function to execute
|
|
601
|
-
* @param analytics - UserEvents instance for logging
|
|
602
|
-
* @returns Promise that resolves with the function result
|
|
603
|
-
*/
|
|
604
|
-
var trackPerformance = async (key, fn, analytics) => {
|
|
605
|
-
const { result } = await withTiming(key, fn, analytics);
|
|
606
|
-
return result;
|
|
607
|
-
};
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region src/api/companySearch/useCompanySearch.ts
|
|
610
|
-
/**
|
|
611
|
-
* Supports querying declaratively (`useCompanySearch` hook) and imperatively
|
|
612
|
-
* (`queryClient.fetchQuery()`) with the same config, ensuring no deviation occurs
|
|
613
|
-
* between the two types.
|
|
614
|
-
*/
|
|
615
|
-
var companySearchQueryOptions = (rootLegalEntityId, baseUrl, data, userEvents, options) => {
|
|
616
|
-
return queryOptions({
|
|
617
|
-
queryKey: ["companySearch", data],
|
|
618
|
-
queryFn: () => trackPerformance("companySearchNetworkTime", () => handleCompanySearch(rootLegalEntityId, baseUrl, data), userEvents),
|
|
619
|
-
retry: 0,
|
|
620
|
-
meta: {
|
|
621
|
-
onSuccess: (data) => {
|
|
622
|
-
userEvents.addPageEvent("Success", {
|
|
623
|
-
actionType: "resolve",
|
|
624
|
-
returnValue: "companySearch",
|
|
625
|
-
additionalData: {
|
|
626
|
-
numberOfResults: data.results.length,
|
|
627
|
-
..."provider" in data && { provider: data.provider }
|
|
628
|
-
}
|
|
629
|
-
});
|
|
630
|
-
},
|
|
631
|
-
onError: () => {
|
|
632
|
-
userEvents.addPageEvent("Encountered error", {
|
|
633
|
-
actionType: "resolve",
|
|
634
|
-
returnValue: "companySearch",
|
|
635
|
-
returnType: "backend"
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
...options
|
|
640
|
-
});
|
|
641
|
-
};
|
|
642
|
-
var useCompanySearch = (data, options) => {
|
|
643
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
644
|
-
const userEvents = useAnalyticsContext();
|
|
645
|
-
return useQuery(companySearchQueryOptions(rootLegalEntityId.value, baseUrl.value, data, userEvents, options));
|
|
646
|
-
};
|
|
647
|
-
var handleCompanySearch = async (rootLegalEntityId, baseUrl, data) => {
|
|
648
|
-
return httpPost({
|
|
649
|
-
baseUrl,
|
|
650
|
-
path: `legalEntities/${rootLegalEntityId}/companySearch/search`
|
|
651
|
-
}, {
|
|
652
|
-
name: data.name,
|
|
653
|
-
country: data.country,
|
|
654
|
-
stateOrProvince: data.state,
|
|
655
|
-
...data.registrationNumber ? { registrationNumber: data.registrationNumber } : {},
|
|
656
|
-
resultSizeLimit: data.resultSizeLimit ?? 15
|
|
657
|
-
});
|
|
658
|
-
};
|
|
659
|
-
//#endregion
|
|
660
|
-
//#region src/api/companyDataSet/handleCompanyDataset.ts
|
|
661
|
-
var handleCompanyDataset = async (rootLegalEntityId, baseUrl, data) => {
|
|
662
|
-
return httpPost({
|
|
663
|
-
baseUrl,
|
|
664
|
-
path: `legalEntities/${rootLegalEntityId}/companyDataset/select`
|
|
665
|
-
}, data);
|
|
666
|
-
};
|
|
667
|
-
//#endregion
|
|
668
|
-
//#region src/api/tinVerification/useVerifyTin.ts
|
|
669
|
-
/**
|
|
670
|
-
* Supports querying declaratively (`useVerifyTin` hook) and imperatively
|
|
671
|
-
* (`queryClient.fetchQuery()`) with the same config, ensuring no deviation occurs
|
|
672
|
-
* between the two types.
|
|
673
|
-
*/
|
|
674
|
-
var verifyTinQueryOptions = (rootLegalEntityId, baseUrl, data, userEvents, options) => {
|
|
675
|
-
return queryOptions({
|
|
676
|
-
queryKey: ["verifyTin", data],
|
|
677
|
-
queryFn: data ? () => trackPerformance("verifyTinNetworkTime", () => verifyTin(rootLegalEntityId, baseUrl, data), userEvents) : skipToken,
|
|
678
|
-
retry: 0,
|
|
679
|
-
meta: {
|
|
680
|
-
onSuccess: (data) => {
|
|
681
|
-
if (data.matched === true) userEvents.addPageEvent("Success", {
|
|
682
|
-
actionType: "verify",
|
|
683
|
-
returnValue: "verifyTin",
|
|
684
|
-
returnType: "validation"
|
|
685
|
-
});
|
|
686
|
-
else userEvents.addPageEvent("Encountered error", {
|
|
687
|
-
actionType: "verify",
|
|
688
|
-
returnValue: "verifyTin",
|
|
689
|
-
returnType: "validation"
|
|
690
|
-
});
|
|
691
|
-
},
|
|
692
|
-
onError: () => {
|
|
693
|
-
userEvents.addPageEvent("Encountered error", {
|
|
694
|
-
actionType: "verify",
|
|
695
|
-
returnValue: "verifyTin",
|
|
696
|
-
returnType: "backend"
|
|
697
|
-
});
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
...options
|
|
701
|
-
});
|
|
702
|
-
};
|
|
703
|
-
var verifyTin = async (legalEntityId, baseUrl, data) => {
|
|
704
|
-
return httpPost({
|
|
705
|
-
baseUrl,
|
|
706
|
-
path: `legalEntities/${legalEntityId}/verifyTin`
|
|
707
|
-
}, data);
|
|
708
|
-
};
|
|
709
|
-
//#endregion
|
|
710
|
-
//#region src/api/companySelection/useCompanySelection.ts
|
|
711
|
-
var useCompanySelection = (options) => {
|
|
712
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
713
|
-
const userEvents = useAnalyticsContext();
|
|
714
|
-
const queryClient = useQueryClient();
|
|
715
|
-
return useMutation({
|
|
716
|
-
mutationFn: async (data) => trackPerformance("companySelectionNetworkTime", () => handleCompanySelection(rootLegalEntityId.value, baseUrl.value, queryClient, data, userEvents), userEvents),
|
|
717
|
-
onSuccess: (data) => {
|
|
718
|
-
userEvents.addPageEvent("Success", {
|
|
719
|
-
actionType: "select",
|
|
720
|
-
returnValue: "companySelection",
|
|
721
|
-
returnType: "validation",
|
|
722
|
-
additionalData: { tinMatched: data.tinMatched === true }
|
|
723
|
-
});
|
|
724
|
-
},
|
|
725
|
-
onError: () => {
|
|
726
|
-
userEvents.addPageEvent("Encountered error", {
|
|
727
|
-
actionType: "select",
|
|
728
|
-
returnValue: "companySelection",
|
|
729
|
-
returnType: "backend"
|
|
730
|
-
});
|
|
731
|
-
},
|
|
732
|
-
retry: (count, error) => {
|
|
733
|
-
if ("errorCode" in error && typeof error.errorCode == "string") {
|
|
734
|
-
if (error.errorCode === "00_422") return false;
|
|
735
|
-
}
|
|
736
|
-
return count === 0;
|
|
737
|
-
},
|
|
738
|
-
...options
|
|
739
|
-
});
|
|
740
|
-
};
|
|
741
|
-
var handleCompanySelection = async (rootLegalEntityId, baseUrl, queryClient, data, userEvents) => {
|
|
742
|
-
switch (data.country) {
|
|
743
|
-
case CountryCodes.UnitedStates: {
|
|
744
|
-
const verifyTinQueryInput = {
|
|
745
|
-
name: data.name,
|
|
746
|
-
tin: data.tin
|
|
747
|
-
};
|
|
748
|
-
const [companyDatasetResult, tinMatchResult] = await Promise.allSettled([handleCompanyDataset(rootLegalEntityId, baseUrl, { id: data.id }), queryClient.fetchQuery(verifyTinQueryOptions(rootLegalEntityId, baseUrl, verifyTinQueryInput, userEvents))]);
|
|
749
|
-
if (companyDatasetResult.status === "rejected") throw companyDatasetResult;
|
|
750
|
-
return {
|
|
751
|
-
...companyDatasetResult.value,
|
|
752
|
-
tinMatched: tinMatchResult.status === "fulfilled" ? tinMatchResult.value.matched : false
|
|
753
|
-
};
|
|
754
|
-
}
|
|
755
|
-
default: {
|
|
756
|
-
const companyDatasetResult = await handleCompanyDataset(rootLegalEntityId, baseUrl, { id: data.id });
|
|
757
|
-
return {
|
|
758
|
-
...companyDatasetResult,
|
|
759
|
-
registrationNumberMatched: companyDatasetResult.registrationNumber && data.registrationNumber ? data.registrationNumber === companyDatasetResult.registrationNumber : void 0
|
|
760
|
-
};
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
};
|
|
764
|
-
//#endregion
|
|
765
440
|
//#region src/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.tsx
|
|
766
441
|
function BusinessInformation({ fetching, selectedBusiness }) {
|
|
767
442
|
const { t } = useTranslation(["common", "business"]);
|
|
768
|
-
const
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
term: t(($) => $["legalCompanyName"], { ns: "common" }),
|
|
790
|
-
details: ""
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
term: t(($) => $["address"], { ns: "common" }),
|
|
794
|
-
details: ""
|
|
795
|
-
}
|
|
796
|
-
]).filter((item) => !!item.details) : [], [selectedBusiness, t]);
|
|
443
|
+
const cardDetails = useMemo$1(() => {
|
|
444
|
+
if (!selectedBusiness) return [];
|
|
445
|
+
const address = selectedBusiness.registeredAddress ?? selectedBusiness.principalPlaceOfBusinessAddress;
|
|
446
|
+
const addressDetails = address && typeof address !== "string" && "fullAddress" in address ? address.fullAddress : void 0;
|
|
447
|
+
return [
|
|
448
|
+
{
|
|
449
|
+
term: t(($) => $["legalForm"], { ns: "common" }),
|
|
450
|
+
details: selectedBusiness.legalForm
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
term: t(($) => $["legalCompanyName"], { ns: "common" }),
|
|
454
|
+
details: selectedBusiness.name
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
term: t(($) => $["address"], { ns: "common" }),
|
|
458
|
+
details: addressDetails
|
|
459
|
+
}
|
|
460
|
+
].filter((item) => !!item.details);
|
|
461
|
+
}, [selectedBusiness, t]);
|
|
797
462
|
if (fetching) return /* @__PURE__ */ jsx(Loader, { size: "large" });
|
|
798
|
-
return /* @__PURE__ */ jsx(StructuredList, { items });
|
|
463
|
+
return /* @__PURE__ */ jsx(StructuredList, { items: cardDetails });
|
|
799
464
|
}
|
|
800
465
|
function BusinessInformationCard({ result, isSelected, currentBusinessSelection, fetching, error, handleSelectBusiness, retryCompanySelection }) {
|
|
801
466
|
const { t } = useTranslation(["common", "business"]);
|
|
@@ -2282,15 +1947,6 @@ var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeature
|
|
|
2282
1947
|
});
|
|
2283
1948
|
};
|
|
2284
1949
|
//#endregion
|
|
2285
|
-
//#region src/utils/stripWhitespace.ts
|
|
2286
|
-
var stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
2287
|
-
//#endregion
|
|
2288
|
-
//#region src/utils/toNormalizedString.ts
|
|
2289
|
-
var toNormalizedString = (s) => stripWhitespace(s.toLowerCase());
|
|
2290
|
-
//#endregion
|
|
2291
|
-
//#region src/utils/isNormalizedStringMatch.ts
|
|
2292
|
-
var isNormalizedStringMatch = (s1, s2) => toNormalizedString(s1) === toNormalizedString(s2);
|
|
2293
|
-
//#endregion
|
|
2294
1950
|
//#region src/components/Business/hooks/useCompanySearchNextClickOverrides.ts
|
|
2295
1951
|
function useCompanySearchNextClickOverrides({ country, multiForm, companySearchStateModel, getRequiredForms, skipBusinessSelection, setLoadingStatus, isTinMatched, tinMismatchModalOpen, legalArrangementModalOpen, registrationNumberMismatchModalOpen }) {
|
|
2296
1952
|
const { baseUrl, rootLegalEntityId } = useApiContext();
|
|
@@ -5,7 +5,7 @@ try {
|
|
|
5
5
|
import { t as useSettingsContext } from "./useSettingsContext-9O3Aqpfq.js";
|
|
6
6
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CY0grcyH.js";
|
|
7
7
|
import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-5cyXiJnX.js";
|
|
8
|
-
import { t as SettingNames } from "./types-
|
|
8
|
+
import { t as SettingNames } from "./types-B28r2lAW.js";
|
|
9
9
|
//#region src/hooks/useLegalEntityType.ts
|
|
10
10
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
11
11
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ffea9fa9-6576-4614-a25b-1212831d3280", e._sentryDebugIdIdentifier = "sentry-dbid-ffea9fa9-6576-4614-a25b-1212831d3280");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2a621c26-ec8c-4bfe-9df5-37e5296de2de", e._sentryDebugIdIdentifier = "sentry-dbid-2a621c26-ec8c-4bfe-9df5-37e5296de2de");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
6
|
import { n as doArraysMatch } from "./genUtils-nphCwt1A.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02353ddf-d3cc-4d6e-9165-dfef199ddbb3", e._sentryDebugIdIdentifier = "sentry-dbid-02353ddf-d3cc-4d6e-9165-dfef199ddbb3");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
6
|
import { a as objectsDeepEqual } from "./genUtils-nphCwt1A.js";
|