@adyen/kyc-components 4.24.2 → 4.25.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/{AcceptTermsOfServiceWorkflow-CujjlZ6j.js → AcceptTermsOfServiceWorkflow-By3zYCUj.js} +2 -2
- package/dist/{AccountSetupRejected-Cbq4hQaI.js → AccountSetupRejected-BtcxtVKO.js} +1 -1
- package/dist/{AdaptiveWorkflow-DNyXJorC.js → AdaptiveWorkflow-DrpRgnH4.js} +1 -1
- package/dist/{AdaptiveWorkflowComponent-BFa1nNei.js → AdaptiveWorkflowComponent-BSA30A9-.js} +54 -54
- package/dist/{AddressFields-By9cx_D1.js → AddressFields-CN4TQzn9.js} +9 -9
- package/dist/{Alert-aOxK37M0.js → Alert-BqbbDRYR.js} +1 -1
- package/dist/{BusinessFinancingDropin-CEsTuC9z.js → BusinessFinancingDropin-CYeMgVkI.js} +95 -57
- package/dist/{BusinessFinancingPage-iQTAHhH4.js → BusinessFinancingPage-wQ3Stqaq.js} +27 -27
- package/dist/{BusinessRegistrationNumberField-By_rLI-i.js → BusinessRegistrationNumberField-Dz1uGvRQ.js} +4 -4
- package/dist/{BusinessRegistrationNumberFieldGroup-C1ZXIEUS.js → BusinessRegistrationNumberFieldGroup-BFPrFa1_.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-DJE07ov_.js → BusinessTypeSelectionPage-DeWD37jR.js} +7 -7
- package/dist/{Button-PBnEZF18.js → Button-BxdC8cVB.js} +34 -29
- package/dist/{ComponentGroup-Bio9jdOX.js → ComponentGroup-saOBzveb.js} +1 -1
- package/dist/{Confirm-aZAJ9IIU.js → Confirm-DjFpxSzC.js} +2 -2
- package/dist/{ConstitutionalDocument-CNgdkJdy.js → ConstitutionalDocument-BHd6kfdt.js} +14 -14
- package/dist/{ContactDetails-CRLrr3U2.js → ContactDetails-_HCOKj3-.js} +6 -6
- package/dist/{ContextGuidance-CrQVfeGl.js → ContextGuidance-v-d9RQuo.js} +1 -1
- package/dist/{CountryField-Tnnm6nrT.js → CountryField-CMOB4yz4.js} +4 -4
- package/dist/{Currency-Dh9dMO1u.js → Currency-3Z9i_AhY.js} +83 -6
- package/dist/{CustomerSupport-IsVyADfM.js → CustomerSupport-B0UJHtAq.js} +6 -6
- package/dist/{DataConflictsModal-Dt1zX8NE.js → DataConflictsModal-8Nnj7_UD.js} +6 -6
- package/dist/{DebugModal-xhxLPcbY.js → DebugModal-COMc67OA.js} +16 -16
- package/dist/{DecisionMakerDetails-XMNIheCU.js → DecisionMakerDetails-GMvYZFTK.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CTdh6U_Q.js → DecisionMakerDetailsPage-BZdFtyd5.js} +28 -28
- package/dist/{DecisionMakers-Bat5ty7H.js → DecisionMakers-CcFvSGqi.js} +32 -32
- package/dist/{Dropzone-eJJsWrfU.js → Dropzone-cewfCgXt.js} +4 -4
- package/dist/{EndStateLayout-Bf55E0fC.js → EndStateLayout-GHEYl82p.js} +9 -9
- package/dist/{EntityAssociation-CHgiZJjH.js → EntityAssociation-BC75VCms.js} +5 -5
- package/dist/{ErrorPanel-CsoIs-F1.js → ErrorPanel-PefRq1M4.js} +2 -2
- package/dist/{Field-Cikj1a5F.js → Field-Df7ajJE2.js} +1 -1
- package/dist/{GlobalEntryModal-CujlQHiT.js → GlobalEntryModal-CypAt3X_.js} +783 -86
- package/dist/{GlobalEntryPage-B2_58fzL.js → GlobalEntryPage-DZusuIqe.js} +28 -28
- package/dist/{IdentityNumber-Bt6ZrhXe.js → IdentityNumber-Cz6-4YcM.js} +6 -6
- package/dist/{IdentityNumberFieldGroup-BLBfvmgh.js → IdentityNumberFieldGroup-D2PV_4A5.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-CHEZ4zdv.js → IdentityScreeningWorkflow-mbcaIctn.js} +7 -7
- package/dist/{IndividualDropin-CACTazlG.js → IndividualDropin-BFS4N7OF.js} +160 -53
- package/dist/{IndustryCodeFieldGroup-bJqEKeii.js → IndustryCodeFieldGroup-DmOqxPIg.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-BRqto8UG.js → Introduction-Cz0LnMCN.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-DO5Qk0zd.js → InvitedDecisionMakerComponent-llOIdClO.js} +55 -55
- package/dist/{JpAddressFields-B0GFgCy3.js → JpAddressFields-CzGnXBMk.js} +5 -5
- package/dist/{LegalCompanyNameField-CJJVQcQs.js → LegalCompanyNameField-CV2EgRCw.js} +3 -3
- package/dist/{LegalName-BUKybQYZ.js → LegalName-BYQ12uWc.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Bw11rpBJ.js → LegalRepresentativeDetailsPage-_u14iANL.js} +28 -28
- package/dist/{maskHelpers-C44Fv5qZ.js → MaskedInput-CkDwzLxe.js} +68 -68
- package/dist/{MaybeModal-7H_ZLVQ9.js → MaybeModal-Dfm1rIUG.js} +2 -2
- package/dist/{Modal-D0xvSE_j.js → Modal-Dq44ZUNN.js} +1 -1
- package/dist/{Name-DK5JWLOQ.js → Name-BfQr3et_.js} +4 -4
- package/dist/{NewSummary-pUzLqcXI.js → NewSummary-Bn1_xnRZ.js} +4 -4
- package/dist/{NodeRenderer-BVKwxBMI.js → NodeRenderer-DHBYMc2e.js} +15 -15
- package/dist/{PatriotActDisclosure-BNpd6PyX.js → PatriotActDisclosure-BNAsJXEL.js} +8 -8
- package/dist/{PayoutDetailsDropin-C0qU3Uzc.js → PayoutDetailsDropin-D8RUK-Ay.js} +32 -32
- package/dist/{PayoutDetailsPage-CevgEt1z.js → PayoutDetailsPage-Dw9Z6keH.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-5Ym8RlS2.js → Review-CzgmjDcZ.js} +2 -2
- package/dist/{RootBusinessDetailsPage-Dm6Wy0h-.js → RootBusinessDetailsPage-BZzgcJDi.js} +1 -1
- package/dist/{RootBusinessLinesPage-DZj94e0G.js → RootBusinessLinesPage-Bon-72KE.js} +18 -18
- package/dist/{RootIndividualDetailsPage-CuQVex8z.js → RootIndividualDetailsPage-BDe7rnHs.js} +28 -28
- package/dist/{Select-phAxjMBQ.js → Select-prMx73V9.js} +35 -36
- package/dist/{SignPCIComponent-D18-Rz63.js → SignPCIComponent-LLZf2TeN.js} +34 -34
- package/dist/{SingpassSelection-BkfhTELs.js → SingpassSelection-C_g9IkU2.js} +4 -4
- package/dist/{SoleProprietorshipPage-DDQfeRSO.js → SoleProprietorshipPage-BIJoqI3I.js} +1 -1
- package/dist/{SourceOfFundsPage-Cwm9u6aw.js → SourceOfFundsPage-tIp7dhQc.js} +21 -21
- package/dist/{SourceOfFundsWorkflow-BFdQf6vp.js → SourceOfFundsWorkflow-C2h09Cpx.js} +2 -2
- package/dist/{StateField-bJHDCFj_.js → StateField-BiNI3dm9.js} +5 -5
- package/dist/{Step-CRhTm-mx.js → Step-BXiyoYgM.js} +2 -2
- package/dist/{StructuredList-nPasiuLi.js → StructuredList-BHUmeWeh.js} +1 -1
- package/dist/{Summary-DeqRzJJU.js → Summary-DAL_HF4K.js} +6 -6
- package/dist/{Task-CYL4229j.js → Task-DdWTxPyj.js} +23 -14
- package/dist/{TaskGroup-VWJYRAPq.js → TaskGroup-CwGCHRH5.js} +1 -1
- package/dist/{TaskListItem-Dt-FFquh.js → TaskListItem-ChlmCIfF.js} +4 -4
- package/dist/{TaxInformationField-Dr_Lax19.js → TaxInformationField--Uhp0zLv.js} +4 -4
- package/dist/{TaxInformationFieldGroup-BpFbypoM.js → TaxInformationFieldGroup-Dq0J9rBU.js} +5 -5
- package/dist/{TaxReportingDropin-D9PzeSKb.js → TaxReportingDropin-C9fGOzkW.js} +8 -8
- package/dist/{TaxReportingWorkflow-DStAFbz4.js → TaxReportingWorkflow-IBn7x7Xb.js} +2 -2
- package/dist/{TermsOfServiceManagement-DyCCwBac.js → TermsOfServiceManagement-DT2dwCi_.js} +34 -34
- package/dist/{TextArea-qGEo3PFG.js → TextArea-C12oXMzX.js} +1 -1
- package/dist/{TileGroup-DZrAPLgF.js → TileGroup-BFcSgQ1l.js} +1 -1
- package/dist/{ToastContextProvider-CRCcSc7O.js → ToastContextProvider-BSQ1Upl_.js} +1 -1
- package/dist/{TrustDetailsPage-VyHjTUKT.js → TrustDetailsPage-CoXbmmTn.js} +24 -24
- package/dist/{TrustMemberCompanyPage-uXvOFwx2.js → TrustMemberCompanyPage-Dx-d3qCd.js} +3 -3
- package/dist/{TrustMemberIndividualPage-w71AGGrO.js → TrustMemberIndividualPage-D894Db-6.js} +28 -28
- package/dist/{TrustMemberRoleAndTypePage-DiS-H2ax.js → TrustMemberRoleAndTypePage-BDqjSmrc.js} +15 -17
- package/dist/{TrustMembersOverview-B8zs1cpk.js → TrustMembersOverview-DtWUGzgb.js} +7 -7
- package/dist/{UboTaskItem-D1iGtn9g.js → UboTaskItem-VUdGfBnx.js} +23 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-CmAEzOvb.js → UnincorporatedPartnershipIndividualPage-VbufyyKR.js} +28 -28
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Doz2y7Re.js → UnincorporatedPartnershipMemberCompanyPage-CiQGKuDs.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-vXJttKWb.js → UnincorporatedPartnershipMemberRoleAndTypePage-DZhy16m1.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-DT9yMH0C.js → UnincorporatedPartnershipMembersOverview-Dm49I4-5.js} +5 -5
- package/dist/{VerificationErrorAlert-B-102yda.js → VerificationErrorAlert-B6HmAZ0g.js} +1 -1
- package/dist/{Workflow-Cjvi3gRk.js → Workflow-fHd3L40U.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-D9Pw88RS.js → businessRegistrationNumberPatterns-pbrCVTTp.js} +2 -2
- package/dist/{constants-CLLKc2L5.js → constants-DAb_IqC6.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-BbooB3xI.js → dropinUtils-DFjjUh12.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-Dvp6R51r.js → error-DrzrPjvf.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-CqssX8ay.js → getDefaultRegistrationNumberType-BNO2BcfK.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-h5rDMtHV.js → mapLegalEntityToIndividualSchema-Dq6pO0qh.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-BlVYuJS1.js → processValidationErrors-CFU1x_1n.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-DYDEWblg.js → resolveEnvironment-RJre7ht-.js} +38 -39
- package/dist/ro-RO-CTMsv_EY.js +7 -0
- package/dist/{ro-RO-B7CJDsKz.js → ro-RO-Cg1nG9ns.js} +16 -2
- package/dist/{ro-RO-BA5GhaCE.js → ro-RO-jNItoBZk.js} +2 -2
- package/dist/{roleMetadata-Dm1FVuPT.js → roleMetadata-CQeuOFRE.js} +1 -1
- package/dist/{sk-SK-NU95U8E2.js → sk-SK-CRfiVN3e.js} +16 -2
- package/dist/{sk-SK-BeNF_m_j.js → sk-SK-CsSqXqf_.js} +2 -2
- package/dist/sk-SK-oqO5I3Aw.js +7 -0
- package/dist/sl-SI-CQhJFnpj.js +7 -0
- package/dist/{sl-SI-B6Kv1DgA.js → sl-SI-Dpr3StsS.js} +16 -2
- package/dist/{sl-SI-Bxu4m_5e.js → sl-SI-PRqWis0E.js} +2 -2
- package/dist/style.css +965 -704
- package/dist/styles-DYaAeu4q.js +965 -704
- package/dist/{sv-SE-DKTrk_eI.js → sv-SE-CH4wMrUZ.js} +16 -2
- package/dist/sv-SE-CmevESLi.js +7 -0
- package/dist/{sv-SE-B-CXDaXM.js → sv-SE-Dv-rMOdB.js} +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/WorkflowEndState/WorkflowEndState.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/context/WorkflowContext/WorkflowContextProvider.d.ts +2 -0
- package/dist/types/api/createLegalEntity/createLegalEntity.types.d.ts +3 -0
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +14 -11
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +10 -30
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +80 -66
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +15 -15
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +0 -3
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +524 -7805
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +22 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/companySearchStore.d.ts +22 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +20 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessSelection.d.ts +3 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/types.d.ts +8 -0
- package/dist/types/components/GlobalEntry/hooks/useCompanySearchNextClickOverrides.d.ts +26 -0
- package/dist/types/components/GlobalEntry/modals/LegalArrangementModal.d.ts +10 -0
- package/dist/types/components/GlobalEntry/modals/RegistrationNumberMismatchModal.d.ts +16 -0
- package/dist/types/components/GlobalEntry/modals/TinMismatchModal.d.ts +6 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +3 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +2 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils/applyVerifiedCompanyData.d.ts +19 -0
- package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +1 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +12 -10
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStartedModalContent.d.ts +1 -0
- package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/validate.formats.d.ts +1 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -1
- package/dist/types/context/SettingsContext/types.d.ts +0 -2
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +1 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +1 -1
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.d.ts +1 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +1 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +1 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +1 -1
- package/dist/types/utils/decodeJwt.d.ts +0 -5
- package/dist/types/utils/genUtils.d.ts +0 -9
- package/dist/types/utils/getProps.d.ts +0 -8
- package/dist/{types-Cwq1JAWT.js → types-B28r2lAW.js} +1 -2
- package/dist/{useBusinessDetailsData--k5zPChY.js → useBusinessDetailsData-BeKBwFXJ.js} +68 -412
- package/dist/{useCanSeeIntroduction-DQbanJNE.js → useCanSeeIntroduction-X0L-NhMZ.js} +1 -1
- package/dist/{useDataset-BMitsLFp.js → useDataset-K19TDoyR.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-CGgy5L7H.js → useNavigate-Dyy9vu2x.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-ethjn5kr.js → utils-BLBh0VEd.js} +207 -207
- package/dist/{utils-CJcGZvj1.js → utils-D8pwjFm5.js} +1 -1
- package/dist/{utils-BWumuCvl.js → utils-lIizXlcC.js} +1 -1
- package/dist/validate-BBVJuFm5.js +443 -0
- package/dist/{validate-bVdYu4zu.js → validate-Bkpa-y5Q.js} +2 -2
- package/dist/{validate-CrKIJS7Q.js → validate-Dmdw3pYn.js} +2 -2
- package/dist/{validate-96E_RrNB.js → validate-t6pT7AaZ.js} +2 -2
- package/dist/{validateExtractionResult-B-WqNXTl.js → validateExtractionResult-qkFkcrwl.js} +2 -2
- package/dist/{validationError-Oxim8w4y.js → validationError-DUn2rT0n.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-DBlnMeid.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] = "9f3a309b-c265-4c71-98a0-160f5ab66516", e._sentryDebugIdIdentifier = "sentry-dbid-9f3a309b-c265-4c71-98a0-160f5ab66516");
|
|
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-BxdC8cVB.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-DvifUz7-.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-BqbbDRYR.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-Dq44ZUNN.js";
|
|
39
|
+
import { t as Confirm } from "./Confirm-DjFpxSzC.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-BBVJuFm5.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-DFjjUh12.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-CqssX8ay.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-ethjn5kr.js";
|
|
46
|
+
import { t as StructuredList } from "./StructuredList-BHUmeWeh.js";
|
|
47
|
+
import { t as ErrorPanel } from "./ErrorPanel-PefRq1M4.js";
|
|
48
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-DAL_HF4K.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-CkDwzLxe.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-BNO2BcfK.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-BLBh0VEd.js";
|
|
57
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
58
|
+
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
59
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-DUn2rT0n.js";
|
|
60
|
+
import { t as ListItem } from "./ListItem-CHGVbHhB.js";
|
|
61
|
+
import { t as TileGroup } from "./TileGroup-BFcSgQ1l.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-CJJVQcQs.js";
|
|
65
|
-
import { t as InputText } from "./InputText-CFDEmEtp.js";
|
|
64
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-CMOB4yz4.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-BiNI3dm9.js";
|
|
67
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-CV2EgRCw.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-By_rLI-i.js";
|
|
70
|
+
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField--Uhp0zLv.js";
|
|
71
|
+
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
72
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-Dz1uGvRQ.js";
|
|
72
73
|
import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-C68JdH6I.js";
|
|
74
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-8Nnj7_UD.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-CN4TQzn9.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 { 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-CFU1x_1n.js";
|
|
80
82
|
import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-CxjFpoJB.js";
|
|
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";
|
|
83
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-BNAsJXEL.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-C3dYYTm_.js";
|
|
87
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
88
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-Dt1zX8NE.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-D6p5FQF-.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-Bn1_xnRZ.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-3Z9i_AhY.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-BHd6kfdt.js";
|
|
100
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-DAb_IqC6.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] = "2076f5c2-fa25-4b05-92f8-0c3e6240cfd1", e._sentryDebugIdIdentifier = "sentry-dbid-2076f5c2-fa25-4b05-92f8-0c3e6240cfd1");
|
|
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";
|