@adyen/kyc-components 4.24.0 → 4.25.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-CyMefc3t.js → AcceptTermsOfServiceWorkflow-DVUes-ba.js} +2 -2
- package/dist/{AccountSetupRejected-D63dyojj.js → AccountSetupRejected-B19onnyG.js} +1 -1
- package/dist/{AdaptiveWorkflow-DC4QviLh.js → AdaptiveWorkflow-q5TVr4ET.js} +1 -1
- package/dist/{AdaptiveWorkflowComponent-CsNPizq0.js → AdaptiveWorkflowComponent-CBxlKnJq.js} +54 -54
- package/dist/{AddressFields-BeeqIqdc.js → AddressFields-DR4xhVNv.js} +9 -9
- package/dist/{Alert-Cc7p0N5h.js → Alert-Bv9M3wLb.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYJS13vd.js → BusinessFinancingDropin-B71xoa3g.js} +95 -57
- package/dist/{BusinessFinancingPage-DbTrQ1kt.js → BusinessFinancingPage-DlttycNJ.js} +27 -27
- package/dist/{BusinessRegistrationNumberField-DKka8aVU.js → BusinessRegistrationNumberField-CpRV1Keg.js} +4 -4
- package/dist/{BusinessRegistrationNumberFieldGroup-Df6_sDA0.js → BusinessRegistrationNumberFieldGroup-BBOUoIDC.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C0xUipfe.js → BusinessTypeSelectionPage-DiZhzyXz.js} +7 -7
- package/dist/{Button-DPJ1k02w.js → Button-DpPFIUJx.js} +34 -29
- package/dist/{ComponentGroup-Cw_2w0Rf.js → ComponentGroup-BcVd3jTE.js} +1 -1
- package/dist/{Confirm-DoN9R9Z3.js → Confirm-D8WH4e1L.js} +2 -2
- package/dist/{ConstitutionalDocument-Bbo7P_gi.js → ConstitutionalDocument-BBXjyAH3.js} +14 -14
- package/dist/{ContactDetails-CUjFd94x.js → ContactDetails-e8rkZO7f.js} +6 -6
- package/dist/{ContextGuidance-BQPwRscq.js → ContextGuidance-DPPaigJE.js} +1 -1
- package/dist/{CountryField-DT6-Jr_b.js → CountryField-C7eHHmYk.js} +4 -4
- package/dist/{Currency-C-sSDMn7.js → Currency-BEr0RDjy.js} +83 -6
- package/dist/{CustomerSupport-C2DrnwDs.js → CustomerSupport-DVMEfZdZ.js} +6 -6
- package/dist/{DataConflictsModal-CCaMgguu.js → DataConflictsModal-BqfTUq4v.js} +6 -6
- package/dist/{DebugModal-CvRyl9qY.js → DebugModal-CGPSu2md.js} +16 -16
- package/dist/{DecisionMakerDetails-Dhi6hsrv.js → DecisionMakerDetails-mi5oGeCi.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DLgKrPA3.js → DecisionMakerDetailsPage-BUvvs6i9.js} +28 -28
- package/dist/{DecisionMakers-B6Qd9fuT.js → DecisionMakers-B2dpzHQ-.js} +32 -32
- package/dist/{Dropzone-BhMYy4nr.js → Dropzone-DAKOThpd.js} +4 -4
- package/dist/{EndStateLayout-zZPm8S5M.js → EndStateLayout-BOdEeTDy.js} +9 -9
- package/dist/{EntityAssociation-C2_Xuvf5.js → EntityAssociation-ty8DqPkJ.js} +5 -5
- package/dist/{ErrorPanel-D4JNFkvi.js → ErrorPanel-D1ygAX21.js} +2 -2
- package/dist/{Field-DwDJQVSS.js → Field-CBvXkDKh.js} +1 -1
- package/dist/{GlobalEntryModal-iZSUeMQf.js → GlobalEntryModal-DLC7METR.js} +783 -86
- package/dist/{GlobalEntryPage-w4KJOeYb.js → GlobalEntryPage-C2vMcR6i.js} +28 -28
- package/dist/{IdentityNumber-3V6ZqvHB.js → IdentityNumber-DhO403_T.js} +6 -6
- package/dist/{IdentityNumberFieldGroup-CAjlgTWn.js → IdentityNumberFieldGroup-CqAj0moi.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bx89cmUF.js → IdentityScreeningWorkflow-Dm2p1_2e.js} +7 -7
- package/dist/{IndividualDropin-BgOmBeoT.js → IndividualDropin-CKnMrjDj.js} +161 -54
- package/dist/{IndustryCodeFieldGroup-BDtoeaUz.js → IndustryCodeFieldGroup-DEYxiu_j.js} +4 -4
- package/dist/{InputDate-ANdv1rKt.js → InputDate-B0RNGCq2.js} +2 -3
- package/dist/{InputText-CFDEmEtp.js → InputText-CwPK55J0.js} +1 -1
- package/dist/{Introduction-D8hMB7Wb.js → Introduction-CTVUoae1.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-DZZe5Ruk.js → InvitedDecisionMakerComponent-XVUjKp4X.js} +55 -55
- package/dist/{JpAddressFields-BIh4120-.js → JpAddressFields-DWDTt4lQ.js} +5 -5
- package/dist/{LegalCompanyNameField-Cosyjk52.js → LegalCompanyNameField-C3zITaw1.js} +3 -3
- package/dist/{LegalName-CtqIpsfy.js → LegalName-DsYl9ReT.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Mpm8AjdQ.js → LegalRepresentativeDetailsPage-CYHPpiXJ.js} +28 -28
- package/dist/{maskHelpers-C0wnCoJl.js → MaskedInput-W1FzWAVl.js} +68 -68
- package/dist/{MaybeModal-C4ySaA8A.js → MaybeModal-DJ-s5rk2.js} +2 -2
- package/dist/{Modal-CHES6970.js → Modal-DeXa4MBg.js} +1 -1
- package/dist/{Name-CdCsijr5.js → Name-C1GAvkWn.js} +4 -4
- package/dist/{NewSummary-D55f70wB.js → NewSummary-C9CV9wJk.js} +4 -4
- package/dist/{NodeRenderer-smgxe7Ni.js → NodeRenderer-CnaWNStD.js} +15 -15
- package/dist/{PatriotActDisclosure-DA6nqTmC.js → PatriotActDisclosure-CnVpPsAg.js} +8 -8
- package/dist/{PayoutDetailsDropin-BH1Sj6GM.js → PayoutDetailsDropin-BPms6ZOq.js} +140 -93
- package/dist/{PayoutDetailsPage-B7mZmc51.js → PayoutDetailsPage-BTBHMzw7.js} +3 -3
- package/dist/{RadioGroup-Bf3DlQnZ.js → RadioGroup-CY33MT83.js} +2 -2
- package/dist/{RadioWithLabel-DQIOEYpF.js → RadioWithLabel-BmUFWDxq.js} +1 -1
- package/dist/{Review-9sjGKoQu.js → Review-CGI0RQO6.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DRN6p6wB.js → RootBusinessDetailsPage-BswHBSIN.js} +1 -1
- package/dist/{RootBusinessLinesPage-uxn9f5K8.js → RootBusinessLinesPage-BQxhfHmx.js} +18 -18
- package/dist/{RootIndividualDetailsPage-BDoKkhcN.js → RootIndividualDetailsPage-CFxtnnY4.js} +28 -28
- package/dist/{Select-phAxjMBQ.js → Select-prMx73V9.js} +35 -36
- package/dist/{SignPCIComponent-BNlTxxJz.js → SignPCIComponent-B1kmyOe5.js} +34 -34
- package/dist/{SingpassSelection-B6_DsZtn.js → SingpassSelection-GiZOYWUI.js} +4 -4
- package/dist/{SoleProprietorshipPage-Dx-pfSwo.js → SoleProprietorshipPage-D84M0iEW.js} +1 -1
- package/dist/{SourceOfFundsPage-ChO-R9o4.js → SourceOfFundsPage-B0SzrryD.js} +22 -22
- package/dist/{SourceOfFundsWorkflow-DuU_n82x.js → SourceOfFundsWorkflow-j-GhdsMt.js} +2 -2
- package/dist/{StateField-BpMwetvd.js → StateField-BYoE_vV0.js} +5 -5
- package/dist/{Step-CctAUYbs.js → Step-BWQnXZ9F.js} +2 -2
- package/dist/{StructuredList-nPasiuLi.js → StructuredList-BHUmeWeh.js} +1 -1
- package/dist/{Summary-DM31WxLr.js → Summary-BxGf1dI5.js} +6 -6
- package/dist/{Task-C12uuPWD.js → Task-B5aOUY4b.js} +23 -14
- package/dist/{TaskGroup-z3ONGLnB.js → TaskGroup-DJXCb94w.js} +1 -1
- package/dist/{TaskListItem-Dx3hKOqG.js → TaskListItem-0-jRJAy9.js} +4 -4
- package/dist/{TaxInformationField-Cc-NDAVo.js → TaxInformationField-DUjQEF-s.js} +4 -4
- package/dist/{TaxInformationFieldGroup-DI2LzuNr.js → TaxInformationFieldGroup-CrTl9kqF.js} +5 -5
- package/dist/{TaxReportingDropin-LNgisxBc.js → TaxReportingDropin-DAdIs3_N.js} +8 -8
- package/dist/{TaxReportingWorkflow-9_9ECX6A.js → TaxReportingWorkflow-P9mRynVj.js} +2 -2
- package/dist/{TermsOfServiceManagement-BGrBal0j.js → TermsOfServiceManagement-BnyyCgPN.js} +34 -34
- package/dist/{TextArea-qGEo3PFG.js → TextArea-C12oXMzX.js} +1 -1
- package/dist/{TileGroup-D1-M64Ul.js → TileGroup-DKwpyGqw.js} +1 -1
- package/dist/{ToastContextProvider-DjYKMflX.js → ToastContextProvider-D2doAiSZ.js} +1 -1
- package/dist/{TrustDetailsPage-cx6yEd6Q.js → TrustDetailsPage-CfjP1Q7K.js} +25 -25
- package/dist/{TrustMemberCompanyPage-DZh9Wn9-.js → TrustMemberCompanyPage-taBHdjIB.js} +3 -3
- package/dist/{TrustMemberIndividualPage--tTWII4G.js → TrustMemberIndividualPage-DdwlWwLJ.js} +28 -28
- package/dist/{TrustMemberRoleAndTypePage-DEzesajA.js → TrustMemberRoleAndTypePage-DAeIxczv.js} +15 -17
- package/dist/{TrustMembersOverview-BpJGWVT5.js → TrustMembersOverview-Bb_rf907.js} +7 -7
- package/dist/{UboTaskItem-DP5LOGom.js → UboTaskItem-RFRcZeJr.js} +23 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DelW_XAz.js → UnincorporatedPartnershipIndividualPage-lWGiysru.js} +28 -28
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js → UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BBeans9j.js → UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js} +5 -5
- package/dist/{VerificationErrorAlert-CixajVtq.js → VerificationErrorAlert-B-WILibe.js} +1 -1
- package/dist/{Workflow-BJbKhY38.js → Workflow-CymBPsE3.js} +27 -17
- package/dist/adyen-business-financing.js +33 -31
- package/dist/adyen-individual-configuration.js +57 -55
- package/dist/adyen-individual-status.js +31 -29
- package/dist/adyen-invited-decision-maker.js +7 -5
- package/dist/adyen-onboarding.js +41 -39
- package/dist/adyen-terms-of-service-management.js +6 -4
- package/dist/adyen-terms-of-service-status.js +6 -4
- package/dist/adyen-transfer-instrument-configuration.js +31 -29
- package/dist/adyen-transfer-instrument-management.js +39 -37
- package/dist/adyen-verification-status.js +7 -5
- package/dist/{bg-BG-DqfAUTUt.js → bg-BG-Cdrkwxmc.js} +2 -2
- package/dist/{bg-BG-BPzEcioF.js → bg-BG-ClMsmcda.js} +16 -2
- package/dist/bg-BG-DfbtcqF4.js +7 -0
- package/dist/{businessRegistrationNumberPatterns-A08SLm03.js → businessRegistrationNumberPatterns-Bd2bazr4.js} +2 -2
- package/dist/{constants-C8yo0_RA.js → constants-C7-xFqmm.js} +4 -4
- package/dist/cs-CZ-CajuRLo4.js +7 -0
- package/dist/{cs-CZ-BwO4yrI4.js → cs-CZ-DpiH1UkS.js} +2 -2
- package/dist/{cs-CZ-D4ml1o2f.js → cs-CZ-DyLd-erd.js} +16 -2
- package/dist/{da-DK-CE7jnGea.js → da-DK-B-BJLcqw.js} +2 -2
- package/dist/da-DK-BEwmSejn.js +7 -0
- package/dist/{da-DK-BoINgPRU.js → da-DK-Dhr4p-qj.js} +16 -2
- package/dist/{de-DE-DKkoZQ0X.js → de-DE-BxTGFyOs.js} +2 -2
- package/dist/de-DE-PyK3jl-6.js +7 -0
- package/dist/{de-DE-By2U6vch.js → de-DE-QDT6VVq9.js} +16 -2
- package/dist/{dropinUtils-DTBezwYT.js → dropinUtils-DaA6mmQp.js} +16 -11
- package/dist/{el-GR-Cvms0L4K.js → el-GR-IQwyd9ws.js} +2 -2
- package/dist/el-GR-KPFghikv.js +7 -0
- package/dist/{el-GR-CdTXa4cP.js → el-GR-V2cZ5gjl.js} +16 -2
- package/dist/en-US-BRCWc67V.js +7 -0
- package/dist/{error-BvgoQFEI.js → error-CQMSa-H_.js} +2 -2
- package/dist/{es-ES-BQrdtEfn.js → es-ES-Cg2IadcX.js} +2 -2
- package/dist/{es-ES-DT39ZlR7.js → es-ES-SsReQJzQ.js} +16 -2
- package/dist/es-ES-z4jLCvkJ.js +7 -0
- package/dist/{es-LA-DQGPNeqX.js → es-LA-DTXCg1tj.js} +16 -2
- package/dist/{es-LA-BxtxM3Ty.js → es-LA-DvMpG4FP.js} +2 -2
- package/dist/es-LA-Dx4QymCh.js +7 -0
- package/dist/et-EE-1EhDxtTe.js +7 -0
- package/dist/{et-EE-S_MAXUF8.js → et-EE-Bg3WOS9m.js} +16 -2
- package/dist/{et-EE-V-YOCgoh.js → et-EE-eGeytyQh.js} +2 -2
- package/dist/{fi-FI-ThDP-8F8.js → fi-FI-B1RyWVH2.js} +16 -2
- package/dist/{fi-FI-CVBmM-U1.js → fi-FI-C02wZfgW.js} +2 -2
- package/dist/fi-FI-Dc2RMc_u.js +7 -0
- package/dist/{form-rules-B0RwhsVw.js → form-rules-DhuNdiqF.js} +1 -1
- package/dist/{formUtils-DVDcdZsP.js → formUtils-DAKrWwgL.js} +1 -1
- package/dist/{formatValidationError-q_w9DTrl.js → formatValidationError-z2D5oU1e.js} +1 -1
- package/dist/{fr-FR-D3maHIWS.js → fr-FR-C3Zi7-JE.js} +16 -2
- package/dist/{fr-FR-BIyJL6Jj.js → fr-FR-CE7k9H5_.js} +2 -2
- package/dist/fr-FR-DswL4wQ1.js +7 -0
- package/dist/{getDefaultRegistrationNumberType-CIu4WMln.js → getDefaultRegistrationNumberType-BzOpwR5x.js} +214 -214
- package/dist/{hr-HR-BOYktLQ2.js → hr-HR-B12DcJ3l.js} +2 -2
- package/dist/{hr-HR-BUI-Ac0o.js → hr-HR-CH9yGEPn.js} +16 -2
- package/dist/hr-HR-DI2D_V50.js +7 -0
- package/dist/{hu-HU-BPjEsgnX.js → hu-HU-DpUG3GwC.js} +16 -2
- package/dist/{hu-HU-CO_7jvk9.js → hu-HU-cosbDuos.js} +2 -2
- package/dist/hu-HU-lyRcZjGI.js +7 -0
- package/dist/individualdetails-UIslI4gf.js +34 -0
- package/dist/{it-IT-W1FjGb6L.js → it-IT-BEEsgu4Z.js} +16 -2
- package/dist/it-IT-Bn4CEcmI.js +7 -0
- package/dist/{it-IT-CNr6PIu3.js → it-IT-CiKoOxzk.js} +2 -2
- package/dist/ja-JP-CAX_xwUx.js +7 -0
- package/dist/{ja-JP-avJECfKw.js → ja-JP-CcXk7Gcc.js} +16 -2
- package/dist/{ja-JP-DAClbueM.js → ja-JP-D7PEVMmT.js} +2 -2
- package/dist/lt-LT-BdgYuJW7.js +7 -0
- package/dist/{lt-LT-DoYCfhZU.js → lt-LT-C2oxTakB.js} +2 -2
- package/dist/{lt-LT-wP0YuKeO.js → lt-LT-CGgbFwbx.js} +16 -2
- package/dist/lv-LV-Bz5c0Psg.js +7 -0
- package/dist/{lv-LV-BW0BscAd.js → lv-LV-C_KVkpid.js} +2 -2
- package/dist/{lv-LV-DW_mgZjM.js → lv-LV-Ck_aQ4ML.js} +16 -2
- package/dist/{mapExistingFile-2QXrkhqJ.js → mapExistingFile-BrDc9SLg.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js → mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Crz7aXZB.js → mapLegalEntityToIndividualSchema-Cs24QJ_x.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BrbrK2wk.js → mapTransferInstrumentToPayoutAccount-BpXU-nP1.js} +1 -1
- package/dist/nl-NL-BE2cQh0x.js +7 -0
- package/dist/{nl-NL-DR5SCDAF.js → nl-NL-CwNBy0Ku.js} +2 -2
- package/dist/{nl-NL-7kT4I7Tj.js → nl-NL-_hbzuQ0h.js} +16 -2
- package/dist/{no-NO-BoEKDB8U.js → no-NO-B_ijkAtf.js} +16 -2
- package/dist/{no-NO-P8SZ1t-h.js → no-NO-VqkeNhzB.js} +2 -2
- package/dist/no-NO-vgzpp44v.js +7 -0
- package/dist/{pl-PL-BY6KUTBO.js → pl-PL-Bp218jDD.js} +2 -2
- package/dist/pl-PL-DgDSRVmp.js +7 -0
- package/dist/{pl-PL-B6DeEX-m.js → pl-PL-u6DrL8IY.js} +16 -2
- package/dist/{processValidationErrors-CjsNfiRK.js → processValidationErrors-DsZ6_OXy.js} +2 -2
- package/dist/pt-BR-BaKp-J8F.js +7 -0
- package/dist/{pt-BR-CsQI9W3I.js → pt-BR-CPS77pGy.js} +16 -2
- package/dist/{pt-BR-CrLCMcSz2.js → pt-BR-CPbFPNwq2.js} +2 -2
- package/dist/{pt-PT-DDYnXawl.js → pt-PT-Bz39smeX.js} +2 -2
- package/dist/{pt-PT-i_EH0CM6.js → pt-PT-DIKqQR6V.js} +16 -2
- package/dist/pt-PT-Df48oeP5.js +7 -0
- package/dist/{resolveEnvironment-BwfBwdTL.js → resolveEnvironment-g21Gu4Y_.js} +38 -39
- package/dist/ro-RO-CTMsv_EY.js +7 -0
- package/dist/{ro-RO-B7CJDsKz.js → ro-RO-Cg1nG9ns.js} +16 -2
- package/dist/{ro-RO-BA5GhaCE.js → ro-RO-jNItoBZk.js} +2 -2
- package/dist/{roleMetadata-Dm1FVuPT.js → roleMetadata-CQeuOFRE.js} +1 -1
- package/dist/{sk-SK-NU95U8E2.js → sk-SK-CRfiVN3e.js} +16 -2
- package/dist/{sk-SK-BeNF_m_j.js → sk-SK-CsSqXqf_.js} +2 -2
- package/dist/sk-SK-oqO5I3Aw.js +7 -0
- package/dist/sl-SI-CQhJFnpj.js +7 -0
- package/dist/{sl-SI-B6Kv1DgA.js → sl-SI-Dpr3StsS.js} +16 -2
- package/dist/{sl-SI-Bxu4m_5e.js → sl-SI-PRqWis0E.js} +2 -2
- package/dist/style.css +965 -704
- package/dist/styles-DYaAeu4q.js +965 -704
- package/dist/{sv-SE-DKTrk_eI.js → sv-SE-CH4wMrUZ.js} +16 -2
- package/dist/sv-SE-CmevESLi.js +7 -0
- package/dist/{sv-SE-B-CXDaXM.js → sv-SE-Dv-rMOdB.js} +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/WorkflowEndState/WorkflowEndState.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/context/WorkflowContext/WorkflowContextProvider.d.ts +2 -0
- package/dist/types/api/createLegalEntity/createLegalEntity.types.d.ts +3 -0
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +14 -11
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +10 -30
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +80 -66
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +15 -15
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +0 -3
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/clearCountrySpecificAccountFields.d.ts +6 -0
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +524 -7805
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +22 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/companySearchStore.d.ts +22 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +20 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/BusinessSelection.d.ts +3 -0
- package/dist/types/components/GlobalEntry/forms/BusinessSelection/types.d.ts +8 -0
- package/dist/types/components/GlobalEntry/hooks/useCompanySearchNextClickOverrides.d.ts +26 -0
- package/dist/types/components/GlobalEntry/modals/LegalArrangementModal.d.ts +10 -0
- package/dist/types/components/GlobalEntry/modals/RegistrationNumberMismatchModal.d.ts +16 -0
- package/dist/types/components/GlobalEntry/modals/TinMismatchModal.d.ts +6 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +3 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +2 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils/applyVerifiedCompanyData.d.ts +19 -0
- package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +1 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +12 -10
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualGettingStarted/IndividualGettingStartedModalContent.d.ts +1 -0
- package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/validate.formats.d.ts +1 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -1
- package/dist/types/context/SettingsContext/types.d.ts +0 -2
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +1 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +1 -1
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.d.ts +1 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +1 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +1 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +1 -1
- package/dist/types/utils/decodeJwt.d.ts +0 -5
- package/dist/types/utils/genUtils.d.ts +0 -9
- package/dist/types/utils/getProps.d.ts +0 -8
- package/dist/{types-Cwq1JAWT.js → types-B28r2lAW.js} +1 -2
- package/dist/{useBusinessDetailsData-sWGe796Y.js → useBusinessDetailsData-FHWhosZj.js} +69 -413
- package/dist/{useCanSeeIntroduction-DQbanJNE.js → useCanSeeIntroduction-X0L-NhMZ.js} +1 -1
- package/dist/{useDataset-CdLBLq98.js → useDataset-BMitsLFp.js} +1 -1
- package/dist/{useForm-CWrbJG44.js → useForm-BFeaSvlP.js} +1 -1
- package/dist/{useMultiForm-BxASst0O.js → useMultiForm-CM3lpilP.js} +1 -1
- package/dist/{useNavigate-DkfNV3JZ.js → useNavigate-BqrdWTzq.js} +32 -32
- package/dist/{useSalesChannels-B06_h460.js → useSalesChannels-huIL6Dhk.js} +1 -1
- package/dist/{useTrustMembers-DtOJPaaV.js → useTrustMembers-CurK1nMF.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CxDZCOte.js → useUnincorporatedPartnershipMembers-DLGY4jqB.js} +1 -1
- package/dist/{utils-CJcGZvj1.js → utils-D8pwjFm5.js} +1 -1
- package/dist/{utils-Ck_mZapQ.js → utils-Dnwr-Kc0.js} +207 -207
- package/dist/{utils-BWumuCvl.js → utils-lIizXlcC.js} +1 -1
- package/dist/validate-C1ZPhUgV.js +443 -0
- package/dist/{validate-D-l4YRka.js → validate-D8sQbtil.js} +1 -1
- package/dist/{validate-BCNnfwPW.js → validate-k6dACmjX.js} +2 -2
- package/dist/{validate-96E_RrNB.js → validate-t6pT7AaZ.js} +2 -2
- package/dist/{validateExtractionResult-D3d0xx90.js → validateExtractionResult-D41PgEa-.js} +2 -2
- package/dist/{validationError-DV6t8Ubb.js → validationError-CLDQ0Qwt.js} +2 -2
- package/package.json +1 -1
- package/dist/bg-BG-B2xaZ3wB.js +0 -7
- package/dist/cs-CZ-ywYpJk1F.js +0 -7
- package/dist/da-DK-DH5YNYFM.js +0 -7
- package/dist/de-DE-vdy64knk.js +0 -7
- package/dist/el-GR-ChapyKa7.js +0 -7
- package/dist/en-US-B7HQdrn_.js +0 -7
- package/dist/es-ES-DCUvAmKI.js +0 -7
- package/dist/es-LA-ChRHGYJP.js +0 -7
- package/dist/et-EE-HHgM0CfO.js +0 -7
- package/dist/fi-FI-DCYPQ6vS.js +0 -7
- package/dist/fr-FR-BzyefnBh.js +0 -7
- package/dist/hr-HR-6Wj5Tf60.js +0 -7
- package/dist/hu-HU-Bwm4UqZz.js +0 -7
- package/dist/it-IT-DgRuEpeD.js +0 -7
- package/dist/ja-JP--tMJF7eu.js +0 -7
- package/dist/lt-LT-DqtpAjOg.js +0 -7
- package/dist/lv-LV-ZmyUvPst.js +0 -7
- package/dist/nl-NL-CePL3t7P.js +0 -7
- package/dist/no-NO-DGCfRiU8.js +0 -7
- package/dist/pl-PL-D-s-JI6X.js +0 -7
- package/dist/pt-BR-BvNR77Ru.js +0 -7
- package/dist/pt-PT-qAzFgjvF.js +0 -7
- package/dist/ro-RO-B3Fcn95o.js +0 -7
- package/dist/sk-SK-CcoUWnJ4.js +0 -7
- package/dist/sl-SI-DxomO9JQ.js +0 -7
- package/dist/sv-SE-BzPNBHOj.js +0 -7
- package/dist/validate-DKwCZSlM.js +0 -178
|
@@ -1,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] = "34f1639c-ad27-41ae-baf2-362e444b82eb", e._sentryDebugIdIdentifier = "sentry-dbid-34f1639c-ad27-41ae-baf2-362e444b82eb");
|
|
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-DpPFIUJx.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-BOdEeTDy.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-DaA6mmQp.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-D1ygAX21.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-CBvXkDKh.js";
|
|
32
32
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
33
|
-
import {
|
|
33
|
+
import { a as isValidationError } from "./validationError-CLDQ0Qwt.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-C7eHHmYk.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-DR4xhVNv.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-DsZ6_OXy.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-CvYhseSD.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-BA3bcGAv.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-C9CV9wJk.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-BEr0RDjy.js";
|
|
52
|
+
import { t as businessFinancingMultiformRules } from "./validate-k6dACmjX.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] = "e8acf656-f57f-4218-a363-e6acc47745c9", e._sentryDebugIdIdentifier = "sentry-dbid-e8acf656-f57f-4218-a363-e6acc47745c9");
|
|
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-B71xoa3g.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-W1FzWAVl.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-BzOpwR5x.js";
|
|
9
|
+
import { t as Field } from "./Field-CBvXkDKh.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-C0wnCoJl.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] = "f9fe1b2a-6964-48d4-adcb-3a038cfa5231", e._sentryDebugIdIdentifier = "sentry-dbid-f9fe1b2a-6964-48d4-adcb-3a038cfa5231");
|
|
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-W1FzWAVl.js";
|
|
8
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-BzOpwR5x.js";
|
|
9
|
+
import { t as Field } from "./Field-CBvXkDKh.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-C0wnCoJl.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-C0xUipfe.js → BusinessTypeSelectionPage-DiZhzyXz.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] = "e62a7059-a56e-46da-b974-59005132bcfc", e._sentryDebugIdIdentifier = "sentry-dbid-e62a7059-a56e-46da-b974-59005132bcfc");
|
|
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-DpPFIUJx.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-CBvXkDKh.js";
|
|
19
|
+
import { t as TileGroup } from "./TileGroup-DKwpyGqw.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
|