@adyen/kyc-components 4.28.0 → 4.29.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-Dj1TFpcT.js → AcceptTermsOfServiceWorkflow-CLyXmOdP.js} +4 -4
- package/dist/{Accordion-DyU-Pxob.js → Accordion-1DM_XtwV.js} +1 -1
- package/dist/{AccountSetupRejected-C29Z-ZeG.js → AccountSetupRejected-BbuXuCOl.js} +1 -1
- package/dist/{AdaptiveWorkflow-DG08I0Hd.js → AdaptiveWorkflow-BJlwm86y.js} +27 -23
- package/dist/{AdaptiveWorkflowComponent-Ck9O1vtA.js → AdaptiveWorkflowComponent-C1KHIXH6.js} +30 -30
- package/dist/{Address-BzKull9X.js → Address-e4MFnJ-R.js} +11 -11
- package/dist/AddressFieldGroup-1JxLVC7E.js +167 -0
- package/dist/{Avatar-BBJO6JWY.js → Avatar-C1otGq1q.js} +1 -1
- package/dist/{BusinessFinancingDropin-Ccu5hfCJ.js → BusinessFinancingDropin-BDqN-H99.js} +235 -47
- package/dist/{BusinessFinancingPage-DUUcmBL_.js → BusinessFinancingPage-BseWjYJI.js} +56 -56
- package/dist/{BusinessRegistrationNumberField--_dm-Mm1.js → BusinessRegistrationNumberField-DHFYlJyl.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-B6XH4eud.js → BusinessRegistrationNumberFieldGroup-us0p7RDq.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-D-CzGk5l.js → BusinessTypeSelectionPage-CsRm5Dst.js} +13 -13
- package/dist/{Button-EhGM-oCO.js → Button-txp4M9iF.js} +1 -1
- package/dist/{Checkbox-BPghqhAH.js → Checkbox-DQlzIU1U.js} +2 -2
- package/dist/{ComponentGroup-B_KkFZK4.js → ComponentGroup-CCY7UfjU.js} +3 -3
- package/dist/{ConstitutionalDocument-BadJJC4M.js → ConstitutionalDocument-BYa7XSmX.js} +15 -14
- package/dist/ContactDetails-mgNsU5uu.js +64 -0
- package/dist/{ContextGuidance-C6vaK8Vy.js → ContextGuidance-DB4a0VIw.js} +2 -2
- package/dist/{CountryField-BU6Pa22w.js → CountryField-CltsFzx-.js} +4 -4
- package/dist/{Currency-U_eiszdG.js → Currency-bZgySTgj.js} +30 -16
- package/dist/{CustomerSupport-Dqhjw2UP.js → CustomerSupport-BQxVGOpH.js} +19 -16
- package/dist/{DateField-DKgD-z88.js → DateField-KTSrmOtA.js} +4 -4
- package/dist/{DebugModal-Dyrc9EQf.js → DebugModal-D-nsWO2W.js} +10 -10
- package/dist/{DecisionMakerDetails-I6DJThM-.js → DecisionMakerDetails-DcXeIzx8.js} +16 -16
- package/dist/{DecisionMakerDetailsPage-CdmfXlXc.js → DecisionMakerDetailsPage-CMK6iCU7.js} +10 -10
- package/dist/{DecisionMakers-d85BnDra.js → DecisionMakers-BQx5iiQa.js} +16 -16
- package/dist/{Dropzone-CoQzi83J.js → Dropzone-BPsTOh_2.js} +7 -7
- package/dist/{EmailField-moj27BMh.js → EmailField-BSPZK2GF.js} +4 -4
- package/dist/{EmbeddedStatus-aQaNHawQ.js → EmbeddedStatus-BjmYK_FU.js} +2 -2
- package/dist/{EndStateLayout-CBzxX67s.js → EndStateLayout-Dl-CLJWp.js} +2 -2
- package/dist/{EntityAssociation-C3g1fNU-.js → EntityAssociation-BLvurODq.js} +6 -6
- package/dist/{ErrorPanel-DKRLTyk6.js → ErrorPanel-Bw32h8Vf.js} +3 -3
- package/dist/{GlobalEntryModal-BmeycbI4.js → GlobalEntryModal-Cm2LU3yi.js} +86 -81
- package/dist/{GlobalEntryPage-nzJMG3vZ.js → GlobalEntryPage-C2wZI61y.js} +32 -32
- package/dist/{Icon-D2IGgB2L.js → Icon-09YF1vzj.js} +1 -1
- package/dist/{IdentityNumber-zwjczY54.js → IdentityNumber-CRKgw87A.js} +4 -4
- package/dist/{IdentityNumberFieldGroup-EsCpfTBl.js → IdentityNumberFieldGroup-DCoU5xVr.js} +3 -3
- package/dist/{IdentityScreeningWorkflow-DPJd6xP8.js → IdentityScreeningWorkflow-Dt49zh3_.js} +13 -13
- package/dist/{IndividualDropin-aIn089om.js → IndividualDropin-ByJ1PYcW.js} +42 -41
- package/dist/{IndustryCodeFieldGroup-DGQ6HIpO.js → IndustryCodeFieldGroup-Dpobw1xv.js} +7 -7
- package/dist/InputDate-CuNmP6eK.js +29 -0
- package/dist/{Introduction-C90gykst.js → Introduction-Dt0Y91vC.js} +7 -7
- package/dist/{InvitedDecisionMakerComponent-DYU0aFpe.js → InvitedDecisionMakerComponent-BfamB_cY.js} +39 -39
- package/dist/{JpAddress-CHcxvk7c.js → JpAddress-BHXRUJdN.js} +10 -10
- package/dist/{LegalCompanyNameField-DhDNiNEH.js → LegalCompanyNameField-DisrzQgf.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-DGqiTZ4v.js → LegalRepresentativeDetailsPage-BrDmPBkz.js} +5 -5
- package/dist/{Link-BtWj5mVH.js → Link-DgkANG70.js} +1 -1
- package/dist/{ListItem-aX6AyCay.js → ListItem-Cbi6YPUm.js} +2 -2
- package/dist/{Name-CxE3-OMn.js → Name-Cfb_fv1Q.js} +3 -3
- package/dist/{NumberField-B_BNUJ70.js → NumberField-dAhOQido.js} +4 -4
- package/dist/{PatriotActDisclosure-w0FzoIaY.js → PatriotActDisclosure-BPGTA4iw.js} +10 -10
- package/dist/{PayoutDetailsDropin-WeSQsPji.js → PayoutDetailsDropin-B4FGErK4.js} +32 -36
- package/dist/{PayoutDetailsPage-B3YM0eCo.js → PayoutDetailsPage-DnNF2dLW.js} +6 -6
- package/dist/{ContactDetails-CWdanrQO.js → PhoneField-BHL7L49o.js} +6 -59
- package/dist/PhoneNumberFieldGroup-DIGAhjg2.js +92 -0
- package/dist/{RadioGroup-CBRMrSq8.js → RadioGroup-D1UVNl2M.js} +2 -2
- package/dist/{Review-DRX7QNjM.js → Review-DDhrmBC2.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DD9LaTSd.js → RootBusinessDetailsPage-CY2B_5Ex.js} +29 -29
- package/dist/{RootBusinessLinesPage-C6CgoyqR.js → RootBusinessLinesPage-CavK52hf.js} +28 -28
- package/dist/{RootIndividualDetailsPage-BuMGWJ0I.js → RootIndividualDetailsPage-BioJo5bi.js} +6 -6
- package/dist/{Select-DFNZzNYi.js → Select-laBx55wy.js} +4 -4
- package/dist/{SignPCIComponent-DegTOI_9.js → SignPCIComponent-DNGacyTm.js} +40 -40
- package/dist/{SingpassSelection-BvZ_4lch.js → SingpassSelection-rj0JBicV.js} +5 -5
- package/dist/{SingpassSelectionCTA-sVs1ou1t.js → SingpassSelectionCTA-W-X8Jmeo.js} +2 -2
- package/dist/{SoleProprietorshipPage-bmXr-MjV.js → SoleProprietorshipPage-By1W28wR.js} +30 -30
- package/dist/{SourceOfFundsPage-DZ9WnB37.js → SourceOfFundsPage-58NkczwN.js} +28 -28
- package/dist/{SourceOfFundsWorkflow-B7MixBd6.js → SourceOfFundsWorkflow-Cm8-HaH8.js} +4 -4
- package/dist/{StateField-Beyf2QEL.js → StateField-BX6mIcuf.js} +6 -6
- package/dist/{Step-CmGlYhbV.js → Step-CQR10hDI.js} +7 -7
- package/dist/{Summary-D9mzG_EQ.js → Summary-Cs-d58D6.js} +1 -1
- package/dist/{SummarySection-BPwCsp4Q.js → SummarySection-k9-aLol0.js} +3 -3
- package/dist/{Task-DeBRLCpL.js → Task-1IK3rrDP.js} +7 -7
- package/dist/{TaskGroup-BOe84LgO.js → TaskGroup-DwqT45TI.js} +3 -3
- package/dist/{TaskListItem-Cc6STLtd.js → TaskListItem-wd3His6k.js} +9 -9
- package/dist/{TaskStepperContextProvider-C36jSigo.js → TaskStepperContextProvider-BsSwuAhK.js} +1 -1
- package/dist/{TaskVerificationStatus-Br7t30ur.js → TaskVerificationStatus-jcZm9OMW.js} +1 -1
- package/dist/{TaxInformationField-CT7Cj-8Y.js → TaxInformationField-DBaV1BU_.js} +6 -6
- package/dist/{TaxInformationFieldGroup-VBkX1byj.js → TaxInformationFieldGroup-2YNdkW09.js} +7 -7
- package/dist/{TaxReportingDropin-DwMy8Wry.js → TaxReportingDropin-DxPhNswu.js} +17 -17
- package/dist/{TaxReportingWorkflow-Bn4dVPvT.js → TaxReportingWorkflow-tHYM3Qwi.js} +4 -4
- package/dist/{TermsOfServiceManagement-rKEGGicr.js → TermsOfServiceManagement-CAnsWyaO.js} +40 -40
- package/dist/{TextArea-mL2npiX2.js → TextArea-DniXM-t4.js} +3 -3
- package/dist/{TextField-BroP5Kq5.js → TextField-DaXDeMZc.js} +30 -14
- package/dist/{TrustDetailsPage-TkxxtLmd.js → TrustDetailsPage-CmrshQz-.js} +29 -29
- package/dist/{TrustMemberCompanyPage-D3nrDOkW.js → TrustMemberCompanyPage-DoSuZocb.js} +31 -31
- package/dist/{TrustMemberIndividualPage-C_Sv2Upe.js → TrustMemberIndividualPage-Bku0xYPW.js} +5 -5
- package/dist/{TrustMemberRoleAndTypePage-izpnZ1td.js → TrustMemberRoleAndTypePage-DuJaGAE7.js} +22 -22
- package/dist/{TrustMembersOverview-C1UC_MJ-.js → TrustMembersOverview-BAn5jHfU.js} +14 -14
- package/dist/{UboTaskItem-DQ_XPlu-.js → UboTaskItem-BfvcPnA_.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-DvexEY5f.js → UnincorporatedPartnershipIndividualPage-BBP2F2Gc.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-ZTHFX7H9.js → UnincorporatedPartnershipMemberCompanyPage--G8vdTl1.js} +31 -31
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-lx-4z369.js → UnincorporatedPartnershipMemberRoleAndTypePage-B_Gylre4.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-Cd7ruzqk.js → UnincorporatedPartnershipMembersOverview-LWbP-7jf.js} +8 -8
- package/dist/{VerificationErrorAlert-BGlU-jx3.js → VerificationErrorAlert-BWop6Oek.js} +4 -4
- package/dist/{WebsiteField-VE72_IDo.js → WebsiteField-B6yK1__K.js} +5 -5
- package/dist/{Workflow-CPwOuBg9.js → Workflow-wh7tGsoY.js} +7 -7
- package/dist/{accountHolderUtils-CY6MmbBA.js → accountHolderUtils-CbjqZYJE.js} +1 -1
- package/dist/adyen-business-financing.js +57 -57
- package/dist/adyen-individual-configuration.js +31 -31
- package/dist/adyen-individual-status.js +32 -32
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +55 -55
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +5 -5
- package/dist/adyen-transfer-instrument-configuration.js +30 -30
- package/dist/adyen-transfer-instrument-management.js +37 -37
- package/dist/adyen-verification-status.js +5 -5
- package/dist/{bafinUtils-DjVbblgE.js → bafinUtils-CtDUWGcR.js} +9 -9
- package/dist/{bg-BG-g1moSV5i.js → bg-BG-040TEY4K.js} +5 -5
- package/dist/bg-BG-84aWCxOy.js +7 -0
- package/dist/{bg-BG-s01xQ0IE.js → bg-BG-TM2RmDue.js} +3 -1
- package/dist/bg-BG-e8JlqtcS.js +7 -0
- package/dist/{constants-BACR87Ll.js → constants-DM8n4QeX.js} +4 -4
- package/dist/{cs-CZ-DfKxKCsI.js → cs-CZ-5v0ZL5P-.js} +3 -1
- package/dist/{cs-CZ-CX7RYS3J.js → cs-CZ-CWmY23XD.js} +5 -5
- package/dist/cs-CZ-D_hHQB1X.js +7 -0
- package/dist/cs-CZ-tKocyG3G.js +7 -0
- package/dist/{da-DK-BrKeONXP.js → da-DK-CgAKZR1b.js} +3 -1
- package/dist/{da-DK-Cs_2K6Rd.js → da-DK-Cq6hMu-L.js} +4 -4
- package/dist/da-DK-DC2I_NSA.js +7 -0
- package/dist/da-DK-DN8h9v5n.js +7 -0
- package/dist/{de-DE-CaVZKsmT.js → de-DE-BN8Ih-Wn.js} +3 -1
- package/dist/de-DE-CqfSdaEe.js +7 -0
- package/dist/{de-DE-oR2bSTbA.js → de-DE-DR3uy5H-.js} +4 -4
- package/dist/de-DE-DWId5baZ.js +7 -0
- package/dist/{documentUtils-6K3LdjjN.js → documentUtils-DPe5NE3E.js} +1 -1
- package/dist/{dropinUtils-Bsqset1r.js → dropinUtils-LumgckrG.js} +7 -7
- package/dist/el-GR-BuRHfEwK.js +7 -0
- package/dist/{el-GR-DHA0rkvc.js → el-GR-BwDT17Rm.js} +3 -1
- package/dist/{el-GR-_mz9wRt2.js → el-GR-CPgN54tq.js} +5 -5
- package/dist/el-GR-Dl9zGLYp.js +7 -0
- package/dist/{en-US-BfRvYdHX.js → en-US-Ce-dNhvQ.js} +5 -5
- package/dist/en-US-DLnb13Qc.js +7 -0
- package/dist/{error-B1V8_mrW.js → error-CcBVWicO.js} +2 -2
- package/dist/es-ES-C0b1gdED.js +7 -0
- package/dist/{es-ES-B9_eURa2.js → es-ES-DDNhFpwn.js} +5 -5
- package/dist/{es-ES-DsWec_oM.js → es-ES-Dap0tTqf.js} +3 -1
- package/dist/es-ES-tOOSbx6q.js +7 -0
- package/dist/es-LA-16nc9520.js +7 -0
- package/dist/{es-LA-BlWaKaxj.js → es-LA-B6xI42Zo.js} +5 -5
- package/dist/{es-LA-D0FhHrwN.js → es-LA-B7P0akIl.js} +3 -1
- package/dist/es-LA-C1VkEfEG.js +7 -0
- package/dist/{et-EE-D5kWenqz.js → et-EE-Df__pxM7.js} +4 -4
- package/dist/et-EE-DjyuJXBp.js +7 -0
- package/dist/{et-EE-Bp9-vCYs.js → et-EE-DxSFMLSV.js} +3 -1
- package/dist/et-EE-mBjbpUQ-.js +7 -0
- package/dist/fi-FI-B5qdchsS.js +7 -0
- package/dist/{fi-FI-DcwOxjVV.js → fi-FI-BjHj-ND1.js} +3 -1
- package/dist/fi-FI-Cakae90Z.js +7 -0
- package/dist/{fi-FI-DBuyocuK.js → fi-FI-Czaswk4S.js} +5 -5
- package/dist/{fieldConfig-RCsoy6AA.js → fieldConfig-BQwuQ7S8.js} +3 -3
- package/dist/{formatDataForSummary-Bhkgso0a.js → formatDataForSummary-CiZTpvfK.js} +14 -13
- package/dist/{formatValidationError-BgGS97fM.js → formatValidationError-CLHe-JJ2.js} +1 -1
- package/dist/fr-FR-BfutG-sJ.js +7 -0
- package/dist/fr-FR-R4y_qzje.js +7 -0
- package/dist/{fr-FR-CISoBKEC.js → fr-FR-Tm6T5lMr.js} +4 -4
- package/dist/{fr-FR-_ytHUJlx.js → fr-FR-cXF2AvPE.js} +3 -1
- package/dist/{getDefaultRegistrationNumberType-DT6lPudx.js → getDefaultRegistrationNumberType-CSWqbtcx.js} +4 -4
- package/dist/{getFormSlice-CxtXJ0-P.js → getFormSlice-Dx2OhuVB.js} +1 -1
- package/dist/{getProblemsForEntity-FHk416BA.js → getProblemsForEntity-CS0joefl.js} +1 -1
- package/dist/{getTrustedDecisionMakers-CD9uLmHi.js → getTrustedDecisionMakers-mGKXwmIJ.js} +1 -1
- package/dist/{getValidationError-mtfDG4Tr.js → getValidationError-DS_u76g6.js} +1 -1
- package/dist/handleCompanyDataset-pjR1fmx0.js +155 -0
- package/dist/hr-HR-CvnZGHtl.js +7 -0
- package/dist/{hr-HR-B6z7-PYE.js → hr-HR-DDvRwGS1.js} +2 -2
- package/dist/{hr-HR-Cb9wbqiH.js → hr-HR-EEHjJGsG.js} +3 -1
- package/dist/{hr-HR-CXYzhrLe.js → hr-HR-TX0RqKrp.js} +5 -5
- package/dist/{http-C8rt2BZk.js → http-_-3flr1A.js} +6 -2
- package/dist/{hu-HU-HetRpHop.js → hu-HU-BQFX02Pi.js} +5 -5
- package/dist/hu-HU-COk6upGz.js +7 -0
- package/dist/{hu-HU-d15vxL_S.js → hu-HU-Cy4507DN.js} +3 -1
- package/dist/hu-HU-DA3EGmy5.js +7 -0
- package/dist/{invalidateRootLegalEntity-CV4eY4SG.js → invalidateRootLegalEntity-DMACxSxy.js} +3 -3
- package/dist/it-IT-BE1RP_uW.js +7 -0
- package/dist/{it-IT-DUCIA7fo.js → it-IT-BFARu9n9.js} +5 -5
- package/dist/{it-IT-DBatLxXf.js → it-IT-Djr4Q5w_.js} +3 -1
- package/dist/it-IT-t55KiTLg.js +7 -0
- package/dist/ja-JP-C-XnWnJh.js +7 -0
- package/dist/{ja-JP-CmiLlpqW.js → ja-JP-D-SfPIkP.js} +4 -4
- package/dist/ja-JP-DbZFwhB_.js +7 -0
- package/dist/{ja-JP-BRdSqCDF.js → ja-JP-wfggXX3R.js} +3 -1
- package/dist/lt-LT-88XEumlr.js +7 -0
- package/dist/lt-LT-CT63UB8W.js +7 -0
- package/dist/{lt-LT-YfU6BGpp.js → lt-LT-DXE9-bn8.js} +4 -4
- package/dist/{lt-LT-DbzhtTak.js → lt-LT-sLtCx3jG.js} +3 -1
- package/dist/lv-LV-Bfvq51ND.js +7 -0
- package/dist/{lv-LV-B17wL3y6.js → lv-LV-Dt-5t96P.js} +3 -1
- package/dist/lv-LV-LSLY6w92.js +7 -0
- package/dist/{lv-LV-C0PK4MKA.js → lv-LV-x2Wf3jfw.js} +5 -5
- package/dist/{mapAddressLocalizationToJpAddressSchema-jDmr91gn.js → mapAddressLocalizationToJpAddressSchema-CdbY08VL.js} +2 -2
- package/dist/{mapExistingFile-CLSPk17k.js → mapExistingFile-CDfXgrPW.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-DJ84C3gS.js → mapTransferInstrumentToPayoutAccount-TzIDtM0I.js} +3 -3
- package/dist/{nl-NL-CfQsmGB5.js → nl-NL-BdybXM_0.js} +3 -1
- package/dist/{nl-NL-DqGE4Nz5.js → nl-NL-C9gGLSV7.js} +2 -2
- package/dist/{nl-NL-CXeqs7dv.js → nl-NL-DBCTWtK7.js} +5 -5
- package/dist/nl-NL-Djl96_cJ.js +7 -0
- package/dist/no-NO-DXzjLMiR.js +7 -0
- package/dist/{no-NO-C2sdKw0r.js → no-NO-DcmgYZMp.js} +4 -4
- package/dist/no-NO-DsklLKBo.js +7 -0
- package/dist/{no-NO-B1dqTSiS.js → no-NO-nS018Xms.js} +3 -1
- package/dist/pl-PL-Ba_SQaEK.js +7 -0
- package/dist/pl-PL-Bfzlad_L.js +7 -0
- package/dist/{pl-PL-BD5OF888.js → pl-PL-CGblV6Wx.js} +4 -4
- package/dist/{pl-PL-DSwjmRZS.js → pl-PL-DMcFBXe8.js} +3 -1
- package/dist/{processValidationErrors-D5uM9G9K.js → processValidationErrors-CaYPBAQY.js} +2 -2
- package/dist/pt-BR-CIZDogmJ.js +7 -0
- package/dist/pt-BR-CmKh5X7L.js +7 -0
- package/dist/{pt-BR-_3W6lRmq.js → pt-BR-CzHymwC3.js} +3 -1
- package/dist/{pt-BR-DEBXxRwN.js → pt-BR-DG76OYoV.js} +4 -4
- package/dist/{pt-PT-BLpMJNOh.js → pt-PT-CZze4E5O.js} +5 -5
- package/dist/pt-PT-CzlzI2Gl.js +7 -0
- package/dist/pt-PT-D1yQGXDI.js +7 -0
- package/dist/{pt-PT-BUEnW3xZ.js → pt-PT-DCEKPvTn.js} +3 -1
- package/dist/{registerEmbed-9QtDSfpS.js → registerEmbed-DVWMLWOP.js} +45 -50
- package/dist/{ro-RO-B4LyC5yt.js → ro-RO-6jLFjKyf.js} +3 -1
- package/dist/{ro-RO-CHA0yVBc.js → ro-RO-BpbUda2K.js} +5 -5
- package/dist/ro-RO-CMBamDPu.js +7 -0
- package/dist/ro-RO-CW8U1cAK.js +7 -0
- package/dist/{roleMetadata-Bqyxa5h3.js → roleMetadata-L9Jx_NPn.js} +2 -2
- package/dist/{sk-SK-CLhssOsk.js → sk-SK-CeQfUY9G.js} +3 -1
- package/dist/sk-SK-CkbJdpIO.js +7 -0
- package/dist/sk-SK-DPSrWqt8.js +7 -0
- package/dist/{sk-SK-CI_QfG7S.js → sk-SK-Fxah4XDj.js} +5 -5
- package/dist/{sl-SI-QgSjXf-1.js → sl-SI-BWR3fmC5.js} +3 -1
- package/dist/sl-SI-C6-9uM8n.js +7 -0
- package/dist/{sl-SI-DCMml0lX.js → sl-SI-D5xmoc2h.js} +2 -2
- package/dist/{sl-SI-DtZuFHYG.js → sl-SI-IFjaV161.js} +4 -4
- package/dist/style.css +5 -0
- package/dist/styles-DYaAeu4q.js +5 -0
- package/dist/sv-SE-Bf-UrD6e.js +7 -0
- package/dist/sv-SE-CwAsCkY3.js +7 -0
- package/dist/{sv-SE-B5pp1e_g.js → sv-SE-DJJf0nN2.js} +4 -4
- package/dist/{sv-SE-BJgBNvRa.js → sv-SE-Df6M0fXZ.js} +3 -1
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Fields/Address/AddressFieldGroup.d.ts +16 -0
- package/dist/types/adaptiveWorkflow/components/Fields/Address/contextMap.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/Fields/PhoneNumber/PhoneNumberFieldGroup.d.ts +14 -0
- package/dist/types/adaptiveWorkflow/components/Fields/PhoneNumber/contextMap.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/types.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +8 -0
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +5 -0
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +6 -0
- package/dist/types/api/companyDataSet/useChargeCardFinancialPrefill.d.ts +43 -0
- package/dist/types/api/companySearch/companySearch.utils.d.ts +18 -0
- package/dist/types/api/draft/useCreateDraft.d.ts +12 -1
- package/dist/types/api/draft/useGetDraft.d.ts +7 -1
- package/dist/types/api/draft/useUpdateDraft.d.ts +12 -1
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +3 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +43 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -1
- package/dist/types/components/Shared/SaveForLater/draftMetadata.d.ts +5 -17
- package/dist/types/components/Shared/SaveForLater/removeSensitiveData.d.ts +5 -0
- package/dist/types/components/Shared/SaveForLater/useSaveForLater.d.ts +0 -1
- package/dist/types/components/Shared/fields/Address/utils.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +1 -5
- package/dist/types/core/services/http.d.ts +1 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-CP3D_hFv.js → types-C6doVa8_.js} +1 -1
- package/dist/{unincorporatedPartnership-Do6tDapq.js → unincorporatedPartnership--KoTIj1H.js} +1 -1
- package/dist/{useAdaptiveWorkflow-B35cXauP.js → useAdaptiveWorkflow-qmwuQjy9.js} +2 -2
- package/dist/{useBusinessDetailsData-CeylPEHA.js → useBusinessDetailsData-r8xVks8w.js} +51 -49
- package/dist/{useBusinessLines-0FcuDMzo.js → useBusinessLines-ls6_Yi97.js} +2 -2
- package/dist/{useCanSeeIntroduction-Cc5ev90F.js → useCanSeeIntroduction-D7OZH34e.js} +2 -2
- package/dist/{useCreateLegalEntity-CgzVD39K.js → useCreateLegalEntity-Cf7brdhn.js} +2 -2
- package/dist/{useForm-CRy0N190.js → useForm-BHuZ_tWH.js} +2 -2
- package/dist/{useHideTaskStepper-DvHXw3zd.js → useHideTaskStepper-BEWEJlrj.js} +1 -1
- package/dist/{useId-mrOqKgu1.js → useId-CP1mf2Fo.js} +2 -2
- package/dist/{useLegalEntity-CxeMoCm4.js → useLegalEntity-DodR6y_U.js} +2 -2
- package/dist/{useNavigate-Cy23qBJI.js → useNavigate-CSP0wk5Y.js} +33 -33
- package/dist/{useOnboardingStatus-CX8IrDe_.js → useOnboardingStatus-B0YJdTYE.js} +2 -2
- package/dist/{usePciQuestionnaireList-CB_tjNsz.js → usePciQuestionnaireList-COaIU8g8.js} +2 -2
- package/dist/{useSalesChannels-iHkBRXrN.js → useSalesChannels-Dc5O7zWu.js} +4 -4
- package/dist/{useSaveForLater-CNfjnmna.js → useSaveForLater-BM7jxLmx.js} +82 -34
- package/dist/{useScenarios-DfE71fl7.js → useScenarios-mdEShq1d.js} +2 -2
- package/dist/{useTaskLandedEvent-CN3Xwc6X.js → useTaskLandedEvent-C1uWuQtU.js} +1 -1
- package/dist/{useTaskStatus-4nAPf_uD.js → useTaskStatus-CFjG2AaJ.js} +2 -2
- package/dist/{useTermsOfServiceStatus-FDpSDjco.js → useTermsOfServiceStatus-D1f9yxE_.js} +2 -2
- package/dist/{useTrustMembers-DH5oeIc_.js → useTrustMembers-CXWTvE0k.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-PGV9ibpm.js → useUnincorporatedPartnershipMembers-Bhtos8Np.js} +4 -4
- package/dist/{useUpdateBusinessLines-B-pF2YT-.js → useUpdateBusinessLines-DlWohcrL.js} +2 -2
- package/dist/{utils-Daum7uNg.js → utils-BsNY1HFY.js} +2 -2
- package/dist/{utils-CvLK3uY0.js → utils-C-nq_RGU.js} +2 -2
- package/dist/{utils-ouBrrPB3.js → utils-CleuXCmi.js} +2 -2
- package/dist/{utils-ChZNfG5_.js → utils-bZysbWTI.js} +13 -2
- package/dist/{validate-BBuCeSZ3.js → validate-BvLj3Sfr.js} +3 -3
- package/dist/{validate-pS6foY34.js → validate-CJYTEYCx.js} +2 -2
- package/dist/{validate-D526o-YX.js → validate-CfJOg1t6.js} +5 -5
- package/dist/{validate-10qmjyyO.js → validate-DVnF0lOX.js} +12 -147
- package/dist/{InputDate-B9l7uTgl.js → validate.formats-5GC6i7VX.js} +5 -28
- package/dist/{validateExtractionResult-D8JAU47X.js → validateExtractionResult-iuUP5jSq.js} +3 -3
- package/package.json +1 -1
- package/dist/bg-BG-CdDdNATP.js +0 -7
- package/dist/bg-BG-ivZjQNJZ.js +0 -7
- package/dist/cs-CZ-CQoPRxwA.js +0 -7
- package/dist/cs-CZ-NVntX32n.js +0 -7
- package/dist/da-DK-BzBfkSME.js +0 -7
- package/dist/da-DK-CEe5TTUa.js +0 -7
- package/dist/de-DE-C9cUCFOi.js +0 -7
- package/dist/de-DE-ut0CGES0.js +0 -7
- package/dist/el-GR-BEWi0DRN.js +0 -7
- package/dist/el-GR-aelq5Q0a.js +0 -7
- package/dist/en-US-BWzZpVaj.js +0 -7
- package/dist/es-ES-3Z6u7_Cv.js +0 -7
- package/dist/es-ES-DhkTbihW.js +0 -7
- package/dist/es-LA-BgYaYfYK.js +0 -7
- package/dist/es-LA-JRuDva0n.js +0 -7
- package/dist/et-EE-CxTHKlGm.js +0 -7
- package/dist/et-EE-D8TSvkoE.js +0 -7
- package/dist/fi-FI-BE-RoRL5.js +0 -7
- package/dist/fi-FI-CClpbvJJ.js +0 -7
- package/dist/fr-FR-B-jA_cbo.js +0 -7
- package/dist/fr-FR-Db4EY5iv.js +0 -7
- package/dist/hr-HR-qvMOxoRF.js +0 -7
- package/dist/hu-HU-BNk4CovT.js +0 -7
- package/dist/hu-HU-DXK7B0r_.js +0 -7
- package/dist/it-IT-CQVFYSVx.js +0 -7
- package/dist/it-IT-RatP9WIw.js +0 -7
- package/dist/ja-JP-BILx8dc7.js +0 -7
- package/dist/ja-JP-CtX9NZKD.js +0 -7
- package/dist/lt-LT-BUuouq_-.js +0 -7
- package/dist/lt-LT-CZ2yA_Km.js +0 -7
- package/dist/lv-LV-AGwJD157.js +0 -7
- package/dist/lv-LV-BCXqSzkk.js +0 -7
- package/dist/nl-NL-DNXcBpml.js +0 -7
- package/dist/no-NO-DdI2BI_e.js +0 -7
- package/dist/no-NO-vY4nfY9g.js +0 -7
- package/dist/pl-PL-BCkw9R28.js +0 -7
- package/dist/pl-PL-KmUtZ6lq.js +0 -7
- package/dist/pt-BR-tQCWRhmf.js +0 -7
- package/dist/pt-BR-vwt2tE7H.js +0 -7
- package/dist/pt-PT-DhF8wwYH.js +0 -7
- package/dist/pt-PT-ZNVCYAr4.js +0 -7
- package/dist/ro-RO-DChAv29z.js +0 -7
- package/dist/ro-RO-DDdUFz6E.js +0 -7
- package/dist/sk-SK-CISCMQ2G.js +0 -7
- package/dist/sk-SK-DdDdEYiT.js +0 -7
- package/dist/sl-SI-vefne3eU.js +0 -7
- package/dist/sv-SE-C9SgeFv6.js +0 -7
- package/dist/sv-SE-DIDlUvzM.js +0 -7
|
@@ -1,47 +1,135 @@
|
|
|
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] = "03373273-602e-4c33-a2c9-375f784c2b84", e._sentryDebugIdIdentifier = "sentry-dbid-03373273-602e-4c33-a2c9-375f784c2b84");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { N as Header, k as datasetUtilities } from "./registerEmbed-
|
|
6
|
+
import { N as Header, ct as isEmpty, k as datasetUtilities } from "./registerEmbed-DVWMLWOP.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
10
|
-
import {
|
|
9
|
+
import { t as Button } from "./Button-txp4M9iF.js";
|
|
10
|
+
import { c as useApiContext, n as httpGet } from "./http-_-3flr1A.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
13
13
|
import { y as reverseMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
14
14
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
15
15
|
import { t as isEeaCountry } from "./country-WYlusjTL.js";
|
|
16
|
-
import { i as useToggleContext, t as Checkbox } from "./Checkbox-
|
|
17
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
18
|
-
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-
|
|
19
|
-
import { n as useAssociatedLegalEntity, t as getFormSlice } from "./getFormSlice-
|
|
20
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
21
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { a as translateTranslatable, o as Field, t as Select } from "./Select-
|
|
23
|
-
import { o as StructuredList, r as formatObject } from "./utils-
|
|
24
|
-
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, f as addressFields, h as useUpdateLegalEntity } from "./StateField-
|
|
25
|
-
import { H as FormContextProvider, I as useMultiForm, V as summaryStep, c as CountryField, g as createFormUtils, n as getRequiredForms, p as isValidationError, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
16
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-DQlzIU1U.js";
|
|
17
|
+
import { a as useAnalyticsContext } from "./useId-CP1mf2Fo.js";
|
|
18
|
+
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-D1UVNl2M.js";
|
|
19
|
+
import { n as useAssociatedLegalEntity, t as getFormSlice } from "./getFormSlice-Dx2OhuVB.js";
|
|
20
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DMACxSxy.js";
|
|
21
|
+
import { t as EndStateLayout } from "./EndStateLayout-Dl-CLJWp.js";
|
|
22
|
+
import { a as translateTranslatable, o as Field, t as Select } from "./Select-laBx55wy.js";
|
|
23
|
+
import { o as StructuredList, r as formatObject } from "./utils-CleuXCmi.js";
|
|
24
|
+
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, f as addressFields, h as useUpdateLegalEntity } from "./StateField-BX6mIcuf.js";
|
|
25
|
+
import { H as FormContextProvider, I as useMultiForm, V as summaryStep, c as CountryField, g as createFormUtils, n as getRequiredForms, p as isValidationError, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-LumgckrG.js";
|
|
26
|
+
import { n as handleCompanyDatasetRetrieve, r as companySearchQueryOptions } from "./handleCompanyDataset-pjR1fmx0.js";
|
|
27
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-Cf7brdhn.js";
|
|
28
|
+
import { t as Address } from "./Address-e4MFnJ-R.js";
|
|
29
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C1uWuQtU.js";
|
|
30
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CaYPBAQY.js";
|
|
31
|
+
import { t as ErrorPanel } from "./ErrorPanel-Bw32h8Vf.js";
|
|
32
32
|
import { i as getPrefixedFieldProps, n as getFieldProps } from "./getProps-DVqK7eRw.js";
|
|
33
|
-
import { t as Link } from "./Link-
|
|
34
|
-
import { t as
|
|
33
|
+
import { t as Link } from "./Link-DgkANG70.js";
|
|
34
|
+
import { t as InputDate } from "./InputDate-CuNmP6eK.js";
|
|
35
|
+
import { t as formatValidationError } from "./formatValidationError-CLHe-JJ2.js";
|
|
35
36
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
36
|
-
import { t as Summary } from "./Summary-
|
|
37
|
-
import { t as SummarySection } from "./SummarySection-
|
|
38
|
-
import { t as currencyByCountry } from "./types-
|
|
39
|
-
import { i as nestAddressSchema, r as getPrefixedAddressFieldNames } from "./utils-
|
|
40
|
-
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-
|
|
41
|
-
import { t as businessFinancingMultiformRules } from "./validate-
|
|
37
|
+
import { t as Summary } from "./Summary-Cs-d58D6.js";
|
|
38
|
+
import { t as SummarySection } from "./SummarySection-k9-aLol0.js";
|
|
39
|
+
import { t as currencyByCountry } from "./types-C6doVa8_.js";
|
|
40
|
+
import { i as nestAddressSchema, r as getPrefixedAddressFieldNames } from "./utils-BsNY1HFY.js";
|
|
41
|
+
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-bZgySTgj.js";
|
|
42
|
+
import { t as businessFinancingMultiformRules } from "./validate-CJYTEYCx.js";
|
|
42
43
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
43
44
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
44
|
-
import { useQuery } from "@tanstack/preact-query";
|
|
45
|
+
import { useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
46
|
+
//#region src/api/companySearch/companySearch.utils.ts
|
|
47
|
+
/**
|
|
48
|
+
* Normalizes a registration number so values from the legal entity and from a search
|
|
49
|
+
* provider can be compared robustly: case-insensitive, ignoring whitespace differences
|
|
50
|
+
* (`12345678`, ` 12345678 ` and `1234 5678` all normalize the same way).
|
|
51
|
+
*/
|
|
52
|
+
var normalizeRegistrationNumber = (registrationNumber) => registrationNumber.trim().toUpperCase().replace(/\s+/g, "");
|
|
53
|
+
/**
|
|
54
|
+
* Whether two registration numbers refer to the same registration, tolerating case and
|
|
55
|
+
* whitespace differences. Two absent values never match.
|
|
56
|
+
*/
|
|
57
|
+
var isMatchingRegistrationNumber = (registrationNumber, otherRegistrationNumber) => Boolean(registrationNumber && otherRegistrationNumber && normalizeRegistrationNumber(registrationNumber) === normalizeRegistrationNumber(otherRegistrationNumber));
|
|
58
|
+
/**
|
|
59
|
+
* Finds the search result that refers to the same company as the legal entity, matching on
|
|
60
|
+
* registration number. Returns `undefined` when no result matches and when more than one
|
|
61
|
+
* does: applying provider data requires a single, unambiguous match.
|
|
62
|
+
*/
|
|
63
|
+
var findMatchingCompanySearchResult = (results, registrationNumber) => {
|
|
64
|
+
if (!registrationNumber || !results?.length) return void 0;
|
|
65
|
+
const matches = results.filter((result) => isMatchingRegistrationNumber(result.registrationNumber, registrationNumber));
|
|
66
|
+
return matches.length === 1 ? matches[0] : void 0;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/api/companyDataSet/useChargeCardFinancialPrefill.ts
|
|
70
|
+
/**
|
|
71
|
+
* Bounds how long the Business Financing task waits on the prefill lookup before falling
|
|
72
|
+
* back to the regular, empty form. The requests themselves are not aborted: a result that
|
|
73
|
+
* lands after the deadline is ignored instead of overwriting the form.
|
|
74
|
+
*/
|
|
75
|
+
var CHARGE_CARD_PREFILL_DEADLINE_MS = 1e4;
|
|
76
|
+
/**
|
|
77
|
+
* LXP-8329: resolves the provider financials used to prefill the empty charge card fields
|
|
78
|
+
* (annual revenue, total debt, cash position) in the Business Financing task.
|
|
79
|
+
*
|
|
80
|
+
* The lookup runs a regular company search, requires a single result whose registration
|
|
81
|
+
* number matches the legal entity's, then retrieves that result's dataset through the
|
|
82
|
+
* read-only `companyDataset/retrieve` endpoint. Any step failing to produce an unambiguous
|
|
83
|
+
* match resolves to `undefined`, and the caller falls back to the empty form.
|
|
84
|
+
*
|
|
85
|
+
* Pass `undefined` as `data` to keep the lookup disabled.
|
|
86
|
+
*/
|
|
87
|
+
var useChargeCardFinancialPrefill = (data, options) => {
|
|
88
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
89
|
+
const userEvents = useAnalyticsContext();
|
|
90
|
+
const queryClient = useQueryClient();
|
|
91
|
+
const query = useQuery({
|
|
92
|
+
enabled: Boolean(data),
|
|
93
|
+
queryKey: ["chargeCardFinancialPrefill", data],
|
|
94
|
+
queryFn: async () => {
|
|
95
|
+
if (!data) return void 0;
|
|
96
|
+
const matchedResult = findMatchingCompanySearchResult((await queryClient.query({
|
|
97
|
+
...companySearchQueryOptions(rootLegalEntityId.value, baseUrl.value, data, userEvents),
|
|
98
|
+
staleTime: "static"
|
|
99
|
+
})).results, data.registrationNumber);
|
|
100
|
+
if (!matchedResult) return void 0;
|
|
101
|
+
const companyDataset = await handleCompanyDatasetRetrieve(rootLegalEntityId.value, baseUrl.value, matchedResult.resultId);
|
|
102
|
+
if (companyDataset.registrationNumber && !isMatchingRegistrationNumber(companyDataset.registrationNumber, data.registrationNumber)) return;
|
|
103
|
+
return companyDataset.financialInformation;
|
|
104
|
+
},
|
|
105
|
+
retry: 0,
|
|
106
|
+
staleTime: Infinity,
|
|
107
|
+
refetchOnWindowFocus: false,
|
|
108
|
+
...options
|
|
109
|
+
});
|
|
110
|
+
/**
|
|
111
|
+
* The deadline state is keyed by the content of the request it was measured against, so a
|
|
112
|
+
* different request derives a fresh deadline without a reset effect, while the caller
|
|
113
|
+
* re-creating an equal request object neither restarts the wait nor reopens the loader.
|
|
114
|
+
*/
|
|
115
|
+
const requestKey = data ? JSON.stringify([
|
|
116
|
+
data.name,
|
|
117
|
+
data.country,
|
|
118
|
+
data.registrationNumber
|
|
119
|
+
]) : void 0;
|
|
120
|
+
const [exceededRequestKey, setExceededRequestKey] = useState();
|
|
121
|
+
const deadlineExceeded = requestKey !== void 0 && exceededRequestKey === requestKey;
|
|
122
|
+
useEffect(() => {
|
|
123
|
+
if (!requestKey || !query.isPending) return;
|
|
124
|
+
const timeout = setTimeout(() => setExceededRequestKey(requestKey), CHARGE_CARD_PREFILL_DEADLINE_MS);
|
|
125
|
+
return () => clearTimeout(timeout);
|
|
126
|
+
}, [requestKey, query.isPending]);
|
|
127
|
+
return {
|
|
128
|
+
financialInformation: !data || deadlineExceeded ? void 0 : query.data,
|
|
129
|
+
isPending: Boolean(data) && !deadlineExceeded && query.isPending
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
//#endregion
|
|
45
133
|
//#region src/components/EFP/mapping/businessFinancingKeyMappings.ts
|
|
46
134
|
var businessFinancingBaseMapping = {
|
|
47
135
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
@@ -220,6 +308,68 @@ var financialReportsToString = (financialReports) => {
|
|
|
220
308
|
};
|
|
221
309
|
};
|
|
222
310
|
/**
|
|
311
|
+
* Whether the charge card financials (annual revenue, total debt, cash position) apply.
|
|
312
|
+
* Keyed on `issueChargeCardCommercial`: the `*Commercial` variant is the capability that is
|
|
313
|
+
* configured and evaluated internally, while a requested `issueChargeCard` is dropped and never
|
|
314
|
+
* reaches the legal entity. Render, required fields and prefill must all go through this check.
|
|
315
|
+
*/
|
|
316
|
+
var hasChargeCardCapability = (capabilities) => Boolean(capabilities?.issueChargeCardCommercial?.requested);
|
|
317
|
+
/**
|
|
318
|
+
* Converts a form amount to a number, keeping `0`. Only missing, empty or whitespace-only
|
|
319
|
+
* values (per `isEmpty`) become `undefined`.
|
|
320
|
+
*/
|
|
321
|
+
var toNumberOrUndefined = (value) => isEmpty(value) ? void 0 : Number(value);
|
|
322
|
+
/**
|
|
323
|
+
* LXP-8329: the charge card financial fields that can be prefilled from the company
|
|
324
|
+
* dataset. Single source of truth so the prefill gate and the merge stay in sync.
|
|
325
|
+
*/
|
|
326
|
+
var CHARGE_CARD_FINANCIAL_FIELDS = [
|
|
327
|
+
"yearlyRevenue",
|
|
328
|
+
"totalDebt",
|
|
329
|
+
"cashPosition"
|
|
330
|
+
];
|
|
331
|
+
/**
|
|
332
|
+
* LXP-8329: whether at least one charge card financial field has no value from the legal
|
|
333
|
+
* entity, i.e. whether a dataset lookup could still contribute anything.
|
|
334
|
+
*/
|
|
335
|
+
var hasEmptyChargeCardFinancialFields = (company) => CHARGE_CARD_FINANCIAL_FIELDS.some((field) => isEmpty(company?.[field]));
|
|
336
|
+
/**
|
|
337
|
+
* LXP-8329: the search request the Business Financing task runs on load to prefill the
|
|
338
|
+
* empty charge card financial fields, or `undefined` to keep the lookup disabled. Every
|
|
339
|
+
* condition must hold:
|
|
340
|
+
*
|
|
341
|
+
* - the legal entity is an organization known well enough to search unambiguously
|
|
342
|
+
* (legal name and registration number),
|
|
343
|
+
* - the company is in the EEA, where the charge card financials are collected,
|
|
344
|
+
* - the root legal entity requests the charge card capability,
|
|
345
|
+
* - and at least one of the three fields still has no legal-entity value to fill.
|
|
346
|
+
*/
|
|
347
|
+
var getChargeCardPrefillRequest = (rootLegalEntity, country, company) => {
|
|
348
|
+
const organization = rootLegalEntity.organization;
|
|
349
|
+
if (rootLegalEntity.type !== "organization" || !organization?.legalName || !organization.registrationNumber || !isEeaCountry(country) || !hasChargeCardCapability(rootLegalEntity.capabilities) || !hasEmptyChargeCardFinancialFields(company)) return;
|
|
350
|
+
return {
|
|
351
|
+
name: organization.legalName,
|
|
352
|
+
country,
|
|
353
|
+
registrationNumber: organization.registrationNumber
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* LXP-8329: prefills the charge card financial fields (annual revenue, total debt, cash
|
|
358
|
+
* position) of the company form from provider data. Only fields without an existing value
|
|
359
|
+
* are filled, so legal entity data always wins. Amounts become plain numeric strings;
|
|
360
|
+
* `InputCurrency` formats them for display.
|
|
361
|
+
*/
|
|
362
|
+
var applyChargeCardPrefill = (company, financialInformation) => {
|
|
363
|
+
if (!financialInformation) return company;
|
|
364
|
+
return CHARGE_CARD_FINANCIAL_FIELDS.reduce((prefilled, field) => {
|
|
365
|
+
const datasetValue = financialInformation[field];
|
|
366
|
+
return !isEmpty(datasetValue) && isEmpty(prefilled[field]) ? {
|
|
367
|
+
...prefilled,
|
|
368
|
+
[field]: String(datasetValue)
|
|
369
|
+
} : prefilled;
|
|
370
|
+
}, { ...company });
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
223
373
|
* Prepares sole proprietor business financing data for submission.
|
|
224
374
|
* IMPORTANT: Both root LE (individual) and sole prop LE MUST exist before calling this.
|
|
225
375
|
* This function always returns UPDATE payloads (with IDs), never CREATE payloads.
|
|
@@ -268,12 +418,12 @@ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLega
|
|
|
268
418
|
const finReports = {
|
|
269
419
|
currency: companyData.currency,
|
|
270
420
|
financialReportingDate: companyData.financialReportingDate,
|
|
271
|
-
numberOfEmployees:
|
|
272
|
-
balanceSheetTotal:
|
|
273
|
-
annualTurnover:
|
|
274
|
-
yearlyRevenue:
|
|
275
|
-
totalDebt:
|
|
276
|
-
cashPosition:
|
|
421
|
+
numberOfEmployees: toNumberOrUndefined(companyData.numberOfEmployees),
|
|
422
|
+
balanceSheetTotal: toNumberOrUndefined(companyData.balanceSheetTotal),
|
|
423
|
+
annualTurnover: toNumberOrUndefined(companyData.annualTurnover),
|
|
424
|
+
yearlyRevenue: toNumberOrUndefined(companyData.yearlyRevenue),
|
|
425
|
+
totalDebt: toNumberOrUndefined(companyData.totalDebt),
|
|
426
|
+
cashPosition: toNumberOrUndefined(companyData.cashPosition)
|
|
277
427
|
};
|
|
278
428
|
const { balanceSheetTotal: bst, ...restFinancialReport } = mapFinancialInformationToFinancialReport(finReports);
|
|
279
429
|
const businessFinancingFinancialReport = {
|
|
@@ -348,7 +498,7 @@ var handleBusinessFinancingFormSubmission = async (businessFinancingType, detail
|
|
|
348
498
|
var getCompanySchemaKeys = (country, currentData, schemaKeys, isFeatureEnabled, capabilities) => {
|
|
349
499
|
const fieldsToRemove = [];
|
|
350
500
|
if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
351
|
-
if (!capabilities
|
|
501
|
+
if (!isEeaCountry(country) || !hasChargeCardCapability(capabilities)) fieldsToRemove.push("yearlyRevenue", "totalDebt", "cashPosition");
|
|
352
502
|
if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
|
|
353
503
|
if (isFeatureEnabled?.("EnableAMLRFeaturesV5")) {
|
|
354
504
|
fieldsToRemove.push("doesYourCompanyHaveLEI", "exemptedFromLegalEntityIdentifier");
|
|
@@ -470,7 +620,7 @@ var getValidUserLocale = (locale) => {
|
|
|
470
620
|
}
|
|
471
621
|
};
|
|
472
622
|
var getFormattedAmount = (value, currency) => {
|
|
473
|
-
if (
|
|
623
|
+
if (isEmpty(value)) return void 0;
|
|
474
624
|
const userLocale = getValidUserLocale(USER_LOCALE);
|
|
475
625
|
return `${currency} ${Number(value).toLocaleString(userLocale)}`;
|
|
476
626
|
};
|
|
@@ -493,6 +643,9 @@ var formatDataForSummary = (language, commonT, t, datasetUtils, data, rootLeAddr
|
|
|
493
643
|
company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
|
|
494
644
|
company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
|
|
495
645
|
company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
|
|
646
|
+
company.yearlyRevenue = getFormattedAmount(company.yearlyRevenue, company.currency);
|
|
647
|
+
company.totalDebt = getFormattedAmount(company.totalDebt, company.currency);
|
|
648
|
+
company.cashPosition = getFormattedAmount(company.cashPosition, company.currency);
|
|
496
649
|
const { legalProceedingsDate, financialReportingDate } = company;
|
|
497
650
|
company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
498
651
|
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
@@ -794,7 +947,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
794
947
|
const [firstCurrency] = currenciesForCurrCountry;
|
|
795
948
|
const defaultCurrency = firstCurrency ?? "EUR";
|
|
796
949
|
if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) handleFieldChange("currency")(firstCurrency);
|
|
797
|
-
const hasIssueChargeCardRequested =
|
|
950
|
+
const hasIssueChargeCardRequested = hasChargeCardCapability(legalEntityCapabilities);
|
|
798
951
|
return /* @__PURE__ */ jsxs("section", { children: [
|
|
799
952
|
/* @__PURE__ */ jsx(Typography, {
|
|
800
953
|
el: "h3",
|
|
@@ -806,6 +959,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
806
959
|
name: "numberOfEmployees",
|
|
807
960
|
label: businessFinancingT(($) => $["numberOfEmployees"]),
|
|
808
961
|
helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
|
|
962
|
+
helperPosition: "below",
|
|
809
963
|
errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
|
|
810
964
|
isValid: valid?.numberOfEmployees,
|
|
811
965
|
children: (childProps) => /* @__PURE__ */ jsx(InputNumber, {
|
|
@@ -836,6 +990,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
836
990
|
name: "yearlyRevenue",
|
|
837
991
|
label: businessFinancingT(($) => $["annualRevenue"]),
|
|
838
992
|
helper: businessFinancingT(($) => $["theAnnualRevenue"]),
|
|
993
|
+
helperPosition: "below",
|
|
839
994
|
errorMessage: formUtils.getErrorMessage("yearlyRevenue", errors, fieldValidationErrors),
|
|
840
995
|
isValid: valid?.yearlyRevenue,
|
|
841
996
|
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
@@ -845,7 +1000,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
845
1000
|
"aria-invalid": !valid?.yearlyRevenue,
|
|
846
1001
|
locale: i18next.language,
|
|
847
1002
|
currency: data?.currency ?? defaultCurrency,
|
|
848
|
-
amount:
|
|
1003
|
+
amount: toNumberOrUndefined(data?.yearlyRevenue),
|
|
849
1004
|
onAmountChanged: handleFieldChange("yearlyRevenue")
|
|
850
1005
|
})
|
|
851
1006
|
}),
|
|
@@ -853,6 +1008,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
853
1008
|
name: "annualTurnover",
|
|
854
1009
|
label: businessFinancingT(($) => $["annualTurnover"]),
|
|
855
1010
|
helper: businessFinancingT(($) => $["theAnnualTurnover"]),
|
|
1011
|
+
helperPosition: "below",
|
|
856
1012
|
errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
|
|
857
1013
|
isValid: valid?.annualTurnover,
|
|
858
1014
|
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
@@ -862,7 +1018,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
862
1018
|
"aria-invalid": !valid?.annualTurnover,
|
|
863
1019
|
locale: i18next.language,
|
|
864
1020
|
currency: data?.currency ?? defaultCurrency,
|
|
865
|
-
amount:
|
|
1021
|
+
amount: toNumberOrUndefined(data?.annualTurnover),
|
|
866
1022
|
onAmountChanged: handleFieldChange("annualTurnover")
|
|
867
1023
|
})
|
|
868
1024
|
}),
|
|
@@ -870,6 +1026,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
870
1026
|
name: "totalDebt",
|
|
871
1027
|
label: businessFinancingT(($) => $["totalDebt"]),
|
|
872
1028
|
helper: businessFinancingT(($) => $["totalAmountYourBusinessCurrentlyOwes"]),
|
|
1029
|
+
helperPosition: "below",
|
|
873
1030
|
errorMessage: formUtils.getErrorMessage("totalDebt", errors, fieldValidationErrors),
|
|
874
1031
|
isValid: valid?.totalDebt,
|
|
875
1032
|
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
@@ -879,13 +1036,14 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
879
1036
|
"aria-invalid": !valid?.totalDebt,
|
|
880
1037
|
locale: i18next.language,
|
|
881
1038
|
currency: data?.currency ?? defaultCurrency,
|
|
882
|
-
amount:
|
|
1039
|
+
amount: toNumberOrUndefined(data?.totalDebt),
|
|
883
1040
|
onAmountChanged: handleFieldChange("totalDebt")
|
|
884
1041
|
})
|
|
885
1042
|
}), /* @__PURE__ */ jsx(Field, {
|
|
886
1043
|
name: "cashPosition",
|
|
887
1044
|
label: businessFinancingT(($) => $["cashPosition"]),
|
|
888
1045
|
helper: businessFinancingT(($) => $["totalLiquidCashAvailable"]),
|
|
1046
|
+
helperPosition: "below",
|
|
889
1047
|
errorMessage: formUtils.getErrorMessage("cashPosition", errors, fieldValidationErrors),
|
|
890
1048
|
isValid: valid?.cashPosition,
|
|
891
1049
|
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
@@ -895,7 +1053,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
895
1053
|
"aria-invalid": !valid?.cashPosition,
|
|
896
1054
|
locale: i18next.language,
|
|
897
1055
|
currency: data?.currency ?? defaultCurrency,
|
|
898
|
-
amount:
|
|
1056
|
+
amount: toNumberOrUndefined(data?.cashPosition),
|
|
899
1057
|
onAmountChanged: handleFieldChange("cashPosition")
|
|
900
1058
|
})
|
|
901
1059
|
})] }),
|
|
@@ -903,6 +1061,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
903
1061
|
name: "balanceSheetTotal",
|
|
904
1062
|
label: businessFinancingT(($) => $["balanceSheetTotal"]),
|
|
905
1063
|
helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
|
|
1064
|
+
helperPosition: "below",
|
|
906
1065
|
errorMessage: formUtils.getErrorMessage("balanceSheetTotal", errors, fieldValidationErrors),
|
|
907
1066
|
isValid: valid?.balanceSheetTotal,
|
|
908
1067
|
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
@@ -911,7 +1070,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
911
1070
|
"aria-invalid": !valid?.balanceSheetTotal,
|
|
912
1071
|
locale: i18next.language,
|
|
913
1072
|
currency: data?.currency ?? defaultCurrency,
|
|
914
|
-
amount:
|
|
1073
|
+
amount: toNumberOrUndefined(data?.balanceSheetTotal),
|
|
915
1074
|
onAmountChanged: handleFieldChange("balanceSheetTotal")
|
|
916
1075
|
})
|
|
917
1076
|
}),
|
|
@@ -919,6 +1078,7 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
919
1078
|
name: "financialReportingDate",
|
|
920
1079
|
label: businessFinancingT(($) => $["statementReportingDate"]),
|
|
921
1080
|
helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
|
|
1081
|
+
helperPosition: "below",
|
|
922
1082
|
errorMessage: formUtils.getErrorMessage("financialReportingDate", errors, fieldValidationErrors),
|
|
923
1083
|
isValid: valid?.financialReportingDate,
|
|
924
1084
|
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
@@ -1109,7 +1269,7 @@ function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
|
1109
1269
|
handleFieldChange: handleChange,
|
|
1110
1270
|
country,
|
|
1111
1271
|
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
1112
|
-
sectionHeading: "
|
|
1272
|
+
sectionHeading: "yourBusinessInformation",
|
|
1113
1273
|
data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
|
|
1114
1274
|
}),
|
|
1115
1275
|
isEeaCountry(country) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
@@ -1532,8 +1692,12 @@ var omittedSummaryKeys = [
|
|
|
1532
1692
|
var customLabels = {
|
|
1533
1693
|
legalForm: "businessStructure",
|
|
1534
1694
|
naceCode: "industryAndNaceCode",
|
|
1535
|
-
balanceSheetTotal: "
|
|
1695
|
+
balanceSheetTotal: "balanceSheetTotal",
|
|
1696
|
+
financialReportingDate: "statementReportingDate",
|
|
1536
1697
|
annualTurnover: "annualTurnover",
|
|
1698
|
+
yearlyRevenue: "annualRevenue",
|
|
1699
|
+
totalDebt: "totalDebt",
|
|
1700
|
+
cashPosition: "cashPosition",
|
|
1537
1701
|
legalInformationInsolvency: "legalProceedings",
|
|
1538
1702
|
isCompanyOwnedByAnotherCompany: "hasParentCompany",
|
|
1539
1703
|
isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
|
|
@@ -1619,7 +1783,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1619
1783
|
* Analytics
|
|
1620
1784
|
*/
|
|
1621
1785
|
useTaskLandedEvent("BUSINESS_FINANCING");
|
|
1622
|
-
const
|
|
1786
|
+
const baseDerivedData = useMemo(() => {
|
|
1623
1787
|
if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading) return void 0;
|
|
1624
1788
|
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1625
1789
|
const dataFromResponse = {};
|
|
@@ -1653,6 +1817,29 @@ function BusinessFinancingDropin(props) {
|
|
|
1653
1817
|
soleProprietor,
|
|
1654
1818
|
isFeatureEnabled
|
|
1655
1819
|
]);
|
|
1820
|
+
const { financialInformation: chargeCardFinancialInformation, isPending: chargeCardPrefillIsPending } = useChargeCardFinancialPrefill(useMemo(() => getChargeCardPrefillRequest(rootLegalEntity, country, baseDerivedData?.company), [
|
|
1821
|
+
rootLegalEntity,
|
|
1822
|
+
country,
|
|
1823
|
+
baseDerivedData
|
|
1824
|
+
]));
|
|
1825
|
+
/**
|
|
1826
|
+
* The multiform initializes once, so the prefilled charge card values have to be part of
|
|
1827
|
+
* its `defaultData` from the start: while the prefill lookup is pending, `derivedData`
|
|
1828
|
+
* stays undefined so the multiform and the loading gate below hold off, and the lookup
|
|
1829
|
+
* result is merged in before the form first renders.
|
|
1830
|
+
*/
|
|
1831
|
+
const derivedData = useMemo(() => {
|
|
1832
|
+
if (chargeCardPrefillIsPending) return void 0;
|
|
1833
|
+
if (!baseDerivedData?.company) return baseDerivedData;
|
|
1834
|
+
return {
|
|
1835
|
+
...baseDerivedData,
|
|
1836
|
+
company: applyChargeCardPrefill(baseDerivedData.company, chargeCardFinancialInformation)
|
|
1837
|
+
};
|
|
1838
|
+
}, [
|
|
1839
|
+
baseDerivedData,
|
|
1840
|
+
chargeCardPrefillIsPending,
|
|
1841
|
+
chargeCardFinancialInformation
|
|
1842
|
+
]);
|
|
1656
1843
|
const datasetUtils = datasetUtilities(i18n.language);
|
|
1657
1844
|
const [problems, setProblems] = useState();
|
|
1658
1845
|
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
@@ -1850,7 +2037,8 @@ function BusinessFinancingDropin(props) {
|
|
|
1850
2037
|
}, [
|
|
1851
2038
|
umfData,
|
|
1852
2039
|
rootLegalEntity?.organization?.registeredAddress,
|
|
1853
|
-
isFeatureEnabled
|
|
2040
|
+
isFeatureEnabled,
|
|
2041
|
+
rootLegalEntity?.capabilities
|
|
1854
2042
|
]);
|
|
1855
2043
|
const forms = useMemo(() => {
|
|
1856
2044
|
const requiredForms = getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {});
|
|
@@ -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] = "ca1934a5-1d59-43bd-97f3-6c05043d444e", e._sentryDebugIdIdentifier = "sentry-dbid-ca1934a5-1d59-43bd-97f3-6c05043d444e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-DVWMLWOP.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DodR6y_U.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-BDqN-H99.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -17,63 +17,63 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
17
17
|
addResourceBundles(i18n, [{
|
|
18
18
|
ns: "businessFinancing",
|
|
19
19
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
20
|
-
"../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-
|
|
21
|
-
"../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-
|
|
22
|
-
"../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-
|
|
23
|
-
"../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-
|
|
24
|
-
"../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-
|
|
25
|
-
"../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-
|
|
26
|
-
"../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-
|
|
27
|
-
"../tasks/BusinessFinancingDropin/language/es-LA.json": () => import("./es-LA-
|
|
28
|
-
"../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-
|
|
29
|
-
"../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-
|
|
30
|
-
"../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-
|
|
31
|
-
"../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-
|
|
32
|
-
"../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-
|
|
33
|
-
"../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-
|
|
34
|
-
"../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-
|
|
35
|
-
"../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-
|
|
36
|
-
"../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-
|
|
37
|
-
"../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-
|
|
38
|
-
"../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-
|
|
39
|
-
"../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-
|
|
40
|
-
"../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-
|
|
41
|
-
"../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-
|
|
42
|
-
"../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-
|
|
43
|
-
"../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-
|
|
44
|
-
"../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-
|
|
45
|
-
"../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-
|
|
20
|
+
"../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-040TEY4K.js"),
|
|
21
|
+
"../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-CWmY23XD.js"),
|
|
22
|
+
"../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-Cq6hMu-L.js"),
|
|
23
|
+
"../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-DR3uy5H-.js"),
|
|
24
|
+
"../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-CPgN54tq.js"),
|
|
25
|
+
"../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-Ce-dNhvQ.js"),
|
|
26
|
+
"../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-DDNhFpwn.js"),
|
|
27
|
+
"../tasks/BusinessFinancingDropin/language/es-LA.json": () => import("./es-LA-B6xI42Zo.js"),
|
|
28
|
+
"../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-Df__pxM7.js"),
|
|
29
|
+
"../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-Czaswk4S.js"),
|
|
30
|
+
"../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-Tm6T5lMr.js"),
|
|
31
|
+
"../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-TX0RqKrp.js"),
|
|
32
|
+
"../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-BQFX02Pi.js"),
|
|
33
|
+
"../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-BFARu9n9.js"),
|
|
34
|
+
"../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-D-SfPIkP.js"),
|
|
35
|
+
"../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-DXE9-bn8.js"),
|
|
36
|
+
"../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-x2Wf3jfw.js"),
|
|
37
|
+
"../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-DBCTWtK7.js"),
|
|
38
|
+
"../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-DcmgYZMp.js"),
|
|
39
|
+
"../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-CGblV6Wx.js"),
|
|
40
|
+
"../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DG76OYoV.js"),
|
|
41
|
+
"../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-CZze4E5O.js"),
|
|
42
|
+
"../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-BpbUda2K.js"),
|
|
43
|
+
"../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-Fxah4XDj.js"),
|
|
44
|
+
"../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-IFjaV161.js"),
|
|
45
|
+
"../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-DJJf0nN2.js")
|
|
46
46
|
}), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
|
|
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-84aWCxOy.js"),
|
|
51
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-D_hHQB1X.js"),
|
|
52
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-DN8h9v5n.js"),
|
|
53
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CqfSdaEe.js"),
|
|
54
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-BuRHfEwK.js"),
|
|
55
55
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-myDXMUbk.js"),
|
|
56
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
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-
|
|
56
|
+
"../../../language/locales/en-US.json": () => import("./en-US-DLnb13Qc.js"),
|
|
57
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-tOOSbx6q.js"),
|
|
58
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-C1VkEfEG.js"),
|
|
59
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-DjyuJXBp.js"),
|
|
60
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-B5qdchsS.js"),
|
|
61
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-R4y_qzje.js"),
|
|
62
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-CvnZGHtl.js"),
|
|
63
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-COk6upGz.js"),
|
|
64
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-BE1RP_uW.js"),
|
|
65
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-C-XnWnJh.js"),
|
|
66
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CT63UB8W.js"),
|
|
67
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-LSLY6w92.js"),
|
|
68
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-Djl96_cJ.js"),
|
|
69
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-DXzjLMiR.js"),
|
|
70
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-Ba_SQaEK.js"),
|
|
71
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-CIZDogmJ.js"),
|
|
72
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CzlzI2Gl.js"),
|
|
73
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-CW8U1cAK.js"),
|
|
74
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DPSrWqt8.js"),
|
|
75
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-C6-9uM8n.js"),
|
|
76
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-CwAsCkY3.js")
|
|
77
77
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
78
78
|
}]);
|
|
79
79
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2c52bcba-8e4c-4a19-852c-806e89bbcbc1", e._sentryDebugIdIdentifier = "sentry-dbid-2c52bcba-8e4c-4a19-852c-806e89bbcbc1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Checkbox } from "./Checkbox-
|
|
7
|
-
import { a as resolveFieldMetadata } from "./unincorporatedPartnership
|
|
8
|
-
import { a as translateTranslatable, o as Field } from "./Select-
|
|
9
|
-
import { r as MaskedInput } from "./dropinUtils-
|
|
10
|
-
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-
|
|
6
|
+
import { t as Checkbox } from "./Checkbox-DQlzIU1U.js";
|
|
7
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership--KoTIj1H.js";
|
|
8
|
+
import { a as translateTranslatable, o as Field } from "./Select-laBx55wy.js";
|
|
9
|
+
import { r as MaskedInput } from "./dropinUtils-LumgckrG.js";
|
|
10
|
+
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-CSWqbtcx.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.tsx
|
|
13
13
|
var BUSINESS_REGISTRATION_NUMBER_FIELD = [
|