@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,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] = "a82d4647-e9f9-4434-b6c7-c0b607d2bf29", e._sentryDebugIdIdentifier = "sentry-dbid-a82d4647-e9f9-4434-b6c7-c0b607d2bf29");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Icon } from "./Icon-4XR6gZzk.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-DpPFIUJx.js";
|
|
10
10
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
12
12
|
import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
|
|
@@ -18,60 +18,60 @@ import { n as FeatureNames, t as ExperimentNames } from "./types-CZAHRt31.js";
|
|
|
18
18
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
19
19
|
import { t as Header } from "./Header-DVLlJ6we.js";
|
|
20
20
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
21
|
-
import { t as useDataset } from "./useDataset-
|
|
21
|
+
import { t as useDataset } from "./useDataset-BMitsLFp.js";
|
|
22
22
|
import { n as datasetUtilities, t as datasetIdentifier } from "./datasetUtil-BdHPWsxZ.js";
|
|
23
|
-
import { t as Alert } from "./Alert-
|
|
23
|
+
import { t as Alert } from "./Alert-Bv9M3wLb.js";
|
|
24
24
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
25
25
|
import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-CY0grcyH.js";
|
|
26
26
|
import { t as EEA_Countries } from "./countries-BGMTpyJv.js";
|
|
27
27
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
28
|
-
import { t as SettingNames } from "./types-
|
|
28
|
+
import { t as SettingNames } from "./types-B28r2lAW.js";
|
|
29
29
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
30
30
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
31
31
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
32
32
|
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B97dCa-s.js";
|
|
33
33
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
34
|
-
import { t as Modal } from "./Modal-
|
|
35
|
-
import { t as Confirm } from "./Confirm-
|
|
36
|
-
import { a as useFormComposer, i as FormFlow, n as getRequiredForms, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
37
|
-
import { i as getPropsFromConfigurations, n as augmentWithCountryConfigs, t as createFormRules } from "./form-rules-
|
|
34
|
+
import { t as Modal } from "./Modal-DeXa4MBg.js";
|
|
35
|
+
import { t as Confirm } from "./Confirm-D8WH4e1L.js";
|
|
36
|
+
import { a as useFormComposer, i as FormFlow, n as getRequiredForms, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-DaA6mmQp.js";
|
|
37
|
+
import { i as getPropsFromConfigurations, n as augmentWithCountryConfigs, t as createFormRules } from "./form-rules-DhuNdiqF.js";
|
|
38
38
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
39
39
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
40
|
-
import { t as StructuredList } from "./StructuredList-
|
|
40
|
+
import { t as StructuredList } from "./StructuredList-BHUmeWeh.js";
|
|
41
41
|
import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
42
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
43
|
-
import { i as trackNavigation, n as summaryStep } from "./Summary-
|
|
44
|
-
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-
|
|
42
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-D1ygAX21.js";
|
|
43
|
+
import { i as trackNavigation, n as summaryStep } from "./Summary-BxGf1dI5.js";
|
|
44
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
45
45
|
import { r as summaryItem, t as isSummaryItem } from "./summaryItem-uDWmtYtt.js";
|
|
46
|
-
import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-
|
|
47
|
-
import { t as
|
|
48
|
-
import { t as
|
|
49
|
-
import { t as Select } from "./Select-phAxjMBQ.js";
|
|
50
|
-
import { n as CountryField } from "./CountryField-DT6-Jr_b.js";
|
|
46
|
+
import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
|
|
47
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-W1FzWAVl.js";
|
|
48
|
+
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
51
49
|
import { o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
52
|
-
import { t as
|
|
50
|
+
import { t as Field } from "./Field-CBvXkDKh.js";
|
|
51
|
+
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
52
|
+
import { a as isValidationError, i as isIdDocumentUploadError, n as isBankStatementUploadError, o as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-CLDQ0Qwt.js";
|
|
53
|
+
import { t as Select } from "./Select-prMx73V9.js";
|
|
54
|
+
import { n as CountryField } from "./CountryField-C7eHHmYk.js";
|
|
55
|
+
import { t as InputText } from "./InputText-CwPK55J0.js";
|
|
53
56
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
54
|
-
import {
|
|
55
|
-
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
56
|
-
import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
|
|
57
|
+
import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
|
|
57
58
|
import { n as getLegalEntityNameBasedOnType, r as getPayoutAccountHolderName } from "./getName-DgxRqagk.js";
|
|
58
|
-
import { a as useUnifyLoadingStatus, i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
59
|
+
import { a as useUnifyLoadingStatus, i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BrDc9SLg.js";
|
|
59
60
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
60
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
61
|
-
import { a as createDocumentRequest, i as bytesToSize, l as getFileExtention, n as fileValidationRules, o as documentApiUtils, r as DropzoneFile, s as getDocument, t as defaultFileValidationOptions } from "./validate-
|
|
62
|
-
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-
|
|
63
|
-
import { a as isValidationError, i as isIdDocumentUploadError, n as isBankStatementUploadError, o as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-DV6t8Ubb.js";
|
|
61
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DsZ6_OXy.js";
|
|
62
|
+
import { a as createDocumentRequest, i as bytesToSize, l as getFileExtention, n as fileValidationRules, o as documentApiUtils, r as DropzoneFile, s as getDocument, t as defaultFileValidationOptions } from "./validate-D8sQbtil.js";
|
|
63
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-CQMSa-H_.js";
|
|
64
64
|
import { t as bankStatementDescriptionPattern } from "./basePatterns-plHFNzgJ.js";
|
|
65
|
-
import { t as TextArea } from "./TextArea-
|
|
65
|
+
import { t as TextArea } from "./TextArea-C12oXMzX.js";
|
|
66
66
|
import { t as Link } from "./Link-CvYhseSD.js";
|
|
67
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
67
|
+
import { t as ContextGuidance } from "./ContextGuidance-DPPaigJE.js";
|
|
68
68
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
69
|
-
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
69
|
+
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-BpXU-nP1.js";
|
|
70
70
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
71
71
|
import { t as currencyByCountry } from "./types-BA3bcGAv.js";
|
|
72
|
-
import { t as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
72
|
+
import { t as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-DLGY4jqB.js";
|
|
73
73
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
74
|
-
import { t as NewSummary } from "./NewSummary-
|
|
74
|
+
import { t as NewSummary } from "./NewSummary-C9CV9wJk.js";
|
|
75
75
|
import { lazy, memo, useMemo, useRef, useState } from "preact/compat";
|
|
76
76
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
77
77
|
import cx from "classnames";
|
|
@@ -685,6 +685,14 @@ var ibanMask = (country, inputLength, allowLettersInBban) => {
|
|
|
685
685
|
transformOnType: allowLettersInBban ? uppercase : void 0
|
|
686
686
|
};
|
|
687
687
|
};
|
|
688
|
+
var getIbanValuePrefix = (mask) => {
|
|
689
|
+
const prefixChars = [];
|
|
690
|
+
for (const token of mask?.tokens ?? []) {
|
|
691
|
+
if (token.type !== "nonInput" || !token.includeInValue) break;
|
|
692
|
+
prefixChars.push(token.char);
|
|
693
|
+
}
|
|
694
|
+
return prefixChars.join("");
|
|
695
|
+
};
|
|
688
696
|
var ibanGuidance = (type, numDigitsOrChars, example) => type === "digits" ? {
|
|
689
697
|
key: "enterTheRemainingNDigitsForExample",
|
|
690
698
|
values: {
|
|
@@ -1249,6 +1257,86 @@ var PreferredCurrency = (props) => {
|
|
|
1249
1257
|
});
|
|
1250
1258
|
};
|
|
1251
1259
|
//#endregion
|
|
1260
|
+
//#region src/components/BankAccount/utils/clearCountrySpecificAccountFields.ts
|
|
1261
|
+
/**
|
|
1262
|
+
* Account identifiers whose format and validation are dictated by the bank account country, so they
|
|
1263
|
+
* can never remain valid for a different country.
|
|
1264
|
+
*/
|
|
1265
|
+
var countrySpecificAccountFields = [
|
|
1266
|
+
"iban",
|
|
1267
|
+
"bankAccountNumber",
|
|
1268
|
+
"bankCode",
|
|
1269
|
+
"branchCode",
|
|
1270
|
+
"swiftCode"
|
|
1271
|
+
];
|
|
1272
|
+
/**
|
|
1273
|
+
* Clears the entered account identifiers so a new bank account country starts from an empty form.
|
|
1274
|
+
*/
|
|
1275
|
+
var clearCountrySpecificAccountFields = (form) => {
|
|
1276
|
+
const { handleChange } = getFormSlice(form, "payoutAccountDetails");
|
|
1277
|
+
countrySpecificAccountFields.forEach((field) => {
|
|
1278
|
+
handleChange(field, "input")(void 0);
|
|
1279
|
+
});
|
|
1280
|
+
};
|
|
1281
|
+
//#endregion
|
|
1282
|
+
//#region src/components/BankAccount/utils/payoutAccountUtil.ts
|
|
1283
|
+
var countriesWithMultiplePayoutCurrencies = /* @__PURE__ */ new Set([
|
|
1284
|
+
CountryCodes.Bulgaria,
|
|
1285
|
+
CountryCodes.Canada,
|
|
1286
|
+
CountryCodes.Croatia,
|
|
1287
|
+
CountryCodes.CzechRepublic,
|
|
1288
|
+
CountryCodes.Hungary,
|
|
1289
|
+
CountryCodes.Romania,
|
|
1290
|
+
CountryCodes.Switzerland
|
|
1291
|
+
]);
|
|
1292
|
+
var countriesWithLocalFormat = /* @__PURE__ */ new Set([
|
|
1293
|
+
CountryCodes.CzechRepublic,
|
|
1294
|
+
CountryCodes.Denmark,
|
|
1295
|
+
CountryCodes.Hungary,
|
|
1296
|
+
CountryCodes.Norway,
|
|
1297
|
+
CountryCodes.Poland,
|
|
1298
|
+
CountryCodes.Sweden,
|
|
1299
|
+
CountryCodes.UnitedKingdom
|
|
1300
|
+
]);
|
|
1301
|
+
var payoutCurrencySupport = {
|
|
1302
|
+
[CountryCodes.Sweden]: {
|
|
1303
|
+
local: [Currencies.SEK],
|
|
1304
|
+
iban: [Currencies.EUR, Currencies.SEK]
|
|
1305
|
+
},
|
|
1306
|
+
[CountryCodes.Canada]: {
|
|
1307
|
+
local: [Currencies.CAD, Currencies.USD],
|
|
1308
|
+
iban: [Currencies.CAD, Currencies.USD]
|
|
1309
|
+
}
|
|
1310
|
+
};
|
|
1311
|
+
var shouldShowCheckGuidance = (country) => country === "US";
|
|
1312
|
+
var shouldShowPayoutAccountFormatSelector = (country) => countriesWithLocalFormat.has(country);
|
|
1313
|
+
var shouldShowPayoutAlert = (country) => shouldShowPayoutAccountFormatSelector(country) || countriesWithMultiplePayoutCurrencies.has(country);
|
|
1314
|
+
var getSupportedCurrencyGuidance = (t, country, requiredFields) => {
|
|
1315
|
+
const format = requiredFields.includes("iban") ? "iban" : "local";
|
|
1316
|
+
if (!shouldShowPayoutAlert(country)) return;
|
|
1317
|
+
const supportedCurrencies = getSupportedCurrenciesPerFormat(country, format);
|
|
1318
|
+
if (!supportedCurrencies) return;
|
|
1319
|
+
return supportedCurrencies.length > 1 ? t(($) => $["payoutIn_Or_"], {
|
|
1320
|
+
currencyOne: supportedCurrencies[0],
|
|
1321
|
+
currencyTwo: supportedCurrencies[1]
|
|
1322
|
+
}) : t(($) => $["payoutInOnly_"], { currency: supportedCurrencies[0] });
|
|
1323
|
+
};
|
|
1324
|
+
var getSupportedCurrenciesPerFormat = (country, format) => {
|
|
1325
|
+
const supportedCurrencies = payoutCurrencySupport[country];
|
|
1326
|
+
if (!supportedCurrencies) {
|
|
1327
|
+
const defaultCurrency = currencyByCountry[country]?.[0];
|
|
1328
|
+
if (!defaultCurrency) return;
|
|
1329
|
+
if (format === "iban" && defaultCurrency !== Currencies.EUR) return [Currencies.EUR, defaultCurrency];
|
|
1330
|
+
else return [defaultCurrency];
|
|
1331
|
+
}
|
|
1332
|
+
return supportedCurrencies[format];
|
|
1333
|
+
};
|
|
1334
|
+
var isLocalCurrency = (country, currency) => {
|
|
1335
|
+
if (!country || !currency) return false;
|
|
1336
|
+
return currencyByCountry[country]?.includes(currency) ?? false;
|
|
1337
|
+
};
|
|
1338
|
+
var getCountryCodeFromEvent = (event) => event?.target?.value;
|
|
1339
|
+
//#endregion
|
|
1252
1340
|
//#region src/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.tsx
|
|
1253
1341
|
var AccountHolderDescriptionFragment = ({ legalEntityResponse }) => {
|
|
1254
1342
|
const { t } = useTranslation("banking");
|
|
@@ -1442,7 +1530,6 @@ function PayoutRequirementsModal({ isOpen, onClose, provider }) {
|
|
|
1442
1530
|
var payoutCountryDetailsFields = ["bankCountry", "preferredCurrency"];
|
|
1443
1531
|
var DEFAULT_CURRENCY_FALLBACK = "USD";
|
|
1444
1532
|
var getDefaultCurrencyForCountry = (country) => currencyByCountry[country]?.[0] ?? DEFAULT_CURRENCY_FALLBACK;
|
|
1445
|
-
var getCountryCodeFromEvent = (event) => event?.target?.value;
|
|
1446
1533
|
function PayoutCountryDetails(props) {
|
|
1447
1534
|
const { legalEntityResponse, provider, fieldValidationErrors: fieldProblems } = props;
|
|
1448
1535
|
const { t: commonT } = useTranslation("common");
|
|
@@ -1499,8 +1586,10 @@ function PayoutCountryDetails(props) {
|
|
|
1499
1586
|
});
|
|
1500
1587
|
const updateCountryField = (event) => {
|
|
1501
1588
|
const updatedCountry = getCountryCodeFromEvent(event);
|
|
1589
|
+
if (updatedCountry === data?.bankCountry) return;
|
|
1502
1590
|
handleChange("bankCountry", "input")(updatedCountry);
|
|
1503
1591
|
handleChange("preferredCurrency", "input")(getDefaultCurrencyForCountry(updatedCountry));
|
|
1592
|
+
clearCountrySpecificAccountFields(form);
|
|
1504
1593
|
};
|
|
1505
1594
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("form", {
|
|
1506
1595
|
style: { minHeight: "480px" },
|
|
@@ -2134,6 +2223,15 @@ function Iban(props) {
|
|
|
2134
2223
|
...props,
|
|
2135
2224
|
obscuredFields
|
|
2136
2225
|
}), t);
|
|
2226
|
+
const valuePrefix = getIbanValuePrefix(metadata.mask?.mask);
|
|
2227
|
+
/**
|
|
2228
|
+
* The masked input reports the country prefix even when nothing has been filled in. Storing it
|
|
2229
|
+
* would leave the previous country's prefix behind once the bank account country changes, and
|
|
2230
|
+
* that value no longer matches the new country's mask, which locks the field.
|
|
2231
|
+
*/
|
|
2232
|
+
const handleIbanChange = (mode) => (value) => {
|
|
2233
|
+
handleChange("iban", mode)(value === valuePrefix ? "" : value);
|
|
2234
|
+
};
|
|
2137
2235
|
return /* @__PURE__ */ jsx(MaskedInput, {
|
|
2138
2236
|
name: "iban",
|
|
2139
2237
|
type: "text",
|
|
@@ -2144,8 +2242,8 @@ function Iban(props) {
|
|
|
2144
2242
|
isValid: valid?.iban ?? true,
|
|
2145
2243
|
value: data?.iban ?? "",
|
|
2146
2244
|
readonly: formUtils.isReadOnly("iban"),
|
|
2147
|
-
onInput:
|
|
2148
|
-
onBlur:
|
|
2245
|
+
onInput: handleIbanChange("input"),
|
|
2246
|
+
onBlur: (event) => handleIbanChange("blur")(event.currentTarget.value),
|
|
2149
2247
|
"aria-required": true,
|
|
2150
2248
|
"aria-invalid": valid?.iban === false,
|
|
2151
2249
|
acceptObscuredValue: formUtils.isObscured("iban")
|
|
@@ -2180,63 +2278,6 @@ function SwiftCode(props) {
|
|
|
2180
2278
|
"aria-invalid": valid?.swiftCode === false
|
|
2181
2279
|
});
|
|
2182
2280
|
}
|
|
2183
|
-
//#endregion
|
|
2184
|
-
//#region src/components/BankAccount/utils/payoutAccountUtil.ts
|
|
2185
|
-
var countriesWithMultiplePayoutCurrencies = /* @__PURE__ */ new Set([
|
|
2186
|
-
CountryCodes.Bulgaria,
|
|
2187
|
-
CountryCodes.Canada,
|
|
2188
|
-
CountryCodes.Croatia,
|
|
2189
|
-
CountryCodes.CzechRepublic,
|
|
2190
|
-
CountryCodes.Hungary,
|
|
2191
|
-
CountryCodes.Romania,
|
|
2192
|
-
CountryCodes.Switzerland
|
|
2193
|
-
]);
|
|
2194
|
-
var countriesWithLocalFormat = /* @__PURE__ */ new Set([
|
|
2195
|
-
CountryCodes.CzechRepublic,
|
|
2196
|
-
CountryCodes.Denmark,
|
|
2197
|
-
CountryCodes.Hungary,
|
|
2198
|
-
CountryCodes.Norway,
|
|
2199
|
-
CountryCodes.Poland,
|
|
2200
|
-
CountryCodes.Sweden,
|
|
2201
|
-
CountryCodes.UnitedKingdom
|
|
2202
|
-
]);
|
|
2203
|
-
var payoutCurrencySupport = {
|
|
2204
|
-
[CountryCodes.Sweden]: {
|
|
2205
|
-
local: [Currencies.SEK],
|
|
2206
|
-
iban: [Currencies.EUR, Currencies.SEK]
|
|
2207
|
-
},
|
|
2208
|
-
[CountryCodes.Canada]: {
|
|
2209
|
-
local: [Currencies.CAD, Currencies.USD],
|
|
2210
|
-
iban: [Currencies.CAD, Currencies.USD]
|
|
2211
|
-
}
|
|
2212
|
-
};
|
|
2213
|
-
var shouldShowCheckGuidance = (country) => country === "US";
|
|
2214
|
-
var shouldShowPayoutAccountFormatSelector = (country) => countriesWithLocalFormat.has(country);
|
|
2215
|
-
var shouldShowPayoutAlert = (country) => shouldShowPayoutAccountFormatSelector(country) || countriesWithMultiplePayoutCurrencies.has(country);
|
|
2216
|
-
var getSupportedCurrencyGuidance = (t, country, requiredFields) => {
|
|
2217
|
-
const format = requiredFields.includes("iban") ? "iban" : "local";
|
|
2218
|
-
if (!shouldShowPayoutAlert(country)) return;
|
|
2219
|
-
const supportedCurrencies = getSupportedCurrenciesPerFormat(country, format);
|
|
2220
|
-
if (!supportedCurrencies) return;
|
|
2221
|
-
return supportedCurrencies.length > 1 ? t(($) => $["payoutIn_Or_"], {
|
|
2222
|
-
currencyOne: supportedCurrencies[0],
|
|
2223
|
-
currencyTwo: supportedCurrencies[1]
|
|
2224
|
-
}) : t(($) => $["payoutInOnly_"], { currency: supportedCurrencies[0] });
|
|
2225
|
-
};
|
|
2226
|
-
var getSupportedCurrenciesPerFormat = (country, format) => {
|
|
2227
|
-
const supportedCurrencies = payoutCurrencySupport[country];
|
|
2228
|
-
if (!supportedCurrencies) {
|
|
2229
|
-
const defaultCurrency = currencyByCountry[country]?.[0];
|
|
2230
|
-
if (!defaultCurrency) return;
|
|
2231
|
-
if (format === "iban" && defaultCurrency !== Currencies.EUR) return [Currencies.EUR, defaultCurrency];
|
|
2232
|
-
else return [defaultCurrency];
|
|
2233
|
-
}
|
|
2234
|
-
return supportedCurrencies[format];
|
|
2235
|
-
};
|
|
2236
|
-
var isLocalCurrency = (country, currency) => {
|
|
2237
|
-
if (!country || !currency) return false;
|
|
2238
|
-
return currencyByCountry[country]?.includes(currency) ?? false;
|
|
2239
|
-
};
|
|
2240
2281
|
var CheckGuidance_module_default = {
|
|
2241
2282
|
"check-guidance": "_check-guidance_1tmla_1",
|
|
2242
2283
|
checkGuidance: "_check-guidance_1tmla_1",
|
|
@@ -2641,6 +2682,12 @@ function PayoutVerificationMethod(props) {
|
|
|
2641
2682
|
const { dataset: countries } = useDataset(datasetIdentifier.country);
|
|
2642
2683
|
const bankCountryName = countries.find((country) => country.id === data?.bankCountry)?.name ?? data?.bankCountry;
|
|
2643
2684
|
const allowedBankCountries = getAllowedBankCountries(country);
|
|
2685
|
+
const updateBankCountry = (event) => {
|
|
2686
|
+
const updatedCountry = getCountryCodeFromEvent(event);
|
|
2687
|
+
if (updatedCountry === data?.bankCountry) return;
|
|
2688
|
+
handleChange("bankCountry", "input")(updatedCountry);
|
|
2689
|
+
clearCountrySpecificAccountFields(form);
|
|
2690
|
+
};
|
|
2644
2691
|
const countryField = /* @__PURE__ */ jsx(CountryField, {
|
|
2645
2692
|
data: { country: data?.bankCountry },
|
|
2646
2693
|
valid: { country: valid?.bankCountry ?? true },
|
|
@@ -2648,7 +2695,7 @@ function PayoutVerificationMethod(props) {
|
|
|
2648
2695
|
labels: { country: t(($) => $["bankAccountCountryRegion"]) },
|
|
2649
2696
|
readonly: !intraRegionCrossBorderPayoutsAllowed || allowedBankCountries.length === 1 || bankInfoValidated,
|
|
2650
2697
|
allowedCountries: allowedBankCountries,
|
|
2651
|
-
handleChangeFor: () =>
|
|
2698
|
+
handleChangeFor: () => updateBankCountry,
|
|
2652
2699
|
helperText: intraRegionCrossBorderPayoutsAllowed ? void 0 : t(($) => $[legalEntityType === "individual" ? "youCanOnlyUseABankAccountInTheCountryRegionWhereYouLive" : "youCanOnlyUseABankAccountInTheCountryRegionWhereYourCompanyIsRegistered"])
|
|
2653
2700
|
});
|
|
2654
2701
|
const description = canChangeEntityType ? /* @__PURE__ */ jsx(AccountHolderDescriptionFragment, { legalEntityResponse }) : /* @__PURE__ */ jsxs(Typography, { children: [
|
|
@@ -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] = "c19057b1-52ee-4be1-b8a0-82dbed76cc7b", e._sentryDebugIdIdentifier = "sentry-dbid-c19057b1-52ee-4be1-b8a0-82dbed76cc7b");
|
|
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 _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
9
9
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
10
|
-
import { t as useNavigate } from "./useNavigate-
|
|
11
|
-
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
10
|
+
import { t as useNavigate } from "./useNavigate-BqrdWTzq.js";
|
|
11
|
+
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-BPms6ZOq.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
14
|
//#region src/components/BankAccount/pages/PayoutDetailsPage.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
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] = "e2a88313-1df2-4ff4-870e-8097ce4a7907", e._sentryDebugIdIdentifier = "sentry-dbid-e2a88313-1df2-4ff4-870e-8097ce4a7907");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
7
|
-
import { t as RadioWithLabel } from "./RadioWithLabel-
|
|
7
|
+
import { t as RadioWithLabel } from "./RadioWithLabel-BmUFWDxq.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/components/ui/atoms/RadioGroup/RadioGroup.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2feb1bf0-6ad5-4d6e-ac31-cd64e792901f", e._sentryDebugIdIdentifier = "sentry-dbid-2feb1bf0-6ad5-4d6e-ac31-cd64e792901f");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useId } from "./useId-BkDhUta2.js";
|
|
6
6
|
import cx from "classnames";
|
|
@@ -1,9 +1,9 @@
|
|
|
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] = "39751cc7-b7ca-4b67-93e8-4c4f7782cc24", e._sentryDebugIdIdentifier = "sentry-dbid-39751cc7-b7ca-4b67-93e8-4c4f7782cc24");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { t as Button } from "./Button-
|
|
6
|
+
import { t as Button } from "./Button-DpPFIUJx.js";
|
|
7
7
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
8
|
import { t as Header } from "./Header-DVLlJ6we.js";
|
|
9
9
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
@@ -9,7 +9,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
9
9
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
10
10
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
11
11
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DaJ3LZ2L.js";
|
|
12
|
-
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
12
|
+
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-FHWhosZj.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
//#region src/components/Business/pages/RootBusinessDetailsPage.tsx
|
|
15
15
|
var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -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] = "7a36f69e-b278-47a4-8867-503ed1ae50f8", e._sentryDebugIdIdentifier = "sentry-dbid-7a36f69e-b278-47a4-8867-503ed1ae50f8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation, t as Trans } 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 { n as IconButton, t as Button } from "./Button-
|
|
9
|
+
import { n as IconButton, t as Button } from "./Button-DpPFIUJx.js";
|
|
10
10
|
import { s as useApiContext, t as httpDelete } from "./http-DsJtugN1.js";
|
|
11
11
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
12
12
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
@@ -19,38 +19,38 @@ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
|
19
19
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
20
20
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
21
21
|
import { n as usePciQuestionnaireList } from "./usePciQuestionnaireList-CFNJD8pS.js";
|
|
22
|
-
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-
|
|
22
|
+
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-huIL6Dhk.js";
|
|
23
23
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
24
24
|
import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
25
25
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
26
26
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
27
27
|
import { t as Avatar } from "./Avatar-oTPu6Ejy.js";
|
|
28
28
|
import { t as KEYBOARD_KEYS } from "./keys-Ce8YnRP2.js";
|
|
29
|
-
import { t as Modal } from "./Modal-
|
|
30
|
-
import { t as Confirm } from "./Confirm-
|
|
31
|
-
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
32
|
-
import { i as getPropsFromConfigurations, t as createFormRules } from "./form-rules-
|
|
29
|
+
import { t as Modal } from "./Modal-DeXa4MBg.js";
|
|
30
|
+
import { t as Confirm } from "./Confirm-D8WH4e1L.js";
|
|
31
|
+
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-DaA6mmQp.js";
|
|
32
|
+
import { i as getPropsFromConfigurations, t as createFormRules } from "./form-rules-DhuNdiqF.js";
|
|
33
33
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
34
34
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
35
|
-
import { t as StructuredList } from "./StructuredList-
|
|
36
|
-
import { n as summaryStep } from "./Summary-
|
|
37
|
-
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-
|
|
38
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
39
|
-
import { t as Field } from "./Field-
|
|
40
|
-
import { t as
|
|
35
|
+
import { t as StructuredList } from "./StructuredList-BHUmeWeh.js";
|
|
36
|
+
import { n as summaryStep } from "./Summary-BxGf1dI5.js";
|
|
37
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DAKrWwgL.js";
|
|
38
|
+
import { t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
|
|
39
|
+
import { t as Field } from "./Field-CBvXkDKh.js";
|
|
40
|
+
import { t as getValidationErrorDisplayMessages } from "./validationError-CLDQ0Qwt.js";
|
|
41
41
|
import { t as ListItem } from "./ListItem-CYTpdOMa.js";
|
|
42
|
-
import { t as
|
|
42
|
+
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
43
|
+
import { t as InputText } from "./InputText-CwPK55J0.js";
|
|
43
44
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
44
|
-
import { t as getValidationErrorDisplayMessages } from "./validationError-DV6t8Ubb.js";
|
|
45
45
|
import { t as Link } from "./Link-CvYhseSD.js";
|
|
46
46
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
47
|
-
import { t as NewSummary } from "./NewSummary-
|
|
47
|
+
import { t as NewSummary } from "./NewSummary-C9CV9wJk.js";
|
|
48
48
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
49
49
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
50
50
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
51
51
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
|
|
52
|
-
import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-
|
|
53
|
-
import { t as SignPCIComponent } from "./SignPCIComponent-
|
|
52
|
+
import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-C7-xFqmm.js";
|
|
53
|
+
import { t as SignPCIComponent } from "./SignPCIComponent-B1kmyOe5.js";
|
|
54
54
|
import { lazy } from "preact/compat";
|
|
55
55
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
56
56
|
import cx from "classnames";
|
package/dist/{RootIndividualDetailsPage-BDoKkhcN.js → RootIndividualDetailsPage-CFxtnnY4.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fca9da75-1371-4110-8441-a0f3a40f0145", e._sentryDebugIdIdentifier = "sentry-dbid-fca9da75-1371-4110-8441-a0f3a40f0145");
|
|
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";
|
|
@@ -15,7 +15,7 @@ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-5cyXiJnX.js";
|
|
|
15
15
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
16
16
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
17
17
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DaJ3LZ2L.js";
|
|
18
|
-
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-CKnMrjDj.js";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
20
|
//#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
|
|
21
21
|
function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
|
@@ -26,33 +26,33 @@ function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTar
|
|
|
26
26
|
addResourceBundles(i18n, [{
|
|
27
27
|
ns: "individual",
|
|
28
28
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
29
|
-
"../language/bg-BG.json": () => import("./bg-BG-
|
|
30
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-
|
|
31
|
-
"../language/da-DK.json": () => import("./da-DK-
|
|
32
|
-
"../language/de-DE.json": () => import("./de-DE-
|
|
33
|
-
"../language/el-GR.json": () => import("./el-GR-
|
|
29
|
+
"../language/bg-BG.json": () => import("./bg-BG-DfbtcqF4.js"),
|
|
30
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-CajuRLo4.js"),
|
|
31
|
+
"../language/da-DK.json": () => import("./da-DK-BEwmSejn.js"),
|
|
32
|
+
"../language/de-DE.json": () => import("./de-DE-PyK3jl-6.js"),
|
|
33
|
+
"../language/el-GR.json": () => import("./el-GR-KPFghikv.js"),
|
|
34
34
|
"../language/en-US.instructions.json": () => import("./en-US.instructions-DfgivDPI.js"),
|
|
35
|
-
"../language/en-US.json": () => import("./en-US-
|
|
36
|
-
"../language/es-ES.json": () => import("./es-ES-
|
|
37
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
38
|
-
"../language/et-EE.json": () => import("./et-EE-
|
|
39
|
-
"../language/fi-FI.json": () => import("./fi-FI-
|
|
40
|
-
"../language/fr-FR.json": () => import("./fr-FR-
|
|
41
|
-
"../language/hr-HR.json": () => import("./hr-HR-
|
|
42
|
-
"../language/hu-HU.json": () => import("./hu-HU-
|
|
43
|
-
"../language/it-IT.json": () => import("./it-IT-
|
|
44
|
-
"../language/ja-JP.json": () => import("./ja-JP
|
|
45
|
-
"../language/lt-LT.json": () => import("./lt-LT-
|
|
46
|
-
"../language/lv-LV.json": () => import("./lv-LV-
|
|
47
|
-
"../language/nl-NL.json": () => import("./nl-NL-
|
|
48
|
-
"../language/no-NO.json": () => import("./no-NO-
|
|
49
|
-
"../language/pl-PL.json": () => import("./pl-PL-
|
|
50
|
-
"../language/pt-BR.json": () => import("./pt-BR-
|
|
51
|
-
"../language/pt-PT.json": () => import("./pt-PT-
|
|
52
|
-
"../language/ro-RO.json": () => import("./ro-RO-
|
|
53
|
-
"../language/sk-SK.json": () => import("./sk-SK-
|
|
54
|
-
"../language/sl-SI.json": () => import("./sl-SI-
|
|
55
|
-
"../language/sv-SE.json": () => import("./sv-SE-
|
|
35
|
+
"../language/en-US.json": () => import("./en-US-BRCWc67V.js"),
|
|
36
|
+
"../language/es-ES.json": () => import("./es-ES-z4jLCvkJ.js"),
|
|
37
|
+
"../language/es-LA.json": () => import("./es-LA-Dx4QymCh.js"),
|
|
38
|
+
"../language/et-EE.json": () => import("./et-EE-1EhDxtTe.js"),
|
|
39
|
+
"../language/fi-FI.json": () => import("./fi-FI-Dc2RMc_u.js"),
|
|
40
|
+
"../language/fr-FR.json": () => import("./fr-FR-DswL4wQ1.js"),
|
|
41
|
+
"../language/hr-HR.json": () => import("./hr-HR-DI2D_V50.js"),
|
|
42
|
+
"../language/hu-HU.json": () => import("./hu-HU-lyRcZjGI.js"),
|
|
43
|
+
"../language/it-IT.json": () => import("./it-IT-Bn4CEcmI.js"),
|
|
44
|
+
"../language/ja-JP.json": () => import("./ja-JP-CAX_xwUx.js"),
|
|
45
|
+
"../language/lt-LT.json": () => import("./lt-LT-BdgYuJW7.js"),
|
|
46
|
+
"../language/lv-LV.json": () => import("./lv-LV-Bz5c0Psg.js"),
|
|
47
|
+
"../language/nl-NL.json": () => import("./nl-NL-BE2cQh0x.js"),
|
|
48
|
+
"../language/no-NO.json": () => import("./no-NO-vgzpp44v.js"),
|
|
49
|
+
"../language/pl-PL.json": () => import("./pl-PL-DgDSRVmp.js"),
|
|
50
|
+
"../language/pt-BR.json": () => import("./pt-BR-BaKp-J8F.js"),
|
|
51
|
+
"../language/pt-PT.json": () => import("./pt-PT-Df48oeP5.js"),
|
|
52
|
+
"../language/ro-RO.json": () => import("./ro-RO-CTMsv_EY.js"),
|
|
53
|
+
"../language/sk-SK.json": () => import("./sk-SK-oqO5I3Aw.js"),
|
|
54
|
+
"../language/sl-SI.json": () => import("./sl-SI-CQhJFnpj.js"),
|
|
55
|
+
"../language/sv-SE.json": () => import("./sv-SE-CmevESLi.js")
|
|
56
56
|
}), `../language/${lang}.json`, 3)
|
|
57
57
|
}]);
|
|
58
58
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|