@adyen/kyc-components 3.88.3 → 3.89.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/{AcceptTermsOfServiceComponent-C4leZnSF.js → AcceptTermsOfServiceComponent-BpY2Ca7S.js} +18 -17
- package/dist/{Accordion-DUUSVxkw.js → Accordion-12qO9tR4.js} +1 -1
- package/dist/{AccountSetupRejected-BRX1HPFG.js → AccountSetupRejected-Dc1qvZzi.js} +3 -3
- package/dist/{ActionBar-ypa754Bo.js → ActionBar-rS_3rkAn.js} +1 -1
- package/dist/{Address-B-Haor9X.js → Address-DyXJyl-b.js} +8 -8
- package/dist/{Alert-Dip6cD6_.js → Alert-D2SzQ0IO.js} +2 -2
- package/dist/{Avatar-BWDxPXzE.js → Avatar-B4nJxHnr.js} +1 -1
- package/dist/{BG-DlvaKo4n.js → BG-HKzabLqZ.js} +2 -2
- package/dist/{BusinessDetailsMultiformDropin-C5mm90VF.js → BusinessDetailsMultiformDropin-B-uum6ec.js} +92 -151
- package/dist/{BusinessFinancingComponent-ClJ_d7uf.js → BusinessFinancingComponent-DPqcRMd4.js} +5 -5
- package/dist/{BusinessFinancingDropin-Bf7o6pZB.js → BusinessFinancingDropin-DYMl460N.js} +22 -22
- package/dist/{BusinessFinancingPage-5fKFkSYY.js → BusinessFinancingPage-DaWUo8DB.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-BaWyG52n.js → BusinessTypeSelectionPage-C_r8RSsJ.js} +9 -9
- package/dist/{Card-DGTo53bC.js → Card-Bu6wfAhS.js} +2 -2
- package/dist/{ConstitutionalDocument-MQAVac06.js → ConstitutionalDocument-BQXiBeEz.js} +9 -9
- package/dist/{CountryField-BnVZWFHc.js → CountryField-CPPAj3Nz.js} +6 -6
- package/dist/{CreateIndividualComponent-CYtjcPbj.js → CreateIndividualComponent-6sMullTB.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-BDd4nrO8.js → CreateTransferInstrumentComponent-_En3gq29.js} +6 -6
- package/dist/{Currency-CI0bEuvP.js → Currency-BMonuVb3.js} +4 -4
- package/dist/{CustomerSupport-BRwFBEfQ.js → CustomerSupport-C2F5vR71.js} +10 -10
- package/dist/{DebugModal-kw1scr1y.js → DebugModal-DlWMPEpB.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DkF--RZo.js → DecisionMakerDetailsPage-B0TUCKqI.js} +7 -7
- package/dist/{DecisionMakers-BGikhBS0.js → DecisionMakers-BtaSw0dz.js} +47 -35
- package/dist/{EmbeddedStatus-D-UY15TU.js → EmbeddedStatus-DhvAuoZm.js} +2 -2
- package/dist/{EndStateLayout-B-Yg0bgi.js → EndStateLayout-CD51NAaK.js} +1 -1
- package/dist/{EntityAssociation-DzOcs1KC.js → EntityAssociation-Dp2GqDP_.js} +7 -7
- package/dist/{EntityGuidanceStatus-DcRAWTL2.js → EntityGuidanceStatus-B0OEnq8J.js} +3 -3
- package/dist/{FormFlow-C7OiLdGD.js → FormFlow-CQcx-upf.js} +7 -7
- package/dist/{FormNavigation-DX2r4jpC.js → FormNavigation-2oYuVb7X.js} +2 -2
- package/dist/{FormWrapper-Drs6LBuB.js → FormWrapper-gK1KRp1P.js} +9 -9
- package/dist/{IndividualOnfido-BXaOmRuc.js → IndividualOnfido-Iq2kmlaS.js} +83 -43
- package/dist/{IndividualOnfidoDropin-DiSfmEDk.js → IndividualOnfidoDropin-Dsg_cc2F.js} +113 -38
- package/dist/{InputText-GZ3HTx9H.js → InputText-C5cvWJ1t.js} +2 -2
- package/dist/{Introduction-CVtivEYL.js → Introduction-BstnJO2c.js} +3 -3
- package/dist/{JpAddress-BARMkGyR.js → JpAddress-BqXtsX-B.js} +19 -28
- package/dist/{LegalRepresentativeDetailsPage-Cu-I-EmT.js → LegalRepresentativeDetailsPage-BwKvjvUc.js} +4 -4
- package/dist/{ListItem-CfZ8urYo.js → ListItem-CYZOIj2t.js} +2 -2
- package/dist/ManageIndividualComponent-DKdQcBI1.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-CxvDbZRm.js → ManageTermsOfServiceComponent-Bavhpa1V.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DbeGN2q2.js → ManageTransferInstrumentComponent-BwrhLCSh.js} +13 -13
- package/dist/{MaybeModal-1goeAvm3.js → MaybeModal-CBbHCm6Q.js} +2 -2
- package/dist/{Modal-kAH_7yTH.js → Modal-Cz-76YvW.js} +1 -1
- package/dist/{OnboardingDropinComponent-DwCSMM9J.js → OnboardingDropinComponent-kgkEiHMu.js} +85 -104
- package/dist/{PayoutDetailsDropin-DSgzEUXk.js → PayoutDetailsDropin-XJ35XEpv.js} +46 -67
- package/dist/{Review-BBj9UMRL.js → Review-CobYnDtB.js} +6 -6
- package/dist/{RootBusinessDetailsPage-197h0LNw.js → RootBusinessDetailsPage-BSGjPlx3.js} +5 -5
- package/dist/{RootBusinessLinesPage-HWymdGVF.js → RootBusinessLinesPage-DeL3rH0d.js} +292 -84
- package/dist/{RootIndividualDetailsPage-D7FcgGh2.js → RootIndividualDetailsPage-BgormENF.js} +7 -7
- package/dist/{SignPCIComponent-D0cCB1NY.js → SignPCIComponent-oaRm_0Nr.js} +10 -10
- package/dist/{SingpassSelection-DaBhgDwl.js → SingpassSelection-CDEDnyHJ.js} +3 -3
- package/dist/{SoleProprietorshipPage-K1KkL_U7.js → SoleProprietorshipPage-BFeTq735.js} +4 -4
- package/dist/{SourceOfFundsPage-B44-Ue-H.js → SourceOfFundsPage-Cglx_P-R.js} +25 -25
- package/dist/{StepProgressIndicator-B8ow-Vd2.js → StepProgressIndicator-BLqLoVlT.js} +1 -1
- package/dist/{StoreProvider-B3vEYybK.js → StoreProvider-xGHaYMUs.js} +104 -103
- package/dist/{Summary-xeJ6Uh2B.js → Summary-wr53EegL.js} +4 -4
- package/dist/{TaxReportingDropin-DaS76WDp.js → TaxReportingDropin-CpNRXRek.js} +15 -15
- package/dist/{TrustDetailsPage-KzXIXK7U.js → TrustDetailsPage-BTiXIvFE.js} +27 -27
- package/dist/{TrustMemberCompanyPage-DDG2pshT.js → TrustMemberCompanyPage-WV-fcWoD.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DE2yENgg.js → TrustMemberIndividualPage-C-6Oy0i1.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-FWRx9JaL.js → TrustMemberRoleAndTypePage-BynHHvYJ.js} +14 -14
- package/dist/{TrustMembersOverview-CyGnH0Im.js → TrustMembersOverview-TIZk8UDk.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-NpIaUaK_.js → UnincorporatedPartnershipIndividualPage-BlF0O71g.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-clnULf4j.js → UnincorporatedPartnershipMemberCompanyPage-B5ut95uC.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BBqV92zW.js → UnincorporatedPartnershipMemberRoleAndTypePage-BjNSb9NY.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BcFjgFya.js → UnincorporatedPartnershipMembersOverview-DB3VyxpS.js} +8 -8
- package/dist/{VerificationErrorAlert-B0Y4C5I8.js → VerificationErrorAlert-BUlWfoSY.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-CxvzD3Yh.js → ViewVerificationStatusComponent-F7Ls9_OC.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bg-BG-4gJjMBoz.js +13 -0
- package/dist/{bg-BG-DH45-0B-.js → bg-BG-DBsXOteB.js} +2 -1
- package/dist/bg-BG-DNp7JUA6.js +13 -0
- package/dist/bg-BG-DyX-yYYI.js +13 -0
- package/dist/bg-BG-wMYXZGDQ.js +13 -0
- package/dist/{cs-CZ-BDf9m4Rw.js → cs-CZ-B58kCXel.js} +18 -1
- package/dist/cs-CZ-BD5bYeuJ.js +13 -0
- package/dist/cs-CZ-CxB0DJQ6.js +13 -0
- package/dist/{cs-CZ-DPVMeRye.js → cs-CZ-DzChComK.js} +2 -1
- package/dist/cs-CZ-bkbdzIkF.js +13 -0
- package/dist/{da-DK-DU4dCNEw.js → da-DK-BlU1EczG.js} +2 -1
- package/dist/da-DK-DEdQ-QPp.js +13 -0
- package/dist/da-DK-DqkN5oIu.js +13 -0
- package/dist/da-DK-DvZ431fC.js +13 -0
- package/dist/da-DK-h8DYQ_Iq.js +13 -0
- package/dist/de-DE-0uSzhWg5.js +13 -0
- package/dist/de-DE-COuUdtao.js +13 -0
- package/dist/de-DE-DrSSblam.js +13 -0
- package/dist/de-DE-LQE_LFFL.js +13 -0
- package/dist/{de-DE-Dz2l6jRl.js → de-DE-s0B-XZyp.js} +2 -1
- package/dist/{debouncedInputEvent-hDU3oskH.js → debouncedInputEvent-DCyq5sdE.js} +1 -1
- package/dist/{documentUtils-nzTRBdC1.js → documentUtils-DzMXTfsp.js} +3 -3
- package/dist/{dropinUtils-DdwDN7Bc.js → dropinUtils-B7yeaBSf.js} +5 -7
- package/dist/el-GR-CWWBcvDM.js +13 -0
- package/dist/{el-GR-MLFY-Gg7.js → el-GR-CgrzE6er.js} +2 -1
- package/dist/el-GR-CjhbnLfE.js +13 -0
- package/dist/el-GR-DGbzdIL0.js +13 -0
- package/dist/el-GR-z3YMr7LZ.js +13 -0
- package/dist/{en-US-DYo4OF-P.js → en-US-CBsokt1L.js} +14 -1
- package/dist/{en-US-BPI4FZwa.js → en-US-d4WBvUW7.js} +18 -13
- package/dist/es-ES-B7dt4cn7.js +13 -0
- package/dist/es-ES-DNGEW6V_.js +13 -0
- package/dist/es-ES-DdGmXdxO.js +13 -0
- package/dist/es-ES-ShWaSuJd.js +13 -0
- package/dist/{es-ES-0ROz-BJh.js → es-ES-esfwvKwz.js} +2 -1
- package/dist/{et-EE-DmShD6oS.js → et-EE-BApmUBuH.js} +18 -1
- package/dist/{et-EE-esci5847.js → et-EE-BN1nOAGu.js} +2 -1
- package/dist/et-EE-Be9wlXLD.js +13 -0
- package/dist/et-EE-D5SNtVsM.js +13 -0
- package/dist/et-EE-D_3GB-yT.js +13 -0
- package/dist/fi-FI-CIYa9SyS.js +13 -0
- package/dist/fi-FI-ChApf7lf.js +13 -0
- package/dist/{fi-FI-xXrvDLFe.js → fi-FI-CjB6QC01.js} +2 -1
- package/dist/fi-FI-CoI_94Fv.js +13 -0
- package/dist/fi-FI-REMsyTSr.js +13 -0
- package/dist/{fieldConfigurations-N4_zg7Ml.js → fieldConfigurations-epeC-idf.js} +9 -9
- package/dist/fr-FR-Br7OeDIe.js +13 -0
- package/dist/{fr-FR-Bw9O-QAU.js → fr-FR-C1XqLftn.js} +2 -1
- package/dist/fr-FR-CvHWmim-.js +13 -0
- package/dist/fr-FR-Q3urMjbl.js +13 -0
- package/dist/fr-FR-l5z31r7i.js +13 -0
- package/dist/{getFieldsWithExistingData-B7SI929p.js → getFieldsWithExistingData-azmJKk85.js} +2 -2
- package/dist/{getName-DX2eXGn6.js → getName-DSkTeZNv.js} +1 -1
- package/dist/{hasDataChanged-CvwV_1m7.js → hasDataChanged-D8Z3vXtw.js} +1 -1
- package/dist/hr-HR-BtowKWUi.js +13 -0
- package/dist/{hr-HR-D8_yhtIo.js → hr-HR-CPvQ9uT8.js} +2 -1
- package/dist/{hr-HR-n7aMHIpM.js → hr-HR-LO3oO8yb.js} +2 -2
- package/dist/hr-HR-iodfRS4f.js +13 -0
- package/dist/hr-HR-jGIf2Gtl.js +13 -0
- package/dist/hu-HU-BjcOaEwh.js +13 -0
- package/dist/hu-HU-CEb_Wl4I.js +13 -0
- package/dist/hu-HU-DEKBPTur.js +13 -0
- package/dist/hu-HU-MHIPehPS.js +13 -0
- package/dist/{hu-HU-KliQetm5.js → hu-HU-dKPur6SA.js} +2 -1
- package/dist/{iframeWidget-Dp12U8Do.js → iframeWidget-Bx-TWfnt.js} +4 -4
- package/dist/it-IT-BAvmkEF8.js +13 -0
- package/dist/it-IT-BAvsF2TB.js +13 -0
- package/dist/it-IT-BeX7-OcD.js +13 -0
- package/dist/{it-IT-MwpjRAG6.js → it-IT-C_YDqVNT.js} +2 -1
- package/dist/it-IT-vdMlF0Ha.js +13 -0
- package/dist/{ja-JP-Bktpl_2b.js → ja-JP-C6Go-kaC.js} +19 -1
- package/dist/{ja-JP-Ctsk4z4q.js → ja-JP-D1vtig2x.js} +2 -2
- package/dist/{ja-JP-2u5fqLWF.js → ja-JP-DnBu0U51.js} +2 -1
- package/dist/{ja-JP-C_-moDrA.js → ja-JP-DsGXGCjF.js} +18 -1
- package/dist/ja-JP-US4BD67C.js +13 -0
- package/dist/{localizeDateString-DvzfRftu.js → localizeDateString-EzvskSO-.js} +1 -1
- package/dist/lt-LT-3niAR3rI.js +13 -0
- package/dist/lt-LT-DDs3ngzd.js +13 -0
- package/dist/{lt-LT-BEsBoIQ9.js → lt-LT-DhhomRPs.js} +2 -1
- package/dist/lt-LT-Y9aKpjC4.js +13 -0
- package/dist/lt-LT-os-nxAb0.js +13 -0
- package/dist/lv-LV-9NRF8DKM.js +13 -0
- package/dist/{lv-LV-Veji7-on.js → lv-LV-BWbH-gbT.js} +2 -1
- package/dist/lv-LV-Bm1fntV2.js +13 -0
- package/dist/lv-LV-CmB2-IO5.js +13 -0
- package/dist/lv-LV-K-KFPny2.js +13 -0
- package/dist/{mapExistingFile-Dft8c_GU.js → mapExistingFile-CC0kTOC7.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-DUg6qLUd.js → mapFinancialReportsToFinancialInformation-Bx2FAFF0.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CBIqHrcd.js → mapJpAddressSchemaToAddressLocalizations-DA_9NmOK.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DXcTpcXc.js → mapLegalEntityToIndividualOnfidoSchema-BQyvp2k7.js} +6 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DvdznOim.js → mapTransferInstrumentToPayoutAccount-9RIVuylx.js} +2 -2
- package/dist/nl-NL-BwKrj-29.js +13 -0
- package/dist/nl-NL-C3YJkSIj.js +13 -0
- package/dist/nl-NL-CM5U8ODq.js +13 -0
- package/dist/nl-NL-DV4NqPVW.js +13 -0
- package/dist/{nl-NL-BuW3jWdI.js → nl-NL-DyeSX0PH.js} +2 -1
- package/dist/no-NO-B6OPS2CA.js +13 -0
- package/dist/no-NO-B9618F4_.js +13 -0
- package/dist/no-NO-BQL_M1pn.js +13 -0
- package/dist/{no-NO-Ca5qoVaU.js → no-NO-D4BECLky.js} +18 -1
- package/dist/{no-NO-CA0EizAy.js → no-NO-DPRsAb_o.js} +2 -1
- package/dist/pl-PL-B0BQdtqx.js +13 -0
- package/dist/{pl-PL-D7nhdbfR.js → pl-PL-B1EJKJvT.js} +2 -1
- package/dist/pl-PL-DC_lIAnp.js +13 -0
- package/dist/pl-PL-DqzUSnFK.js +13 -0
- package/dist/pl-PL-xxcCzZvq.js +13 -0
- package/dist/{process-field-configurations-Bxy5QZtu.js → process-field-configurations-DFlteoms.js} +3 -3
- package/dist/pt-BR-AZ3roErF.js +13 -0
- package/dist/pt-BR-BKQRvAfq.js +13 -0
- package/dist/{pt-BR-D1nTSLod.js → pt-BR-C-C4ZJ9x.js} +2 -1
- package/dist/pt-BR-gh27BC86.js +13 -0
- package/dist/pt-BR-zuqB_CBf.js +13 -0
- package/dist/pt-PT-CFY1O_K0.js +13 -0
- package/dist/pt-PT-D2Xe-OdG.js +13 -0
- package/dist/pt-PT-DVKtHjIY.js +13 -0
- package/dist/pt-PT-DYihdcJx.js +13 -0
- package/dist/{pt-PT-B9L50746.js → pt-PT-LbneTcRx.js} +2 -1
- package/dist/{resolveEnvironment-COtv9JGU.js → resolveEnvironment-oqsY0qm-.js} +3 -3
- package/dist/ro-RO-7CJ4F5iB.js +13 -0
- package/dist/ro-RO-CHcD-PGb.js +13 -0
- package/dist/{ro-RO-DvG65dTt.js → ro-RO-CzTVqkev.js} +2 -1
- package/dist/ro-RO-Di-C4PpC.js +13 -0
- package/dist/ro-RO-WGnCVll9.js +13 -0
- package/dist/{rules-DP5YNbCP.js → rules-oHt7H3uT.js} +9 -6
- package/dist/sk-SK-B0hEG-HR.js +13 -0
- package/dist/{sk-SK-BMJgOJoa.js → sk-SK-BMlZjg5s.js} +2 -1
- package/dist/sk-SK-Cq_DSPZu.js +13 -0
- package/dist/sk-SK-DubwJifw.js +13 -0
- package/dist/sk-SK-s9Xm01UD.js +13 -0
- package/dist/sl-SI-59OQIZ3f.js +13 -0
- package/dist/{sl-SI-BMF8YtOm.js → sl-SI-8SzKx7XD.js} +2 -1
- package/dist/sl-SI-C0wSbuau.js +13 -0
- package/dist/sl-SI-C3gfuen3.js +13 -0
- package/dist/sl-SI-DdjgSySI.js +13 -0
- package/dist/style.css +49 -12
- package/dist/styles-CLV89_hH.js +49 -12
- package/dist/{sv-SE-BYC_f8r7.js → sv-SE-B7cpKp1l.js} +2 -1
- package/dist/{sv-SE-BUq1X9F0.js → sv-SE-BHkYspm-.js} +18 -1
- package/dist/sv-SE-CQWBP7n1.js +13 -0
- package/dist/sv-SE-DtKjf4Go.js +13 -0
- package/dist/sv-SE-zTiw1bUU.js +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +0 -35
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +1 -1
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/ProofOfDirectorDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/ProofOfSignatoryDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/RegistrationDocument/RegistrationDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +1 -3
- package/dist/types/components/Business/forms/TaxDocument/TaxDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -3
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -3
- package/dist/types/components/BusinessLines/constants.d.ts +8 -0
- package/dist/types/components/BusinessLines/fields/SctaField/SctaField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +1 -1
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +2 -1
- package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +20 -1
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
- package/dist/types/context/ExperimentContext/types.d.ts +1 -5
- package/dist/types/stores/formState.d.ts +2 -0
- package/dist/types/types/datasets/currency.d.ts +0 -1
- package/dist/types/types/form-rules.d.ts +1 -0
- package/dist/types/types/form.d.ts +0 -2
- package/dist/types/utils/customerSupportUtils.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -0
- package/dist/{types-f66rmUFy.js → types-CHr4VLHl.js} +2 -6
- package/dist/{types-DYgIK0lP.js → types-CSHIgVkk.js} +3 -4
- package/dist/{types-Dcb_wyW_.js → types-D9lpHh6A.js} +1 -1
- package/dist/{types-CzYr9iSY.js → types-MlBlpxlI.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DaKngTNK.js → useAssociatedLegalEntity-CoGhDZd2.js} +1 -1
- package/dist/{useCreateLegalEntity-Bevp-vJn.js → useCreateLegalEntity-nOSa_dqT.js} +1 -1
- package/dist/{useDataset-ectSMSmL.js → useDataset-DTWZWUzc.js} +3 -3
- package/dist/{useForm-C9uWOMRY.js → useForm-BpBuBEUa.js} +5 -5
- package/dist/{useGlobalData-3AC-ioGP.js → useGlobalData-CVtmtk-2.js} +3 -3
- package/dist/{useMultiForm-D2m8F9eU.js → useMultiForm-u22jk7oP.js} +3 -3
- package/dist/{useOnboardingStatus-CsBGQyX5.js → useOnboardingStatus-2tz472gU.js} +1 -1
- package/dist/{useScenarios-CEDUoOsv.js → useScenarios-C8RUjYA8.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BFCRZDG0.js → useTermsOfServiceStatus-If65G5sJ.js} +1 -1
- package/dist/{useToastContext-xQ-C6F5J.js → useToastContext-X2F08zLy.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CyaU0Vhb.js → useUnincorporatedPartnershipMembers-28D1H9lJ.js} +4 -4
- package/dist/{useUpdateBusinessLines-ecf8_6Sc.js → useUpdateBusinessLines-DrrNaCH8.js} +1 -1
- package/dist/{useUpdateLegalEntity-B4YDiHOM.js → useUpdateLegalEntity-DN7Drbgy.js} +2 -2
- package/dist/{utils-BMohBIMw.js → utils-Bv4ztJhc.js} +3 -3
- package/dist/{utils-BS41csO6.js → utils-CiW-NCtE.js} +6 -6
- package/dist/{validate-Dg_t_vTH.js → validate-CEicsOCd.js} +2 -2
- package/dist/{validate-C-doRegs.js → validate-COeLL_Ns.js} +1 -1
- package/dist/{validationError-BduJVyTU.js → validationError-Di9iB7fB.js} +2 -2
- package/package.json +2 -2
- package/dist/ManageIndividualComponent-DPwzdSKb.js +0 -46
- package/dist/bg-BG-B7Xs_t04.js +0 -13
- package/dist/bg-BG-DRkMqyL8.js +0 -13
- package/dist/bg-BG-DpIAKQve.js +0 -113
- package/dist/bg-BG-mLSjG76Q.js +0 -13
- package/dist/cs-CZ-BSWXexr4.js +0 -13
- package/dist/cs-CZ-BsV9NiQ2.js +0 -13
- package/dist/cs-CZ-DalFZigH.js +0 -13
- package/dist/da-DK-CI-vfqPo.js +0 -113
- package/dist/da-DK-D4Ojw97o.js +0 -13
- package/dist/da-DK-P3YSaBqs.js +0 -13
- package/dist/da-DK-R_y7YwqQ.js +0 -13
- package/dist/de-DE-BR6CLZw6.js +0 -13
- package/dist/de-DE-BcuLmcC8.js +0 -13
- package/dist/de-DE-nG2MBigU.js +0 -113
- package/dist/de-DE-opyC1JO-.js +0 -13
- package/dist/el-GR-B3FHqTOX.js +0 -13
- package/dist/el-GR-BX-MyQZY.js +0 -113
- package/dist/el-GR-CWd7XYDU.js +0 -13
- package/dist/el-GR-CofvCav-.js +0 -13
- package/dist/es-ES-BAg3NqQO.js +0 -13
- package/dist/es-ES-BhINIOee.js +0 -13
- package/dist/es-ES-CEp-ttVJ.js +0 -13
- package/dist/es-ES-Q16q2JJ6.js +0 -113
- package/dist/et-EE-Bk2IHQWP.js +0 -13
- package/dist/et-EE-Ci8RU2wg.js +0 -13
- package/dist/et-EE-x29FUaYN.js +0 -118
- package/dist/fi-FI-B_P4BAda.js +0 -113
- package/dist/fi-FI-CDISJifz.js +0 -13
- package/dist/fi-FI-DjlB2a7k.js +0 -13
- package/dist/fi-FI-MiyuQqH8.js +0 -13
- package/dist/fr-FR-CUdiBCVB.js +0 -113
- package/dist/fr-FR-DGMVrsJv.js +0 -13
- package/dist/fr-FR-Dx-CiPdB.js +0 -13
- package/dist/fr-FR-aJ3cg4x0.js +0 -13
- package/dist/hr-HR-BHt_jklG.js +0 -13
- package/dist/hr-HR-CXpCIMhI.js +0 -113
- package/dist/hr-HR-VivDwwdW.js +0 -13
- package/dist/hu-HU-DDsdPI5V.js +0 -13
- package/dist/hu-HU-D_DvlCMw.js +0 -13
- package/dist/hu-HU-DqEBeq-w.js +0 -113
- package/dist/hu-HU-WEtpzb41.js +0 -13
- package/dist/it-IT-C2MZo4KT.js +0 -13
- package/dist/it-IT-DLm11dH5.js +0 -13
- package/dist/it-IT-NCFAqV1F.js +0 -113
- package/dist/it-IT-yV7ewjWU.js +0 -13
- package/dist/ja-JP-CWe8f7m4.js +0 -13
- package/dist/lt-LT-CU5qHa7a.js +0 -113
- package/dist/lt-LT-CYiW52tl.js +0 -13
- package/dist/lt-LT-Cg9c0kae.js +0 -13
- package/dist/lt-LT-W6fTjwB5.js +0 -13
- package/dist/lv-LV-CgMxfFK8.js +0 -13
- package/dist/lv-LV-CpGkmcLz.js +0 -113
- package/dist/lv-LV-CxUmQHF9.js +0 -13
- package/dist/lv-LV-DsxFGThp.js +0 -13
- package/dist/nl-NL-Bk-1-C0e.js +0 -13
- package/dist/nl-NL-CMw-FwQV.js +0 -13
- package/dist/nl-NL-DKMs4pB2.js +0 -13
- package/dist/nl-NL-DMpB18Te.js +0 -113
- package/dist/no-NO-B-oUwe9q.js +0 -13
- package/dist/no-NO-DN9qf-_I.js +0 -13
- package/dist/no-NO-Dhj0Fh__.js +0 -13
- package/dist/pl-PL-BSI0zHO1.js +0 -113
- package/dist/pl-PL-DGSYzOx6.js +0 -13
- package/dist/pl-PL-Duj3tncM.js +0 -13
- package/dist/pl-PL-p8YxqOFg.js +0 -13
- package/dist/pt-BR-Be5ZycMV.js +0 -13
- package/dist/pt-BR-Cj8MlQyq.js +0 -113
- package/dist/pt-BR-Cm4vZocb.js +0 -13
- package/dist/pt-BR-DKrMpM6v.js +0 -13
- package/dist/pt-PT-BJjCTMYf.js +0 -13
- package/dist/pt-PT-BJkVzfAJ.js +0 -113
- package/dist/pt-PT-BR-BI5Jn.js +0 -13
- package/dist/pt-PT-Bh7v8xbp.js +0 -13
- package/dist/ro-RO-5I4Q_FyK.js +0 -13
- package/dist/ro-RO-B8leE4ZJ.js +0 -13
- package/dist/ro-RO-DjGku_3y.js +0 -13
- package/dist/ro-RO-RgC5M6CE.js +0 -113
- package/dist/sk-SK-0BVxI7bf.js +0 -113
- package/dist/sk-SK-BVmoP_EU.js +0 -13
- package/dist/sk-SK-BWwRIx2d.js +0 -13
- package/dist/sk-SK-Bb18qPBw.js +0 -13
- package/dist/sl-SI-6s8xycKg.js +0 -13
- package/dist/sl-SI-BxImW_RL.js +0 -113
- package/dist/sl-SI-CaJmYb6p.js +0 -13
- package/dist/sl-SI-ZxyvdgdS.js +0 -13
- package/dist/sv-SE-B1sbgsnh.js +0 -13
- package/dist/sv-SE-CCFIf86P.js +0 -13
- package/dist/sv-SE-D_ZnGxiQ.js +0 -13
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "68f63bd4-e035-407d-956e-5ed9475348e6", e._sentryDebugIdIdentifier = "sentry-dbid-68f63bd4-e035-407d-956e-5ed9475348e6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { am as DecisionMakerTypes,
|
|
10
|
+
import { am as DecisionMakerTypes, b6 as drop, aB as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, G as Typography, a0 as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a7 as useGetTaskStatus, Z as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aZ as getOwnDecisionMakers, ar as getAvailableDecisionMakerRoleTypes, O as TaskTypes, b7 as getAllowedDecisionMakerRoles, an as Trans, U as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, r as LegalEntityTypes } from "./StoreProvider-xGHaYMUs.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { S as StackLayout, L as List, H as Header } from "./CountryField-
|
|
16
|
-
import { L as ListItem } from "./ListItem-
|
|
17
|
-
import { M as Modal } from "./Modal-
|
|
18
|
-
import { a as useToastContext } from "./useToastContext-
|
|
19
|
-
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
20
|
-
import { a as Alert } from "./Alert-
|
|
21
|
-
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-C8RUjYA8.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DN7Drbgy.js";
|
|
15
|
+
import { S as StackLayout, L as List, H as Header } from "./CountryField-CPPAj3Nz.js";
|
|
16
|
+
import { L as ListItem } from "./ListItem-CYZOIj2t.js";
|
|
17
|
+
import { M as Modal } from "./Modal-Cz-76YvW.js";
|
|
18
|
+
import { a as useToastContext } from "./useToastContext-X2F08zLy.js";
|
|
19
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-kgkEiHMu.js";
|
|
20
|
+
import { a as Alert } from "./Alert-D2SzQ0IO.js";
|
|
21
|
+
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-epeC-idf.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-rS_3rkAn.js";
|
|
23
23
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
24
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
25
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
26
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
24
|
+
import { E as EntityAssociation } from "./EntityAssociation-Dp2GqDP_.js";
|
|
25
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-B0OEnq8J.js";
|
|
26
|
+
import { T as TaskVerificationStatus } from "./InputText-C5cvWJ1t.js";
|
|
27
|
+
import { m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-BQyvp2k7.js";
|
|
28
|
+
import { Y as GuidanceQuestionValues, _ as getTrustedEntityAssociations, O as LandingLayout } from "./IndividualOnfido-Iq2kmlaS.js";
|
|
29
|
+
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-DTWZWUzc.js";
|
|
29
30
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { l as localizeDateString } from "./localizeDateString-DvzfRftu.js";
|
|
31
|
+
import { r as mapAddressLabels } from "./Address-DyXJyl-b.js";
|
|
32
|
+
import { l as localizeDateString } from "./localizeDateString-EzvskSO-.js";
|
|
33
33
|
import { lazy } from "preact/compat";
|
|
34
34
|
const BENEFICIAL_OWNER_ROLES = [
|
|
35
35
|
DecisionMakerTypes.OWNER,
|
|
@@ -423,7 +423,7 @@ const DecisionMakers = (props) => {
|
|
|
423
423
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
424
424
|
const { i18n } = useTranslation();
|
|
425
425
|
addResourceBundles(i18n, [
|
|
426
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-
|
|
426
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-wMYXZGDQ.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-bkbdzIkF.js"), "../../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../language/el-GR.json": () => import("./el-GR-CWWBcvDM.js"), "../../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../../language/et-EE.json": () => import("./et-EE-D_3GB-yT.js"), "../../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../../language/hr-HR.json": () => import("./hr-HR-LO3oO8yb.js"), "../../language/hu-HU.json": () => import("./hu-HU-DEKBPTur.js"), "../../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../../language/ja-JP.json": () => import("./ja-JP-D1vtig2x.js"), "../../language/lt-LT.json": () => import("./lt-LT-3niAR3rI.js"), "../../language/lv-LV.json": () => import("./lv-LV-K-KFPny2.js"), "../../language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../../language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../../language/pl-PL.json": () => import("./pl-PL-DC_lIAnp.js"), "../../language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../../language/pt-PT.json": () => import("./pt-PT-DVKtHjIY.js"), "../../language/ro-RO.json": () => import("./ro-RO-CHcD-PGb.js"), "../../language/sk-SK.json": () => import("./sk-SK-s9Xm01UD.js"), "../../language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../../language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../../language/${lang}.json`, 4) }
|
|
427
427
|
]);
|
|
428
428
|
if (isLoading || !data) {
|
|
429
429
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -526,18 +526,6 @@ const DecisionMakersInner = ({
|
|
|
526
526
|
const actionNeededBeneficialOwners = actionNeededDecisionMakers.filter((dm) => !isSignatory(dm));
|
|
527
527
|
const completeSignatories = completeDecisionMakers.filter(isSignatory);
|
|
528
528
|
const completeBeneficialOwners = completeDecisionMakers.filter((dm) => !isSignatory(dm));
|
|
529
|
-
const getOverallStatus = () => {
|
|
530
|
-
const decisionMakersTaskStatus = getTaskStatus(TaskTypes.DECISION_MAKER_OVERVIEW);
|
|
531
|
-
const errorStatuses = /* @__PURE__ */ new Set([
|
|
532
|
-
TaskStatuses.ERROR,
|
|
533
|
-
TaskStatuses.DETAILS_REQUIRED,
|
|
534
|
-
TaskStatuses.UNKNOWN
|
|
535
|
-
]);
|
|
536
|
-
if (errorStatuses.has(decisionMakersTaskStatus)) {
|
|
537
|
-
return TaskStatuses.ERROR;
|
|
538
|
-
}
|
|
539
|
-
return decisionMakersTaskStatus;
|
|
540
|
-
};
|
|
541
529
|
const showWarning = Boolean(remediationMessages.DECISION_MAKER && uniqueDecisionMakers.length);
|
|
542
530
|
useEffect(() => {
|
|
543
531
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -569,6 +557,30 @@ const DecisionMakersInner = ({
|
|
|
569
557
|
const addDecisionMakerOnClick = () => {
|
|
570
558
|
onNavigateToIndividual();
|
|
571
559
|
};
|
|
560
|
+
const onRemediationAction = () => {
|
|
561
|
+
const SIGNATORY_MISSING_CODE = "2_124";
|
|
562
|
+
const DIRECTOR_MISSING_CODE = "2_185";
|
|
563
|
+
if (decisionMakerRemediationCodes.length === 1) {
|
|
564
|
+
const remediationCode = decisionMakerRemediationCodes[0];
|
|
565
|
+
switch (remediationCode) {
|
|
566
|
+
case SIGNATORY_MISSING_CODE:
|
|
567
|
+
individualFormDefaultData.value = {
|
|
568
|
+
signatoryQuestionnaire: { isSignatory: GuidanceQuestionValues.YES }
|
|
569
|
+
};
|
|
570
|
+
break;
|
|
571
|
+
case DIRECTOR_MISSING_CODE:
|
|
572
|
+
individualFormDefaultData.value = {
|
|
573
|
+
uboQuestionnaire: {
|
|
574
|
+
isDirector: GuidanceQuestionValues.YES,
|
|
575
|
+
isOwner: null,
|
|
576
|
+
isControllingPerson: null
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
break;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
onNavigateToIndividual();
|
|
583
|
+
};
|
|
572
584
|
const editDecisionMaker = (decisionMaker) => {
|
|
573
585
|
onNavigateToIndividual(decisionMaker.reference);
|
|
574
586
|
userEvents.addTaskEvent("Clicked button", {
|
|
@@ -664,7 +676,7 @@ const DecisionMakersInner = ({
|
|
|
664
676
|
{
|
|
665
677
|
title: individualT(($) => $["ownersAndDecisionMakers"]),
|
|
666
678
|
description: individualT(($) => $["ownersAndDecisionMakersDescription"]),
|
|
667
|
-
status:
|
|
679
|
+
status: getTaskStatus(TaskTypes.DECISION_MAKER_OVERVIEW),
|
|
668
680
|
align: "center",
|
|
669
681
|
children: /* @__PURE__ */ jsx(Button, { slot: "actions", variant: "link", onClick: openModal, children: commonT(($) => $["learnMore"]) })
|
|
670
682
|
}
|
|
@@ -673,7 +685,7 @@ const DecisionMakersInner = ({
|
|
|
673
685
|
RemediationAlerts,
|
|
674
686
|
{
|
|
675
687
|
activeCodes: decisionMakerRemediationCodes,
|
|
676
|
-
onAction:
|
|
688
|
+
onAction: onRemediationAction
|
|
677
689
|
}
|
|
678
690
|
)
|
|
679
691
|
] }),
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-B4nJxHnr.js";
|
|
13
|
+
import { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-xGHaYMUs.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { B as Button, L as Loader, a3 as Icon } from "./StoreProvider-
|
|
13
|
+
import { B as Button, L as Loader, a3 as Icon } from "./StoreProvider-xGHaYMUs.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, X as IconButton, U as TaskStatuses, a4 as noop } from "./StoreProvider-
|
|
12
|
+
import { B as Button, u as useTranslation, X as IconButton, U as TaskStatuses, a4 as noop } from "./StoreProvider-xGHaYMUs.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
15
|
-
import { C as Card } from "./Card-
|
|
16
|
-
import { C as Confirm } from "./useDataset-
|
|
17
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
18
|
-
import { l as handleKeys } from "./IndividualOnfido-
|
|
19
|
-
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-
|
|
14
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-BUlWfoSY.js";
|
|
15
|
+
import { C as Card } from "./Card-Bu6wfAhS.js";
|
|
16
|
+
import { C as Confirm } from "./useDataset-DTWZWUzc.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./InputText-C5cvWJ1t.js";
|
|
18
|
+
import { l as handleKeys } from "./IndividualOnfido-Iq2kmlaS.js";
|
|
19
|
+
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-CPPAj3Nz.js";
|
|
20
20
|
function useClickAwayListener(ref, onClickAway) {
|
|
21
21
|
const handleClickAway = useCallback(
|
|
22
22
|
(event) => {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5852a2f8-4d99-4806-95d4-7fca66a2679c", e._sentryDebugIdIdentifier = "sentry-dbid-5852a2f8-4d99-4806-95d4-7fca66a2679c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import {
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-
|
|
12
|
+
import { bA as getDecisionMakerDescriptionMap, O as TaskTypes, bB as TRUST_DEFAULT_DESCRIPTIONS_MAP, a3 as Icon, u as useTranslation, an as Trans } from "./StoreProvider-xGHaYMUs.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-CPPAj3Nz.js";
|
|
14
14
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
15
15
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { F as FormContext } from "./Address-
|
|
12
|
+
import { F as FormContext } from "./Address-DyXJyl-b.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { a0 as useAnalyticsContext, u as useTranslation, B as Button, X as IconButton } from "./StoreProvider-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./useDataset-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
14
|
+
import { a0 as useAnalyticsContext, u as useTranslation, B as Button, X as IconButton } from "./StoreProvider-xGHaYMUs.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-BpBuBEUa.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-CBbHCm6Q.js";
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-B7yeaBSf.js";
|
|
18
|
+
import { C as Confirm } from "./useDataset-DTWZWUzc.js";
|
|
19
|
+
import { S as Summary } from "./Summary-wr53EegL.js";
|
|
20
20
|
function FormContextProvider({
|
|
21
21
|
children,
|
|
22
22
|
form
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, a3 as Icon, a0 as useAnalyticsContext, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, a3 as Icon, a0 as useAnalyticsContext, G as Typography } from "./StoreProvider-xGHaYMUs.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-Cz-76YvW.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, a0 as useAnalyticsContext, Z as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
16
|
-
import { S as Spacer } from "./getName-
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
12
|
+
import { u as useTranslation, a0 as useAnalyticsContext, Z as useExperimentsContext, B as Button } from "./StoreProvider-xGHaYMUs.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-BpBuBEUa.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-CBbHCm6Q.js";
|
|
15
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-Cz-76YvW.js";
|
|
16
|
+
import { S as Spacer } from "./getName-DSkTeZNv.js";
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BLqLoVlT.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-B7yeaBSf.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-2oYuVb7X.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-wr53EegL.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7c9bef9d-44fa-4be6-b0c0-aba422e56ce9", e._sentryDebugIdIdentifier = "sentry-dbid-7c9bef9d-44fa-4be6-b0c0-aba422e56ce9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useMemo, useEffect, useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { j as useProviderStatus, R as RadioGroup, k as isDateOlderThanAYear, C as COUNTRIES_WITH_STATES_DATASET, I as InputDate, f as formatDateObj, i as useFormContext, l as addressFields, A as Address, g as getAddressSchemaForCountry, e as getAddressSchemaLabelsByCountry, n as RadioWithLabel } from "./Address-
|
|
13
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, r as roleMetadata, d as getFieldProps, i as isTruthyValidator, C as CountryField, g as getFormProps, S as StackLayout, u as useFormRouterContext } from "./CountryField-
|
|
14
|
-
import { m as makeMask, c as nonInputs, n as numericInputs, s as spacer, d as alphaInputs, k as customInputs, b as alphanumericInputs, v as validatePatternOnBlur, u as uppercase, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, D as DropzoneFile, p as bytesToSize, q as DocumentGuidance, t as TextArea, w as getLocalizedIdDocumentTypeOptions, R as RadioGroupCard, C as ContextGuidance, I as Image, a as validateNotEmptyOnBlur, x as createFormRules, M as MaskedInput, r as resolveFieldMetadata, y as InputEmail, T as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
15
|
-
import { C as CountryCodes, W as isEmpty$1, u as useTranslation, a0 as useAnalyticsContext, B as Button, G as Typography, a3 as Icon, aj as objectsDeepEqual, c as useLegalEntity, R as ROOT_LE, al as Scenarios, am as DecisionMakerTypes, O as TaskTypes, an as Trans, b as useApiContext, j as useQuery, k as httpPost, P as createLogger, V as useI18nContext, m as httpGet, ao as SettingsContext, Z as useExperimentsContext, r as LegalEntityTypes, ap as keysOf, K as useAccountHolder, $ as entriesOf, o as useSettingsContext, aq as getLegalRepresentativeWarningMessage, a4 as noop, g as getLegalEntityCountry, ar as getAvailableDecisionMakerRoleTypes, as as allowedCountriesForNominee, at as isLowRiskCountry, L as Loader,
|
|
12
|
+
import { j as useProviderStatus, R as RadioGroup, k as isDateOlderThanAYear, C as COUNTRIES_WITH_STATES_DATASET, I as InputDate, f as formatDateObj, i as useFormContext, l as addressFields, A as Address, g as getAddressSchemaForCountry, e as getAddressSchemaLabelsByCountry, n as RadioWithLabel } from "./Address-DyXJyl-b.js";
|
|
13
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, r as roleMetadata, d as getFieldProps, i as isTruthyValidator, C as CountryField, g as getFormProps, S as StackLayout, u as useFormRouterContext } from "./CountryField-CPPAj3Nz.js";
|
|
14
|
+
import { m as makeMask, c as nonInputs, n as numericInputs, s as spacer, d as alphaInputs, k as customInputs, b as alphanumericInputs, v as validatePatternOnBlur, u as uppercase, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, D as DropzoneFile, p as bytesToSize, q as DocumentGuidance, t as TextArea, w as getLocalizedIdDocumentTypeOptions, R as RadioGroupCard, C as ContextGuidance, I as Image, a as validateNotEmptyOnBlur, x as createFormRules, M as MaskedInput, r as resolveFieldMetadata, y as InputEmail, T as TrustedFieldsProviders } from "./fieldConfigurations-epeC-idf.js";
|
|
15
|
+
import { C as CountryCodes, W as isEmpty$1, u as useTranslation, a0 as useAnalyticsContext, B as Button, G as Typography, a3 as Icon, aj as objectsDeepEqual, c as useLegalEntity, R as ROOT_LE, al as Scenarios, am as DecisionMakerTypes, O as TaskTypes, an as Trans, b as useApiContext, j as useQuery, k as httpPost, P as createLogger, V as useI18nContext, m as httpGet, ao as SettingsContext, Z as useExperimentsContext, r as LegalEntityTypes, ap as keysOf, K as useAccountHolder, $ as entriesOf, o as useSettingsContext, aq as getLegalRepresentativeWarningMessage, a4 as noop, g as getLegalEntityCountry, ar as getAvailableDecisionMakerRoleTypes, as as allowedCountriesForNominee, at as isLowRiskCountry, au as useVersionConfiguration, L as Loader, av as getAgeRangeForLegalRepresentative, aw as isLegalRepresentativeNeeded, a1 as useMutation, ax as listToRecord, ay as pick, X as IconButton, z as translateStringOrObject } from "./StoreProvider-xGHaYMUs.js";
|
|
16
16
|
import { memo, lazy, forwardRef, Suspense } from "preact/compat";
|
|
17
|
-
import { u as useForm, F as Field, S as Select, L as LoaderWrapper, a as SelectListItem } from "./useForm-
|
|
18
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
19
|
-
import { a as Alert } from "./Alert-
|
|
17
|
+
import { u as useForm, F as Field, S as Select, L as LoaderWrapper, a as SelectListItem } from "./useForm-BpBuBEUa.js";
|
|
18
|
+
import { I as InputText, S as SettingNames } from "./InputText-C5cvWJ1t.js";
|
|
19
|
+
import { a as Alert } from "./Alert-D2SzQ0IO.js";
|
|
20
20
|
import { signal, computed } from "@preact/signals";
|
|
21
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
21
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-DTWZWUzc.js";
|
|
22
22
|
import cx from "classnames";
|
|
23
|
-
import { b as useId } from "./useToastContext-
|
|
24
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
23
|
+
import { b as useId } from "./useToastContext-X2F08zLy.js";
|
|
24
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-Cz-76YvW.js";
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-DCyq5sdE.js";
|
|
26
26
|
import { Onfido } from "onfido-sdk-ui";
|
|
27
|
-
import { S as Spacer } from "./getName-
|
|
28
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { S as Spacer } from "./getName-DSkTeZNv.js";
|
|
28
|
+
import { l as localizeDateString } from "./localizeDateString-EzvskSO-.js";
|
|
29
29
|
const validatePhoneCountryCodeNotEmptyOnBlur = {
|
|
30
30
|
modes: ["blur"],
|
|
31
31
|
validate: (phone) => !isEmpty$1(phone?.phoneCountryCode),
|
|
@@ -5926,7 +5926,8 @@ function PersonalDetails(props) {
|
|
|
5926
5926
|
valid,
|
|
5927
5927
|
shouldValidate,
|
|
5928
5928
|
fieldValidationErrors,
|
|
5929
|
-
errors
|
|
5929
|
+
errors,
|
|
5930
|
+
parentLegalEntity
|
|
5930
5931
|
} = props;
|
|
5931
5932
|
const isTopLevelEntity = taskType === TaskTypes.INDIVIDUAL;
|
|
5932
5933
|
const isLegalRepresentativeDetailsTask = taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
|
|
@@ -6045,7 +6046,14 @@ function PersonalDetails(props) {
|
|
|
6045
6046
|
}
|
|
6046
6047
|
)
|
|
6047
6048
|
] }),
|
|
6048
|
-
/* @__PURE__ */ jsx(
|
|
6049
|
+
/* @__PURE__ */ jsx(
|
|
6050
|
+
LocalizedNameFields,
|
|
6051
|
+
{
|
|
6052
|
+
...localizedNameFieldsProps,
|
|
6053
|
+
country: isDecisionMakerTask(taskType) && parentLegalEntity?.type === LegalEntityTypes.ORGANIZATION ? parentLegalEntity?.organization?.registeredAddress.country : localizedNameFieldsProps?.country,
|
|
6054
|
+
handleFieldChange
|
|
6055
|
+
}
|
|
6056
|
+
),
|
|
6049
6057
|
!isAgeVerificationEnabled && formUtils.isRequiredField("birthDate") && // we reverse the order of birthDate and Country field in age verification feature
|
|
6050
6058
|
/* @__PURE__ */ jsx(
|
|
6051
6059
|
Field,
|
|
@@ -6486,7 +6494,8 @@ function Individual(props) {
|
|
|
6486
6494
|
trustedRoles,
|
|
6487
6495
|
errors: errors?.personalDetails,
|
|
6488
6496
|
fieldValidationErrors: fieldValidationErrors?.personalDetails,
|
|
6489
|
-
valid: valid?.personalDetails
|
|
6497
|
+
valid: valid?.personalDetails,
|
|
6498
|
+
parentLegalEntity
|
|
6490
6499
|
}
|
|
6491
6500
|
) }),
|
|
6492
6501
|
activeForm.formId === addressFormID && /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-wrapper", children: [
|
|
@@ -6597,6 +6606,10 @@ function Individual(props) {
|
|
|
6597
6606
|
] });
|
|
6598
6607
|
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-individual", children: renderActiveForm(propActiveForm) });
|
|
6599
6608
|
}
|
|
6609
|
+
const MINIMUM_SUPPORTED_VERSION_FOR_JAPAN = 4;
|
|
6610
|
+
const isCompatibleJapanVersion = (country, version) => {
|
|
6611
|
+
return country === CountryCodes.Japan && typeof version === "number" && version >= MINIMUM_SUPPORTED_VERSION_FOR_JAPAN;
|
|
6612
|
+
};
|
|
6600
6613
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
6601
6614
|
if (obj === null || obj === void 0) return true;
|
|
6602
6615
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -6720,11 +6733,14 @@ function TileGroup({
|
|
|
6720
6733
|
name: nameProp,
|
|
6721
6734
|
maxSelected = Infinity,
|
|
6722
6735
|
errorMessage,
|
|
6723
|
-
onChange = noop
|
|
6736
|
+
onChange = noop,
|
|
6737
|
+
enableTracking = false,
|
|
6738
|
+
trackingFieldName
|
|
6724
6739
|
}) {
|
|
6725
6740
|
const uniqName = useId("tile");
|
|
6726
6741
|
const name = nameProp ?? uniqName;
|
|
6727
6742
|
const finalName = allowMultiple ? `${name}[]` : name;
|
|
6743
|
+
const userEvents = useAnalyticsContext();
|
|
6728
6744
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6729
6745
|
!!errorMessage && /* @__PURE__ */ jsxs("div", { "aria-live": "polite", className: styles$6.tileGroupError, children: [
|
|
6730
6746
|
/* @__PURE__ */ jsx("span", { className: styles$6.tileGroupErrorIcon, children: /* @__PURE__ */ jsx(Icon, { name: "field-error" }) }),
|
|
@@ -6738,7 +6754,17 @@ function TileGroup({
|
|
|
6738
6754
|
}),
|
|
6739
6755
|
children: tiles.map((tile2, index) => {
|
|
6740
6756
|
const { value, id, icon, subTitle, label, disabled } = tile2;
|
|
6741
|
-
const handleChange = (checked) =>
|
|
6757
|
+
const handleChange = (checked) => {
|
|
6758
|
+
const newSelected = updateSelectedChoices(tile2, checked, selected, allowMultiple);
|
|
6759
|
+
if (enableTracking) {
|
|
6760
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
6761
|
+
actionType: "input",
|
|
6762
|
+
field: trackingFieldName ?? name,
|
|
6763
|
+
returnValue: typeof newSelected === "string" ? newSelected : void 0
|
|
6764
|
+
});
|
|
6765
|
+
}
|
|
6766
|
+
onChange(newSelected);
|
|
6767
|
+
};
|
|
6742
6768
|
return /* @__PURE__ */ jsx(
|
|
6743
6769
|
Tile,
|
|
6744
6770
|
{
|
|
@@ -7001,7 +7027,8 @@ const individualOnfidoRules = ({
|
|
|
7001
7027
|
taskType,
|
|
7002
7028
|
isExperimentEnabled = () => false,
|
|
7003
7029
|
rootLegalEntity,
|
|
7004
|
-
problems
|
|
7030
|
+
problems,
|
|
7031
|
+
version
|
|
7005
7032
|
}) => createFormRules({
|
|
7006
7033
|
countryUsesTaxId: () => {
|
|
7007
7034
|
if (isExperimentEnabled("EnableTaxIdRequiredForBusinessAccountsScenarios") && TAX_ID_REQUIRED_COUNTRIES.includes(country)) {
|
|
@@ -7256,7 +7283,8 @@ const individualOnfidoRules = ({
|
|
|
7256
7283
|
}
|
|
7257
7284
|
},
|
|
7258
7285
|
japanSpecificField: () => {
|
|
7259
|
-
|
|
7286
|
+
const targetCountry = taskType === TaskTypes.DECISION_MAKER && rootLegalEntity?.organization?.registeredAddress.country || country;
|
|
7287
|
+
if (isCompatibleJapanVersion(targetCountry, version)) {
|
|
7260
7288
|
return "REQUIRED";
|
|
7261
7289
|
}
|
|
7262
7290
|
}
|
|
@@ -7533,7 +7561,7 @@ const additionalIdentityInfoFields = [
|
|
|
7533
7561
|
"expiryDate"
|
|
7534
7562
|
];
|
|
7535
7563
|
const LazyJpAddress = lazy(
|
|
7536
|
-
async () => (await import("./JpAddress-
|
|
7564
|
+
async () => (await import("./JpAddress-BqXtsX-B.js")).JpAddress
|
|
7537
7565
|
);
|
|
7538
7566
|
const additionalPersonalDetailsFields = [
|
|
7539
7567
|
"birthDate",
|
|
@@ -7552,6 +7580,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
7552
7580
|
const [showLegalRepresentativePrompt, setShowLegalRepresentativePrompt] = useState(false);
|
|
7553
7581
|
const { isSettingEnabled } = useSettingsContext();
|
|
7554
7582
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
7583
|
+
const { data: versionData } = useVersionConfiguration();
|
|
7555
7584
|
const { form } = useFormContext();
|
|
7556
7585
|
const isExperimentAgeVerificationEnabled = isExperimentEnabled("EnableAgeVerification");
|
|
7557
7586
|
const isSettingsEnforceLegalAgeEnabled = isSettingEnabled(SettingNames.EnforceLegalAge);
|
|
@@ -7632,7 +7661,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
7632
7661
|
handleChangeFor: handleFieldChange
|
|
7633
7662
|
}
|
|
7634
7663
|
),
|
|
7635
|
-
country
|
|
7664
|
+
isCompatibleJapanVersion(country, versionData?.version) ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7636
7665
|
LazyJpAddress,
|
|
7637
7666
|
{
|
|
7638
7667
|
...jpAddressProps,
|
|
@@ -9268,6 +9297,10 @@ function IndividualOnfido(props) {
|
|
|
9268
9297
|
);
|
|
9269
9298
|
}, [parentLegalEntity]);
|
|
9270
9299
|
const handleBasicDetailsNext = useCallback(() => {
|
|
9300
|
+
if (legalEntityId) {
|
|
9301
|
+
onNext?.();
|
|
9302
|
+
return;
|
|
9303
|
+
}
|
|
9271
9304
|
if (enteredFullName === null || !isRevampedDecisionMakersTaskPageEnabled) {
|
|
9272
9305
|
onNext?.();
|
|
9273
9306
|
return;
|
|
@@ -9277,7 +9310,13 @@ function IndividualOnfido(props) {
|
|
|
9277
9310
|
} else {
|
|
9278
9311
|
onNext?.();
|
|
9279
9312
|
}
|
|
9280
|
-
}, [
|
|
9313
|
+
}, [
|
|
9314
|
+
enteredFullName,
|
|
9315
|
+
existingNames,
|
|
9316
|
+
onNext,
|
|
9317
|
+
isRevampedDecisionMakersTaskPageEnabled,
|
|
9318
|
+
legalEntityId
|
|
9319
|
+
]);
|
|
9281
9320
|
useEffect(() => {
|
|
9282
9321
|
if (propActiveForm.formId === uboQuestionnaireFormID) {
|
|
9283
9322
|
setNextHandler?.(() => handleNextForPersonNotRequired);
|
|
@@ -9524,7 +9563,7 @@ function IndividualOnfido(props) {
|
|
|
9524
9563
|
] });
|
|
9525
9564
|
}
|
|
9526
9565
|
export {
|
|
9527
|
-
|
|
9566
|
+
ContactDetails as $,
|
|
9528
9567
|
defaultFieldConfig as A,
|
|
9529
9568
|
defaultFieldMetadata$1 as B,
|
|
9530
9569
|
CompanyTypesValues as C,
|
|
@@ -9547,25 +9586,26 @@ export {
|
|
|
9547
9586
|
TAX_INFORMATION_FIELD as T,
|
|
9548
9587
|
shouldShowIdNowModal as U,
|
|
9549
9588
|
IndividualOnfido as V,
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9589
|
+
isCompatibleJapanVersion as W,
|
|
9590
|
+
JP_ADDRESS_REQUIRED_FIELDS as X,
|
|
9591
|
+
GuidanceQuestionValues as Y,
|
|
9592
|
+
DECISION_MAKER_TYPES_WITH_JOBTITLE as Z,
|
|
9593
|
+
getTrustedEntityAssociations as _,
|
|
9555
9594
|
getCompanyRegistrationNumberOptions as a,
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9595
|
+
MemoizedDocumentUpload as a0,
|
|
9596
|
+
isRegistrationNumberAbsentStateV4Scenario as a1,
|
|
9597
|
+
COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as a2,
|
|
9598
|
+
countryToTaxInfoTypeMap as a3,
|
|
9599
|
+
rules as a4,
|
|
9600
|
+
MultiSelectList as a5,
|
|
9601
|
+
makeSelectItemForRole as a6,
|
|
9602
|
+
Name as a7,
|
|
9603
|
+
nameFields as a8,
|
|
9604
|
+
useCapabilities as a9,
|
|
9605
|
+
InputGroup as aa,
|
|
9606
|
+
TileGroup as ab,
|
|
9607
|
+
Dropzone as ac,
|
|
9608
|
+
removeIdVerificationProblemsForBafinSignatory as ad,
|
|
9569
9609
|
businessRegistrationNumberMasks as b,
|
|
9570
9610
|
businessRegistrationNumberPatterns as c,
|
|
9571
9611
|
getVatNumberOptions as d,
|