@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,44 +2,44 @@
|
|
|
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] = "1407c74f-22c6-47b8-a42a-83734aa3b510", e._sentryDebugIdIdentifier = "sentry-dbid-1407c74f-22c6-47b8-a42a-83734aa3b510");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
19
|
-
import { a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { y as getSSNType, z as defaultFieldMetadata, A as defaultFieldConfig, B as defaultFieldMetadata$1, D as fieldConfig, t as taxInformationDefaultFieldMetadata, i as taxInformationDefaultFieldConfig, E as isEmpty$1, F as getTrustedFields, G as getAsyncIdNumberValidationRule, H as getAsyncPhoneValidationRules, I as setHasMotionCaptureScenario, J as showIndividualMotionCapture, q as individualForms, K as Individual, L as individualDocumentForms, M as idVerificationProviderId, N as idNowModalChildEntityId, O as LandingLayout, x as showIdNowModal, P as check4DigitSsnFailed, Q as individualOnfidoRules, p as individualOnfidoForms, R as isNextStepDisabled, U as shouldShowIdNowModal, V as IndividualOnfido, W as
|
|
25
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
26
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-
|
|
27
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
28
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
29
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
30
|
-
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-
|
|
31
|
-
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./fieldConfigurations-
|
|
32
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-C8RUjYA8.js";
|
|
13
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost, aE as matchesRegex, aQ as trimValWithOneSpace, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, b0 as INDIVIDUAL_VALID_CHAR_REGEX, aO as getFormattingRegEx, aP as SPECIAL_CHARS, C as CountryCodes, aL as standardKatakanaValidator, aM as standardKanjiValidator, W as isEmpty, O as TaskTypes, r as LegalEntityTypes, b1 as getAgeToday, b2 as euCountries, b3 as individualApiKeyMapping, a_ as reverseMapping, b4 as getNomineeFromAssociation, b5 as individualComponentsKeyMapping, b6 as drop, P as createLogger, K as useAccountHolder, V as useI18nContext, a0 as useAnalyticsContext, Z as useExperimentsContext, au as useVersionConfiguration, o as useSettingsContext, g as getLegalEntityCountry, b7 as getAllowedDecisionMakerRoles, b8 as filterOutUnwantedAssociationsIfRootLE, aB as cloneObject, b9 as individualDocumentMapping, ba as individualObscuredFields, af as getOwnEntityAssociations, bb as hasNomineesChanged, bc as attachNomineeToRole, aV as doArraysMatch, j as useQuery, w as skipToken, m as httpGet, u as useTranslation, a2 as useQueryClient, B as Button, L as Loader, bd as individualOnfidoApiKeyMapping, al as Scenarios, am as DecisionMakerTypes, be as individualOnfidoDocumentMapping, bf as individualOnfidoObscuredFields } from "./StoreProvider-xGHaYMUs.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-nOSa_dqT.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DN7Drbgy.js";
|
|
16
|
+
import { j as useProviderStatus, p as addressValidators, q as addressFormatters, r as mapAddressLabels } from "./Address-DyXJyl-b.js";
|
|
17
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-COeLL_Ns.js";
|
|
18
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-CQcx-upf.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-X2F08zLy.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DFlteoms.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B7yeaBSf.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-u22jk7oP.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-CC0kTOC7.js";
|
|
24
|
+
import { y as getSSNType, z as defaultFieldMetadata, A as defaultFieldConfig, B as defaultFieldMetadata$1, D as fieldConfig, t as taxInformationDefaultFieldMetadata, i as taxInformationDefaultFieldConfig, E as isEmpty$1, F as getTrustedFields, G as getAsyncIdNumberValidationRule, H as getAsyncPhoneValidationRules, I as setHasMotionCaptureScenario, J as showIndividualMotionCapture, q as individualForms, K as Individual, L as individualDocumentForms, M as idVerificationProviderId, N as idNowModalChildEntityId, O as LandingLayout, x as showIdNowModal, P as check4DigitSsnFailed, Q as individualOnfidoRules, p as individualOnfidoForms, R as isNextStepDisabled, U as shouldShowIdNowModal, V as IndividualOnfido, W as isCompatibleJapanVersion, X as JP_ADDRESS_REQUIRED_FIELDS, Y as GuidanceQuestionValues, Z as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./IndividualOnfido-Iq2kmlaS.js";
|
|
25
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Di9iB7fB.js";
|
|
26
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-DzMXTfsp.js";
|
|
27
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-DTWZWUzc.js";
|
|
28
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-azmJKk85.js";
|
|
29
|
+
import { l as localizeDateString } from "./localizeDateString-EzvskSO-.js";
|
|
30
|
+
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-Bx-TWfnt.js";
|
|
31
|
+
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./fieldConfigurations-epeC-idf.js";
|
|
32
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-oHt7H3uT.js";
|
|
33
33
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
34
34
|
import { m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
35
35
|
import { computed } from "@preact/signals";
|
|
36
36
|
import { Show } from "@preact/signals/utils";
|
|
37
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
37
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-DA_9NmOK.js";
|
|
38
|
+
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-BQyvp2k7.js";
|
|
38
39
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { M as Modal } from "./Modal-
|
|
40
|
-
import { a as Alert } from "./Alert-
|
|
41
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
42
|
-
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-DXcTpcXc.js";
|
|
40
|
+
import { M as Modal } from "./Modal-Cz-76YvW.js";
|
|
41
|
+
import { a as Alert } from "./Alert-D2SzQ0IO.js";
|
|
42
|
+
import { a as getIndividualLegalEntityName } from "./getName-DSkTeZNv.js";
|
|
43
43
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
44
44
|
return await httpPost(
|
|
45
45
|
{
|
|
@@ -120,6 +120,50 @@ const nameFormatters = {
|
|
|
120
120
|
formatter: (val) => val ? trimValWithOneSpace(val).replace(specialCharsRegEx, "") : void 0
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
+
const customerSupportPresubmitProcess = (legalEntityResponse, legalEntityToSubmit) => {
|
|
124
|
+
if (legalEntityResponse.type === "individual") {
|
|
125
|
+
return processCustomerSupportForIndividual(legalEntityResponse, legalEntityToSubmit);
|
|
126
|
+
}
|
|
127
|
+
if (legalEntityResponse.type === "organization") {
|
|
128
|
+
return processCustomerSupportForOrganization(legalEntityResponse, legalEntityToSubmit);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
const processCustomerSupportForOrganization = (legalEntityResponse, legalEntityToSubmit) => {
|
|
132
|
+
if (!legalEntityResponse.organization?.support) {
|
|
133
|
+
return legalEntityToSubmit.organization?.support ?? void 0;
|
|
134
|
+
}
|
|
135
|
+
if (legalEntityResponse.organization?.countryOfGoverningLaw !== legalEntityToSubmit.organization?.countryOfGoverningLaw) {
|
|
136
|
+
const customerSupport = legalEntityResponse.organization?.support;
|
|
137
|
+
const country = legalEntityToSubmit.organization?.countryOfGoverningLaw;
|
|
138
|
+
switch (country) {
|
|
139
|
+
case CountryCodes.Japan:
|
|
140
|
+
return unsetCustomerSupportNumber(customerSupport);
|
|
141
|
+
default:
|
|
142
|
+
return customerSupport;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
const processCustomerSupportForIndividual = (legalEntityResponse, legalEntityToSubmit) => {
|
|
147
|
+
if (!legalEntityResponse.individual?.support) {
|
|
148
|
+
return legalEntityToSubmit.individual?.support ?? void 0;
|
|
149
|
+
}
|
|
150
|
+
if (legalEntityResponse.individual?.residentialAddress.country !== legalEntityToSubmit.individual?.residentialAddress.country) {
|
|
151
|
+
const customerSupport = legalEntityResponse.individual?.support;
|
|
152
|
+
const country = legalEntityToSubmit.individual?.residentialAddress.country;
|
|
153
|
+
switch (country) {
|
|
154
|
+
case CountryCodes.Japan:
|
|
155
|
+
return unsetCustomerSupportNumber(customerSupport);
|
|
156
|
+
default:
|
|
157
|
+
return customerSupport;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
const unsetCustomerSupportNumber = (customerSupport) => {
|
|
162
|
+
return customerSupport ? {
|
|
163
|
+
email: customerSupport.email,
|
|
164
|
+
phone: { number: "", type: "mobile" }
|
|
165
|
+
} : void 0;
|
|
166
|
+
};
|
|
123
167
|
const onfidoDocumentTypeMapping = [
|
|
124
168
|
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
125
169
|
{ id: "identityCard", name: "identityCard", hasBackPage: true },
|
|
@@ -650,6 +694,7 @@ function IndividualDropin({
|
|
|
650
694
|
const userEvents = useAnalyticsContext();
|
|
651
695
|
const { showToast, clearToasts } = useToastContext();
|
|
652
696
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
697
|
+
const { data: versionData } = useVersionConfiguration();
|
|
653
698
|
const { isSettingEnabled } = useSettingsContext();
|
|
654
699
|
const isRoleFieldNeeded = taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
655
700
|
const isLegalRepresentative = taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
|
|
@@ -803,7 +848,8 @@ function IndividualDropin({
|
|
|
803
848
|
taskType,
|
|
804
849
|
isExperimentEnabled,
|
|
805
850
|
rootLegalEntity: parentLegalEntity,
|
|
806
|
-
problems
|
|
851
|
+
problems,
|
|
852
|
+
version: versionData?.version
|
|
807
853
|
}),
|
|
808
854
|
[country, matchingScenario, data, taskType, problems]
|
|
809
855
|
);
|
|
@@ -888,6 +934,12 @@ function IndividualDropin({
|
|
|
888
934
|
}) => {
|
|
889
935
|
let updatedLegalEntity;
|
|
890
936
|
const existingLeId = legalEntityResponse?.id;
|
|
937
|
+
if (legalEntity.individual && legalEntityResponse?.individual?.support) {
|
|
938
|
+
legalEntity.individual.support = customerSupportPresubmitProcess(
|
|
939
|
+
legalEntityResponse,
|
|
940
|
+
legalEntity
|
|
941
|
+
);
|
|
942
|
+
}
|
|
891
943
|
if (!existingLeId) {
|
|
892
944
|
updatedLegalEntity = await createLegalEntity(legalEntity);
|
|
893
945
|
userEvents.addTaskEvent("Success", {
|
|
@@ -1877,6 +1929,7 @@ function IndividualOnfidoDropin({
|
|
|
1877
1929
|
const userEvents = useAnalyticsContext();
|
|
1878
1930
|
const { showToast, clearToasts } = useToastContext();
|
|
1879
1931
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
1932
|
+
const { data: versionData } = useVersionConfiguration();
|
|
1880
1933
|
const { isSettingEnabled } = useSettingsContext();
|
|
1881
1934
|
const queryClient = useQueryClient();
|
|
1882
1935
|
const isGuidedDecisionMakersFlowEnabled = isExperimentEnabled("EnableGuidedDecisionMakersFlow") || isExperimentEnabled("DecisionMakersFlowOptimization_GuidedDecisionMakersFlow");
|
|
@@ -1890,18 +1943,24 @@ function IndividualOnfidoDropin({
|
|
|
1890
1943
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
1891
1944
|
const isRoleFieldNeeded = taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
1892
1945
|
const dataFromResponse = useMemo(() => {
|
|
1946
|
+
const formStateData = individualFormDefaultData.value;
|
|
1947
|
+
individualFormDefaultData.value = null;
|
|
1893
1948
|
if (legalEntityResponse) {
|
|
1894
|
-
return
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1949
|
+
return {
|
|
1950
|
+
...mapLegalEntityToIndividualOnfidoSchema(
|
|
1951
|
+
legalEntityResponse,
|
|
1952
|
+
isTargetLegalEntityType,
|
|
1953
|
+
isRoleFieldNeeded,
|
|
1954
|
+
parentLegalEntity
|
|
1955
|
+
),
|
|
1956
|
+
...formStateData
|
|
1957
|
+
};
|
|
1900
1958
|
}
|
|
1901
1959
|
return {
|
|
1902
1960
|
additionalPersonalDetails: {
|
|
1903
1961
|
country: parentCountry
|
|
1904
|
-
}
|
|
1962
|
+
},
|
|
1963
|
+
...formStateData
|
|
1905
1964
|
};
|
|
1906
1965
|
}, [
|
|
1907
1966
|
legalEntityResponse,
|
|
@@ -2030,9 +2089,19 @@ function IndividualOnfidoDropin({
|
|
|
2030
2089
|
taskType,
|
|
2031
2090
|
isExperimentEnabled,
|
|
2032
2091
|
rootLegalEntity: parentLegalEntity,
|
|
2033
|
-
problems
|
|
2092
|
+
problems,
|
|
2093
|
+
version: versionData?.version
|
|
2034
2094
|
}),
|
|
2035
|
-
[
|
|
2095
|
+
[
|
|
2096
|
+
country,
|
|
2097
|
+
matchingScenario,
|
|
2098
|
+
data,
|
|
2099
|
+
isExperimentEnabled,
|
|
2100
|
+
parentLegalEntity,
|
|
2101
|
+
taskType,
|
|
2102
|
+
problems,
|
|
2103
|
+
versionData?.version
|
|
2104
|
+
]
|
|
2036
2105
|
);
|
|
2037
2106
|
useEffect(() => {
|
|
2038
2107
|
const derivedProps2 = getPropsFromConfigurations({
|
|
@@ -2109,6 +2178,12 @@ function IndividualOnfidoDropin({
|
|
|
2109
2178
|
}) => {
|
|
2110
2179
|
let updatedLegalEntity;
|
|
2111
2180
|
const existingLeId = legalEntityResponse?.id;
|
|
2181
|
+
if (legalEntity.individual && legalEntityResponse?.individual?.support) {
|
|
2182
|
+
legalEntity.individual.support = customerSupportPresubmitProcess(
|
|
2183
|
+
legalEntityResponse,
|
|
2184
|
+
legalEntity
|
|
2185
|
+
);
|
|
2186
|
+
}
|
|
2112
2187
|
if (!existingLeId) {
|
|
2113
2188
|
updatedLegalEntity = await createLegalEntity(legalEntity);
|
|
2114
2189
|
userEvents.addTaskEvent("Success", {
|
|
@@ -2352,7 +2427,7 @@ function IndividualOnfidoDropin({
|
|
|
2352
2427
|
);
|
|
2353
2428
|
}
|
|
2354
2429
|
if (data.additionalPersonalDetails) {
|
|
2355
|
-
if (country
|
|
2430
|
+
if (isCompatibleJapanVersion(country, versionData?.version)) {
|
|
2356
2431
|
summaryData.additionalPersonalDetails = {
|
|
2357
2432
|
...drop(...JP_ADDRESS_REQUIRED_FIELDS).from(summaryData.additionalPersonalDetails),
|
|
2358
2433
|
...mapJpAddressSummary(data.additionalPersonalDetails, datasetUtils)
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as Icon, u as useTranslation, U as TaskStatuses, a0 as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon, u as useTranslation, U as TaskStatuses, a0 as useAnalyticsContext } from "./StoreProvider-xGHaYMUs.js";
|
|
13
13
|
import { forwardRef } from "preact/compat";
|
|
14
14
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
15
|
-
import { a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-DCyq5sdE.js";
|
|
16
16
|
const SettingNames = {
|
|
17
17
|
AcceptedCountries: "acceptedCountries",
|
|
18
18
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a0 as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a0 as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-xGHaYMUs.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BLqLoVlT.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-kgkEiHMu.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "48784e9c-56f0-4513-894f-4000588d4523", e._sentryDebugIdIdentifier = "sentry-dbid-48784e9c-56f0-4513-894f-4000588d4523");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, m as httpGet, a4 as noop, u as useTranslation, V as useI18nContext, Z as useExperimentsContext, a0 as useAnalyticsContext, P as createLogger, C as CountryCodes, G as Typography } from "./StoreProvider-
|
|
13
|
-
import { F as Field, u as useForm } from "./useForm-
|
|
14
|
-
import { I as InputText } from "./InputText-
|
|
15
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, c as nonInputs
|
|
16
|
-
import {
|
|
17
|
-
import { t as addressValidationRulesV4, v as addressValidationRules } from "./Address-
|
|
18
|
-
import { u as useDebouncedCallback } from "./debouncedInputEvent-
|
|
12
|
+
import { b as useApiContext, j as useQuery, m as httpGet, a4 as noop, u as useTranslation, V as useI18nContext, Z as useExperimentsContext, a0 as useAnalyticsContext, P as createLogger, C as CountryCodes, G as Typography } from "./StoreProvider-xGHaYMUs.js";
|
|
13
|
+
import { F as Field, u as useForm } from "./useForm-BpBuBEUa.js";
|
|
14
|
+
import { I as InputText } from "./InputText-C5cvWJ1t.js";
|
|
15
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, c as nonInputs } from "./fieldConfigurations-epeC-idf.js";
|
|
16
|
+
import { X as JP_ADDRESS_REQUIRED_FIELDS, k as toFullWidth } from "./IndividualOnfido-Iq2kmlaS.js";
|
|
17
|
+
import { t as addressValidationRulesV4, v as addressValidationRules } from "./Address-DyXJyl-b.js";
|
|
18
|
+
import { u as useDebouncedCallback } from "./debouncedInputEvent-DCyq5sdE.js";
|
|
19
19
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
20
20
|
baseUrl,
|
|
21
21
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -148,31 +148,22 @@ const JpAddress = ({
|
|
|
148
148
|
}
|
|
149
149
|
),
|
|
150
150
|
/* @__PURE__ */ jsx(
|
|
151
|
-
|
|
151
|
+
Field,
|
|
152
152
|
{
|
|
153
153
|
name: "otherAddressInformation",
|
|
154
|
-
type: "text",
|
|
155
154
|
label: t(($) => $.chomeAndBanchi),
|
|
156
|
-
value: formData.otherAddressInformation ?? "",
|
|
157
155
|
isValid: formValid.otherAddressInformation,
|
|
158
|
-
onInput: handleChangeFor("otherAddressInformation", "input"),
|
|
159
|
-
onBlur: handleChangeFor("otherAddressInformation", "blur"),
|
|
160
156
|
errorMessage: formErrors.otherAddressInformation?.errorMessage ?? formErrors.otherAddressInformation?.hasError,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
),
|
|
172
|
-
formatGuidance: t(($) => $.enterNDigitsForExample, {
|
|
173
|
-
numDigits: "3",
|
|
174
|
-
example: "2-3-2"
|
|
175
|
-
})
|
|
157
|
+
children: (childProps) => /* @__PURE__ */ jsx(
|
|
158
|
+
InputText,
|
|
159
|
+
{
|
|
160
|
+
...childProps,
|
|
161
|
+
value: formData.otherAddressInformation ?? "",
|
|
162
|
+
onInput: handleChangeFor("otherAddressInformation", "input"),
|
|
163
|
+
onBlur: handleChangeFor("otherAddressInformation", "blur"),
|
|
164
|
+
transformInput: (value) => toFullWidth(value)
|
|
165
|
+
}
|
|
166
|
+
)
|
|
176
167
|
}
|
|
177
168
|
)
|
|
178
169
|
] }),
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, R as ROOT_LE, Z as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, R as ROOT_LE, Z as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-xGHaYMUs.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./fieldConfigurations-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./fieldConfigurations-epeC-idf.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Dsg_cc2F.js";
|
|
14
14
|
function LegalRepresentativeDetailsPage({
|
|
15
15
|
legalRepresentativeId,
|
|
16
16
|
asModal = false,
|
|
@@ -27,7 +27,7 @@ function LegalRepresentativeDetailsPage({
|
|
|
27
27
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
28
28
|
const { i18n } = useTranslation();
|
|
29
29
|
addResourceBundles(i18n, [
|
|
30
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
30
|
+
{ 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`, 3) }
|
|
31
31
|
]);
|
|
32
32
|
if (!rootLe || legalRepresentativeId && !legalRepresentativeLe) {
|
|
33
33
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -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 { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-B4nJxHnr.js";
|
|
13
|
+
import { a3 as Icon } from "./StoreProvider-xGHaYMUs.js";
|
|
14
14
|
const listItem = "adyen-kyc-list-item";
|
|
15
15
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
16
16
|
const listItemText = "adyen-kyc-list-item-text";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "04465664-272c-4f4a-a3fd-679d06b2a430", e._sentryDebugIdIdentifier = "sentry-dbid-04465664-272c-4f4a-a3fd-679d06b2a430");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-xGHaYMUs.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-2tz472gU.js";
|
|
13
|
+
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DhvAuoZm.js";
|
|
15
|
+
function ManageIndividualComponent({
|
|
16
|
+
legalEntityId,
|
|
17
|
+
onClick
|
|
18
|
+
}) {
|
|
19
|
+
const { i18n } = useTranslation();
|
|
20
|
+
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
|
+
currentLegalEntityId.value = legalEntityId;
|
|
22
|
+
addResourceBundles(i18n, [
|
|
23
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-xGHaYMUs.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
24
|
+
]);
|
|
25
|
+
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
|
+
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
|
27
|
+
refetchInterval: (res) => res.state.data?.status === OnboardingStatuses.AWAITING_DATA ? 3e3 : false
|
|
28
|
+
});
|
|
29
|
+
const name = legalEntityData?.individual?.name;
|
|
30
|
+
const fullName = name ? `${name.firstName} ${name.lastName}` : "";
|
|
31
|
+
const subtitle = legalEntityData?.individual?.email ?? "";
|
|
32
|
+
const status = onboardingStatusData?.status;
|
|
33
|
+
return /* @__PURE__ */ jsx(
|
|
34
|
+
EmbeddedStatus,
|
|
35
|
+
{
|
|
36
|
+
onClick,
|
|
37
|
+
title: fullName,
|
|
38
|
+
subtitle,
|
|
39
|
+
status,
|
|
40
|
+
loading: isPending
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
ManageIndividualComponent as M
|
|
46
|
+
};
|
package/dist/{ManageTermsOfServiceComponent-CxvDbZRm.js → ManageTermsOfServiceComponent-Bavhpa1V.js}
RENAMED
|
@@ -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] = "4fe008a4-d6c3-4c68-8e22-ab1cb5f67e46", e._sentryDebugIdIdentifier = "sentry-dbid-4fe008a4-d6c3-4c68-8e22-ab1cb5f67e46");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-xGHaYMUs.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
12
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-If65G5sJ.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DhvAuoZm.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -21,7 +21,7 @@ function ManageTermsOfServiceComponent({
|
|
|
21
21
|
const { isLoading: isLoadingSigned, data: signedData } = useTermsOfServiceAcceptanceInfos();
|
|
22
22
|
const { isLoading: isLoadingUnsigned, data: unsignedData } = useTermsOfServiceStatus();
|
|
23
23
|
addResourceBundles(i18n, [
|
|
24
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
24
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-xGHaYMUs.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
25
25
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
26
26
|
]);
|
|
27
27
|
const signed = signedData?.data?.map((d) => d.type);
|
|
@@ -2,25 +2,25 @@
|
|
|
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] = "b693153d-2782-46de-a914-28c1eec541d8", e._sentryDebugIdIdentifier = "sentry-dbid-b693153d-2782-46de-a914-28c1eec541d8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, V as useI18nContext, u as useTranslation,
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, V as useI18nContext, u as useTranslation, aA as getCapabilityProblems, B as Button, L as Loader, aB as cloneObject, $ as entriesOf, U as TaskStatuses, P as createLogger, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, G as Typography } from "./StoreProvider-xGHaYMUs.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
13
|
-
import { a as useToastContext } from "./useToastContext-
|
|
14
|
-
import { a as datasetUtilities, S as StructuredList, C as Confirm, u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
15
|
-
import { a as Alert } from "./Alert-
|
|
16
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
12
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BUlWfoSY.js";
|
|
13
|
+
import { a as useToastContext } from "./useToastContext-X2F08zLy.js";
|
|
14
|
+
import { a as datasetUtilities, S as StructuredList, C as Confirm, u as useDataset, d as datasetIdentifier } from "./useDataset-DTWZWUzc.js";
|
|
15
|
+
import { a as Alert } from "./Alert-D2SzQ0IO.js";
|
|
16
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-DhvAuoZm.js";
|
|
17
17
|
import { useState } from "preact/hooks";
|
|
18
|
-
import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-
|
|
19
|
-
import { M as Modal } from "./Modal-
|
|
18
|
+
import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-9RIVuylx.js";
|
|
19
|
+
import { M as Modal } from "./Modal-Cz-76YvW.js";
|
|
20
20
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
21
21
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
22
|
-
import { C as Card } from "./Card-
|
|
23
|
-
import { c as currencyByCountry } from "./types-
|
|
22
|
+
import { C as Card } from "./Card-Bu6wfAhS.js";
|
|
23
|
+
import { c as currencyByCountry } from "./types-CSHIgVkk.js";
|
|
24
24
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|
|
25
25
|
return httpGet({
|
|
26
26
|
baseUrl,
|
|
@@ -230,9 +230,9 @@ function ManageTransferInstrumentComponent({
|
|
|
230
230
|
const { showToast } = useToastContext();
|
|
231
231
|
const { mutateAsync: deleteTransferInstrument } = useDeleteTransferInstrument();
|
|
232
232
|
addResourceBundles(i18next, [
|
|
233
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
233
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-xGHaYMUs.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
234
234
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
235
|
-
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-
|
|
235
|
+
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-DyX-yYYI.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BD5bYeuJ.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-DGbzdIL0.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-h0JneJJl.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-D5SNtVsM.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-BtowKWUi.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-MHIPehPS.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-C6Go-kaC.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-DDs3ngzd.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-CmB2-IO5.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-DV4NqPVW.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-B9618F4_.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-DqzUSnFK.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-zuqB_CBf.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-CFY1O_K0.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-7CJ4F5iB.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-DubwJifw.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-59OQIZ3f.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-CQWBP7n1.js") }), `../../BankAccount/language/${lang}.json`, 5) }
|
|
236
236
|
]);
|
|
237
237
|
const {
|
|
238
238
|
data: transferInstrumentReferences,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { T as ToastContextProvider } from "./StoreProvider-
|
|
12
|
-
import { M as Modal } from "./Modal-
|
|
11
|
+
import { T as ToastContextProvider } from "./StoreProvider-xGHaYMUs.js";
|
|
12
|
+
import { M as Modal } from "./Modal-Cz-76YvW.js";
|
|
13
13
|
const MaybeModal = ({
|
|
14
14
|
ariaLabel,
|
|
15
15
|
children,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useRef, useLayoutEffect } from "preact/hooks";
|
|
13
|
-
import { X as IconButton } from "./StoreProvider-
|
|
13
|
+
import { X as IconButton } from "./StoreProvider-xGHaYMUs.js";
|
|
14
14
|
const KEYBOARD_KEYS = {
|
|
15
15
|
arrowDown: "ArrowDown",
|
|
16
16
|
arrowUp: "ArrowUp",
|