@adyen/kyc-components 4.0.0-beta.3 → 4.0.0-beta.5
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-i222mdxX.js → AcceptTermsOfServiceComponent-Bjj3cdYk.js} +42 -43
- package/dist/{AccountSetupRejected-DHph9lFl.js → AccountSetupRejected-CSQTnRkO.js} +3 -3
- package/dist/{Avatar-vCjWXfC7.js → Avatar-DL_WbHEO.js} +2 -2
- package/dist/{BusinessDetailsDropin-DQcfiSR8.js → BusinessDetailsDropin-JZ29P1pI.js} +122 -144
- package/dist/{BusinessFinancingComponent-DC3jzBrq.js → BusinessFinancingComponent-AAD0wzc0.js} +3 -3
- package/dist/{BusinessFinancingDropin-D2lMEbNh.js → BusinessFinancingDropin-MrOVSlPu.js} +409 -258
- package/dist/{BusinessFinancingPage-BPD2cSDR.js → BusinessFinancingPage-DWvnRK3f.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Cdp8joPJ.js → BusinessTypeSelectionPage-DJ5bfr8m.js} +35 -64
- package/dist/{ContractViewer-B0bZ14Ts.js → ContractViewer-z3KbE1Vf.js} +4 -4
- package/dist/{CreateIndividualComponent-D9wnexv4.js → CreateIndividualComponent-CO0NnimV.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-COzPdQjC.js → CreateTransferInstrumentComponent-CpUB63yl.js} +5 -5
- package/dist/{CustomerSupport-NGBoBg3N.js → CustomerSupport-CUPUElh7.js} +5 -5
- package/dist/{DebugModal-I2U6TjGT.js → DebugModal-BC-xS3Y1.js} +7 -221
- package/dist/{DecisionMakerDetailsPage-BN-H1sJF.js → DecisionMakerDetailsPage-DBsCSIAU.js} +4 -4
- package/dist/{DecisionMakers-CZ5-IRtU.js → DecisionMakers-5m_hI3ko.js} +160 -9
- package/dist/{EmbeddedStatus-Blr0seRl.js → EmbeddedStatus-8yA_zZvi.js} +13 -13
- package/dist/{FormEndState-JB6QFSet.js → FormEndState-s8NUp0x5.js} +3 -3
- package/dist/{FormFlow-DjvdNEiV.js → FormFlow-6j8qCSuK.js} +3 -3
- package/dist/{IndividualOnfidoDropin-DHhyO2ai.js → IndividualOnfidoDropin-B0G_nHXY.js} +254 -223
- package/dist/{Introduction-erRXgreE.js → Introduction-aPZmTW68.js} +24 -26
- package/dist/{ProviderButton-B58n0cRC.js → LandingLayout-Xi3iuRMx.js} +91 -83
- package/dist/{LegalRepresentativeDetailsPage-rS5K4657.js → LegalRepresentativeDetailsPage-Beh9_16w.js} +4 -4
- package/dist/{ManageIndividualComponent-BEzE5lkX.js → ManageIndividualComponent-C5ll1EKq.js} +6 -6
- package/dist/{ManageTermsOfServiceComponent-BWkwy6YC.js → ManageTermsOfServiceComponent-BYgWiamd.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-B8kRNftW.js → ManageTransferInstrumentComponent-Ds1QZxxR.js} +6 -6
- package/dist/{OnboardingDropinComponent-DBW5N3Dr.js → OnboardingDropinComponent-DLvTQVTE.js} +330 -169
- package/dist/{Review-O6Al47Cu.js → Review-DEeOefPe.js} +3 -3
- package/dist/RootBusinessDetailsPage-B2VBJ6x2.js +1848 -0
- package/dist/{RootIndividualDetailsPage-CiXgSJsV.js → RootIndividualDetailsPage-Bi7xeUYJ.js} +4 -4
- package/dist/{SignPCIComponent-cqRNhGdl.js → SignPCIComponent-Dgnvmjbr.js} +20 -24
- package/dist/{SingpassSelection-BWEJ3Yi-.js → SingpassSelection--f8TDTJH.js} +8 -8
- package/dist/{SoleProprietorshipPage-CRcJSpn9.js → SoleProprietorshipPage-DMYrwSK2.js} +4 -4
- package/dist/{SourceOfFundsPage-BxLGXTHb.js → SourceOfFundsPage-avNGxkCP.js} +18 -17
- package/dist/{StoreProvider-ClKLaHzy.js → StoreProvider-QThALSrj.js} +5192 -4367
- package/dist/{TaskItemStatus-DrTIwCTx.js → TaskItemStatus-DMPUHtWU.js} +12 -12
- package/dist/{TaskStatusIndicator-CTtKjo0m.js → TaskStatusIndicator-Bfc4X_jG.js} +5 -5
- package/dist/{TaxReportingDropin-DFZ2ehfk.js → TaxReportingDropin-B7FXPbLq.js} +8 -8
- package/dist/{TileGroup-BtE472I1.js → TileGroup-DUoq3Lh4.js} +2 -2
- package/dist/{TrustDetailsPage-CGiiTbfR.js → TrustDetailsPage-J4MShc8J.js} +28 -15
- package/dist/{TrustMemberCompanyPage-oLNhg0hg.js → TrustMemberCompanyPage-DKNQ_vHF.js} +5 -5
- package/dist/{TrustMemberIndividualPage-Bgsis586.js → TrustMemberIndividualPage-CFo3Is4F.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-DPE3grqL.js → UnincorporatedPartnershipIndividualPage-CfllAxUK.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-HUnc9g0g.js → UnincorporatedPartnershipMemberCompanyPage-779IUOW2.js} +4 -4
- package/dist/{VerificationErrorAlert-BBdJmGJu.js → VerificationErrorAlert-BtsLa_Ty.js} +13 -4
- package/dist/{ViewVerificationStatusComponent-DDtXG_pM.js → ViewVerificationStatusComponent-ZtYIqtnO.js} +14 -12
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +31 -22
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +3 -3
- package/dist/adyen-manage-transfer-instruments.js +3 -3
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bag-DpxmyXfR.js +14 -0
- package/dist/bg-BG-9uVrFuHv.js +23 -0
- package/dist/bg-BG-BiYtb1Tz.js +55 -0
- package/dist/bg-BG-CMomhopf.js +35 -0
- package/dist/bg-BG-Dy6-IwuZ.js +28 -0
- package/dist/bg-BG-NMIts2sa.js +35 -0
- package/dist/{plaintext-9WNCwUtz.js → bg-BG-hFblesn-.js} +4 -6
- package/dist/business-lines-DboUCbXw.js +135 -0
- package/dist/{_plugin-vue_export-helper-CgYpM5kA.js → cs-CZ-B8IPRc47.js} +4 -8
- package/dist/cs-CZ-Csr_35T-.js +35 -0
- package/dist/cs-CZ-DMzortvO.js +35 -0
- package/dist/cs-CZ-Dbow28-o.js +28 -0
- package/dist/cs-CZ-Wzc382q6.js +23 -0
- package/dist/cs-CZ-wdftovLe.js +55 -0
- package/dist/da-DK-4QAKic_C.js +55 -0
- package/dist/da-DK-Adj8R5Qn.js +28 -0
- package/dist/da-DK-BTpZzEgA.js +15 -0
- package/dist/da-DK-CeNMXUfE.js +23 -0
- package/dist/da-DK-Dm8o1giq.js +35 -0
- package/dist/da-DK-q2b_1elr.js +35 -0
- package/dist/de-DE-BG0tKqvi.js +28 -0
- package/dist/de-DE-BzumFI3T.js +55 -0
- package/dist/de-DE-D2ByeIZs.js +35 -0
- package/dist/de-DE-DMFaycio.js +35 -0
- package/dist/de-DE-DjOUNvp6.js +15 -0
- package/dist/de-DE-JI-7mvxy.js +23 -0
- package/dist/el-GR-CGeBAkDN.js +35 -0
- package/dist/el-GR-CXmTklMq.js +55 -0
- package/dist/el-GR-Cu9HwD-f.js +15 -0
- package/dist/el-GR-DGW388LZ.js +35 -0
- package/dist/el-GR-DerT143K.js +28 -0
- package/dist/el-GR-DfNOPkLq.js +23 -0
- package/dist/en-US-BQpgt41j.js +37 -0
- package/dist/en-US-BTYdAWXp.js +15 -0
- package/dist/en-US-CQ3angjM.js +22 -0
- package/dist/en-US-CkZcSKGh.js +35 -0
- package/dist/en-US-DHq7VYFs.js +23 -0
- package/dist/en-US-DLm6gy6T.js +58 -0
- package/dist/en-US-SbE0c1gn.js +36 -0
- package/dist/es-ES-BM4U0hT3.js +28 -0
- package/dist/es-ES-BhQOdKge.js +55 -0
- package/dist/es-ES-Cj7q7fWO.js +15 -0
- package/dist/es-ES-DOVPTeyf.js +23 -0
- package/dist/es-ES-WWftn3JX.js +35 -0
- package/dist/es-ES-pXHx3ODy.js +35 -0
- package/dist/et-EE-BJIsPOnh.js +23 -0
- package/dist/et-EE-CFlzRBEx.js +55 -0
- package/dist/et-EE-D5lRJbMZ.js +35 -0
- package/dist/et-EE-Dor3enPS.js +15 -0
- package/dist/et-EE-OJg_PSHf.js +28 -0
- package/dist/et-EE-QLVnr6Vl.js +35 -0
- package/dist/fi-FI-BJ2l42Pj.js +28 -0
- package/dist/fi-FI-BNcnKrJ9.js +15 -0
- package/dist/fi-FI-D522KHGk.js +23 -0
- package/dist/fi-FI-D9E_KaJi.js +35 -0
- package/dist/fi-FI-DT351N-G.js +35 -0
- package/dist/fi-FI-Djollt2G.js +55 -0
- package/dist/fr-FR-BNXXNUX_.js +35 -0
- package/dist/fr-FR-Bn3D6mmY.js +15 -0
- package/dist/fr-FR-Cv0k-3Xc.js +35 -0
- package/dist/fr-FR-DInQKkTd.js +23 -0
- package/dist/fr-FR-g7lmxEsI.js +28 -0
- package/dist/fr-FR-l36qBV3a.js +55 -0
- package/dist/{getFieldsWithExistingData-BY--eXBQ.js → getFieldsWithExistingData-CUMH8N-C.js} +2 -2
- package/dist/{hasDataChanged-CwfuS4et.js → hasDataChanged-CTE9vdfO.js} +2 -2
- package/dist/hr-HR-B8AZ4eHJ.js +35 -0
- package/dist/hr-HR-CDUE36Dg.js +28 -0
- package/dist/hr-HR-CNzbyo9r.js +15 -0
- package/dist/hr-HR-CzSrqEFA.js +35 -0
- package/dist/hr-HR-DTCY4iL8.js +55 -0
- package/dist/hr-HR-DzS44Gpv.js +23 -0
- package/dist/hu-HU-BSOiZA7a.js +15 -0
- package/dist/hu-HU-Bmf13NMf.js +28 -0
- package/dist/hu-HU-BznXPoc2.js +55 -0
- package/dist/hu-HU-DRi6Dz9U.js +35 -0
- package/dist/hu-HU-xCvNM5TU.js +23 -0
- package/dist/hu-HU-zK6nUqWr.js +35 -0
- package/dist/it-IT-BEWyAQUU.js +55 -0
- package/dist/it-IT-BeYbInCQ.js +35 -0
- package/dist/it-IT-C_fNHhjE.js +35 -0
- package/dist/it-IT-CjEYONJg.js +23 -0
- package/dist/it-IT-DYIx7myn.js +28 -0
- package/dist/it-IT-DvM-9LpM.js +15 -0
- package/dist/ja-JP-BUz3qN-V.js +23 -0
- package/dist/ja-JP-C1OQ16fo.js +35 -0
- package/dist/ja-JP-D7oL6xGY.js +55 -0
- package/dist/ja-JP-GXkLvnQ4.js +15 -0
- package/dist/ja-JP-tx1DbZYD.js +28 -0
- package/dist/ja-JP-weDU8GLW.js +35 -0
- package/dist/{localizeDateString-CKCBXzSn.js → localizeDateString-DaAGYSWR.js} +2 -2
- package/dist/lt-LT-B6CJ4ULI.js +23 -0
- package/dist/lt-LT-BUYY0LaT.js +35 -0
- package/dist/lt-LT-BxScCodJ.js +28 -0
- package/dist/lt-LT-DNjXmQPv.js +15 -0
- package/dist/lt-LT-De7dLXxI.js +55 -0
- package/dist/lt-LT-_MzAcXJo.js +35 -0
- package/dist/lv-LV-B9js9VoA.js +35 -0
- package/dist/lv-LV-CRhXAjn6.js +35 -0
- package/dist/lv-LV-ChOoZuhc.js +15 -0
- package/dist/lv-LV-DTtuyfHS.js +23 -0
- package/dist/lv-LV-De9rdme0.js +55 -0
- package/dist/lv-LV-F9_Fiu3w.js +28 -0
- package/dist/mail-Z_IE_hkw.js +14 -0
- package/dist/{mapFinancialReportsToFinancialInformation-D_6u_bSS.js → mapFinancialReportsToFinancialInformation-Bo2uW3j7.js} +2 -2
- package/dist/nl-NL-BHqiO21q.js +15 -0
- package/dist/nl-NL-Cht7cSwD.js +28 -0
- package/dist/nl-NL-DLedC3mO.js +35 -0
- package/dist/nl-NL-Dbx0ZmI7.js +35 -0
- package/dist/nl-NL-Zcq0bXd-.js +23 -0
- package/dist/nl-NL-lZcJhRsP.js +55 -0
- package/dist/no-NO-BEIyAMmZ.js +55 -0
- package/dist/no-NO-BQAqVzF4.js +28 -0
- package/dist/no-NO-BxReX6oF.js +23 -0
- package/dist/no-NO-C0sfkp82.js +35 -0
- package/dist/no-NO-CKT9kLAH.js +15 -0
- package/dist/no-NO-CpVal4cV.js +35 -0
- package/dist/pay-by-link-plane-Pv7Babgn.js +22 -0
- package/dist/pl-PL-1ylK-_FE.js +35 -0
- package/dist/pl-PL-CqxMKpBm.js +28 -0
- package/dist/pl-PL-D6heiKsH.js +15 -0
- package/dist/pl-PL-DAPGaxWi.js +35 -0
- package/dist/pl-PL-DD3wVcKc.js +55 -0
- package/dist/pl-PL-T6uD5--R.js +23 -0
- package/dist/pt-PT-BY9rcwcF.js +35 -0
- package/dist/pt-PT-BkvMsoK4.js +35 -0
- package/dist/pt-PT-BsDCHbWN.js +55 -0
- package/dist/pt-PT-CBbmkr_J.js +28 -0
- package/dist/pt-PT-D2elvnDU.js +15 -0
- package/dist/pt-PT-N0njcfLO.js +23 -0
- package/dist/{resolveEnvironment-DQH1ab0S.js → resolveEnvironment-D0tYcn_s.js} +3 -3
- package/dist/ro-RO-CUg8-CQ8.js +55 -0
- package/dist/ro-RO-DJLWmWZ4.js +35 -0
- package/dist/ro-RO-DL9V1CMj.js +15 -0
- package/dist/ro-RO-Dfx0g3bU.js +35 -0
- package/dist/ro-RO-IY3AMhwm.js +28 -0
- package/dist/ro-RO-Ic1SzBgx.js +23 -0
- package/dist/{rules-CCnLDGvk.js → rules-DXnRkeBJ.js} +13 -13
- package/dist/sk-SK-B7o3L57C.js +35 -0
- package/dist/sk-SK-BDKRZ2mM.js +28 -0
- package/dist/sk-SK-BSioQTMW.js +15 -0
- package/dist/sk-SK-CiD0FeLN.js +23 -0
- package/dist/sk-SK-Cjrkrb85.js +55 -0
- package/dist/sk-SK-iO863_t2.js +35 -0
- package/dist/sl-SI-BB0suyr1.js +28 -0
- package/dist/sl-SI-BE_ndzZ2.js +55 -0
- package/dist/sl-SI-BylvpF-X.js +15 -0
- package/dist/sl-SI-C8CMAkD0.js +35 -0
- package/dist/sl-SI-Cth2Qa5T.js +35 -0
- package/dist/sl-SI-MZoDApq9.js +23 -0
- package/dist/solution-payments-DTAuLSWF.js +14 -0
- package/dist/style.css +690 -628
- package/dist/styles-CLV89_hH.js +690 -628
- package/dist/sv-SE-BryiIPVv.js +55 -0
- package/dist/sv-SE-Bwh0wKFk.js +35 -0
- package/dist/sv-SE-DCFSf4Oj.js +23 -0
- package/dist/sv-SE-DYruQSzt.js +28 -0
- package/dist/sv-SE-Dwz1yTrB.js +15 -0
- package/dist/sv-SE-OPOHtqtP.js +35 -0
- package/dist/terminal-1-ewywjFJI.js +18 -0
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +4 -8
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -3
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +25 -24
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +10 -10
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -2
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +9 -0
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +10 -0
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -2
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +5 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +3 -0
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +4 -0
- package/dist/types/components/Business/forms/forms.types.d.ts +14 -0
- package/dist/types/components/Business/forms/rules.d.ts +26 -8
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -1
- package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -3
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +18 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +5 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +21 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/validate.d.ts +22 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +3 -3
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLinesGettingStarted/BusinessLinesGettingStarted.d.ts +6 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +31 -29
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +1 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -19
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +5 -5
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +6 -0
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +8 -8
- package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +18 -18
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +3 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +3 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +3 -3
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +7 -0
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/constants.d.ts +3 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +6 -5
- package/dist/types/components/Shared/Introduction/types.d.ts +11 -11
- package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +27 -27
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -3
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -6
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +11 -10
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +7 -5
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +3 -4
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +6 -6
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +7 -6
- package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +6 -6
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +5 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +16 -0
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +12 -0
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
- package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +3 -2
- package/dist/types/components/ui/molecules/Alert/VerificationErrorAlert.d.ts +1 -1
- package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
- package/dist/types/context/ExperimentContext/types.d.ts +46 -38
- package/dist/types/context/SettingsContext/types.d.ts +24 -24
- package/dist/types/core/models/api/company-types-value.d.ts +12 -11
- package/dist/types/core/models/api/decision-maker-type.d.ts +7 -6
- package/dist/types/core/models/api/entity-type.d.ts +5 -4
- package/dist/types/core/models/api/get-scenarios.d.ts +18 -18
- package/dist/types/core/models/api/individual.d.ts +1 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +2 -2
- package/dist/types/core/models/api/legal-entity-type.d.ts +8 -7
- package/dist/types/core/models/api/trust-member-type.d.ts +8 -8
- package/dist/types/core/models/api/trusted-fields-provider.d.ts +5 -4
- package/dist/types/core/models/api/unincorporated-partnership.d.ts +6 -6
- package/dist/types/core/models/api/verification-error.d.ts +8 -7
- package/dist/types/core/models/api/verification-status.d.ts +7 -6
- package/dist/types/core/models/api/view-verification-status.d.ts +8 -7
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +4 -4
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +7 -6
- package/dist/types/hooks/useBusinessSetup.d.ts +11 -10
- package/dist/types/hooks/useDataMissingRemediations.d.ts +2 -2
- package/dist/types/hooks/useFormComposer.d.ts +1 -1
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -3
- package/dist/types/hooks/useLegalEntityType.d.ts +1 -1
- package/dist/types/hooks/useMultiForm/types.d.ts +2 -2
- package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
- package/dist/types/language/types.d.ts +2 -0
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +2 -2
- package/dist/types/stores/globalStore/globalStore.d.ts +7 -7
- package/dist/types/stores/globalStore/taskStatus.d.ts +17 -16
- package/dist/types/stores/globalStore/taskTypes.d.ts +37 -35
- package/dist/types/types/datasets/currency.d.ts +25 -25
- package/dist/types/types/datasets/province-code.d.ts +46 -46
- package/dist/types/types/datasets/state-code.d.ts +84 -84
- package/dist/types/types/errors/entity-problems.d.ts +3 -4
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +3 -3
- package/dist/types/utils/decisionMaker.d.ts +4 -3
- package/dist/types/utils/decisionMakerRoles.d.ts +4 -3
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -3
- package/dist/types/utils/entityStatusUtil.d.ts +3 -3
- package/dist/types/utils/formUtils.d.ts +2 -2
- package/dist/types/utils/regex/patternValidators.d.ts +1 -0
- package/dist/types/utils/roleMetadata.d.ts +3 -3
- package/dist/types/utils/translation.d.ts +40 -0
- package/dist/{useMultiForm-KQwxav4F.js → useMultiForm-CuBrV4Tk.js} +2 -2
- package/dist/{useOnboardingStatus-BMyj9Pwn.js → useOnboardingStatus-DUB9BH7M.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CBHKWYSb.js → useTermsOfServiceStatus-BblV2n-A.js} +2 -2
- package/dist/{useUpdateLegalEntity-D8dw9Oc3.js → useUpdateLegalEntity-56mDjaQA.js} +2 -2
- package/dist/{utils-CL9qlD-O.js → utils-CoNP20Mi.js} +17 -17
- package/dist/{validate-CuwYJGc9.js → validate-BPEF-9EC.js} +9 -3
- package/dist/{validate-CeF0YKvL.js → validate-Bgc1XuQl.js} +2 -2
- package/dist/view-verification-status-VFcBydkR.js +21 -0
- package/package.json +8 -33
- package/dist/LandingLayout-B45lEjOv.js +0 -84
- package/dist/ManagePCIComponent-BgdGfAuT.js +0 -33
- package/dist/RootBusinessDetailsPage-q_6wAcer.js +0 -42
- package/dist/adyen-manage-pci.js +0 -48
- package/dist/adyen-sign-pci.js +0 -55
- package/dist/adyen-terms-of-service.vue_vue_type_script_lang-BD4hndWg.js +0 -42
- package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-DQBzahGy.js +0 -57
- package/dist/bg-BG-HpLj_LOM.js +0 -16
- package/dist/cs-CZ-CQ_M3lEp.js +0 -16
- package/dist/css-BJGWcW8A.js +0 -24
- package/dist/da-DK-k4JW3iVF.js +0 -16
- package/dist/de-DE-C7mjtS5w.js +0 -16
- package/dist/el-GR-CEQrkYHW.js +0 -16
- package/dist/en-US-DDagIr01.js +0 -16
- package/dist/es-ES-DB1c74Kv.js +0 -16
- package/dist/et-EE-xIegUSuv.js +0 -16
- package/dist/fi-FI-NCxneAqU.js +0 -16
- package/dist/fr-FR-daiUnUwo.js +0 -16
- package/dist/hr-HR-BAUywqDj.js +0 -16
- package/dist/hu-HU-3GQojIHR.js +0 -16
- package/dist/it-IT-pDWPFHEh.js +0 -16
- package/dist/ja-JP-scPXJ93L.js +0 -16
- package/dist/json-Dk6RRAV8.js +0 -31
- package/dist/lt-LT-BcGNy8Ti.js +0 -16
- package/dist/lv-LV-CBD07r1Y.js +0 -16
- package/dist/nl-NL-BxJUDHMK.js +0 -16
- package/dist/no-NO-Drup6Jyy.js +0 -16
- package/dist/pl-PL-BXv8Mmzb.js +0 -16
- package/dist/preact/adyen-individual.js +0 -15
- package/dist/preact/adyen-manage-individual.js +0 -15
- package/dist/preact/adyen-terms-of-service.js +0 -16
- package/dist/preact/adyen-transfer-instrument.js +0 -16
- package/dist/pt-PT-D8nU-UM2.js +0 -16
- package/dist/ro-RO-CG33OwqS.js +0 -16
- package/dist/sk-SK-DV_xkO69.js +0 -16
- package/dist/sl-SI-B5yeoadY.js +0 -16
- package/dist/sv-SE-CfxyR53r.js +0 -16
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationDisclaimer/IdVerificationDisclaimer.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationHeader/IdVerificationHeader.d.ts +0 -1
- package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +0 -3
- package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +0 -3
- package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +0 -12
- package/dist/types/embeds/manage-pci/adyen-manage-pci.d.ts +0 -1
- package/dist/types/embeds/manage-pci/adyen-manage-pci.types.d.ts +0 -39
- package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +0 -14
- package/dist/types/embeds/sign-pci/adyen-sign-pci.d.ts +0 -1
- package/dist/types/embeds/sign-pci/adyen-sign-pci.types.d.ts +0 -45
- package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +0 -3
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +0 -3
- package/dist/useSalesChannelsSettings-43TfSoxc.js +0 -51
- package/dist/view-verification-status-DTkA8PtO.js +0 -20
- package/dist/vue/adyen-individual.js +0 -53
- package/dist/vue/adyen-manage-individual.js +0 -56
- package/dist/vue/adyen-terms-of-service.js +0 -28
- package/dist/vue/adyen-transfer-instrument.js +0 -31
- package/dist/yaml-CBkrSAtc.js +0 -22
package/dist/{AcceptTermsOfServiceComponent-i222mdxX.js → AcceptTermsOfServiceComponent-Bjj3cdYk.js}
RENAMED
|
@@ -2,19 +2,19 @@
|
|
|
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] = "aac031e9-5d8b-43d2-bbb3-fcba438c1c95", e._sentryDebugIdIdentifier = "sentry-dbid-aac031e9-5d8b-43d2-bbb3-fcba438c1c95");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
12
|
+
import { a as useApiContext, bo as useInvalidateRootLegalEntity, bp as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bt as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bu as Select, bv as Checkbox, aS as ActionBar, bw as MaybeModal, be as ModalContent, bg as ModalFooter, bx as StepProgressIndicator, bh as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, aq as getLegalEntityNameBasedOnType, aQ as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BblV2n-A.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-z3KbE1Vf.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-s8NUp0x5.js";
|
|
16
16
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DaAGYSWR.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
20
20
|
{
|
|
@@ -175,8 +175,7 @@ function ServiceAgreementDropin({
|
|
|
175
175
|
asModal = false,
|
|
176
176
|
handleCloseClick
|
|
177
177
|
}) {
|
|
178
|
-
const { i18n } =
|
|
179
|
-
const { i18n: i18next } = useTranslation();
|
|
178
|
+
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
180
179
|
const userEvents = useAnalyticsContext();
|
|
181
180
|
const { showToast } = useToastContext();
|
|
182
181
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -204,10 +203,6 @@ function ServiceAgreementDropin({
|
|
|
204
203
|
const canSign = serviceAgreementTypes?.includes(activeForm?.serviceAgreementType) && !activeForm?.acceptanceId;
|
|
205
204
|
const isLastStep = activeFormIndex === forms.length - 1;
|
|
206
205
|
const showSignedAlert = !!activeForm?.acceptanceId;
|
|
207
|
-
const translationKeys = {
|
|
208
|
-
home: "goToOverview",
|
|
209
|
-
next: canSign ? "sign" : "continue"
|
|
210
|
-
};
|
|
211
206
|
const { refetch: downloadAcceptedTermsAsPdf } = useAcceptedTermsOfService(
|
|
212
207
|
activeForm?.acceptanceId,
|
|
213
208
|
"PDF",
|
|
@@ -217,7 +212,7 @@ function ServiceAgreementDropin({
|
|
|
217
212
|
);
|
|
218
213
|
const handleServiceAgreementIsNotAvailableInThatLanguage = useCallback(() => {
|
|
219
214
|
showToast({
|
|
220
|
-
label:
|
|
215
|
+
label: t(($) => $["failedToGetServiceAgreementInSelectedLanguageFallbackToEn"]),
|
|
221
216
|
variant: "error"
|
|
222
217
|
});
|
|
223
218
|
}, [i18n, showToast]);
|
|
@@ -225,14 +220,14 @@ function ServiceAgreementDropin({
|
|
|
225
220
|
handleServiceAgreementIsNotAvailableInThatLanguage,
|
|
226
221
|
acceptanceId: activeForm?.acceptanceId,
|
|
227
222
|
serviceAgreementType: activeForm?.serviceAgreementType,
|
|
228
|
-
language: getLanguageCode(
|
|
223
|
+
language: getLanguageCode(i18n.language)
|
|
229
224
|
});
|
|
230
225
|
const { handleChangeFor, triggerValidation, data, valid, isValid, errors } = useForm({
|
|
231
226
|
schema: ["signer", "acceptServiceAgreement"],
|
|
232
227
|
rules: serviceAgreementValidationRules
|
|
233
228
|
});
|
|
234
229
|
const getSigners = () => {
|
|
235
|
-
if (legalEntityResponse.type ===
|
|
230
|
+
if (legalEntityResponse.type === LegalEntityTypes.ORGANIZATION) {
|
|
236
231
|
return getOwnSignatories(legalEntityResponse).map(({ legalEntityId: id, name }) => ({
|
|
237
232
|
id: id ?? "",
|
|
238
233
|
name: name ?? ""
|
|
@@ -262,7 +257,7 @@ function ServiceAgreementDropin({
|
|
|
262
257
|
await handleSign(legalEntityResponse.id, serviceAgreement.id, { acceptedBy: data.signer });
|
|
263
258
|
setLoadingStatus("success");
|
|
264
259
|
showToast({
|
|
265
|
-
label:
|
|
260
|
+
label: t(($) => $["serviceAgreementSignedSuccessfully"]),
|
|
266
261
|
variant: "success"
|
|
267
262
|
});
|
|
268
263
|
userEvents.addTaskEvent("Success", baseTracking);
|
|
@@ -270,7 +265,7 @@ function ServiceAgreementDropin({
|
|
|
270
265
|
data.signer = void 0;
|
|
271
266
|
} catch (e) {
|
|
272
267
|
setLoadingStatus("success");
|
|
273
|
-
showToast({ label:
|
|
268
|
+
showToast({ label: t(($) => $["serviceAgreementSignFailed"]), variant: "error" });
|
|
274
269
|
userEvents.addTaskEvent("Encountered error", {
|
|
275
270
|
...baseTracking,
|
|
276
271
|
returnType: e?.errorCode || "backend",
|
|
@@ -288,7 +283,7 @@ function ServiceAgreementDropin({
|
|
|
288
283
|
const goHome = () => {
|
|
289
284
|
userEvents.addPageEvent("Clicked button", {
|
|
290
285
|
actionType: "back",
|
|
291
|
-
label:
|
|
286
|
+
label: "goToOverview"
|
|
292
287
|
});
|
|
293
288
|
handleHomeClick();
|
|
294
289
|
};
|
|
@@ -319,17 +314,20 @@ function ServiceAgreementDropin({
|
|
|
319
314
|
const onDownloadAcceptedTermsOfServiceDocument = async () => {
|
|
320
315
|
const { isError, isSuccess, data: data2 } = await downloadAcceptedTermsAsPdf();
|
|
321
316
|
if (isSuccess && data2?.document) {
|
|
322
|
-
await downloadFile(
|
|
317
|
+
await downloadFile(
|
|
318
|
+
data2.document,
|
|
319
|
+
`${t(($) => $[activeForm.formName], { ns: "common" })}.pdf`
|
|
320
|
+
);
|
|
323
321
|
}
|
|
324
322
|
if (isError) {
|
|
325
323
|
showToast({
|
|
326
|
-
label:
|
|
324
|
+
label: t(($) => $["failedToDownloadAcceptedServiceAgreementDocument"]),
|
|
327
325
|
variant: "error"
|
|
328
326
|
});
|
|
329
327
|
}
|
|
330
328
|
};
|
|
331
329
|
const onDownloadUnacceptedTermsOfServiceDocument = async () => {
|
|
332
|
-
const languageCode = getLanguageCode(
|
|
330
|
+
const languageCode = getLanguageCode(i18n.language);
|
|
333
331
|
const requestAndDownload = async (languageCode2) => {
|
|
334
332
|
const response = await getTermsOfService(rootLegalEntityId.value, baseUrl.value, {
|
|
335
333
|
type: activeForm.serviceAgreementType,
|
|
@@ -339,11 +337,14 @@ function ServiceAgreementDropin({
|
|
|
339
337
|
if (!response?.document) {
|
|
340
338
|
throw new Error(`No terms Of service document found in response`);
|
|
341
339
|
}
|
|
342
|
-
await downloadFile(
|
|
340
|
+
await downloadFile(
|
|
341
|
+
response.document,
|
|
342
|
+
`${t(($) => $[activeForm.formName], { ns: "common" })}.pdf`
|
|
343
|
+
);
|
|
343
344
|
};
|
|
344
345
|
try {
|
|
345
346
|
const availableLanguages = ["fr", "en"];
|
|
346
|
-
if (availableLanguages.includes(
|
|
347
|
+
if (availableLanguages.includes(i18n.language)) {
|
|
347
348
|
await requestAndDownload(languageCode);
|
|
348
349
|
}
|
|
349
350
|
await requestAndDownload("en");
|
|
@@ -353,7 +354,7 @@ function ServiceAgreementDropin({
|
|
|
353
354
|
return;
|
|
354
355
|
}
|
|
355
356
|
showToast({
|
|
356
|
-
label:
|
|
357
|
+
label: t(($) => $["failedToDownloadServiceAgreementDocument"]),
|
|
357
358
|
variant: "error"
|
|
358
359
|
});
|
|
359
360
|
}
|
|
@@ -364,8 +365,8 @@ function ServiceAgreementDropin({
|
|
|
364
365
|
{
|
|
365
366
|
variant: signers.length ? "info" : "warning",
|
|
366
367
|
className: "adyen-kyc-u-margin-top-16",
|
|
367
|
-
title:
|
|
368
|
-
children: /* @__PURE__ */ jsx(Button, { onClick: handleAddSigner, variant: "link", children:
|
|
368
|
+
title: t(($) => $[signers.length ? "isYourNameMissingFromSigners" : "thereAreNoSigners"]),
|
|
369
|
+
children: /* @__PURE__ */ jsx(Button, { onClick: handleAddSigner, variant: "link", children: t(($) => $["addYourselfAsSigner"]) })
|
|
369
370
|
}
|
|
370
371
|
);
|
|
371
372
|
const getSignedName = (acceptanceId) => {
|
|
@@ -381,11 +382,9 @@ function ServiceAgreementDropin({
|
|
|
381
382
|
{
|
|
382
383
|
variant: "success",
|
|
383
384
|
className: styles.adyenKycSignedAlert,
|
|
384
|
-
title:
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
signer: getSignedName(activeForm.acceptanceId)
|
|
388
|
-
}
|
|
385
|
+
title: t(($) => $["signedByOn"], {
|
|
386
|
+
date: localizeDateString(activeForm.createdAt, i18n.language) ?? "",
|
|
387
|
+
signer: getSignedName(activeForm.acceptanceId)
|
|
389
388
|
})
|
|
390
389
|
}
|
|
391
390
|
);
|
|
@@ -440,11 +439,11 @@ function ServiceAgreementDropin({
|
|
|
440
439
|
variant: "secondary",
|
|
441
440
|
onClick: activeForm?.acceptanceId ? onDownloadAcceptedTermsOfServiceDocument : onDownloadUnacceptedTermsOfServiceDocument,
|
|
442
441
|
icon: "download",
|
|
443
|
-
children:
|
|
442
|
+
children: t(($) => $["downloadAsPdf"])
|
|
444
443
|
}
|
|
445
444
|
) })
|
|
446
445
|
] }),
|
|
447
|
-
!forms.length && /* @__PURE__ */ jsx(Alert, { variant: "info", title:
|
|
446
|
+
!forms.length && /* @__PURE__ */ jsx(Alert, { variant: "info", title: t(($) => $["nothingNeedsToBeSigned"]) })
|
|
448
447
|
]
|
|
449
448
|
}
|
|
450
449
|
),
|
|
@@ -453,7 +452,7 @@ function ServiceAgreementDropin({
|
|
|
453
452
|
Field,
|
|
454
453
|
{
|
|
455
454
|
name: "signer",
|
|
456
|
-
label:
|
|
455
|
+
label: t(($) => $["signer"]),
|
|
457
456
|
className: "adyen-kyc-u-margin-top-32 adyen-kyc-u-width-half",
|
|
458
457
|
errorMessage: errors.signer?.errorMessage,
|
|
459
458
|
isValid: valid.signer,
|
|
@@ -464,7 +463,7 @@ function ServiceAgreementDropin({
|
|
|
464
463
|
...childProps,
|
|
465
464
|
onChange: handleChangeFor("signer", "blur"),
|
|
466
465
|
name: "signer",
|
|
467
|
-
placeholder:
|
|
466
|
+
placeholder: t(($) => $["selectSigner"]),
|
|
468
467
|
selected: data.signer,
|
|
469
468
|
items: signers
|
|
470
469
|
}
|
|
@@ -483,7 +482,7 @@ function ServiceAgreementDropin({
|
|
|
483
482
|
Checkbox,
|
|
484
483
|
{
|
|
485
484
|
...childProps,
|
|
486
|
-
label:
|
|
485
|
+
label: t(($) => $["iHaveReadAndIAcceptTheseTerms"]),
|
|
487
486
|
checked: data.acceptServiceAgreement ?? false,
|
|
488
487
|
name: "acceptServiceAgreement",
|
|
489
488
|
onChange: handleChangeFor("acceptServiceAgreement")
|
|
@@ -496,13 +495,13 @@ function ServiceAgreementDropin({
|
|
|
496
495
|
ActionBar,
|
|
497
496
|
{
|
|
498
497
|
onHome: goHome,
|
|
499
|
-
homeButtonLabel:
|
|
498
|
+
homeButtonLabel: t(($) => $["goToOverview"], { ns: "common" }),
|
|
500
499
|
onNext: canSign ? handleSignClick : () => gotoForm(activeFormIndex + 1),
|
|
501
|
-
nextButtonLabel:
|
|
500
|
+
nextButtonLabel: t(($) => $[canSign ? "sign" : "continue"], { ns: "common" }),
|
|
502
501
|
nextButtonDisabled: forms.length === 0 || !canSign && isLastStep,
|
|
503
502
|
onBack: () => gotoForm(activeFormIndex - 1),
|
|
504
503
|
hideBackButton: activeFormIndex === 0,
|
|
505
|
-
backButtonLabel:
|
|
504
|
+
backButtonLabel: t(($) => $["previous"], { ns: "common" })
|
|
506
505
|
}
|
|
507
506
|
)
|
|
508
507
|
]
|
|
@@ -520,9 +519,9 @@ function ServiceAgreementDropin({
|
|
|
520
519
|
}
|
|
521
520
|
};
|
|
522
521
|
const endScreen = hasFinished && /* @__PURE__ */ jsxs(FormEndState, { children: [
|
|
523
|
-
/* @__PURE__ */ jsx("template", { slot: "title", children:
|
|
522
|
+
/* @__PURE__ */ jsx("template", { slot: "title", children: t(($) => $["serviceAgreementSignedAndDated"]) }),
|
|
524
523
|
/* @__PURE__ */ jsx(OutlinedIcon, { slot: "icon", name: "check" }),
|
|
525
|
-
/* @__PURE__ */ jsx("div", { slot: "content", children: /* @__PURE__ */ jsx(Button, { onClick: () => handleCloseClick, children:
|
|
524
|
+
/* @__PURE__ */ jsx("div", { slot: "content", children: /* @__PURE__ */ jsx(Button, { onClick: () => handleCloseClick, children: t(($) => $["finish"], { ns: "common" }) }) })
|
|
526
525
|
] });
|
|
527
526
|
return /* @__PURE__ */ jsx(MaybeModal, { inline: !asModal, onClose: handleCloseClick, children: /* @__PURE__ */ jsxs(ModalContent, { children: [
|
|
528
527
|
/* @__PURE__ */ jsxs("article", { className: "adyen-kyc-service-agreement-content", children: [
|
|
@@ -546,10 +545,10 @@ function ServiceAgreementDropin({
|
|
|
546
545
|
icon: "chevron-left",
|
|
547
546
|
onClick: () => gotoForm(activeFormIndex - 1),
|
|
548
547
|
variant: "secondary",
|
|
549
|
-
children:
|
|
548
|
+
children: t(($) => $["back"], { ns: "common" })
|
|
550
549
|
}
|
|
551
550
|
),
|
|
552
|
-
/* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children:
|
|
551
|
+
/* @__PURE__ */ jsx(Button, { variant: canSign ? "primary" : "secondary", onClick: handleClick, children: canSign ? t(($) => $["signAndContinue"]) : t(($) => $["continue"], { ns: "common" }) })
|
|
553
552
|
] })
|
|
554
553
|
] }) });
|
|
555
554
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "ac10345f-ffc4-494c-aa5b-26e3a8ac74ab", e._sentryDebugIdIdentifier = "sentry-dbid-ac10345f-ffc4-494c-aa5b-26e3a8ac74ab");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-QThALSrj.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DLvTQVTE.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { t } = useTranslation();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "d91fd18a-44bf-4eaf-9641-144538eef53c", e._sentryDebugIdIdentifier = "sentry-dbid-d91fd18a-44bf-4eaf-9641-144538eef53c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { a7 as Icon } from "./StoreProvider-QThALSrj.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|