@adyen/kyc-components 4.27.0 → 4.28.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/{4-people-CAxQpi_3.js → 4-people-C_-N5Vvz.js} +2 -2
- package/dist/{AcceptTermsOfServiceWorkflow-CLTk8Oyx.js → AcceptTermsOfServiceWorkflow-BHLj18cI.js} +4 -4
- package/dist/{Accordion-CTQfC17W.js → Accordion-DyU-Pxob.js} +1 -1
- package/dist/{AccountSetupRejected-DaFbhfSI.js → AccountSetupRejected-DrzCd1ET.js} +2 -2
- package/dist/{AdaptiveWorkflow-42UsUwm-.js → AdaptiveWorkflow-DmZF4G5t.js} +117 -48
- package/dist/{AdaptiveWorkflowComponent-DZwG4TmA.js → AdaptiveWorkflowComponent-Bv5fIffv.js} +29 -29
- package/dist/{AddressFields-D78Szxmw.js → AddressFields-CF-UaSiA.js} +10 -10
- package/dist/{Avatar-yJfk9A6l.js → Avatar-BBJO6JWY.js} +1 -1
- package/dist/{BusinessFinancingDropin-Sxpsw1Ib.js → BusinessFinancingDropin-DxUscJnz.js} +34 -34
- package/dist/{BusinessFinancingPage-DBIhC8Us.js → BusinessFinancingPage-aNSrpxqt.js} +54 -54
- package/dist/{BusinessRegistrationNumberField-BdMxV-Tb.js → BusinessRegistrationNumberField-ByWbtuPm.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-Cj8O_z1t.js → BusinessRegistrationNumberFieldGroup-BsaKq6cn.js} +12 -7
- package/dist/{BusinessTypeSelectionPage-qHvILw07.js → BusinessTypeSelectionPage-C8BtZX8K.js} +12 -12
- package/dist/{Button-BYafPrZH.js → Button-EhGM-oCO.js} +1 -1
- package/dist/{Checkbox-CEkD-Lpm.js → Checkbox-Ec4wyyJQ.js} +3 -3
- package/dist/{ComponentGroup-DVHVDBTY.js → ComponentGroup-DnbvXojQ.js} +10 -9
- package/dist/{ConstitutionalDocument-CRmlhFeL.js → ConstitutionalDocument-B4rf4Lt3.js} +16 -15
- package/dist/{ContactDetails-Cqfks3uk.js → ContactDetails-CZgDXYqx.js} +5 -5
- package/dist/{ContextGuidance-DfK3CyBg.js → ContextGuidance-C8FlwEPA.js} +3 -3
- package/dist/{CountryField-BjQOdWzz.js → CountryField-8KwVjSwx.js} +8 -6
- package/dist/{Currency-CbDX0TMX.js → Currency-DyE49bKs.js} +8 -8
- package/dist/{CustomerSupport-DhHfxyq-.js → CustomerSupport-CvTI3Snc.js} +34 -13
- package/dist/{DateField-B2QaXKJu.js → DateField-l6H-nmfS.js} +13 -9
- package/dist/{DebugModal-Bg9rzwSn.js → DebugModal-xkdniRzn.js} +154 -109
- package/dist/{DecisionMakerDetails-AoJgg4cg.js → DecisionMakerDetails-CykBZZ9U.js} +13 -13
- package/dist/{DecisionMakerDetailsPage-C_AdIcGC.js → DecisionMakerDetailsPage-BnjOq-R1.js} +7 -7
- package/dist/{DecisionMakers-C6l8bABC.js → DecisionMakers-B-4h5Vw_.js} +14 -14
- package/dist/{Dropzone-DgxhMiDp.js → Dropzone-D7Z9PsqG.js} +7 -7
- package/dist/{EmailField-CXN3LYZ2.js → EmailField-B-g3-z2A.js} +12 -9
- package/dist/{EmbeddedStatus-mdQsQfof.js → EmbeddedStatus-aQaNHawQ.js} +2 -2
- package/dist/{EndStateLayout-B-M90Rnh.js → EndStateLayout-CBzxX67s.js} +2 -2
- package/dist/{EntityAssociation-D_q0Wc3i.js → EntityAssociation-CPRU3Nzl.js} +6 -6
- package/dist/{ErrorPanel-CPEt21Se.js → ErrorPanel-DUI1R5Sq.js} +4 -4
- package/dist/{GlobalEntryModal-BLcLbtbY.js → GlobalEntryModal-Fszy2PMv.js} +312 -100
- package/dist/{GlobalEntryPage-DWOIX03S.js → GlobalEntryPage-GMRCmYj1.js} +32 -32
- package/dist/Icon-D2IGgB2L.js +175 -0
- package/dist/{IdentityNumber-B9Jnp2Kq.js → IdentityNumber-M8NzdW3O.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-BSl7SDIS.js → IdentityNumberFieldGroup-nOlB5kOW.js} +38 -16
- package/dist/{IdentityScreeningWorkflow-GYt_zgUF.js → IdentityScreeningWorkflow-kYczDRbc.js} +14 -13
- package/dist/{IndividualDropin-Diyiw3Hi.js → IndividualDropin-C9bKZu8q.js} +60 -39
- package/dist/{IndustryCodeFieldGroup-C2-FCfpN.js → IndustryCodeFieldGroup-ULwwyMfV.js} +8 -10
- package/dist/{InputDate-BHrNsorX.js → InputDate-fc3bdvdZ.js} +3 -3
- package/dist/{Introduction-DYn_jO1o.js → Introduction-BymKbaBE.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CUe2AxiZ.js → InvitedDecisionMakerComponent-CLBrLaip.js} +36 -36
- package/dist/{JpAddressFields-C4qtHjp0.js → JpAddressFields-Dhe_cQhr.js} +9 -9
- package/dist/{LegalCompanyNameField-DFo-ZOZk.js → LegalCompanyNameField-Ch1VrlJs.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BOfRTyqK.js → LegalRepresentativeDetailsPage-ZsBdOW-Y.js} +3 -3
- package/dist/{Link-DwPkGikd.js → Link-BtWj5mVH.js} +1 -1
- package/dist/{ListItem-n927geYb.js → ListItem-aX6AyCay.js} +3 -3
- package/dist/{Name-DOj6CpgZ.js → Name-r1ugrnWU.js} +4 -4
- package/dist/{NumberField-CkdysfUI.js → NumberField-DzM3ge0J.js} +12 -9
- package/dist/{PatriotActDisclosure-DkqbHOFx.js → PatriotActDisclosure-O5TlzUXU.js} +10 -10
- package/dist/{PayoutDetailsDropin-CF7itBsp.js → PayoutDetailsDropin-J0pS_4a9.js} +30 -28
- package/dist/{PayoutDetailsPage-Dc_D071R.js → PayoutDetailsPage-COLJyIQ-.js} +4 -4
- package/dist/{InputText-BwXmy0Yr.js → RadioGroup-SDQSOsEf.js} +80 -5
- package/dist/{Review-Ku4iYkp6.js → Review-PhQYqPF4.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CTSZl23n.js → RootBusinessDetailsPage-BI7ryRjt.js} +4 -4
- package/dist/{RootBusinessLinesPage-TqlW5o-4.js → RootBusinessLinesPage-mvoHQZD_.js} +21 -21
- package/dist/{RootIndividualDetailsPage-DG6IUpC8.js → RootIndividualDetailsPage-Cpm0vnKV.js} +4 -4
- package/dist/{Select-DPJ8234F.js → Select-DtO-GvLp.js} +5 -6
- package/dist/{SignPCIComponent-DHIPpLKT.js → SignPCIComponent-Dvmu4-hc.js} +38 -38
- package/dist/{SingpassSelection-BRJCTmKj.js → SingpassSelection-np9ZfMrZ.js} +5 -5
- package/dist/SingpassSelectionCTA-sVs1ou1t.js +71 -0
- package/dist/{SoleProprietorshipPage-JOV_QddZ.js → SoleProprietorshipPage-CwKtif4U.js} +4 -4
- package/dist/{SourceOfFundsPage-DxQADTn7.js → SourceOfFundsPage-waLLSQf2.js} +22 -22
- package/dist/{SourceOfFundsWorkflow-fFGA8BYS.js → SourceOfFundsWorkflow-Cat3HvUT.js} +4 -4
- package/dist/{StateField-LcRkkvIH.js → StateField-DxKg7Ea-.js} +6 -6
- package/dist/{Step-DaFQX--s.js → Step-ZD1CeO4b.js} +15 -9
- package/dist/{Summary-DgLYHPLg.js → Summary-BJnh9lZz.js} +2 -2
- package/dist/{SummarySection-CLaB0E12.js → SummarySection-D91P7H2B.js} +4 -4
- package/dist/{Task-CkhQ3vzl.js → Task-_WDQUdM0.js} +41 -31
- package/dist/{TaskGroup-BSPFdlu9.js → TaskGroup-C20Kri7W.js} +10 -6
- package/dist/{TaskListItem-B87Vgx8N.js → TaskListItem-BRTxzrek.js} +10 -10
- package/dist/{TaskStepperContextProvider-DiMf4UV6.js → TaskStepperContextProvider-C36jSigo.js} +1 -1
- package/dist/{TaskVerificationStatus-C1CllzL1.js → TaskVerificationStatus-Br7t30ur.js} +1 -1
- package/dist/{TaxInformationFieldGroup-BBASFehB.js → TaxInformationFieldGroup-BiNe6-D4.js} +68 -111
- package/dist/{TaxReportingDropin-BvJ-hNA-.js → TaxReportingDropin-DuZpEzKn.js} +14 -13
- package/dist/{TaxReportingWorkflow-BrlpMImh.js → TaxReportingWorkflow-CMhxj0jx.js} +4 -4
- package/dist/{TermsOfServiceManagement-B4H2Aia2.js → TermsOfServiceManagement-Cp6-BOaT.js} +38 -37
- package/dist/{TextArea-CAZrG_yC.js → TextArea-DD-KMQbg.js} +4 -4
- package/dist/{TextField-DTv1BPA3.js → TextField-Bdu0Wm6_.js} +13 -10
- package/dist/{TrustDetailsPage-DYXIzcxJ.js → TrustDetailsPage-IGLuJZUE.js} +30 -23
- package/dist/{TrustMemberCompanyPage-pvj9sHs2.js → TrustMemberCompanyPage-CNIDzOte.js} +5 -5
- package/dist/{TrustMemberIndividualPage-Dm4S4Vhu.js → TrustMemberIndividualPage-Q_IDqWsr.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-HY6FQpRj.js → TrustMemberRoleAndTypePage-B2EtfK6g.js} +20 -20
- package/dist/{TrustMembersOverview-Bcs79IWP.js → TrustMembersOverview-hDVqCUbB.js} +12 -12
- package/dist/{UboTaskItem-BYQusWWl.js → UboTaskItem-Bt45kkQu.js} +15 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-sBN7kPiI.js → UnincorporatedPartnershipIndividualPage-hkrLvEZw.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DHgq0TLx.js → UnincorporatedPartnershipMemberCompanyPage-B8e9E2t2.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx5UGEcg.js → UnincorporatedPartnershipMemberRoleAndTypePage-Rey_F44n.js} +10 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DxIfkkY7.js → UnincorporatedPartnershipMembersOverview-DPO8TjP4.js} +6 -6
- package/dist/{VerificationErrorAlert-C_qKEwHw.js → VerificationErrorAlert-Lim_NsJO.js} +3 -3
- package/dist/{WebsiteField-BYZAR8k8.js → WebsiteField-BLgq-_me.js} +13 -10
- package/dist/{Workflow-ty27ZzKS.js → Workflow-CnkirZOn.js} +11 -8
- package/dist/{accountHolderUtils-CVX0JkJf.js → accountHolderUtils-D6wEBsLQ.js} +2 -2
- package/dist/adyen-business-financing.js +56 -57
- package/dist/adyen-individual-configuration.js +30 -31
- package/dist/adyen-individual-status.js +30 -31
- package/dist/adyen-invited-decision-maker.js +4 -5
- package/dist/adyen-onboarding.js +52 -178
- package/dist/adyen-terms-of-service-management.js +4 -5
- package/dist/adyen-terms-of-service-status.js +4 -5
- package/dist/adyen-transfer-instrument-configuration.js +30 -31
- package/dist/adyen-transfer-instrument-management.js +37 -38
- package/dist/adyen-verification-status.js +4 -5
- package/dist/{arrow-right-BwP9nNDE.js → arrow-right-3zKAXB3D.js} +2 -2
- package/dist/{bafinUtils-DNq-JBP5.js → bafinUtils-TT8a0y7q.js} +91 -34
- package/dist/{bag-Cnk9dcZg.js → bag-B8b-Jb8Y.js} +2 -2
- package/dist/{bank-UssyP-aG.js → bank-CQrF7P3r.js} +2 -2
- package/dist/bg-BG-CdDdNATP.js +7 -0
- package/dist/{bg-BG-CmuahJEZ.js → bg-BG-g1moSV5i.js} +8 -2
- package/dist/{bg-BG-ClMsmcda.js → bg-BG-s01xQ0IE.js} +16 -2
- package/dist/{bin--Ft4cPCj.js → bin-C4Fu9PHF.js} +2 -2
- package/dist/{capital-BbOFhTHY.js → capital-C1L-Fbue.js} +2 -2
- package/dist/{cash-stack-LTzc8hQZ.js → cash-stack-BpmsCe5x.js} +2 -2
- package/dist/{certificate-CswNcwlI.js → certificate-CEXTu9K7.js} +2 -2
- package/dist/{checkmark-DH1abKZn.js → checkmark-CuqH-tPn.js} +2 -2
- package/dist/{checkmark-circle-VWM-JsI6.js → checkmark-circle-LpY4tMPD.js} +2 -2
- package/dist/{checkmark-circle-fill-AuW2DQDT.js → checkmark-circle-fill-Cp6YFYCT.js} +2 -2
- package/dist/{checkmark-small-B6vsnsSO.js → checkmark-small-DFtNt2po.js} +2 -2
- package/dist/{chevron-down-BGAMP7CF.js → chevron-down-DhQJv6Ph.js} +2 -2
- package/dist/{chevron-left-EjFIt8Cd.js → chevron-left-DkLDfa2Z.js} +2 -2
- package/dist/{chevron-right-B5zb9mkt.js → chevron-right-BZFBWefp.js} +2 -2
- package/dist/{chevron-up-DZiittpJ.js → chevron-up-DRtWAeDd.js} +2 -2
- package/dist/{circle-CygvxRY_.js → circle-KULHbBX2.js} +2 -2
- package/dist/{circle-small-filled-PeElhgJU.js → circle-small-filled-CcOlAzmF.js} +2 -2
- package/dist/{clock-CQXEE5jK.js → clock-DEbxrDAd.js} +2 -2
- package/dist/{coins-C7syygUR.js → coins-C0-5yKat.js} +2 -2
- package/dist/{constants-D2FD75EZ.js → constants-DsYpJv_6.js} +6 -17
- package/dist/{contract-BWEAd7e-.js → contract-B91Vhtk_.js} +2 -2
- package/dist/{cross-vK6qh9R0.js → cross-DX3n6F6N.js} +2 -2
- package/dist/{cross-circle-fill-Bxj_fgQE.js → cross-circle-fill-CrWmQTCZ.js} +2 -2
- package/dist/{cross-circle-fill-small-DwUKcL9P.js → cross-circle-fill-small-BnYkSjuU.js} +2 -2
- package/dist/cs-CZ-CQoPRxwA.js +7 -0
- package/dist/{cs-CZ-DUNmRoYr.js → cs-CZ-CX7RYS3J.js} +8 -2
- package/dist/{cs-CZ-DyLd-erd.js → cs-CZ-DfKxKCsI.js} +16 -2
- package/dist/{da-DK-Dhr4p-qj.js → da-DK-BrKeONXP.js} +16 -2
- package/dist/da-DK-CEe5TTUa.js +7 -0
- package/dist/{da-DK-CWWLFjfT.js → da-DK-Cs_2K6Rd.js} +8 -2
- package/dist/{de-DE-QDT6VVq9.js → de-DE-CaVZKsmT.js} +16 -2
- package/dist/{de-DE-LLIuFER0.js → de-DE-oR2bSTbA.js} +8 -2
- package/dist/de-DE-ut0CGES0.js +7 -0
- package/dist/{document-1-BPWF8zKf.js → document-1-CEBgjg1t.js} +2 -2
- package/dist/{document-person-DVRFNq7g.js → document-person-DO7-omhK.js} +2 -2
- package/dist/{download-DfdpoHdN.js → download-CG9nbHZJ.js} +2 -2
- package/dist/{dropinUtils-QIBtEAdk.js → dropinUtils-CZuO0w1x.js} +13 -88
- package/dist/{edit-1-BgVB06zI.js → edit-1-CCyg-Tid.js} +2 -2
- package/dist/el-GR-BEWi0DRN.js +7 -0
- package/dist/{el-GR-V2cZ5gjl.js → el-GR-DHA0rkvc.js} +16 -2
- package/dist/{el-GR-D9MFsese.js → el-GR-_mz9wRt2.js} +8 -2
- package/dist/{en-US-BMMx67Za.js → en-US-B7V_rOZV.js} +4 -2
- package/dist/en-US-BLUu-I1a.js +7 -0
- package/dist/en-US-BWzZpVaj.js +7 -0
- package/dist/{error-ChMPaOO8.js → error-DBn4_qws.js} +3 -3
- package/dist/es-ES-3Z6u7_Cv.js +7 -0
- package/dist/{es-ES-N-uqwvEU.js → es-ES-B9_eURa2.js} +8 -2
- package/dist/{es-ES-SsReQJzQ.js → es-ES-DsWec_oM.js} +16 -2
- package/dist/es-LA-BgYaYfYK.js +7 -0
- package/dist/{es-LA-DcnCNM5a.js → es-LA-BlWaKaxj.js} +8 -2
- package/dist/{es-LA-DTXCg1tj.js → es-LA-D0FhHrwN.js} +16 -2
- package/dist/{et-EE-Bg3WOS9m.js → et-EE-Bp9-vCYs.js} +16 -2
- package/dist/et-EE-CxTHKlGm.js +7 -0
- package/dist/{et-EE-CkJhiCVw.js → et-EE-D5kWenqz.js} +8 -2
- package/dist/{external-link-BbXGAtFE.js → external-link-De5M4oQX.js} +2 -2
- package/dist/fi-FI-BE-RoRL5.js +7 -0
- package/dist/{fi-FI-D0ZPYGD3.js → fi-FI-DBuyocuK.js} +8 -2
- package/dist/{fi-FI-B1RyWVH2.js → fi-FI-DcwOxjVV.js} +16 -2
- package/dist/{useIndustryCodes-La1cU8oH.js → fieldConfig-Dh_qmAto.js} +13 -2
- package/dist/{formatDataForSummary-GZH9C1ax.js → formatDataForSummary-oC9odBCW.js} +10 -10
- package/dist/{formatValidationError-C_3FU4uR.js → formatValidationError-BsRC83kl.js} +2 -2
- package/dist/{fr-FR-DXXrJUKC.js → fr-FR-CISoBKEC.js} +8 -2
- package/dist/fr-FR-Db4EY5iv.js +7 -0
- package/dist/{fr-FR-C3Zi7-JE.js → fr-FR-_ytHUJlx.js} +16 -2
- package/dist/{getDefaultRegistrationNumberType-CayCB3n0.js → getDefaultRegistrationNumberType-t926T5FG.js} +5 -4
- package/dist/{getTrustedDecisionMakers-DByctgob.js → getTrustedDecisionMakers-CD9uLmHi.js} +2 -2
- package/dist/{getValidationError-DnDzz5ju.js → getValidationError-CXILdPw6.js} +2 -2
- package/dist/{gift-BjS6ErNG.js → gift-BSFlM5Ut.js} +2 -2
- package/dist/{graph-B8rX9eXr.js → graph-DsJyeMAQ.js} +2 -2
- package/dist/{graph-up-Dwaq7upe.js → graph-up-NgJWuRLx.js} +2 -2
- package/dist/{headquarter-CXwws_UP.js → headquarter-DfM7M5jR.js} +2 -2
- package/dist/{hotel-CD5Lv9P7.js → hotel-rSbiYsRy.js} +2 -2
- package/dist/{hr-HR-BeZ1eUy7.js → hr-HR-CXYzhrLe.js} +8 -2
- package/dist/{hr-HR-CH9yGEPn.js → hr-HR-Cb9wbqiH.js} +16 -2
- package/dist/hr-HR-qvMOxoRF.js +7 -0
- package/dist/hu-HU-BNk4CovT.js +7 -0
- package/dist/{hu-HU-BhliM1LD.js → hu-HU-HetRpHop.js} +8 -2
- package/dist/{hu-HU-DpUG3GwC.js → hu-HU-d15vxL_S.js} +16 -2
- package/dist/{image-BTE2a8ZV.js → image-CMNC56qX.js} +2 -2
- package/dist/{info-BTc0bCCM.js → info-B41z2nKP.js} +2 -2
- package/dist/{info-filled-DhYinieW.js → info-filled-uHSCed8u.js} +2 -2
- package/dist/{useId-MW2hvVJz.js → invalidateRootLegalEntity-CnH38v8h.js} +4 -26
- package/dist/{it-IT-BEEsgu4Z.js → it-IT-DBatLxXf.js} +16 -2
- package/dist/{it-IT-BULBjWDc.js → it-IT-DUCIA7fo.js} +8 -2
- package/dist/it-IT-RatP9WIw.js +7 -0
- package/dist/ja-JP-BILx8dc7.js +7 -0
- package/dist/{ja-JP-BjMyxZiN.js → ja-JP-BNHFH7FM.js} +2 -2
- package/dist/{ja-JP-CcXk7Gcc.js → ja-JP-BRdSqCDF.js} +16 -2
- package/dist/{ja-JP-ByMh2iUh.js → ja-JP-CmiLlpqW.js} +8 -2
- package/dist/{location-CwE3Q0gg.js → location-BKdbMTik.js} +2 -2
- package/dist/lt-LT-CZ2yA_Km.js +7 -0
- package/dist/{lt-LT-CGgbFwbx.js → lt-LT-DbzhtTak.js} +16 -2
- package/dist/{lt-LT-CiKIZfk8.js → lt-LT-YfU6BGpp.js} +8 -2
- package/dist/lv-LV-AGwJD157.js +7 -0
- package/dist/{lv-LV-Ck_aQ4ML.js → lv-LV-B17wL3y6.js} +16 -2
- package/dist/{lv-LV-u-vJn6T3.js → lv-LV-C0PK4MKA.js} +8 -2
- package/dist/{mail-CIeugZTd.js → mail-BRy0YL8P.js} +2 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-FUdkDZLN.js → mapAddressLocalizationToJpAddressSchema-D8qKuElS.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BCNX0LPr.js → mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BUKwzRyA.js → mapTransferInstrumentToPayoutAccount-Bet2QLgn.js} +2 -2
- package/dist/{minus-circle-filled-96DZCdcJ.js → minus-circle-filled-CLNsVzoi.js} +2 -2
- package/dist/{nl-NL-B8REgP66.js → nl-NL-CXeqs7dv.js} +8 -2
- package/dist/{nl-NL-_hbzuQ0h.js → nl-NL-CfQsmGB5.js} +16 -2
- package/dist/nl-NL-DNXcBpml.js +7 -0
- package/dist/{no-NO-B_ijkAtf.js → no-NO-B1dqTSiS.js} +16 -2
- package/dist/{no-NO-vasSCJdc.js → no-NO-C2sdKw0r.js} +8 -2
- package/dist/no-NO-vY4nfY9g.js +7 -0
- package/dist/{options-horizontal-BU9r-Xx3.js → options-horizontal-CRXmLqnK.js} +2 -2
- package/dist/{partner-C1SWc0pB.js → partner-cWS5lNgW.js} +2 -2
- package/dist/{pay-by-link-plane-xK4Zkol0.js → pay-by-link-plane-BAhi6LNR.js} +2 -2
- package/dist/{payout-zGf0LNbo.js → payout-3fsBXC47.js} +2 -2
- package/dist/{person-xTKhpEGR.js → person-Uffsnqkd.js} +2 -2
- package/dist/{pl-PL-wpXnySZL.js → pl-PL-BD5OF888.js} +8 -2
- package/dist/{pl-PL-u6DrL8IY.js → pl-PL-DSwjmRZS.js} +16 -2
- package/dist/pl-PL-KmUtZ6lq.js +7 -0
- package/dist/{plus-Cm_dWRpB.js → plus-CPdn1NyG.js} +2 -2
- package/dist/{plus-circle-filled-Df77eidx.js → plus-circle-filled-DN0LL-qV.js} +2 -2
- package/dist/{processValidationErrors-BtJpzvvf.js → processValidationErrors-B-A5EFGo.js} +3 -3
- package/dist/{pt-BR-C5d5CGRt.js → pt-BR-DEBXxRwN.js} +8 -2
- package/dist/{pt-BR-CPS77pGy.js → pt-BR-_3W6lRmq.js} +16 -2
- package/dist/pt-BR-tQCWRhmf.js +7 -0
- package/dist/{pt-PT-B6OslB_S.js → pt-PT-BLpMJNOh.js} +8 -2
- package/dist/{pt-PT-DIKqQR6V.js → pt-PT-BUEnW3xZ.js} +16 -2
- package/dist/pt-PT-ZNVCYAr4.js +7 -0
- package/dist/{recurring-BfwVHJ2Z.js → recurring-CMo7EaV-.js} +2 -2
- package/dist/{resolveEnvironment-A2E4srza.js → registerEmbed-CZDAZwKX.js} +106 -46
- package/dist/{revenue-accelerate-ClN0cx7Z.js → revenue-accelerate-BkzY3gMh.js} +2 -2
- package/dist/{ro-RO-Cg1nG9ns.js → ro-RO-B4LyC5yt.js} +16 -2
- package/dist/{ro-RO-dG27cZbT.js → ro-RO-CHA0yVBc.js} +8 -2
- package/dist/ro-RO-DDdUFz6E.js +7 -0
- package/dist/{roleMetadata-BFD8qjDC.js → roleMetadata-DR0IBuky.js} +3 -3
- package/dist/{save-QK2A-teG.js → save-B1AE8MD9.js} +2 -2
- package/dist/{search-DVSyT7Q7.js → search-7HzLTqcY.js} +2 -2
- package/dist/{show-BRWLIRSA.js → show-DWurwnTZ.js} +2 -2
- package/dist/{sk-SK-Woc9AmiO.js → sk-SK-CI_QfG7S.js} +8 -2
- package/dist/{sk-SK-CRfiVN3e.js → sk-SK-CLhssOsk.js} +16 -2
- package/dist/sk-SK-DdDdEYiT.js +7 -0
- package/dist/{sl-SI-C03fXovT.js → sl-SI-DtZuFHYG.js} +8 -2
- package/dist/{sl-SI-Dpr3StsS.js → sl-SI-QgSjXf-1.js} +16 -2
- package/dist/sl-SI-vefne3eU.js +7 -0
- package/dist/{solution-payments-BZZceFVV.js → solution-payments-DhmPJwd_.js} +2 -2
- package/dist/{store-DLKKLXhn.js → store-fpEz2G1Q.js} +2 -2
- package/dist/style.css +184 -169
- package/dist/styles-DYaAeu4q.js +184 -169
- package/dist/{sv-SE-D5eIbgkk.js → sv-SE-B5pp1e_g.js} +8 -2
- package/dist/{sv-SE-CH4wMrUZ.js → sv-SE-BJgBNvRa.js} +16 -2
- package/dist/sv-SE-DIDlUvzM.js +7 -0
- package/dist/tanstackValidation-BgAM9eKo.js +20 -0
- package/dist/{terminal-1-CpAyEdjO.js → terminal-1-6ggvAFrO.js} +2 -2
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +6 -6
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +11 -11
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/utils/deriveNodeState.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/utils/tanstackValidation.d.ts +14 -0
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +2 -3
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +71 -12
- package/dist/types/api/draft/useCreateDraft.d.ts +3 -0
- package/dist/types/api/draft/useGetDraft.d.ts +5 -0
- package/dist/types/api/draft/useUpdateDraft.d.ts +3 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +21 -5
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +27 -27
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +3 -1
- package/dist/types/components/GlobalEntry/fields/SingpassSelectionCTA/SingpassSelectionCTA.d.ts +6 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +3 -2
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +2 -1
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +9 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/SaveForLater/SaveForLaterButton.d.ts +8 -0
- package/dist/types/components/Shared/SaveForLater/draftMetadata.d.ts +24 -0
- package/dist/types/components/Shared/SaveForLater/useSaveForLater.d.ts +32 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugThemeEditor.d.ts +10 -0
- package/dist/types/components/Shared/devex/DebugListener/customTheme.d.ts +20 -8
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +11 -0
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +18 -1
- package/dist/types/components/Shared/forms/Address/rules.d.ts +10 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/context/ToggleContext/types.d.ts +16 -4
- package/dist/types/core/EmbedShell/themeMode.d.ts +12 -0
- package/dist/types/core/registerEmbed/registerEmbed.d.ts +12 -0
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/utils/deepMerge.d.ts +1 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-DVMWWwBT.js → types-CP3D_hFv.js} +1 -1
- package/dist/{unincorporatedPartnership-7X9o2wKi.js → unincorporatedPartnership-B5pKn0gl.js} +2 -2
- package/dist/{upload-BI7LKlDm.js → upload-DF1deAl3.js} +2 -2
- package/dist/{useBusinessDetailsData-Cs15bK0B.js → useBusinessDetailsData-CPzTltvn.js} +205 -152
- package/dist/{useCanSeeIntroduction-DzYOn-jJ.js → useCanSeeIntroduction-Cnuh14Cr.js} +3 -3
- package/dist/{useForm-CPOxg890.js → useForm-B2fQ78Se.js} +3 -3
- package/dist/{useHideTaskStepper-Betx9MGy.js → useHideTaskStepper-DvHXw3zd.js} +1 -1
- package/dist/{Modal-afeMXOOn.js → useId-AzWxLa17.js} +27 -5
- package/dist/{useNavigate-C9pHkW9F.js → useNavigate-Bx6F2ghI.js} +33 -33
- package/dist/{useSalesChannels-D2UblAHt.js → useSalesChannels-Db_8bYBY.js} +2 -2
- package/dist/useSaveForLater-BQio20Zg.js +200 -0
- package/dist/{useTaskLandedEvent-B_GbpCRR.js → useTaskLandedEvent-DdeWh_nV.js} +2 -2
- package/dist/{useTrustMembers-bzYJw-8r.js → useTrustMembers-CqeR9IVN.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CM8pXQIa.js → useUnincorporatedPartnershipMembers-WOJzF2NV.js} +2 -2
- package/dist/{utils-DTuKY6NW.js → utils-8yLC-qJv.js} +2 -2
- package/dist/{utils-Dpvxf5_a.js → utils-AnusXLKP.js} +2 -2
- package/dist/{utils-B5D6FxHi.js → utils-BfA0Rrku.js} +3 -4
- package/dist/{validate-DEqWFrmE.js → validate-Bcw1m17m.js} +4 -4
- package/dist/{validate-D0s1xnXY.js → validate-Bf1SBTiG.js} +3 -3
- package/dist/{validate-CIG89n0Q.js → validate-CxL6_omc.js} +2 -2
- package/dist/{validate-DCrnvbfv.js → validate-DSR31SH8.js} +9 -9
- package/dist/{validateExtractionResult-D3AuQo5-.js → validateExtractionResult-BD0Vu-XF.js} +2 -2
- package/dist/{warning-circle-fill-ClFvGo5m.js → warning-circle-fill-tyigXMGG.js} +2 -2
- package/dist/{warning-diamond-filled-CWyKR65i.js → warning-diamond-filled-uHVDhfcX.js} +2 -2
- package/dist/{webinar-DWX7Z5Wz.js → webinar-C70iLMbf.js} +2 -2
- package/package.json +5 -5
- package/dist/Icon-jVvV1zXc.js +0 -175
- package/dist/bg-BG-Cdrkwxmc.js +0 -7
- package/dist/cs-CZ-DpiH1UkS.js +0 -7
- package/dist/da-DK-B-BJLcqw.js +0 -7
- package/dist/de-DE-BxTGFyOs.js +0 -7
- package/dist/el-GR-IQwyd9ws.js +0 -7
- package/dist/en-US-8KLaHQaT.js +0 -7
- package/dist/en-US-DPr5RN3e.js +0 -7
- package/dist/es-ES-Cg2IadcX.js +0 -7
- package/dist/es-LA-DvMpG4FP.js +0 -7
- package/dist/et-EE-eGeytyQh.js +0 -7
- package/dist/fi-FI-C02wZfgW.js +0 -7
- package/dist/fr-FR-CE7k9H5_.js +0 -7
- package/dist/hr-HR-B12DcJ3l.js +0 -7
- package/dist/hu-HU-cosbDuos.js +0 -7
- package/dist/it-IT-CiKoOxzk.js +0 -7
- package/dist/ja-JP-D7PEVMmT.js +0 -7
- package/dist/lt-LT-C2oxTakB.js +0 -7
- package/dist/lv-LV-C_KVkpid.js +0 -7
- package/dist/nl-NL-CwNBy0Ku.js +0 -7
- package/dist/no-NO-VqkeNhzB.js +0 -7
- package/dist/pl-PL-Bp218jDD.js +0 -7
- package/dist/pt-BR-CPbFPNwq.js +0 -7
- package/dist/pt-PT-Bz39smeX.js +0 -7
- package/dist/ro-RO-jNItoBZk.js +0 -7
- package/dist/sk-SK-CsSqXqf_.js +0 -7
- package/dist/sl-SI-PRqWis0E.js +0 -7
- package/dist/sv-SE-Dv-rMOdB.js +0 -7
- package/dist/types/adaptiveWorkflow/components/types.d.ts +0 -50
|
@@ -1,15 +1,15 @@
|
|
|
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] = "e4d77820-34ca-4f69-938b-f80d644420c1", e._sentryDebugIdIdentifier = "sentry-dbid-e4d77820-34ca-4f69-938b-f80d644420c1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default } from "./registerEmbed-CZDAZwKX.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
8
|
-
import { t as Button } from "./Button-
|
|
8
|
+
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as Link } from "./Link-
|
|
10
|
+
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-Fszy2PMv.js";
|
|
11
|
+
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-B5pKn0gl.js";
|
|
12
|
+
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
13
13
|
import { lazy } from "preact/compat";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import { Show } from "@preact/signals/utils";
|
|
@@ -21,32 +21,32 @@ var GlobalEntryPage = ({ onComplete }) => {
|
|
|
21
21
|
addResourceBundles(i18n, [{
|
|
22
22
|
ns: "globalEntry",
|
|
23
23
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
24
|
-
"../language/bg-BG.json": () => import("./bg-BG-
|
|
25
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-
|
|
26
|
-
"../language/da-DK.json": () => import("./da-DK-
|
|
27
|
-
"../language/de-DE.json": () => import("./de-DE-
|
|
28
|
-
"../language/el-GR.json": () => import("./el-GR-
|
|
29
|
-
"../language/en-US.json": () => import("./en-US-
|
|
30
|
-
"../language/es-ES.json": () => import("./es-ES-
|
|
31
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
32
|
-
"../language/et-EE.json": () => import("./et-EE-
|
|
33
|
-
"../language/fi-FI.json": () => import("./fi-FI-
|
|
34
|
-
"../language/fr-FR.json": () => import("./fr-FR-
|
|
35
|
-
"../language/hr-HR.json": () => import("./hr-HR-
|
|
36
|
-
"../language/hu-HU.json": () => import("./hu-HU-
|
|
37
|
-
"../language/it-IT.json": () => import("./it-IT-
|
|
38
|
-
"../language/ja-JP.json": () => import("./ja-JP-
|
|
39
|
-
"../language/lt-LT.json": () => import("./lt-LT-
|
|
40
|
-
"../language/lv-LV.json": () => import("./lv-LV-
|
|
41
|
-
"../language/nl-NL.json": () => import("./nl-NL-
|
|
42
|
-
"../language/no-NO.json": () => import("./no-NO-
|
|
43
|
-
"../language/pl-PL.json": () => import("./pl-PL-
|
|
44
|
-
"../language/pt-BR.json": () => import("./pt-BR-
|
|
45
|
-
"../language/pt-PT.json": () => import("./pt-PT-
|
|
46
|
-
"../language/ro-RO.json": () => import("./ro-RO-
|
|
47
|
-
"../language/sk-SK.json": () => import("./sk-SK-
|
|
48
|
-
"../language/sl-SI.json": () => import("./sl-SI-
|
|
49
|
-
"../language/sv-SE.json": () => import("./sv-SE-
|
|
24
|
+
"../language/bg-BG.json": () => import("./bg-BG-s01xQ0IE.js"),
|
|
25
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-DfKxKCsI.js"),
|
|
26
|
+
"../language/da-DK.json": () => import("./da-DK-BrKeONXP.js"),
|
|
27
|
+
"../language/de-DE.json": () => import("./de-DE-CaVZKsmT.js"),
|
|
28
|
+
"../language/el-GR.json": () => import("./el-GR-DHA0rkvc.js"),
|
|
29
|
+
"../language/en-US.json": () => import("./en-US-B7V_rOZV.js"),
|
|
30
|
+
"../language/es-ES.json": () => import("./es-ES-DsWec_oM.js"),
|
|
31
|
+
"../language/es-LA.json": () => import("./es-LA-D0FhHrwN.js"),
|
|
32
|
+
"../language/et-EE.json": () => import("./et-EE-Bp9-vCYs.js"),
|
|
33
|
+
"../language/fi-FI.json": () => import("./fi-FI-DcwOxjVV.js"),
|
|
34
|
+
"../language/fr-FR.json": () => import("./fr-FR-_ytHUJlx.js"),
|
|
35
|
+
"../language/hr-HR.json": () => import("./hr-HR-Cb9wbqiH.js"),
|
|
36
|
+
"../language/hu-HU.json": () => import("./hu-HU-d15vxL_S.js"),
|
|
37
|
+
"../language/it-IT.json": () => import("./it-IT-DBatLxXf.js"),
|
|
38
|
+
"../language/ja-JP.json": () => import("./ja-JP-BRdSqCDF.js"),
|
|
39
|
+
"../language/lt-LT.json": () => import("./lt-LT-DbzhtTak.js"),
|
|
40
|
+
"../language/lv-LV.json": () => import("./lv-LV-B17wL3y6.js"),
|
|
41
|
+
"../language/nl-NL.json": () => import("./nl-NL-CfQsmGB5.js"),
|
|
42
|
+
"../language/no-NO.json": () => import("./no-NO-B1dqTSiS.js"),
|
|
43
|
+
"../language/pl-PL.json": () => import("./pl-PL-DSwjmRZS.js"),
|
|
44
|
+
"../language/pt-BR.json": () => import("./pt-BR-_3W6lRmq.js"),
|
|
45
|
+
"../language/pt-PT.json": () => import("./pt-PT-BUEnW3xZ.js"),
|
|
46
|
+
"../language/ro-RO.json": () => import("./ro-RO-B4LyC5yt.js"),
|
|
47
|
+
"../language/sk-SK.json": () => import("./sk-SK-CLhssOsk.js"),
|
|
48
|
+
"../language/sl-SI.json": () => import("./sl-SI-QgSjXf-1.js"),
|
|
49
|
+
"../language/sv-SE.json": () => import("./sv-SE-BJgBNvRa.js")
|
|
50
50
|
}), `../language/${lang}.json`, 3)
|
|
51
51
|
}]);
|
|
52
52
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
try {
|
|
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] = "8b6ba302-33ac-43d4-96eb-3a3764bf76be", e._sentryDebugIdIdentifier = "sentry-dbid-8b6ba302-33ac-43d4-96eb-3a3764bf76be");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
|
+
import { Suspense, lazy } from "preact/compat";
|
|
7
|
+
import cx from "classnames";
|
|
8
|
+
import { jsx } from "preact/jsx-runtime";
|
|
9
|
+
var Svg_module_default = {
|
|
10
|
+
"svg-icon": "_svg-icon_cdxs7_1",
|
|
11
|
+
svgIcon: "_svg-icon_cdxs7_1",
|
|
12
|
+
"svg-image": "_svg-image_cdxs7_18",
|
|
13
|
+
svgImage: "_svg-image_cdxs7_18"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/ui/atoms/Svg/svgs.ts
|
|
17
|
+
/**
|
|
18
|
+
* Icons are fetched from @adyen/ui-assets-icons-16 package
|
|
19
|
+
* @see https://adyen-ui-assets.netlify.app/
|
|
20
|
+
*
|
|
21
|
+
* This is a subset of the available icons in the package, not because
|
|
22
|
+
* of a specific optimization, but vite needs complete paths to icons as
|
|
23
|
+
* shown below for static analysis.
|
|
24
|
+
*
|
|
25
|
+
* How to add a new icon?
|
|
26
|
+
* Search for it in the url/package above, add the entry below changing
|
|
27
|
+
* the object key and the svg filename.
|
|
28
|
+
*/
|
|
29
|
+
var icons = {
|
|
30
|
+
"arrow-right": lazy(() => import("./arrow-right-3zKAXB3D.js")),
|
|
31
|
+
bag: lazy(() => import("./bag-B8b-Jb8Y.js")),
|
|
32
|
+
bank: lazy(() => import("./bank-CQrF7P3r.js")),
|
|
33
|
+
bin: lazy(() => import("./bin-C4Fu9PHF.js")),
|
|
34
|
+
check: lazy(() => import("./checkmark-CuqH-tPn.js")),
|
|
35
|
+
certificate: lazy(() => import("./certificate-CEXTu9K7.js")),
|
|
36
|
+
checkmark: lazy(() => import("./checkmark-circle-fill-Cp6YFYCT.js")),
|
|
37
|
+
"checkmark-circle": lazy(() => import("./checkmark-circle-LpY4tMPD.js")),
|
|
38
|
+
"checkmark-small": lazy(() => import("./checkmark-small-DFtNt2po.js")),
|
|
39
|
+
"chevron-down": lazy(() => import("./chevron-down-DhQJv6Ph.js")),
|
|
40
|
+
"chevron-right": lazy(() => import("./chevron-right-BZFBWefp.js")),
|
|
41
|
+
"chevron-left": lazy(() => import("./chevron-left-DkLDfa2Z.js")),
|
|
42
|
+
"chevron-up": lazy(() => import("./chevron-up-DRtWAeDd.js")),
|
|
43
|
+
"cash-stack": lazy(() => import("./cash-stack-BpmsCe5x.js")),
|
|
44
|
+
circle: lazy(() => import("./circle-KULHbBX2.js")),
|
|
45
|
+
"circle-small-filled": lazy(() => import("./circle-small-filled-CcOlAzmF.js")),
|
|
46
|
+
clock: lazy(() => import("./clock-DEbxrDAd.js")),
|
|
47
|
+
company: lazy(() => import("./headquarter-DfM7M5jR.js")),
|
|
48
|
+
capital: lazy(() => import("./capital-C1L-Fbue.js")),
|
|
49
|
+
"company-2": lazy(() => import("./hotel-rSbiYsRy.js")),
|
|
50
|
+
contract: lazy(() => import("./contract-B91Vhtk_.js")),
|
|
51
|
+
cross: lazy(() => import("./cross-DX3n6F6N.js")),
|
|
52
|
+
coins: lazy(() => import("./coins-C0-5yKat.js")),
|
|
53
|
+
"decision-maker": lazy(() => import("./person-Uffsnqkd.js")),
|
|
54
|
+
document: lazy(() => import("./document-1-CEBgjg1t.js")),
|
|
55
|
+
download: lazy(() => import("./download-CG9nbHZJ.js")),
|
|
56
|
+
edit: lazy(() => import("./edit-1-CCyg-Tid.js")),
|
|
57
|
+
"external-link": lazy(() => import("./external-link-De5M4oQX.js")),
|
|
58
|
+
"graph-up": lazy(() => import("./graph-up-NgJWuRLx.js")),
|
|
59
|
+
graph: lazy(() => import("./graph-DsJyeMAQ.js")),
|
|
60
|
+
gift: lazy(() => import("./gift-BSFlM5Ut.js")),
|
|
61
|
+
"field-error": lazy(() => import("./warning-circle-fill-tyigXMGG.js")),
|
|
62
|
+
headquarter: lazy(() => import("./headquarter-DfM7M5jR.js")),
|
|
63
|
+
"info-circle": lazy(() => import("./info-B41z2nKP.js")),
|
|
64
|
+
"info-circle-filled": lazy(() => import("./info-filled-uHSCed8u.js")),
|
|
65
|
+
image: lazy(() => import("./image-CMNC56qX.js")),
|
|
66
|
+
location: lazy(() => import("./location-BKdbMTik.js")),
|
|
67
|
+
"more-horiz": lazy(() => import("./options-horizontal-CRXmLqnK.js")),
|
|
68
|
+
mail: lazy(() => import("./mail-BRy0YL8P.js")),
|
|
69
|
+
minusCircleFilled: lazy(() => import("./minus-circle-filled-CLNsVzoi.js")),
|
|
70
|
+
payByLinkPlane: lazy(() => import("./pay-by-link-plane-BAhi6LNR.js")),
|
|
71
|
+
payout: lazy(() => import("./payout-3fsBXC47.js")),
|
|
72
|
+
pci: lazy(() => import("./checkmark-circle-LpY4tMPD.js")),
|
|
73
|
+
plus: lazy(() => import("./plus-CPdn1NyG.js")),
|
|
74
|
+
plusCircleFilled: lazy(() => import("./plus-circle-filled-DN0LL-qV.js")),
|
|
75
|
+
recurring: lazy(() => import("./recurring-CMo7EaV-.js")),
|
|
76
|
+
remove: lazy(() => import("./cross-circle-fill-small-BnYkSjuU.js")),
|
|
77
|
+
error: lazy(() => import("./cross-circle-fill-CrWmQTCZ.js")),
|
|
78
|
+
"revenue-accelerate": lazy(() => import("./revenue-accelerate-BkzY3gMh.js")),
|
|
79
|
+
save: lazy(() => import("./save-B1AE8MD9.js")),
|
|
80
|
+
search: lazy(() => import("./search-7HzLTqcY.js")),
|
|
81
|
+
show: lazy(() => import("./show-DWurwnTZ.js")),
|
|
82
|
+
solutionPayments: lazy(() => import("./solution-payments-DhmPJwd_.js")),
|
|
83
|
+
store: lazy(() => import("./store-fpEz2G1Q.js")),
|
|
84
|
+
terminal: lazy(() => import("./terminal-1-6ggvAFrO.js")),
|
|
85
|
+
trust: lazy(() => import("./partner-cWS5lNgW.js")),
|
|
86
|
+
user: lazy(() => import("./person-Uffsnqkd.js")),
|
|
87
|
+
"user-business": lazy(() => import("./document-person-DO7-omhK.js")),
|
|
88
|
+
upload: lazy(() => import("./upload-DF1deAl3.js")),
|
|
89
|
+
"users-3": lazy(() => import("./4-people-C_-N5Vvz.js")),
|
|
90
|
+
warning: lazy(() => import("./warning-diamond-filled-uHVDhfcX.js")),
|
|
91
|
+
webinar: lazy(() => import("./webinar-C70iLMbf.js"))
|
|
92
|
+
};
|
|
93
|
+
var customIcons = {
|
|
94
|
+
review: lazy(() => import("./review-CN-zt9-S.js")),
|
|
95
|
+
"funds-in": lazy(() => import("./funds-in-BvQVahzR.js")),
|
|
96
|
+
house: lazy(() => import("./house-DFPq_koC.js")),
|
|
97
|
+
reporting: lazy(() => import("./reporting-B084dXT2.js"))
|
|
98
|
+
};
|
|
99
|
+
var svgs = {
|
|
100
|
+
...icons,
|
|
101
|
+
...customIcons
|
|
102
|
+
};
|
|
103
|
+
var unscalableIconNames = [
|
|
104
|
+
"bin",
|
|
105
|
+
"check",
|
|
106
|
+
"checkmark",
|
|
107
|
+
"checkmark-small",
|
|
108
|
+
"chevron-right",
|
|
109
|
+
"chevron-left",
|
|
110
|
+
"company",
|
|
111
|
+
"contract",
|
|
112
|
+
"cross",
|
|
113
|
+
"decision-maker",
|
|
114
|
+
"document",
|
|
115
|
+
"download",
|
|
116
|
+
"edit",
|
|
117
|
+
"error",
|
|
118
|
+
"info-circle",
|
|
119
|
+
"info-circle-filled",
|
|
120
|
+
"image",
|
|
121
|
+
"location",
|
|
122
|
+
"payout",
|
|
123
|
+
"pci",
|
|
124
|
+
"plus",
|
|
125
|
+
"remove",
|
|
126
|
+
"save",
|
|
127
|
+
"search",
|
|
128
|
+
"trust",
|
|
129
|
+
"user",
|
|
130
|
+
"upload",
|
|
131
|
+
"warning"
|
|
132
|
+
];
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region src/components/ui/atoms/Svg/Svg.tsx
|
|
135
|
+
var logger = createLogger();
|
|
136
|
+
var Svg = ({ className, name, testId, title }) => {
|
|
137
|
+
const LazyLoadedSvg = svgs[name];
|
|
138
|
+
/**
|
|
139
|
+
* TODO: temporary solution to add a viewbox to the ui-asset-icons
|
|
140
|
+
* If the package gets the viewbox we can safely remove this
|
|
141
|
+
* If it doesn't we can remove the package and go back to non-package icons
|
|
142
|
+
*
|
|
143
|
+
* This is used as a conditional below to make sure that svg that have a viewbox
|
|
144
|
+
* do not see it getting removed by viewBox={undefined}
|
|
145
|
+
*/
|
|
146
|
+
const viewBox = unscalableIconNames.includes(name) ? "0 0 16 16" : void 0;
|
|
147
|
+
if (!LazyLoadedSvg) {
|
|
148
|
+
logger.error(`No such svg: "${name}"`);
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
return /* @__PURE__ */ jsx("span", {
|
|
152
|
+
className: cx(Svg_module_default[`svg-icon`], className),
|
|
153
|
+
"data-testid": testId ?? "svg-icon",
|
|
154
|
+
children: /* @__PURE__ */ jsx(Suspense, {
|
|
155
|
+
fallback: null,
|
|
156
|
+
children: viewBox ? /* @__PURE__ */ jsx(LazyLoadedSvg, {
|
|
157
|
+
"aria-hidden": true,
|
|
158
|
+
viewBox,
|
|
159
|
+
title: title || name
|
|
160
|
+
}) : /* @__PURE__ */ jsx(LazyLoadedSvg, {
|
|
161
|
+
"aria-hidden": true,
|
|
162
|
+
title: title || name
|
|
163
|
+
})
|
|
164
|
+
})
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region src/components/ui/atoms/Icon/Icon.tsx
|
|
169
|
+
var Icon = ({ name, className, ...props }) => /* @__PURE__ */ jsx(Svg, {
|
|
170
|
+
className,
|
|
171
|
+
name,
|
|
172
|
+
...props
|
|
173
|
+
});
|
|
174
|
+
//#endregion
|
|
175
|
+
export { Icon as t };
|
|
@@ -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] = "270eec36-e13f-4a3c-85eb-ed612c6e6fa7", e._sentryDebugIdIdentifier = "sentry-dbid-270eec36-e13f-4a3c-85eb-ed612c6e6fa7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { t as Checkbox } from "./Checkbox-
|
|
8
|
-
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-
|
|
9
|
-
import { a as translateTranslatable, o as Field } from "./Select-
|
|
10
|
-
import { A as
|
|
7
|
+
import { t as Checkbox } from "./Checkbox-Ec4wyyJQ.js";
|
|
8
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-B5pKn0gl.js";
|
|
9
|
+
import { a as translateTranslatable, o as Field } from "./Select-DtO-GvLp.js";
|
|
10
|
+
import { A as alphanumericInputs, D as validatePatternOnBlur, F as spacer, M as makeMask, N as nonInputs, O as uppercase, P as numericInputs, _ as mergeFieldMetadataIntoProps, g as createFormUtils, j as customInputs, k as alphaInputs, r as MaskedInput } from "./dropinUtils-CZuO0w1x.js";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/utils/regex/countryIdNumberPatterns.ts
|
|
13
13
|
var CountryIdNumberPatterns = {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "11a8003e-5afd-446d-a936-96b1d55c20f7", e._sentryDebugIdIdentifier = "sentry-dbid-11a8003e-5afd-446d-a936-96b1d55c20f7");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-B5pKn0gl.js";
|
|
6
|
+
import { i as defaultFieldMetadata, r as defaultFieldConfig, t as IdentityNumber } from "./IdentityNumber-M8NzdW3O.js";
|
|
6
7
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
8
|
+
import { t as toTanStackValidators } from "./tanstackValidation-BgAM9eKo.js";
|
|
7
9
|
import { useCallback } from "preact/hooks";
|
|
8
10
|
import { jsx } from "preact/jsx-runtime";
|
|
9
11
|
import { useStore } from "@tanstack/preact-form";
|
|
@@ -19,6 +21,13 @@ function getEventValue(value) {
|
|
|
19
21
|
}
|
|
20
22
|
return value;
|
|
21
23
|
}
|
|
24
|
+
function createInvalidResult(errorMessage) {
|
|
25
|
+
return {
|
|
26
|
+
isValid: false,
|
|
27
|
+
hasError: true,
|
|
28
|
+
errorMessage
|
|
29
|
+
};
|
|
30
|
+
}
|
|
22
31
|
var IdentityNumberFieldGroup = withForm({
|
|
23
32
|
defaultValues: {},
|
|
24
33
|
props: {},
|
|
@@ -29,6 +38,7 @@ var IdentityNumberFieldGroup = withForm({
|
|
|
29
38
|
idNumber: getNestedValue(s.values, idNumberPath),
|
|
30
39
|
idNumberExempt: getNestedValue(s.values, idNumberExemptPath)
|
|
31
40
|
}));
|
|
41
|
+
const fieldMetadata = resolveFieldMetadata(defaultFieldConfig[country], { idNumberType }, defaultFieldMetadata);
|
|
32
42
|
const handleFieldChange = useCallback((fieldName, _mode) => (value) => {
|
|
33
43
|
const fieldPath = fieldName === "idNumber" ? idNumberPath : idNumberExemptPath;
|
|
34
44
|
form.setFieldValue(fieldPath, getEventValue(value));
|
|
@@ -37,20 +47,32 @@ var IdentityNumberFieldGroup = withForm({
|
|
|
37
47
|
idNumberPath,
|
|
38
48
|
idNumberExemptPath
|
|
39
49
|
]);
|
|
40
|
-
return /* @__PURE__ */ jsx(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
return /* @__PURE__ */ jsx(form.Field, {
|
|
51
|
+
name: idNumberPath,
|
|
52
|
+
validators: toTanStackValidators(fieldMetadata.validators),
|
|
53
|
+
children: (field) => {
|
|
54
|
+
const hasError = field.state.meta.isTouched && !field.state.meta.isValid;
|
|
55
|
+
const errorMessage = field.state.meta.errors[0];
|
|
56
|
+
const errors = { idNumber: hasError ? createInvalidResult(errorMessage) : null };
|
|
57
|
+
return /* @__PURE__ */ jsx(IdentityNumber, {
|
|
58
|
+
country,
|
|
59
|
+
data,
|
|
60
|
+
errors,
|
|
61
|
+
fieldValidationErrors: {},
|
|
62
|
+
handleFieldChange: (fieldName, mode) => (value) => {
|
|
63
|
+
handleFieldChange(fieldName, mode)(value);
|
|
64
|
+
if (fieldName === "idNumber" && mode === "blur") field.handleBlur();
|
|
65
|
+
},
|
|
66
|
+
idNumberType,
|
|
67
|
+
obscuredFields,
|
|
68
|
+
optionalFields,
|
|
69
|
+
readOnlyFields,
|
|
70
|
+
requiredFields: ["idNumber"],
|
|
71
|
+
valid: {
|
|
72
|
+
idNumber: !hasError,
|
|
73
|
+
idNumberExempt: true
|
|
74
|
+
}
|
|
75
|
+
});
|
|
54
76
|
}
|
|
55
77
|
});
|
|
56
78
|
}
|
package/dist/{IdentityScreeningWorkflow-GYt_zgUF.js → IdentityScreeningWorkflow-kYczDRbc.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
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] = "387601bb-260c-4417-bbe6-30ecb3f1b7a2", e._sentryDebugIdIdentifier = "sentry-dbid-387601bb-260c-4417-bbe6-30ecb3f1b7a2");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { T as Alert, i as isDarkMode } from "./registerEmbed-CZDAZwKX.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
10
10
|
import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
|
|
11
|
-
import {
|
|
12
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
13
|
-
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-
|
|
14
|
-
import { p as LoaderWrapper } from "./Select-
|
|
15
|
-
import {
|
|
16
|
-
import { c as DataConflictsModal } from "./bafinUtils-
|
|
17
|
-
import { t as Link } from "./Link-
|
|
18
|
-
import { a as fromIndividualConflictSchema, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult } from "./validateExtractionResult-
|
|
11
|
+
import { n as Modal } from "./useId-AzWxLa17.js";
|
|
12
|
+
import { t as EndStateLayout } from "./EndStateLayout-CBzxX67s.js";
|
|
13
|
+
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-B5pKn0gl.js";
|
|
14
|
+
import { p as LoaderWrapper } from "./Select-DtO-GvLp.js";
|
|
15
|
+
import { b as FormFlow_module_default } from "./dropinUtils-CZuO0w1x.js";
|
|
16
|
+
import { c as DataConflictsModal } from "./bafinUtils-TT8a0y7q.js";
|
|
17
|
+
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
18
|
+
import { a as fromIndividualConflictSchema, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult } from "./validateExtractionResult-BD0Vu-XF.js";
|
|
19
19
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
20
|
-
import { t as useHideTaskStepper } from "./useHideTaskStepper-
|
|
20
|
+
import { t as useHideTaskStepper } from "./useHideTaskStepper-DvHXw3zd.js";
|
|
21
21
|
import { lazy } from "preact/compat";
|
|
22
22
|
import { useEffect as useEffect$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
23
23
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -64,7 +64,8 @@ var initOnfido = async ({ containerEl, token, t, locale, onComplete, onError, sh
|
|
|
64
64
|
onComplete,
|
|
65
65
|
onError,
|
|
66
66
|
steps,
|
|
67
|
-
language: getOnfidoLocaleConfig(locale, t)
|
|
67
|
+
language: getOnfidoLocaleConfig(locale, t),
|
|
68
|
+
theme: { name: isDarkMode.value ? "dark" : "light" }
|
|
68
69
|
});
|
|
69
70
|
};
|
|
70
71
|
function OnfidoCaptureModal({ closeModal, legalEntityId, minimumApplicantDetails, onComplete, onError, showMotionCapture }) {
|
|
@@ -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] = "7b000b80-45af-4ad5-83fc-8bd269142802", e._sentryDebugIdIdentifier = "sentry-dbid-7b000b80-45af-4ad5-83fc-8bd269142802");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { A as useAllowedCountries, D as useDataset, G as INDIVIDUAL_VALID_CHAR_REGEX, J as NO_ALPHABET_UNICODE_REGEX, N as Header, O as datasetIdentifier, T as Alert, U as EMOJI_REGEX, a as useGetTaskStatus, bt as useVersionConfiguration, c as getAgeRangeForLegalRepresentative, ct as isEmpty, ht as standardKatakanaValidator, i as isDarkMode, it as hasMaximumTwoRepeatedCharacters, j as useCapabilities, k as datasetUtilities, l as getAgeToday, mt as standardKanjiValidator, ot as hasText, pt as matchesRegex, u as isLegalRepresentativeNeeded, ut as isInvalidName, vt as useAccountHolder } from "./registerEmbed-CZDAZwKX.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
11
11
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
12
12
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
13
13
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
@@ -21,45 +21,46 @@ import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
|
21
21
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
22
22
|
import { s as getAvailableDecisionMakerRoleTypes, t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-DA8MK9Dh.js";
|
|
23
23
|
import { i as isLowRiskCountry } from "./country-WYlusjTL.js";
|
|
24
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, i as convertFullToHalf, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-
|
|
29
|
-
import { a as translateTranslatable, o as Field, p as LoaderWrapper, t as Select } from "./Select-
|
|
30
|
-
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-
|
|
31
|
-
import { f as addressFields, h as useUpdateLegalEntity, m as isEmpty$1, p as isJapanLocalizationEnabled, s as addressFieldRule } from "./StateField-
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
24
|
+
import { i as useToggleContext } from "./Checkbox-Ec4wyyJQ.js";
|
|
25
|
+
import { a as useAnalyticsContext, n as Modal } from "./useId-AzWxLa17.js";
|
|
26
|
+
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-SDQSOsEf.js";
|
|
27
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-CnH38v8h.js";
|
|
28
|
+
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, i as convertFullToHalf, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-B5pKn0gl.js";
|
|
29
|
+
import { a as translateTranslatable, o as Field, p as LoaderWrapper, t as Select } from "./Select-DtO-GvLp.js";
|
|
30
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-BfA0Rrku.js";
|
|
31
|
+
import { f as addressFields, h as useUpdateLegalEntity, m as isEmpty$1, p as isJapanLocalizationEnabled, s as addressFieldRule } from "./StateField-DxKg7Ea-.js";
|
|
32
|
+
import { H as FormContextProvider, I as useMultiForm, R as isTruthyValidator, _ as mergeFieldMetadataIntoProps, c as CountryField, g as createFormUtils, i as InputEmail, n as getRequiredForms, p as isValidationError, r as MaskedInput, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-CZuO0w1x.js";
|
|
33
|
+
import { R as mapSchemaFieldsToApiScriptLocalization, V as taxIdNumberOptions, _ as taxInformationDefaultFieldMetadata, a as idNowPostSubmit, c as DataConflictsModal, f as findExistingTaxInformation, g as taxInformationDefaultFieldConfig, i as idNowModalChildEntityId, n as isBafinSignatoryFlow, o as shouldShowIdNowModal, s as showIdNowModal, u as TaxInformationField, v as toFullWidth } from "./bafinUtils-TT8a0y7q.js";
|
|
34
34
|
import { t as getIndividualLegalEntityName } from "./getName-Cii7OyRd.js";
|
|
35
35
|
import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
|
|
36
36
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
|
|
37
|
-
import { a as getSubmittableTaxInformation, c as individualFormDefaultData, i as getOnfidoIdentityTypeToApiIdentityTypeMap, l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, o as GuidanceQuestion, r as mapLegalEntityToIndividualSchema, s as GuidanceQuestionValues, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-
|
|
38
|
-
import { n as useProviderStatus, t as AddressFields } from "./AddressFields-
|
|
39
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
37
|
+
import { a as getSubmittableTaxInformation, c as individualFormDefaultData, i as getOnfidoIdentityTypeToApiIdentityTypeMap, l as shouldNavigateToAdditionalPersonalDetailsForMissingData, n as SummaryBulletList, o as GuidanceQuestion, r as mapLegalEntityToIndividualSchema, s as GuidanceQuestionValues, t as formatDataForSummary, u as useCreateInvitation } from "./formatDataForSummary-oC9odBCW.js";
|
|
38
|
+
import { n as useProviderStatus, t as AddressFields } from "./AddressFields-CF-UaSiA.js";
|
|
39
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-CZgDXYqx.js";
|
|
40
40
|
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CqbTLZ6i.js";
|
|
41
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
42
|
-
import { n as
|
|
41
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DdeWh_nV.js";
|
|
42
|
+
import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-BQio20Zg.js";
|
|
43
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-B-A5EFGo.js";
|
|
43
44
|
import { a as getFileExtention, c as mergeAttachments, n as documentApiUtils, o as getIdDocument, r as getDocument, s as isIdDocumentType, t as createDocumentRequest, u as getLocalizedIdDocumentTypeOptions } from "./documentUtils-6K3LdjjN.js";
|
|
44
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
45
|
-
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-
|
|
46
|
-
import { a as getAsyncIdNumberValidationRule, i as defaultFieldMetadata$1, n as idNumberFields, o as licenseCardNumberDefaultConfig, r as defaultFieldConfig, s as licenseCardNumberDefaultMetadata, t as IdentityNumber } from "./IdentityNumber-
|
|
47
|
-
import { t as InputDate } from "./InputDate-
|
|
48
|
-
import { t as addressValidators } from "./validate-
|
|
45
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-O5TlzUXU.js";
|
|
46
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-DBn4_qws.js";
|
|
47
|
+
import { a as getAsyncIdNumberValidationRule, i as defaultFieldMetadata$1, n as idNumberFields, o as licenseCardNumberDefaultConfig, r as defaultFieldConfig, s as licenseCardNumberDefaultMetadata, t as IdentityNumber } from "./IdentityNumber-M8NzdW3O.js";
|
|
48
|
+
import { t as InputDate } from "./InputDate-fc3bdvdZ.js";
|
|
49
|
+
import { t as addressValidators } from "./validate-Bf1SBTiG.js";
|
|
49
50
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
50
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
51
|
-
import { t as TextArea } from "./TextArea-
|
|
52
|
-
import { t as Dropzone } from "./Dropzone-
|
|
51
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-DUI1R5Sq.js";
|
|
52
|
+
import { t as TextArea } from "./TextArea-DD-KMQbg.js";
|
|
53
|
+
import { t as Dropzone } from "./Dropzone-D7Z9PsqG.js";
|
|
53
54
|
import { n as getFieldProps, r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
54
|
-
import { t as Link } from "./Link-
|
|
55
|
+
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
55
56
|
import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
|
|
56
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
57
|
-
import { n as nameFields, t as Name } from "./Name-
|
|
58
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
59
|
-
import { a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString } from "./validateExtractionResult-
|
|
60
|
-
import { t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
61
|
-
import { t as Summary } from "./Summary-
|
|
62
|
-
import { t as SummarySection } from "./SummarySection-
|
|
57
|
+
import { t as ContextGuidance } from "./ContextGuidance-C8FlwEPA.js";
|
|
58
|
+
import { n as nameFields, t as Name } from "./Name-r1ugrnWU.js";
|
|
59
|
+
import { t as formatValidationError } from "./formatValidationError-BsRC83kl.js";
|
|
60
|
+
import { a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString } from "./validateExtractionResult-BD0Vu-XF.js";
|
|
61
|
+
import { t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-myaH4YTR.js";
|
|
62
|
+
import { t as Summary } from "./Summary-BJnh9lZz.js";
|
|
63
|
+
import { t as SummarySection } from "./SummarySection-D91P7H2B.js";
|
|
63
64
|
import { Suspense, lazy, memo } from "preact/compat";
|
|
64
65
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
65
66
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -853,10 +854,15 @@ var REMEDIATION_CODES_UPLOAD_ID = [
|
|
|
853
854
|
"1_302",
|
|
854
855
|
"1_303"
|
|
855
856
|
];
|
|
856
|
-
var individualRules = ({ matchingScenario, data, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, rootLegalEntity, problems, version }) => {
|
|
857
|
+
var individualRules = ({ matchingScenario, data, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, rootLegalEntity, problems, version = 3 }) => {
|
|
857
858
|
/** A decision maker is localized by the country of the entity they belong to. */
|
|
858
859
|
const japanTargetCountry = () => taskType === TaskTypes.DECISION_MAKER && rootLegalEntity && getLegalEntityCountry(rootLegalEntity) || country;
|
|
859
|
-
const addressFieldRequired = (field) => addressFieldRule(
|
|
860
|
+
const addressFieldRequired = (field) => addressFieldRule({
|
|
861
|
+
field,
|
|
862
|
+
country,
|
|
863
|
+
isSettingEnabled,
|
|
864
|
+
version
|
|
865
|
+
});
|
|
860
866
|
return createFormRules({
|
|
861
867
|
countryUsesTaxId: () => {
|
|
862
868
|
if (matchingScenario?.includes(Scenarios.L_TAXINFO) && TAX_ID_REQUIRED_COUNTRIES.includes(country)) return "REQUIRED";
|
|
@@ -1240,7 +1246,7 @@ var additionalIdentityInfoFields = [
|
|
|
1240
1246
|
];
|
|
1241
1247
|
//#endregion
|
|
1242
1248
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.tsx
|
|
1243
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
1249
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-Dhe_cQhr.js")).JpAddressFields);
|
|
1244
1250
|
var additionalPersonalDetailsFields = [
|
|
1245
1251
|
"birthDate",
|
|
1246
1252
|
...idNumberFields,
|
|
@@ -1789,7 +1795,8 @@ var initOnfido = async ({ containerEl, token, t, locale, onIdVerificationComplet
|
|
|
1789
1795
|
onComplete: onIdVerificationComplete,
|
|
1790
1796
|
onError: onIdVerificationError,
|
|
1791
1797
|
steps,
|
|
1792
|
-
language: getOnfidoLocaleConfig(locale, t)
|
|
1798
|
+
language: getOnfidoLocaleConfig(locale, t),
|
|
1799
|
+
theme: { name: isDarkMode.value ? "dark" : "light" }
|
|
1793
1800
|
});
|
|
1794
1801
|
};
|
|
1795
1802
|
var logger$3 = createLogger();
|
|
@@ -3734,7 +3741,7 @@ function IndividualDropin({ taskType = TaskTypes.INDIVIDUAL, parentLegalEntity,
|
|
|
3734
3741
|
existingIdNumber: dataFromResponse.additionalPersonalDetails?.idNumber,
|
|
3735
3742
|
formVerificationErrors: problems?.verificationErrors?.additionalPersonalDetails,
|
|
3736
3743
|
t,
|
|
3737
|
-
taxIdNumberType: data?.additionalPersonalDetails?.taxInformation
|
|
3744
|
+
taxIdNumberType: findExistingTaxInformation(data?.additionalPersonalDetails?.taxInformation, data?.additionalPersonalDetails?.country ?? parentCountry)?.type
|
|
3738
3745
|
}),
|
|
3739
3746
|
inviteDetails: inviteDetailsValidators()
|
|
3740
3747
|
}), [
|
|
@@ -4165,6 +4172,16 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4165
4172
|
gotoFormByFormId(shouldNavigateToAdditionalPersonalDetails ? individualForms.additionalPersonalDetails.formId : individualForms.signatoryQuestionnaire.formId);
|
|
4166
4173
|
}
|
|
4167
4174
|
const disableNextButton = activeForm?.formId === "idVerificationMethod" && !activeForm?.isValid || isNextStepDisabled.value;
|
|
4175
|
+
const { handleSaveForLater, isSavingForLater } = useSaveForLater({
|
|
4176
|
+
form,
|
|
4177
|
+
activeForms: forms,
|
|
4178
|
+
existingData: legalEntityResponse ?? {},
|
|
4179
|
+
flowName: taskType,
|
|
4180
|
+
isRestoreReady: legalEntityResponse?.id === rootLegalEntityId.value && Boolean(documents),
|
|
4181
|
+
onDraftSaved: () => handleHomeClick?.(),
|
|
4182
|
+
mapFormDataToDraft: (formData) => mapIndividualSchemaToLegalEntity(formData, matchingScenario, legalEntityResponse?.individual?.taxInformation, country),
|
|
4183
|
+
mapSavedDraftToFormData: (draft) => mapLegalEntityToIndividualSchema(draft, isTargetLegalEntityType, isRoleFieldNeeded, parentLegalEntity)
|
|
4184
|
+
});
|
|
4168
4185
|
if (showGettingStarted) return /* @__PURE__ */ jsx(IndividualGettingStarted, {
|
|
4169
4186
|
handleGetStartedClick: () => setShowGettingStarted(false),
|
|
4170
4187
|
handleCancelClick: handleHomeClick
|
|
@@ -4197,6 +4214,10 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4197
4214
|
handleNextClick: nextHandler || handleNextClick,
|
|
4198
4215
|
loadingStatus,
|
|
4199
4216
|
totalSteps: steps.total,
|
|
4217
|
+
footerActions: legalEntityResponse?.id === rootLegalEntityId.value ? /* @__PURE__ */ jsx(SaveForLaterButton, {
|
|
4218
|
+
loading: isSavingForLater,
|
|
4219
|
+
onClick: handleSaveForLater
|
|
4220
|
+
}) : null,
|
|
4200
4221
|
children: /* @__PURE__ */ jsx(Individual, {
|
|
4201
4222
|
...derivedProps,
|
|
4202
4223
|
requiredFields,
|