@adyen/kyc-components 3.79.0 → 3.80.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-B8gq2Lvn.js → AcceptTermsOfServiceComponent-DBSkKRHS.js} +7 -7
- package/dist/{AccountSetupRejected-Dn6x3lE8.js → AccountSetupRejected-gAGWuJ9N.js} +6 -6
- package/dist/{Avatar-Bm0Eluxy.js → Avatar-5RObc8Yd.js} +2 -2
- package/dist/{BusinessDetailsDropin-6TJzQW0O.js → BusinessDetailsDropin-O92NE-y1.js} +115 -139
- package/dist/{BusinessFinancingComponent-BxskEwQc.js → BusinessFinancingComponent-DDKomenp.js} +3 -3
- package/dist/{BusinessFinancingDropin-BaeVc8F6.js → BusinessFinancingDropin-Bhg9neRS.js} +97 -71
- package/dist/{BusinessFinancingPage-CccBeSjZ.js → BusinessFinancingPage-DyItV5SR.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DrKCAdaG.js → BusinessTypeSelectionPage-DmjbM57I.js} +47 -76
- package/dist/{ContractViewer-BaJ-kFmY.js → ContractViewer-DBW5C6kA.js} +2 -2
- package/dist/{CreateIndividualComponent-Bmv5Nc35.js → CreateIndividualComponent-c8yAn2_J.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DF7SwTtr.js → CreateTransferInstrumentComponent-BF-KFdjU.js} +5 -5
- package/dist/{CustomerSupport-CzH1nyXW.js → CustomerSupport-rSYElbVr.js} +10 -10
- package/dist/{DebugModal-DMkdmfMV.js → DebugModal-BTr0idCC.js} +12 -226
- package/dist/{DecisionMakerDetailsPage-DHLdTCf3.js → DecisionMakerDetailsPage-DQcWSwTb.js} +4 -4
- package/dist/DecisionMakers-C2awPhE6.js +478 -0
- package/dist/{EmbeddedStatus-DaBZ91oA.js → EmbeddedStatus-COKtxNW-.js} +13 -13
- package/dist/{FormEndState-BBMSuQj7.js → FormEndState-BmDRa3zJ.js} +4 -3
- package/dist/{FormFlow-C1DKb0gA.js → FormFlow-CNxGh4Yu.js} +3 -3
- package/dist/{IndividualOnfidoDropin-CCbwDQ42.js → IndividualOnfidoDropin-DUzjucM9.js} +204 -184
- package/dist/{Introduction-DL4JlCU3.js → Introduction-BEM_wmkj.js} +24 -26
- package/dist/{ProviderButton-CdJCw-d-.js → LandingLayout-DyY0Exht.js} +91 -83
- package/dist/{LegalRepresentativeDetailsPage-CXw76qYP.js → LegalRepresentativeDetailsPage-1tw_BPLr.js} +4 -4
- package/dist/{ManageIndividualComponent-DFrxvq1V.js → ManageIndividualComponent-B0y8wd24.js} +6 -6
- package/dist/{ManageTermsOfServiceComponent-Dd674r5F.js → ManageTermsOfServiceComponent-DJVDf-iH.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Dcc94EKJ.js → ManageTransferInstrumentComponent-DF4Q8oEB.js} +6 -6
- package/dist/{OnboardingDropinComponent-CO8-GF4E.js → OnboardingDropinComponent-B0Sj7qf1.js} +366 -208
- package/dist/{Review-C9xcGO-O.js → Review-C4HOjR6y.js} +11 -11
- package/dist/RootBusinessDetailsPage-DeqKfOFX.js +1848 -0
- package/dist/{RootIndividualDetailsPage-DhUMpzGa.js → RootIndividualDetailsPage-CKOquQ0-.js} +4 -4
- package/dist/{SignPCIComponent-uHRS64Oo.js → SignPCIComponent-Cx8oL8wu.js} +6 -6
- package/dist/{SingpassSelection-bOy5WFTO.js → SingpassSelection-BJNZw1u-.js} +11 -11
- package/dist/{SoleProprietorshipPage-BE8Mjhjp.js → SoleProprietorshipPage-Dtw3XHVJ.js} +4 -4
- package/dist/{SourceOfFundsPage-C-BTd1Ar.js → SourceOfFundsPage-gPmK4QX6.js} +28 -20
- package/dist/{StoreProvider-Bw9Xi_Q5.js → StoreProvider-DhQ4sdLg.js} +5799 -5422
- package/dist/{TaskItemStatus-DqghzBaZ.js → TaskItemStatus-Cxcag2AH.js} +23 -23
- package/dist/TaskStatusIndicator-B5fp8LzR.js +69 -0
- package/dist/{TaxReportingDropin-CmJT82Aj.js → TaxReportingDropin-CbDYoO31.js} +8 -7
- package/dist/{TileGroup-DP6CW2Ya.js → TileGroup-BkLtnLiA.js} +2 -2
- package/dist/{TrustDetailsPage-F-XzAJKt.js → TrustDetailsPage-DktRQRum.js} +38 -14
- package/dist/{TrustMemberCompanyPage-C0U5PbAW.js → TrustMemberCompanyPage-CLTOpWzU.js} +5 -5
- package/dist/{TrustMemberIndividualPage-C_rRPUgX.js → TrustMemberIndividualPage-wPh86-GQ.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-B0B2hFV8.js → UnincorporatedPartnershipIndividualPage-B-2i68Nd.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CdWmnqg-.js → UnincorporatedPartnershipMemberCompanyPage-DWLczj6F.js} +4 -4
- package/dist/{VerificationErrorAlert-BmrZdkgs.js → VerificationErrorAlert-AbvM4lbK.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DqTteba3.js → ViewVerificationStatusComponent-vVZeXYDs.js} +14 -12
- package/dist/adyen-business-financing.js +8 -12
- package/dist/adyen-individual.js +6 -4
- package/dist/adyen-kyc-components.js +143 -124
- 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 +14 -6
- package/dist/adyen-terms-of-service.js +18 -6
- package/dist/adyen-transfer-instrument.js +10 -6
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bag-DpxmyXfR.js +14 -0
- package/dist/business-lines-DboUCbXw.js +135 -0
- package/dist/decision-makers-group-CgddXgrx.js +1944 -0
- package/dist/en-US-CQ3angjM.js +22 -0
- package/dist/{getFieldsWithExistingData-xJPsn2JE.js → getFieldsWithExistingData-BS9W6RQp.js} +2 -2
- package/dist/{hasDataChanged-BQeJUDMz.js → hasDataChanged-DK74H0sZ.js} +2 -2
- package/dist/{localizeDateString-B3Zc2Aep.js → localizeDateString-C34eXZqY.js} +2 -2
- package/dist/mail-Z_IE_hkw.js +14 -0
- package/dist/{mapFinancialReportsToFinancialInformation-Dn-CfyG6.js → mapFinancialReportsToFinancialInformation-DoJu-RRw.js} +2 -2
- package/dist/pay-by-link-plane-Pv7Babgn.js +22 -0
- package/dist/{resolveEnvironment-BFUUd4tv.js → resolveEnvironment-rJv_NJF_.js} +3 -3
- package/dist/{rules-C7Cw2XXc.js → rules-OP83mdq4.js} +13 -13
- package/dist/solution-payments-DTAuLSWF.js +14 -0
- package/dist/style.css +218 -181
- package/dist/styles-CLV89_hH.js +218 -181
- 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/mapping/payoutKeyMappings.d.ts +0 -306
- 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 +1 -306
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +22 -19
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
- 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/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersModalContent.d.ts +1 -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/BusinessRegistrationNumberField.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 +5 -7
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -3
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/types.d.ts +1 -1
- 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 +16 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultVatNumberType.d.ts +13 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- 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 +3 -7
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +2 -4
- 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/types.d.ts +2 -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 +14 -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/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
- package/dist/types/constants/keys.d.ts +2 -0
- package/dist/types/context/ExperimentContext/types.d.ts +49 -37
- 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-arrangement.d.ts +2 -2
- 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/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +6 -1
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +6 -1
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +1 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +4 -1
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +7 -1
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +2 -1
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +7 -2
- 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 +38 -36
- package/dist/types/hooks/useMultiForm/useMultiForm.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
- package/dist/types/language/Language.d.ts +1 -0
- package/dist/types/language/utils.d.ts +11 -1
- 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/country-code.d.ts +249 -249
- 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 +4 -5
- package/dist/types/utils/entityStatusUtil.d.ts +3 -3
- package/dist/types/utils/formUtils.d.ts +2 -2
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getName.d.ts +2 -2
- package/dist/types/utils/makeSelectItemForRole.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-CR4hzuCc.js → useMultiForm-ChxUZ4e7.js} +10 -5
- package/dist/{useOnboardingStatus-Dqs20dD8.js → useOnboardingStatus-1BQlEPEi.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BTFnYGYb.js → useTermsOfServiceStatus-BaVCmUdo.js} +2 -2
- package/dist/{useUpdateLegalEntity-DZmx_k0Y.js → useUpdateLegalEntity-LE_Kt3am.js} +2 -2
- package/dist/{utils-Dbw9j-fF.js → utils-DmcbDJEd.js} +17 -17
- package/dist/{validate-PXGKct7b.js → validate-B2VmmEPC.js} +2 -2
- package/dist/{validate-sqPOCY2c.js → validate-D66zPhDG.js} +2 -2
- package/dist/view-verification-status-VFcBydkR.js +21 -0
- package/package.json +5 -30
- package/dist/DecisionMakers-DD4_MCdo.js +0 -217
- package/dist/LandingLayout-CYvWj-yQ.js +0 -139
- package/dist/ManagePCIComponent-DOrKClpc.js +0 -33
- package/dist/RootBusinessDetailsPage-CO4mL-OT.js +0 -42
- package/dist/_plugin-vue_export-helper-CgYpM5kA.js +0 -19
- package/dist/adyen-manage-pci.js +0 -48
- package/dist/adyen-sign-pci.js +0 -62
- 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-BE-ro1iH.js +0 -53
- package/dist/css-BhF49TbR.js +0 -24
- package/dist/json-CYfI6iyy.js +0 -31
- package/dist/plaintext-DqowNgbq.js +0 -17
- 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/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 -15
- 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 -43
- 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-CLSu5OoN.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 -30
- package/dist/yaml-tUhjVy56.js +0 -22
|
@@ -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] = "d1e1379b-d726-4dd0-a2bb-b4c1f4003a3c", e._sentryDebugIdIdentifier = "sentry-dbid-d1e1379b-d726-4dd0-a2bb-b4c1f4003a3c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-DDKomenp.js";
|
|
14
14
|
const AdyenBusinessFinancing = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -18,7 +18,7 @@ const AdyenBusinessFinancing = ({
|
|
|
18
18
|
locale,
|
|
19
19
|
settings = {},
|
|
20
20
|
experiments = {},
|
|
21
|
-
|
|
21
|
+
onComplete
|
|
22
22
|
}) => /* @__PURE__ */ jsx(
|
|
23
23
|
EmbedShell,
|
|
24
24
|
{
|
|
@@ -29,13 +29,7 @@ const AdyenBusinessFinancing = ({
|
|
|
29
29
|
getSdkToken: fetchToken,
|
|
30
30
|
locale,
|
|
31
31
|
baseUrl: resolveEnvironment(environment),
|
|
32
|
-
children: /* @__PURE__ */ jsx(
|
|
33
|
-
BusinessFinancingComponent,
|
|
34
|
-
{
|
|
35
|
-
legalEntityId: rootlegalentityid,
|
|
36
|
-
onSubmitSuccess
|
|
37
|
-
}
|
|
38
|
-
)
|
|
32
|
+
children: /* @__PURE__ */ jsx(BusinessFinancingComponent, { legalEntityId: rootlegalentityid, onSubmitSuccess: onComplete })
|
|
39
33
|
}
|
|
40
34
|
);
|
|
41
35
|
register(
|
|
@@ -48,7 +42,9 @@ register(
|
|
|
48
42
|
"locale",
|
|
49
43
|
"settings",
|
|
50
44
|
"experiments",
|
|
51
|
-
"
|
|
45
|
+
"view",
|
|
46
|
+
"onComplete",
|
|
47
|
+
"onClose"
|
|
52
48
|
],
|
|
53
49
|
{ shadow: true, adoptedStyleSheets: stylesheets }
|
|
54
50
|
);
|
package/dist/adyen-individual.js
CHANGED
|
@@ -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] = "e37a7d7f-9b52-485d-bd09-5d712662333d", e._sentryDebugIdIdentifier = "sentry-dbid-e37a7d7f-9b52-485d-bd09-5d712662333d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-c8yAn2_J.js";
|
|
14
14
|
const AdyenIndividual = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -42,7 +42,9 @@ register(
|
|
|
42
42
|
"fetchToken",
|
|
43
43
|
"settings",
|
|
44
44
|
"experiments",
|
|
45
|
-
"view"
|
|
45
|
+
"view",
|
|
46
|
+
"onComplete",
|
|
47
|
+
"onClose"
|
|
46
48
|
],
|
|
47
49
|
{ shadow: true, adoptedStyleSheets: stylesheets }
|
|
48
50
|
);
|
|
@@ -2,25 +2,42 @@
|
|
|
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] = "e9b4f4a4-7bf0-4df0-97c8-842a379543bf", e._sentryDebugIdIdentifier = "sentry-dbid-e9b4f4a4-7bf0-4df0-97c8-842a379543bf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { l as listify, i as isUndefinedOrNull,
|
|
11
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
15
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
16
|
-
import { M as ManagePCIComponent } from "./ManagePCIComponent-DOrKClpc.js";
|
|
17
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-Dd674r5F.js";
|
|
18
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-Dcc94EKJ.js";
|
|
19
|
-
import { O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-CO8-GF4E.js";
|
|
20
|
-
import { SignPCIComponent } from "./SignPCIComponent-uHRS64Oo.js";
|
|
21
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-DqTteba3.js";
|
|
10
|
+
import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-DhQ4sdLg.js";
|
|
11
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DBSkKRHS.js";
|
|
12
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-DDKomenp.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-c8yAn2_J.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BF-KFdjU.js";
|
|
15
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-B0y8wd24.js";
|
|
22
16
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
17
|
+
import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-B0Sj7qf1.js";
|
|
18
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-COKtxNW-.js";
|
|
19
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-DJVDf-iH.js";
|
|
20
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-DF4Q8oEB.js";
|
|
21
|
+
import { SignPCIComponent } from "./SignPCIComponent-Cx8oL8wu.js";
|
|
22
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-vVZeXYDs.js";
|
|
23
23
|
import { render } from "preact";
|
|
24
|
+
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
25
|
+
const { i18n } = useI18nContext();
|
|
26
|
+
const title = i18n.get("pciDssQuestionnaire");
|
|
27
|
+
const additionalSalesChannels = useSalesChannelsSettings();
|
|
28
|
+
const { data, isLoading } = usePciStatus({ additionalSalesChannels });
|
|
29
|
+
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
30
|
+
currentLegalEntityId.value = legalEntityId;
|
|
31
|
+
return data?.signingRequired ? /* @__PURE__ */ jsx(
|
|
32
|
+
EmbeddedStatus,
|
|
33
|
+
{
|
|
34
|
+
onClick,
|
|
35
|
+
actionIndicator: { labelKey: "sign" },
|
|
36
|
+
title,
|
|
37
|
+
loading: isLoading
|
|
38
|
+
}
|
|
39
|
+
) : /* @__PURE__ */ jsx(EmbeddedStatus, { onClick, title, tagLabel: "complete", loading: isLoading });
|
|
40
|
+
}
|
|
24
41
|
const componentsMap = {
|
|
25
42
|
createTransferInstrumentComponent: CreateTransferInstrumentComponent,
|
|
26
43
|
createIndividualComponent: CreateIndividualComponent,
|
|
@@ -216,8 +233,8 @@ const validateForComponent = (componentName, options) => {
|
|
|
216
233
|
};
|
|
217
234
|
const AllowedCountryGate = ({ children }) => {
|
|
218
235
|
const allowedCountries = useAllowedCountries();
|
|
236
|
+
const { t } = useTranslation();
|
|
219
237
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
220
|
-
const { i18n } = useI18nContext();
|
|
221
238
|
const { dataset: countries } = useDataset(datasetIdentifier.country);
|
|
222
239
|
if (!rootLegalEntity || !allowedCountries) return /* @__PURE__ */ jsx(Loader, {});
|
|
223
240
|
const country = getLegalEntityCountry(rootLegalEntity);
|
|
@@ -229,41 +246,43 @@ const AllowedCountryGate = ({ children }) => {
|
|
|
229
246
|
{
|
|
230
247
|
content: /* @__PURE__ */ jsxs("div", { children: [
|
|
231
248
|
/* @__PURE__ */ jsx(AlertIcon, { variant: "error" }),
|
|
232
|
-
/* @__PURE__ */ jsx(FormHeader, { heading:
|
|
233
|
-
/* @__PURE__ */ jsx("span", { children:
|
|
249
|
+
/* @__PURE__ */ jsx(FormHeader, { heading: t(($) => $["countryNotSupported"]) }),
|
|
250
|
+
/* @__PURE__ */ jsx("span", { children: t(($) => $["weDontSupportOnboardingInCountry"], { country: countryName }) })
|
|
234
251
|
] })
|
|
235
252
|
}
|
|
236
253
|
);
|
|
237
254
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
238
255
|
};
|
|
239
256
|
class AbstractEventEmitter {
|
|
240
|
-
|
|
241
|
-
this.listeners = {};
|
|
242
|
-
this.on = (eventName, listener) => {
|
|
243
|
-
this.getListeners(eventName).push(listener);
|
|
244
|
-
};
|
|
245
|
-
this.off = (eventName, toRemove) => {
|
|
246
|
-
this.listeners[eventName] = this.getListeners(eventName).filter(
|
|
247
|
-
(listener) => listener !== toRemove
|
|
248
|
-
);
|
|
249
|
-
};
|
|
250
|
-
this.emit = (eventName, ...data) => {
|
|
251
|
-
this.getListeners(eventName).forEach((listener) => listener(data[0]));
|
|
252
|
-
};
|
|
253
|
-
}
|
|
257
|
+
listeners = {};
|
|
254
258
|
getListeners(eventName) {
|
|
255
259
|
if (!this.listeners[eventName]) {
|
|
256
260
|
this.listeners[eventName] = [];
|
|
257
261
|
}
|
|
258
262
|
return this.listeners[eventName];
|
|
259
263
|
}
|
|
264
|
+
on = (eventName, listener) => {
|
|
265
|
+
this.getListeners(eventName).push(listener);
|
|
266
|
+
};
|
|
267
|
+
off = (eventName, toRemove) => {
|
|
268
|
+
this.listeners[eventName] = this.getListeners(eventName).filter(
|
|
269
|
+
(listener) => listener !== toRemove
|
|
270
|
+
);
|
|
271
|
+
};
|
|
272
|
+
emit = (eventName, ...data) => {
|
|
273
|
+
this.getListeners(eventName).forEach((listener) => listener(data[0]));
|
|
274
|
+
};
|
|
260
275
|
}
|
|
261
276
|
class EventEmitter extends AbstractEventEmitter {
|
|
262
277
|
}
|
|
263
278
|
class BaseElement {
|
|
279
|
+
_id = `${this.constructor.name}-${uuidv4()}`;
|
|
280
|
+
props;
|
|
281
|
+
_node;
|
|
282
|
+
_component;
|
|
283
|
+
eventEmitter = new EventEmitter();
|
|
284
|
+
_parentInstance;
|
|
264
285
|
constructor(props) {
|
|
265
|
-
this._id = `${this.constructor.name}-${uuidv4()}`;
|
|
266
|
-
this.eventEmitter = new EventEmitter();
|
|
267
286
|
this.props = { ...props };
|
|
268
287
|
this._parentInstance = this.props._parentInstance;
|
|
269
288
|
this.remove = this.remove.bind(this);
|
|
@@ -334,104 +353,104 @@ class BaseElement {
|
|
|
334
353
|
}
|
|
335
354
|
}
|
|
336
355
|
class UIElement extends BaseElement {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
children: /* @__PURE__ */ jsx(
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
) }) });
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
if (process.env.NODE_ENV === "development") {
|
|
373
|
-
console.error("User-agent error::process exited with HTTP code 666", {
|
|
374
|
-
stackTrace: ["<div></div> cannot be centered", "flex aborted, reverting to jQuery"]
|
|
375
|
-
});
|
|
376
|
-
setTimeout(() => {
|
|
377
|
-
console.warn("undefined or properties read cannot");
|
|
378
|
-
}, 3e3);
|
|
356
|
+
render = () => {
|
|
357
|
+
const UIElement2 = this.props.component;
|
|
358
|
+
return /* @__PURE__ */ jsx(SettingsProvider, { settings: this.props.settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(
|
|
359
|
+
ApiProvider,
|
|
360
|
+
{
|
|
361
|
+
rootLegalEntityId: this.props.componentProps.legalEntityId,
|
|
362
|
+
baseUrl: this.props.baseUrl,
|
|
363
|
+
children: /* @__PURE__ */ jsx(
|
|
364
|
+
ExperimentsContextProvider,
|
|
365
|
+
{
|
|
366
|
+
experiments: this.props.experiments,
|
|
367
|
+
refreshExperiments: this.props.refreshExperiments,
|
|
368
|
+
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
369
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.0-beta.0" }),
|
|
370
|
+
/* @__PURE__ */ jsx(
|
|
371
|
+
AnalyticsProvider,
|
|
372
|
+
{
|
|
373
|
+
componentName: this.props.componentName,
|
|
374
|
+
rootLegalEntityId: this.props.componentProps.legalEntityId,
|
|
375
|
+
children: /* @__PURE__ */ jsx(AllowedCountryGate, { children: /* @__PURE__ */ jsxs(I18nProvider, { locale: this.props.locale, eventEmitter: this.eventEmitter, children: [
|
|
376
|
+
/* @__PURE__ */ jsx(DebugListener, {}),
|
|
377
|
+
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container-wrapper", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container", children: /* @__PURE__ */ jsx(ToastContextProvider, { children: /* @__PURE__ */ jsx(StateProvider, { children: /* @__PURE__ */ jsx(UIElement2, { ...this.props.componentProps, onUnmount: this.remove }) }) }) }) })
|
|
378
|
+
] }) })
|
|
379
|
+
}
|
|
380
|
+
)
|
|
381
|
+
] })
|
|
382
|
+
}
|
|
383
|
+
)
|
|
384
|
+
}
|
|
385
|
+
) }) });
|
|
386
|
+
};
|
|
379
387
|
}
|
|
380
388
|
class Core {
|
|
389
|
+
options;
|
|
390
|
+
components = [];
|
|
381
391
|
constructor(coreOptions) {
|
|
382
|
-
this.components = [];
|
|
383
|
-
this.create = (componentName, componentOptions) => {
|
|
384
|
-
validateForComponent(componentName, componentOptions);
|
|
385
|
-
const component = componentsMap[componentName];
|
|
386
|
-
const mergedOptions = {
|
|
387
|
-
...this.options,
|
|
388
|
-
...componentOptions
|
|
389
|
-
};
|
|
390
|
-
const uiElement = new UIElement({
|
|
391
|
-
...mergedOptions,
|
|
392
|
-
component,
|
|
393
|
-
componentProps: mergedOptions,
|
|
394
|
-
componentName
|
|
395
|
-
});
|
|
396
|
-
this.components.push(uiElement);
|
|
397
|
-
return uiElement;
|
|
398
|
-
};
|
|
399
|
-
this.update = (options) => {
|
|
400
|
-
this.options = this.getUpdatedOptions(options);
|
|
401
|
-
this.components.forEach((c) => c.update(this.options));
|
|
402
|
-
return this;
|
|
403
|
-
};
|
|
404
|
-
this.updateLocale = ({ locale }) => {
|
|
405
|
-
this.options = this.getUpdatedOptions({ locale });
|
|
406
|
-
this.components.forEach((c) => c.updateLocale(this.options));
|
|
407
|
-
return this;
|
|
408
|
-
};
|
|
409
|
-
this.updateExpiry = ({ expiry }) => {
|
|
410
|
-
this.options = this.getUpdatedOptions({ expiry });
|
|
411
|
-
this.components.forEach((c) => c.updateExpiry(this.options));
|
|
412
|
-
return this;
|
|
413
|
-
};
|
|
414
|
-
this.remove = (component) => {
|
|
415
|
-
this.components = this.components.filter((c) => c._id !== component._id);
|
|
416
|
-
component.unmount();
|
|
417
|
-
return this;
|
|
418
|
-
};
|
|
419
|
-
this.getUpdatedOptions = (options) => {
|
|
420
|
-
const newOptions = { ...this.options, ...options };
|
|
421
|
-
validateCoreOptions(newOptions);
|
|
422
|
-
newOptions.baseUrl = normalizeEnvironment(newOptions.environment);
|
|
423
|
-
if (!newOptions.locale) newOptions.locale = FALLBACK_LOCALE;
|
|
424
|
-
return newOptions;
|
|
425
|
-
};
|
|
426
|
-
this.initializeSession = () => {
|
|
427
|
-
if (this.options.sdkToken && this.options.getSdkToken) {
|
|
428
|
-
setSdkToken(this.options.sdkToken);
|
|
429
|
-
setSdkTokenHandler(this.options.getSdkToken);
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
392
|
this.options = this.getUpdatedOptions(coreOptions);
|
|
433
393
|
this.initializeSession();
|
|
434
394
|
}
|
|
395
|
+
create = (componentName, componentOptions) => {
|
|
396
|
+
validateForComponent(componentName, componentOptions);
|
|
397
|
+
const component = componentsMap[componentName];
|
|
398
|
+
const mergedOptions = {
|
|
399
|
+
...this.options,
|
|
400
|
+
...componentOptions
|
|
401
|
+
};
|
|
402
|
+
const uiElement = new UIElement({
|
|
403
|
+
...mergedOptions,
|
|
404
|
+
component,
|
|
405
|
+
componentProps: mergedOptions,
|
|
406
|
+
componentName
|
|
407
|
+
});
|
|
408
|
+
this.components.push(uiElement);
|
|
409
|
+
return uiElement;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Updates global configurations, resets the internal state and remounts each element.
|
|
413
|
+
* @param options - props to update
|
|
414
|
+
* @returns this - the element instance
|
|
415
|
+
*/
|
|
416
|
+
update = (options) => {
|
|
417
|
+
this.options = this.getUpdatedOptions(options);
|
|
418
|
+
this.components.forEach((c) => c.update(this.options));
|
|
419
|
+
return this;
|
|
420
|
+
};
|
|
421
|
+
updateLocale = ({ locale }) => {
|
|
422
|
+
this.options = this.getUpdatedOptions({ locale });
|
|
423
|
+
this.components.forEach((c) => c.updateLocale(this.options));
|
|
424
|
+
return this;
|
|
425
|
+
};
|
|
426
|
+
updateExpiry = ({ expiry }) => {
|
|
427
|
+
this.options = this.getUpdatedOptions({ expiry });
|
|
428
|
+
this.components.forEach((c) => c.updateExpiry(this.options));
|
|
429
|
+
return this;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Remove the reference of a component
|
|
433
|
+
* @param component - reference to the component to be removed
|
|
434
|
+
* @returns this - the element instance
|
|
435
|
+
*/
|
|
436
|
+
remove = (component) => {
|
|
437
|
+
this.components = this.components.filter((c) => c._id !== component._id);
|
|
438
|
+
component.unmount();
|
|
439
|
+
return this;
|
|
440
|
+
};
|
|
441
|
+
getUpdatedOptions = (options) => {
|
|
442
|
+
const newOptions = { ...this.options, ...options };
|
|
443
|
+
validateCoreOptions(newOptions);
|
|
444
|
+
newOptions.baseUrl = normalizeEnvironment(newOptions.environment);
|
|
445
|
+
if (!newOptions.locale) newOptions.locale = FALLBACK_LOCALE;
|
|
446
|
+
return newOptions;
|
|
447
|
+
};
|
|
448
|
+
initializeSession = () => {
|
|
449
|
+
if (this.options.sdkToken && this.options.getSdkToken) {
|
|
450
|
+
setSdkToken(this.options.sdkToken);
|
|
451
|
+
setSdkTokenHandler(this.options.getSdkToken);
|
|
452
|
+
}
|
|
453
|
+
};
|
|
435
454
|
}
|
|
436
455
|
if (CSS.supports("container", "foo / inline-size") === false) {
|
|
437
456
|
import("container-query-polyfill");
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-B0y8wd24.js";
|
|
14
14
|
const AdyenManageIndividual = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
onClick,
|
|
@@ -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] = "fbd10d29-3082-4221-b7ab-0efa8735b1d6", e._sentryDebugIdIdentifier = "sentry-dbid-fbd10d29-3082-4221-b7ab-0efa8735b1d6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-DJVDf-iH.js";
|
|
14
14
|
const AdyenManageTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -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] = "8efaa4c4-c81b-416e-b577-b405a954ac35", e._sentryDebugIdIdentifier = "sentry-dbid-8efaa4c4-c81b-416e-b577-b405a954ac35");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-DF4Q8oEB.js";
|
|
14
14
|
const AdyenManageTransferInstruments = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -2,22 +2,23 @@
|
|
|
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] = "29a68427-09ba-4f8a-b656-6468a6fd6627", e._sentryDebugIdIdentifier = "sentry-dbid-29a68427-09ba-4f8a-b656-6468a6fd6627");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-B0Sj7qf1.js";
|
|
14
14
|
const AdyenOnboarding = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
17
17
|
environment,
|
|
18
18
|
locale,
|
|
19
19
|
settings = {},
|
|
20
|
-
experiments = {}
|
|
20
|
+
experiments = {},
|
|
21
|
+
openbankingpartnerconfigid
|
|
21
22
|
}) => /* @__PURE__ */ jsx(
|
|
22
23
|
EmbedShell,
|
|
23
24
|
{
|
|
@@ -28,7 +29,13 @@ const AdyenOnboarding = ({
|
|
|
28
29
|
getSdkToken: fetchToken,
|
|
29
30
|
locale,
|
|
30
31
|
baseUrl: resolveEnvironment(environment),
|
|
31
|
-
children: /* @__PURE__ */ jsx(
|
|
32
|
+
children: /* @__PURE__ */ jsx(
|
|
33
|
+
OnboardingDropinComponent,
|
|
34
|
+
{
|
|
35
|
+
legalEntityId: rootlegalentityid,
|
|
36
|
+
openBankingPartnerConfigId: openbankingpartnerconfigid
|
|
37
|
+
}
|
|
38
|
+
)
|
|
32
39
|
}
|
|
33
40
|
);
|
|
34
41
|
register(
|
|
@@ -40,7 +47,8 @@ register(
|
|
|
40
47
|
"environment",
|
|
41
48
|
"locale",
|
|
42
49
|
"settings",
|
|
43
|
-
"experiments"
|
|
50
|
+
"experiments",
|
|
51
|
+
"openbankingpartnerconfigid"
|
|
44
52
|
],
|
|
45
53
|
{ shadow: true, adoptedStyleSheets: stylesheets }
|
|
46
54
|
);
|
|
@@ -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] = "6493d7fb-a097-4ea1-9ca5-d085d385414e", e._sentryDebugIdIdentifier = "sentry-dbid-6493d7fb-a097-4ea1-9ca5-d085d385414e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DBSkKRHS.js";
|
|
14
14
|
const AdyenTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -18,7 +18,9 @@ const AdyenTermsOfService = ({
|
|
|
18
18
|
locale,
|
|
19
19
|
settings = {},
|
|
20
20
|
experiments = {},
|
|
21
|
-
view
|
|
21
|
+
view,
|
|
22
|
+
onAccept,
|
|
23
|
+
onClose
|
|
22
24
|
}) => /* @__PURE__ */ jsx(
|
|
23
25
|
EmbedShell,
|
|
24
26
|
{
|
|
@@ -29,7 +31,15 @@ const AdyenTermsOfService = ({
|
|
|
29
31
|
getSdkToken: fetchToken,
|
|
30
32
|
locale,
|
|
31
33
|
baseUrl: resolveEnvironment(environment),
|
|
32
|
-
children: /* @__PURE__ */ jsx(
|
|
34
|
+
children: /* @__PURE__ */ jsx(
|
|
35
|
+
AcceptTermsOfServiceComponent,
|
|
36
|
+
{
|
|
37
|
+
onAccept,
|
|
38
|
+
onClose,
|
|
39
|
+
legalEntityId: rootlegalentityid,
|
|
40
|
+
modalView: view === "modal"
|
|
41
|
+
}
|
|
42
|
+
)
|
|
33
43
|
}
|
|
34
44
|
);
|
|
35
45
|
register(
|
|
@@ -42,7 +52,9 @@ register(
|
|
|
42
52
|
"locale",
|
|
43
53
|
"settings",
|
|
44
54
|
"experiments",
|
|
45
|
-
"view"
|
|
55
|
+
"view",
|
|
56
|
+
// TODO: 'onComplete',
|
|
57
|
+
"onClose"
|
|
46
58
|
],
|
|
47
59
|
{ shadow: true, adoptedStyleSheets: stylesheets }
|
|
48
60
|
);
|
|
@@ -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] = "5732bf6a-4d0d-4637-afb4-6da25f451169", e._sentryDebugIdIdentifier = "sentry-dbid-5732bf6a-4d0d-4637-afb4-6da25f451169");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BF-KFdjU.js";
|
|
14
14
|
const AdyenTransferInstrument = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -20,7 +20,8 @@ const AdyenTransferInstrument = ({
|
|
|
20
20
|
experiments = {},
|
|
21
21
|
transferinstrumentid,
|
|
22
22
|
view,
|
|
23
|
-
|
|
23
|
+
openbankingpartnerconfigid,
|
|
24
|
+
onComplete
|
|
24
25
|
}) => /* @__PURE__ */ jsx(
|
|
25
26
|
EmbedShell,
|
|
26
27
|
{
|
|
@@ -37,7 +38,8 @@ const AdyenTransferInstrument = ({
|
|
|
37
38
|
legalEntityId: rootlegalentityid,
|
|
38
39
|
transferInstrumentId: transferinstrumentid,
|
|
39
40
|
modalView: view === "modal",
|
|
40
|
-
|
|
41
|
+
openBankingPartnerConfigId: openbankingpartnerconfigid,
|
|
42
|
+
onSubmitSuccess: onComplete
|
|
41
43
|
}
|
|
42
44
|
)
|
|
43
45
|
}
|
|
@@ -54,7 +56,9 @@ register(
|
|
|
54
56
|
"experiments",
|
|
55
57
|
"transferinstrumentid",
|
|
56
58
|
"view",
|
|
57
|
-
"
|
|
59
|
+
"onComplete",
|
|
60
|
+
"onClose",
|
|
61
|
+
"openbankingpartnerconfigid"
|
|
58
62
|
],
|
|
59
63
|
{ shadow: true, adoptedStyleSheets: stylesheets }
|
|
60
64
|
);
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-vVZeXYDs.js";
|
|
14
14
|
const AdyenVerificationStatus = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -0,0 +1,14 @@
|
|
|
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] = "ffcdf62f-47e6-4edb-97c9-ec6f66c1473c", e._sentryDebugIdIdentifier = "sentry-dbid-ffcdf62f-47e6-4edb-97c9-ec6f66c1473c");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/compat/jsx-runtime";
|
|
11
|
+
const SvgBag = (props) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", role: "img", ...props, children: /* @__PURE__ */ jsx("path", { fill: "#00112C", d: "M5.25 4.25V3C5.25 1.48579 6.48579 0.25 8 0.25C9.51421 0.25 10.75 1.48579 10.75 3V4.25H12.6149L14.9149 15.75H1.08496L3.38496 4.25H5.25ZM6.75 3V4.25H9.25V3C9.25 2.31421 8.68579 1.75 8 1.75C7.31421 1.75 6.75 2.31421 6.75 3ZM4.61467 5.75L2.91467 14.25H8.38496L10.085 5.75H4.61467ZM9.91467 14.25H13.0851L11.4999 6.3238L9.91467 14.25Z" }) });
|
|
12
|
+
export {
|
|
13
|
+
SvgBag as default
|
|
14
|
+
};
|