@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,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fffe2fb4-8d8d-4fb3-acca-cb209dd03e49", e._sentryDebugIdIdentifier = "sentry-dbid-fffe2fb4-8d8d-4fb3-acca-cb209dd03e49");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
|
-
import { t as Button } from "./Button-
|
|
8
|
+
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
9
9
|
import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
|
|
10
10
|
import { t as useSettingsContext } from "./useSettingsContext-9O3Aqpfq.js";
|
|
11
11
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
@@ -16,40 +16,40 @@ import { y as reverseMapping } from "./processCapabilities-CWE5UFt8.js";
|
|
|
16
16
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CY0grcyH.js";
|
|
17
17
|
import { t as isEeaCountry } from "./country-BEZkohEO.js";
|
|
18
18
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
19
|
-
import { t as SettingNames } from "./types-
|
|
19
|
+
import { t as SettingNames } from "./types-B28r2lAW.js";
|
|
20
20
|
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BdcoiUby.js";
|
|
21
21
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
22
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
22
|
+
import { t as EndStateLayout } from "./EndStateLayout-GHEYl82p.js";
|
|
23
23
|
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B97dCa-s.js";
|
|
24
24
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
25
25
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
|
|
26
|
-
import { a as useFormComposer, i as FormFlow, n as getRequiredForms, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
26
|
+
import { a as useFormComposer, i as FormFlow, n as getRequiredForms, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-DFjjUh12.js";
|
|
27
27
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
28
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
29
|
-
import { t as createFormUtils } from "./formUtils-
|
|
30
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
31
|
-
import { t as Field } from "./Field-
|
|
28
|
+
import { t as ErrorPanel } from "./ErrorPanel-PefRq1M4.js";
|
|
29
|
+
import { t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
30
|
+
import { t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
|
|
31
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
32
32
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
33
|
-
import {
|
|
33
|
+
import { a as isValidationError } from "./validationError-DUn2rT0n.js";
|
|
34
|
+
import { t as Select } from "./Select-prMx73V9.js";
|
|
34
35
|
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
35
|
-
import { n as CountryField } from "./CountryField-
|
|
36
|
-
import { c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, r as getKeyForField } from "./utils-
|
|
37
|
-
import { t as InputText } from "./InputText-
|
|
38
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
36
|
+
import { n as CountryField } from "./CountryField-CMOB4yz4.js";
|
|
37
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, r as getKeyForField } from "./utils-lIizXlcC.js";
|
|
38
|
+
import { t as InputText } from "./InputText-CwPK55J0.js";
|
|
39
|
+
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
39
40
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
40
|
-
import { a as getPrefixedAddressFieldNames, o as nestAddressSchema, t as AddressFields } from "./AddressFields-
|
|
41
|
+
import { a as getPrefixedAddressFieldNames, o as nestAddressSchema, t as AddressFields } from "./AddressFields-CN4TQzn9.js";
|
|
41
42
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
42
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
43
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CFU1x_1n.js";
|
|
43
44
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
44
|
-
import {
|
|
45
|
-
import { t as InputDate } from "./InputDate-ANdv1rKt.js";
|
|
45
|
+
import { t as InputDate } from "./InputDate-B0RNGCq2.js";
|
|
46
46
|
import { i as getPrefixedFieldProps, n as getFieldProps } from "./getProps-DVqK7eRw.js";
|
|
47
47
|
import { t as Link } from "./Link-C3dYYTm_.js";
|
|
48
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
48
|
+
import { t as formatValidationError } from "./formatValidationError-z2D5oU1e.js";
|
|
49
49
|
import { t as currencyByCountry } from "./types-D6p5FQF-.js";
|
|
50
|
-
import { t as NewSummary } from "./NewSummary-
|
|
51
|
-
import { a as LegalFormField, i as InputCurrency, n as Currency, o as
|
|
52
|
-
import { t as businessFinancingMultiformRules } from "./validate-
|
|
50
|
+
import { t as NewSummary } from "./NewSummary-Bn1_xnRZ.js";
|
|
51
|
+
import { a as LegalFormField, 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";
|
|
52
|
+
import { t as businessFinancingMultiformRules } from "./validate-Dmdw3pYn.js";
|
|
53
53
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
54
54
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
55
55
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -78,7 +78,6 @@ var businessFinancingSoleProprietorMapping = {
|
|
|
78
78
|
naceCode: "soleProprietorship.economicSector"
|
|
79
79
|
};
|
|
80
80
|
var businessFinancingComponentsKeyMapping = { ...businessFinancingBaseMapping };
|
|
81
|
-
({ ...businessFinancingIndividualMapping });
|
|
82
81
|
var businessFinancingSoleProprietorComponentsKeyMapping = { ...businessFinancingSoleProprietorMapping };
|
|
83
82
|
var businessFinancingApiKeyMapping = { ...reverseMapping(businessFinancingBaseMapping) };
|
|
84
83
|
var businessFinancingIndividualApiKeyMapping = { ...reverseMapping(businessFinancingIndividualMapping) };
|
|
@@ -121,6 +120,7 @@ var companySchemaKeys = [
|
|
|
121
120
|
"numberOfEmployees",
|
|
122
121
|
"doesYourCompanyHaveLEI",
|
|
123
122
|
"legalEntityIdentifier",
|
|
123
|
+
"exemptedFromLegalEntityIdentifier",
|
|
124
124
|
"isCompanyOwnedByAnotherCompany",
|
|
125
125
|
"isParentOwnedByAnotherCompany",
|
|
126
126
|
"financialReportingDate",
|
|
@@ -144,6 +144,7 @@ var parentCompaniesSchemaKeys = [
|
|
|
144
144
|
"numberOfEmployees",
|
|
145
145
|
"doesYourCompanyHaveLEI",
|
|
146
146
|
"legalEntityIdentifier",
|
|
147
|
+
"exemptedFromLegalEntityIdentifier",
|
|
147
148
|
"isThisAddressTheMainHeadquarters",
|
|
148
149
|
"financialReportingDate",
|
|
149
150
|
"currency",
|
|
@@ -256,7 +257,7 @@ var prepareSoleProprietorBusinessFinancingSubmitData = (data, rootLegalEntity, s
|
|
|
256
257
|
}
|
|
257
258
|
};
|
|
258
259
|
};
|
|
259
|
-
var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
|
|
260
|
+
var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity, isFeatureEnabled) => {
|
|
260
261
|
const businessFinancingData = data[businessFinancingIndex];
|
|
261
262
|
if (!businessFinancingData) return null;
|
|
262
263
|
if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) return null;
|
|
@@ -288,7 +289,8 @@ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLega
|
|
|
288
289
|
if (formStatusOfLegalProceeding === "iDontKnow" || formStatusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
|
|
289
290
|
if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
|
|
290
291
|
if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
|
|
291
|
-
if (companyData.
|
|
292
|
+
if (isFeatureEnabled?.("EnableLegalEntityIdentifierField")) businessFinancingDetails.organization.globalLegalEntityIdentifier = companyData.exemptedFromLegalEntityIdentifier || !companyData.legalEntityIdentifier ? "" : companyData.legalEntityIdentifier;
|
|
293
|
+
else if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
|
|
292
294
|
}
|
|
293
295
|
const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
|
|
294
296
|
if (businessFinancingLegalEntityId) {
|
|
@@ -300,7 +302,7 @@ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLega
|
|
|
300
302
|
}
|
|
301
303
|
return businessFinancingDetails;
|
|
302
304
|
};
|
|
303
|
-
var appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
|
|
305
|
+
var appendBusinessFinancingData = (legalOrganization, businessFinancingData, isFeatureEnabled) => {
|
|
304
306
|
if (!legalOrganization || !businessFinancingData) return businessFinancingData;
|
|
305
307
|
const clonedBusinessFinancingData = { ...businessFinancingData };
|
|
306
308
|
let financialReportData = {};
|
|
@@ -315,7 +317,7 @@ var appendBusinessFinancingData = (legalOrganization, businessFinancingData) =>
|
|
|
315
317
|
...clonedBusinessFinancingData,
|
|
316
318
|
...financialReportData,
|
|
317
319
|
numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
|
|
318
|
-
doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
|
|
320
|
+
...isFeatureEnabled?.("EnableLegalEntityIdentifierField") ? legalOrganization.globalLegalEntityIdentifier === "" ? { exemptedFromLegalEntityIdentifier: true } : {} : { doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No" },
|
|
319
321
|
isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
|
|
320
322
|
};
|
|
321
323
|
};
|
|
@@ -343,11 +345,17 @@ var handleBusinessFinancingFormSubmission = async (businessFinancingType, detail
|
|
|
343
345
|
throw businessFinancingError;
|
|
344
346
|
}
|
|
345
347
|
};
|
|
346
|
-
var getCompanySchemaKeys = (country, currentData, schemaKeys) => {
|
|
348
|
+
var getCompanySchemaKeys = (country, currentData, schemaKeys, isFeatureEnabled) => {
|
|
347
349
|
const fieldsToRemove = [];
|
|
348
350
|
if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
349
351
|
if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
|
|
350
|
-
if (
|
|
352
|
+
if (isFeatureEnabled?.("EnableLegalEntityIdentifierField")) {
|
|
353
|
+
fieldsToRemove.push("doesYourCompanyHaveLEI", "exemptedFromLegalEntityIdentifier");
|
|
354
|
+
if (currentData.exemptedFromLegalEntityIdentifier) fieldsToRemove.push("legalEntityIdentifier");
|
|
355
|
+
} else {
|
|
356
|
+
fieldsToRemove.push("exemptedFromLegalEntityIdentifier");
|
|
357
|
+
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
358
|
+
}
|
|
351
359
|
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
352
360
|
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
353
361
|
};
|
|
@@ -356,7 +364,7 @@ var getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
|
|
|
356
364
|
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
357
365
|
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
358
366
|
};
|
|
359
|
-
var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
|
|
367
|
+
var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress, isFeatureEnabled) => {
|
|
360
368
|
const fieldsToRemove = [];
|
|
361
369
|
const companyCountry = currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddressCountry;
|
|
362
370
|
if (!isEeaCountry(companyCountry)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
@@ -369,11 +377,17 @@ var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) =>
|
|
|
369
377
|
"registrationAddressCountry"
|
|
370
378
|
]);
|
|
371
379
|
if (companyCountry && !COUNTRIES_WITH_STATES_DATASET.includes(companyCountry)) fieldsToRemove.push("registrationAddressStateOrProvince");
|
|
372
|
-
if (
|
|
380
|
+
if (isFeatureEnabled?.("EnableLegalEntityIdentifierField")) {
|
|
381
|
+
fieldsToRemove.push("doesYourCompanyHaveLEI", "exemptedFromLegalEntityIdentifier");
|
|
382
|
+
if (currentData.exemptedFromLegalEntityIdentifier) fieldsToRemove.push("legalEntityIdentifier");
|
|
383
|
+
} else {
|
|
384
|
+
fieldsToRemove.push("exemptedFromLegalEntityIdentifier");
|
|
385
|
+
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
386
|
+
}
|
|
373
387
|
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
374
388
|
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
375
389
|
};
|
|
376
|
-
var getBusinessFinancingFields = (country, data, rootEntityAddress) => {
|
|
390
|
+
var getBusinessFinancingFields = (country, data, rootEntityAddress, isFeatureEnabled) => {
|
|
377
391
|
let requiredFields = void 0, optionalFields = void 0;
|
|
378
392
|
if (!data) return [requiredFields, optionalFields];
|
|
379
393
|
const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
|
|
@@ -390,7 +404,7 @@ var getBusinessFinancingFields = (country, data, rootEntityAddress) => {
|
|
|
390
404
|
requiredFields.splice(street2Idx, 1);
|
|
391
405
|
optionalFields = {
|
|
392
406
|
...optionalFields,
|
|
393
|
-
[schema]: ["registrationAddressStreet2"]
|
|
407
|
+
[schema]: [...optionalFields?.[schema] ?? [], "registrationAddressStreet2"]
|
|
394
408
|
};
|
|
395
409
|
}
|
|
396
410
|
return requiredFields;
|
|
@@ -398,10 +412,15 @@ var getBusinessFinancingFields = (country, data, rootEntityAddress) => {
|
|
|
398
412
|
if (company) {
|
|
399
413
|
requiredFields = {};
|
|
400
414
|
optionalFields = {};
|
|
401
|
-
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
|
|
415
|
+
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys, isFeatureEnabled);
|
|
416
|
+
if (isFeatureEnabled?.("EnableLegalEntityIdentifierField")) optionalFields.company = ["exemptedFromLegalEntityIdentifier"];
|
|
402
417
|
}
|
|
403
418
|
if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
|
|
404
|
-
let parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
419
|
+
let parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress, isFeatureEnabled);
|
|
420
|
+
if (isFeatureEnabled?.("EnableLegalEntityIdentifierField")) optionalFields = {
|
|
421
|
+
...optionalFields,
|
|
422
|
+
parentCompany: ["exemptedFromLegalEntityIdentifier"]
|
|
423
|
+
};
|
|
405
424
|
parentCompanyRequiredFields = handleStreet2(parentCompanyRequiredFields, "parentCompany");
|
|
406
425
|
requiredFields = {
|
|
407
426
|
...requiredFields,
|
|
@@ -409,7 +428,11 @@ var getBusinessFinancingFields = (country, data, rootEntityAddress) => {
|
|
|
409
428
|
};
|
|
410
429
|
}
|
|
411
430
|
if (company?.isParentOwnedByAnotherCompany === "Yes") {
|
|
412
|
-
let ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
431
|
+
let ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress, isFeatureEnabled);
|
|
432
|
+
if (isFeatureEnabled?.("EnableLegalEntityIdentifierField")) optionalFields = {
|
|
433
|
+
...optionalFields,
|
|
434
|
+
ultimateParentCompany: ["exemptedFromLegalEntityIdentifier"]
|
|
435
|
+
};
|
|
413
436
|
ultimateParentCompanyRequiredFields = handleStreet2(ultimateParentCompanyRequiredFields, "ultimateParentCompany");
|
|
414
437
|
requiredFields = {
|
|
415
438
|
...requiredFields,
|
|
@@ -450,10 +473,11 @@ var getFormattedAmount = (value, currency) => {
|
|
|
450
473
|
const userLocale = getValidUserLocale(USER_LOCALE);
|
|
451
474
|
return `${currency} ${Number(value).toLocaleString(userLocale)}`;
|
|
452
475
|
};
|
|
453
|
-
var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddress) => {
|
|
476
|
+
var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddress, isFeatureEnabled) => {
|
|
454
477
|
const summaryData = cloneObject(data) || {};
|
|
455
478
|
const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
|
|
456
479
|
const rootLeAddressCountry = rootLeAddress?.country;
|
|
480
|
+
const formatLegalEntityIdentifier = (value, isExempt) => (isFeatureEnabled?.("EnableLegalEntityIdentifierField") && isExempt ? void 0 : value) || "None";
|
|
457
481
|
if (soleProprietor) {
|
|
458
482
|
soleProprietor.naceCode = soleProprietor.naceCodeLabel;
|
|
459
483
|
soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
|
|
@@ -464,7 +488,7 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
464
488
|
if (company) {
|
|
465
489
|
company.legalForm = company.legalFormLabel;
|
|
466
490
|
company.naceCode = company.naceCodeLabel;
|
|
467
|
-
company.legalEntityIdentifier = company.legalEntityIdentifier
|
|
491
|
+
company.legalEntityIdentifier = formatLegalEntityIdentifier(company.legalEntityIdentifier, company.exemptedFromLegalEntityIdentifier);
|
|
468
492
|
company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
|
|
469
493
|
company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
|
|
470
494
|
company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
|
|
@@ -473,7 +497,7 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
473
497
|
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
474
498
|
}
|
|
475
499
|
if (parentCompany) {
|
|
476
|
-
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity } = parentCompany;
|
|
500
|
+
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, exemptedFromLegalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity } = parentCompany;
|
|
477
501
|
if (legalName) {
|
|
478
502
|
parentCompany.legalForm = legalFormLabel;
|
|
479
503
|
parentCompany.naceCode = naceCodeLabel;
|
|
@@ -492,7 +516,7 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
492
516
|
country: datasetUtils.getCountryName(country)
|
|
493
517
|
};
|
|
494
518
|
}
|
|
495
|
-
parentCompany.legalEntityIdentifier = legalEntityIdentifier
|
|
519
|
+
parentCompany.legalEntityIdentifier = formatLegalEntityIdentifier(legalEntityIdentifier, exemptedFromLegalEntityIdentifier);
|
|
496
520
|
parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
497
521
|
parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
498
522
|
parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
@@ -512,7 +536,7 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
512
536
|
}
|
|
513
537
|
}
|
|
514
538
|
if (ultimateParentCompany) {
|
|
515
|
-
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity } = ultimateParentCompany;
|
|
539
|
+
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, exemptedFromLegalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity } = ultimateParentCompany;
|
|
516
540
|
if (legalName) {
|
|
517
541
|
ultimateParentCompany.legalForm = legalFormLabel;
|
|
518
542
|
ultimateParentCompany.naceCode = naceCodeLabel;
|
|
@@ -531,7 +555,7 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
531
555
|
country: datasetUtils.getCountryName(country)
|
|
532
556
|
};
|
|
533
557
|
}
|
|
534
|
-
ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier
|
|
558
|
+
ultimateParentCompany.legalEntityIdentifier = formatLegalEntityIdentifier(legalEntityIdentifier, exemptedFromLegalEntityIdentifier);
|
|
535
559
|
ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
536
560
|
ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
537
561
|
ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
@@ -644,12 +668,14 @@ var businessInformationFields = [
|
|
|
644
668
|
"naceCodeLabel",
|
|
645
669
|
"legalFormLabel",
|
|
646
670
|
"doesYourCompanyHaveLEI",
|
|
647
|
-
"legalEntityIdentifier"
|
|
671
|
+
"legalEntityIdentifier",
|
|
672
|
+
"exemptedFromLegalEntityIdentifier"
|
|
648
673
|
];
|
|
649
674
|
function BusinessFinancingBusinessInformation(props) {
|
|
650
|
-
const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor } = props;
|
|
675
|
+
const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor, shouldValidate } = props;
|
|
651
676
|
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
652
677
|
const { t: commonT } = useTranslation("common");
|
|
678
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
653
679
|
const formUtils = createFormUtils(props, commonT);
|
|
654
680
|
if (!handleFieldChange) return;
|
|
655
681
|
const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
|
|
@@ -679,7 +705,13 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
679
705
|
readonly: false,
|
|
680
706
|
label: businessFinancingT(($) => $["industryAndNaceCode"])
|
|
681
707
|
}),
|
|
682
|
-
!isSoleProprietor &&
|
|
708
|
+
!isSoleProprietor && (isFeatureEnabled("EnableLegalEntityIdentifierField") ? /* @__PURE__ */ jsx(LegalEntityIdentifierField, {
|
|
709
|
+
data: formUtils.getFieldData(data ?? {}, LEGAL_ENTITY_IDENTIFIER_FIELD),
|
|
710
|
+
valid: formUtils.getFieldValid(valid ?? {}, LEGAL_ENTITY_IDENTIFIER_FIELD),
|
|
711
|
+
errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, LEGAL_ENTITY_IDENTIFIER_FIELD),
|
|
712
|
+
handleChangeFor: handleFieldChange,
|
|
713
|
+
shouldValidate
|
|
714
|
+
}) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Field, {
|
|
683
715
|
el: "fieldset",
|
|
684
716
|
name: "doesYourCompanyHaveLEI",
|
|
685
717
|
label: businessFinancingT(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
|
|
@@ -731,7 +763,7 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
731
763
|
"aria-invalid": !valid?.legalEntityIdentifier,
|
|
732
764
|
isValid: valid?.legalEntityIdentifier
|
|
733
765
|
})
|
|
734
|
-
})] })
|
|
766
|
+
})] }))
|
|
735
767
|
] });
|
|
736
768
|
}
|
|
737
769
|
//#endregion
|
|
@@ -1437,6 +1469,7 @@ var omittedSummaryKeys = [
|
|
|
1437
1469
|
"legalFormLabel",
|
|
1438
1470
|
"currency",
|
|
1439
1471
|
"doesYourCompanyHaveLEI",
|
|
1472
|
+
"exemptedFromLegalEntityIdentifier",
|
|
1440
1473
|
"sameAddressAsRootEntity"
|
|
1441
1474
|
];
|
|
1442
1475
|
var customLabels = {
|
|
@@ -1517,6 +1550,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1517
1550
|
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1518
1551
|
const { t: commonT, i18n } = useTranslation("common");
|
|
1519
1552
|
const userEvents = useAnalyticsContext();
|
|
1553
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
1520
1554
|
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
1521
1555
|
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
1522
1556
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
@@ -1536,17 +1570,17 @@ function BusinessFinancingDropin(props) {
|
|
|
1536
1570
|
dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(soleProprietor.soleProprietorship, dataFromResponse.soleProprietor);
|
|
1537
1571
|
} else if (rootLegalEntity.type === "organization") {
|
|
1538
1572
|
dataFromResponse.company = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1539
|
-
dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company);
|
|
1573
|
+
dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company, isFeatureEnabled);
|
|
1540
1574
|
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
|
|
1541
1575
|
dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
|
|
1542
1576
|
if (immediateParentCompany) {
|
|
1543
1577
|
dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(immediateParentCompany);
|
|
1544
|
-
dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany);
|
|
1578
|
+
dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany, isFeatureEnabled);
|
|
1545
1579
|
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
|
|
1546
1580
|
}
|
|
1547
1581
|
if (ultimateParentCompany) {
|
|
1548
1582
|
dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(ultimateParentCompany);
|
|
1549
|
-
dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany);
|
|
1583
|
+
dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany, isFeatureEnabled);
|
|
1550
1584
|
dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
|
|
1551
1585
|
}
|
|
1552
1586
|
}
|
|
@@ -1558,7 +1592,8 @@ function BusinessFinancingDropin(props) {
|
|
|
1558
1592
|
rootLegalEntity,
|
|
1559
1593
|
immediateParentCompany,
|
|
1560
1594
|
ultimateParentCompany,
|
|
1561
|
-
soleProprietor
|
|
1595
|
+
soleProprietor,
|
|
1596
|
+
isFeatureEnabled
|
|
1562
1597
|
]);
|
|
1563
1598
|
const datasetUtils = datasetUtilities(i18n.language);
|
|
1564
1599
|
const [problems, setProblems] = useState();
|
|
@@ -1566,7 +1601,6 @@ function BusinessFinancingDropin(props) {
|
|
|
1566
1601
|
const [showEndState, setShowEndState] = useState(false);
|
|
1567
1602
|
const { showToast } = useToastContext();
|
|
1568
1603
|
const { isSettingEnabled } = useSettingsContext();
|
|
1569
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
1570
1604
|
const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
|
|
1571
1605
|
const onSubmit = async () => {
|
|
1572
1606
|
setLoadingStatus("loading");
|
|
@@ -1576,10 +1610,10 @@ function BusinessFinancingDropin(props) {
|
|
|
1576
1610
|
validationErrors: {}
|
|
1577
1611
|
}));
|
|
1578
1612
|
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1579
|
-
const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
|
|
1613
|
+
const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity, isFeatureEnabled) : null;
|
|
1580
1614
|
const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
|
|
1581
|
-
const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1582
|
-
const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1615
|
+
const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity, isFeatureEnabled) : null;
|
|
1616
|
+
const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity, isFeatureEnabled) : null;
|
|
1583
1617
|
if (isSoleProprietor) {
|
|
1584
1618
|
if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
|
|
1585
1619
|
showToast({
|
|
@@ -1752,10 +1786,14 @@ function BusinessFinancingDropin(props) {
|
|
|
1752
1786
|
umfData?.company?.isParentOwnedByAnotherCompany
|
|
1753
1787
|
]);
|
|
1754
1788
|
useEffect(() => {
|
|
1755
|
-
const [requiredFields, optionalFields] = getBusinessFinancingFields(country, umfData, rootLegalEntity?.organization?.registeredAddress);
|
|
1789
|
+
const [requiredFields, optionalFields] = getBusinessFinancingFields(country, umfData, rootLegalEntity?.organization?.registeredAddress, isFeatureEnabled);
|
|
1756
1790
|
setRequiredFields(requiredFields);
|
|
1757
1791
|
setOptionalFields(optionalFields);
|
|
1758
|
-
}, [
|
|
1792
|
+
}, [
|
|
1793
|
+
umfData,
|
|
1794
|
+
rootLegalEntity?.organization?.registeredAddress,
|
|
1795
|
+
isFeatureEnabled
|
|
1796
|
+
]);
|
|
1759
1797
|
const forms = useMemo(() => {
|
|
1760
1798
|
return addValidityToForms(getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {}), isValid, problems);
|
|
1761
1799
|
}, [
|
|
@@ -1829,7 +1867,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1829
1867
|
if (formIndex >= 0) gotoFormByFormIndex(formIndex);
|
|
1830
1868
|
};
|
|
1831
1869
|
const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
|
|
1832
|
-
items: formatDataForSummary(i18n.language, commonT, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
|
|
1870
|
+
items: formatDataForSummary(i18n.language, commonT, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress, isFeatureEnabled),
|
|
1833
1871
|
handleEditForm,
|
|
1834
1872
|
forms,
|
|
1835
1873
|
children: /* @__PURE__ */ jsx(ErrorPanel, {
|
|
@@ -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] = "31ee54f0-cca9-4bc3-957a-deececc40811", e._sentryDebugIdIdentifier = "sentry-dbid-31ee54f0-cca9-4bc3-957a-deececc40811");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
7
7
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
8
8
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-CYeMgVkI.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -47,33 +47,33 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
47
47
|
}, {
|
|
48
48
|
ns: "common",
|
|
49
49
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
50
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
51
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
52
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
53
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
54
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
50
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-Cdrkwxmc.js"),
|
|
51
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DpiH1UkS.js"),
|
|
52
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-B-BJLcqw.js"),
|
|
53
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-BxTGFyOs.js"),
|
|
54
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-IQwyd9ws.js"),
|
|
55
55
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-BVNIyLRs.js"),
|
|
56
56
|
"../../../language/locales/en-US.json": () => import("./en-US-U0d3NI20.js"),
|
|
57
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
58
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
59
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
60
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
61
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
62
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
63
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
64
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
65
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
66
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
67
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
68
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
69
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
70
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
71
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
72
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
73
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
74
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
75
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
76
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
57
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-Cg2IadcX.js"),
|
|
58
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-DvMpG4FP.js"),
|
|
59
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-eGeytyQh.js"),
|
|
60
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-C02wZfgW.js"),
|
|
61
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-CE7k9H5_.js"),
|
|
62
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-B12DcJ3l.js"),
|
|
63
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-cosbDuos.js"),
|
|
64
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-CiKoOxzk.js"),
|
|
65
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-D7PEVMmT.js"),
|
|
66
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-C2oxTakB.js"),
|
|
67
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-C_KVkpid.js"),
|
|
68
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CwNBy0Ku.js"),
|
|
69
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-VqkeNhzB.js"),
|
|
70
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-Bp218jDD.js"),
|
|
71
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-CPbFPNwq2.js"),
|
|
72
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-Bz39smeX.js"),
|
|
73
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-jNItoBZk.js"),
|
|
74
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-CsSqXqf_.js"),
|
|
75
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-PRqWis0E.js"),
|
|
76
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-Dv-rMOdB.js")
|
|
77
77
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
78
78
|
}]);
|
|
79
79
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0ca90ea5-ca0c-4702-b5c1-4031a9114db2", e._sentryDebugIdIdentifier = "sentry-dbid-0ca90ea5-ca0c-4702-b5c1-4031a9114db2");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
7
|
+
import { t as MaskedInput } from "./MaskedInput-CkDwzLxe.js";
|
|
8
|
+
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-BNO2BcfK.js";
|
|
9
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
9
10
|
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
10
11
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
11
|
-
import { c as MaskedInput } from "./maskHelpers-C44Fv5qZ.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.tsx
|
|
14
14
|
var BUSINESS_REGISTRATION_NUMBER_FIELD = [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5ca15e7a-7315-43e0-92d2-5e55e0b0dda1", e._sentryDebugIdIdentifier = "sentry-dbid-5ca15e7a-7315-43e0-92d2-5e55e0b0dda1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
7
|
+
import { t as MaskedInput } from "./MaskedInput-CkDwzLxe.js";
|
|
8
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-BNO2BcfK.js";
|
|
9
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
9
10
|
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
10
11
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
11
|
-
import { c as MaskedInput } from "./maskHelpers-C44Fv5qZ.js";
|
|
12
12
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { useCallback } from "preact/hooks";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{BusinessTypeSelectionPage-DJE07ov_.js → BusinessTypeSelectionPage-DeWD37jR.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
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] = "9914b90a-d033-42f8-8bf6-e5669a3e7700", e._sentryDebugIdIdentifier = "sentry-dbid-9914b90a-d033-42f8-8bf6-e5669a3e7700");
|
|
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-
|
|
9
|
+
import { t as Button } from "./Button-BxdC8cVB.js";
|
|
10
10
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
12
12
|
import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
|
|
@@ -15,13 +15,13 @@ import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
|
15
15
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
16
16
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
17
17
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
|
|
18
|
-
import { t as Field } from "./Field-
|
|
19
|
-
import { t as TileGroup } from "./TileGroup-
|
|
18
|
+
import { t as Field } from "./Field-Df7ajJE2.js";
|
|
19
|
+
import { t as TileGroup } from "./TileGroup-BFcSgQ1l.js";
|
|
20
20
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
21
|
-
import { t as useForm } from "./useForm-
|
|
22
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
21
|
+
import { t as useForm } from "./useForm-BFeaSvlP.js";
|
|
22
|
+
import { t as formatValidationError } from "./formatValidationError-z2D5oU1e.js";
|
|
23
23
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
24
|
-
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-
|
|
24
|
+
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-D8pwjFm5.js";
|
|
25
25
|
import { useCallback, useEffect, useState } from "preact/hooks";
|
|
26
26
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
27
27
|
//#region src/datasets/generators/getBusinessTypeExamplesForCountry.ts
|