@adyen/kyc-components 3.74.3 → 3.75.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-Ck5vcITZ.js → AcceptTermsOfServiceComponent-C2Gjgc2-.js} +7 -13
- package/dist/{AccountSetupRejected-BTxTladO.js → AccountSetupRejected-CfbrJVbb.js} +2 -2
- package/dist/{Avatar-D3cma0Ca.js → Avatar-CkY4CsSc.js} +1 -1
- package/dist/{BusinessDetailsDropin-iP-5Iee_.js → BusinessDetailsDropin-DW_Hg4YJ.js} +95 -75
- package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-CTLP0O1L.js} +3 -3
- package/dist/{BusinessFinancingDropin-CmgYopR_.js → BusinessFinancingDropin-DcfbYhTz.js} +9 -15
- package/dist/{BusinessFinancingPage-BpzZN6_M.js → BusinessFinancingPage-B0Oen8T1.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-Bpem0_3N.js} +4 -6
- package/dist/{ContractViewer-3PX9_9q0.js → ContractViewer-Bi7A58HN.js} +1 -1
- package/dist/{CreateIndividualComponent-BIcKe___.js → CreateIndividualComponent-MXzIV9n7.js} +3 -4
- package/dist/{CreateTransferInstrumentComponent-03Lc-o4l.js → CreateTransferInstrumentComponent-DX1pUkXY.js} +2 -3
- package/dist/{CustomerSupport-Cau1epER.js → CustomerSupport-724suk5t.js} +5 -6
- package/dist/{DebugModal-CIhZupHm.js → DebugModal-jUQSIT6v.js} +10 -9
- package/dist/{DecisionMakerDetailsPage-BALNj-sG.js → DecisionMakerDetailsPage-UXcB8fo-.js} +3 -4
- package/dist/{DecisionMakers-DaeP2HJk.js → DecisionMakers-D6bYcN-b.js} +4 -6
- package/dist/{EmbeddedStatus-Chlr2BOy.js → EmbeddedStatus-D8snms5Y.js} +3 -3
- package/dist/{FormEndState-BoZjTIZQ.js → FormEndState-Bs082VlL.js} +1 -1
- package/dist/{FormFlow-DV4lzmaT.js → FormFlow-DgPgql4N.js} +2 -5
- package/dist/{IndividualOnfidoDropin-C5xkTx8D.js → IndividualOnfidoDropin-BYEK8-kb.js} +73 -84
- package/dist/{Introduction-DwMIAUVr.js → Introduction-X4A4JonO.js} +3 -4
- package/dist/{LegalRepresentativeDetailsPage-h0-QObw4.js → LegalRepresentativeDetailsPage-Ds1wqfhn.js} +3 -4
- package/dist/{ManageIndividualComponent-DTUmEsiI.js → ManageIndividualComponent-eiiqmrQf.js} +4 -4
- package/dist/{ManagePCIComponent-D--Sc5iS.js → ManagePCIComponent-C_A6KJQC.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DAeZ5vYi.js → ManageTermsOfServiceComponent-C4rgA3Zn.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CSmDe2Aj.js → ManageTransferInstrumentComponent-D_NpJ1fj.js} +4 -9
- package/dist/{OnboardingDropinComponent-BRiJTEi2.js → OnboardingDropinComponent-QAfknRI6.js} +117 -115
- package/dist/{ProviderButton-CWJ-FtN2.js → ProviderButton-C41BPE99.js} +3 -13
- package/dist/{Review-D00Ongqo.js → Review-BP1gRH2v.js} +3 -4
- package/dist/{RootBusinessDetailsPage-BbJiQRFS.js → RootBusinessDetailsPage-Dsc2ThxL.js} +3 -4
- package/dist/{RootIndividualDetailsPage-BCukNljO.js → RootIndividualDetailsPage-xO9XM84K.js} +3 -4
- package/dist/{SignPCIComponent-Bie5l5Pp.js → SignPCIComponent-Di6TH2l5.js} +6 -10
- package/dist/{SingpassSelection-BzR43Ssh.js → SingpassSelection-CwFd4cUK.js} +2 -2
- package/dist/{SoleProprietorshipPage-C7JFyBmF.js → SoleProprietorshipPage-Bk6cw9Fc.js} +3 -4
- package/dist/{SourceOfFunds.module-LqkzqWQw.js → SourceOfFunds.module-DlbpDtvU.js} +1 -1
- package/dist/{SourceOfFundsPage-DRcWTb4M.js → SourceOfFundsPage-DfuQzm8v.js} +36 -28
- package/dist/{StoreProvider-HRzOkLfJ.js → StoreProvider-DAebRaGX.js} +3205 -956
- package/dist/{TaskItemStatus-DFo5TC2Y.js → TaskItemStatus-BcXHGejj.js} +2 -2
- package/dist/{TaxReportingDropin-DaeK7OJ5.js → TaxReportingDropin-DTCfSOdX.js} +7 -8
- package/dist/{TileGroup-CyOXU1VM.js → TileGroup-DoHVu5fx.js} +2 -2
- package/dist/{TrustDetailsPage-BGTV2VoA.js → TrustDetailsPage-B472vaxW.js} +12 -36
- package/dist/{TrustMemberCompanyPage-CORiuRx_.js → TrustMemberCompanyPage-BPUYsM0C.js} +4 -5
- package/dist/{TrustMemberIndividualPage-CCYWbLgI.js → TrustMemberIndividualPage-DskGhF4-.js} +3 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-BZaQMQIr.js → UnincorporatedPartnershipIndividualPage-CtIZnOD_.js} +3 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CqxV_reO.js → UnincorporatedPartnershipMemberCompanyPage-zICGgwMK.js} +3 -4
- package/dist/{VerificationErrorAlert-D-7UwDcj.js → VerificationErrorAlert-DrYrhePc.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Cbx4hMbW.js → ViewVerificationStatusComponent-CuahWp9y.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- 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/{bg-BG-BzeiDl-e.js → bg-BG-BV_GOHGg.js} +49 -3
- package/dist/{cs-CZ-4Tk67nmO.js → cs-CZ-CZDCUWRh.js} +49 -3
- package/dist/{css-CjGexWiH.js → css-C0E5Jx17.js} +2 -2
- package/dist/{da-DK-CN3Rc5da.js → da-DK-BmTgxKpq.js} +49 -3
- package/dist/{de-DE-GaynF_xB.js → de-DE-DZeG8NVg.js} +49 -3
- package/dist/{el-GR-C3tN9AFZ.js → el-GR-C3likHBP.js} +48 -2
- package/dist/{es-ES-9Q6u4x6u.js → es-ES-DHhHHeU-.js} +48 -2
- package/dist/{et-EE-jHAEJC5c.js → et-EE-CiD_oBu3.js} +49 -3
- package/dist/{fi-FI-DH5DphLd.js → fi-FI-DAZqSyjL.js} +49 -3
- package/dist/{fr-FR-DCboO9VH.js → fr-FR-vs5BYMWx.js} +49 -3
- package/dist/{getFieldsWithExistingData-V_dOfMAx.js → getFieldsWithExistingData-DCVuD0lR.js} +2 -2
- package/dist/{hasDataChanged-8P9Lq6q6.js → hasDataChanged-BPldDCDA.js} +2 -2
- package/dist/{hr-HR-333ODlHZ.js → hr-HR-CcaMvc2K.js} +49 -3
- package/dist/{hu-HU-CUNG9bik.js → hu-HU-CzBd9g0P.js} +48 -2
- package/dist/{individualFormConfig-CC14oka4.js → individualFormConfig-7KIVtibX.js} +6 -2
- package/dist/{it-IT-CXxD91gu.js → it-IT-BXIdTOUw.js} +49 -3
- package/dist/{ja-JP-1qp81W1I.js → ja-JP-CngmcMI-.js} +48 -2
- package/dist/{json-BDCUvP6f.js → json-C4Tdz70o.js} +2 -2
- package/dist/{localizeDateString-DT4qdmzP.js → localizeDateString-SMxMQ2Kc.js} +2 -2
- package/dist/{lt-LT-vQmxFgVn.js → lt-LT-Dpyaroh2.js} +49 -3
- package/dist/{lv-LV-Ds10XQ8q.js → lv-LV-CCcm8aDW.js} +49 -3
- package/dist/{mapFinancialReportsToFinancialInformation-BSpq38Ec.js → mapFinancialReportsToFinancialInformation-BQ61tSxK.js} +2 -2
- package/dist/{nl-NL-BsDTOkW4.js → nl-NL-gYpP7VMA.js} +49 -3
- package/dist/{no-NO-BpyiF6sI.js → no-NO-nOXLv4rO.js} +49 -3
- package/dist/{pl-PL-BqA3pc6p.js → pl-PL-Dwlwj1ob.js} +49 -3
- package/dist/{plaintext-CRAmB2-f.js → plaintext-BnZzPiVL.js} +2 -2
- package/dist/preact/adyen-terms-of-service.js +1 -1
- package/dist/preact/adyen-transfer-instrument.js +1 -1
- package/dist/{pt-PT-DSry7yG3.js → pt-PT-DbQbuaCm.js} +49 -3
- package/dist/{resolveEnvironment-tasvyH9Q.js → resolveEnvironment-Cp9vnHw_.js} +3 -3
- package/dist/{ro-RO-r8myUMxM.js → ro-RO-ZTuJtIop.js} +49 -3
- package/dist/{rules-6t6CtVMU.js → rules-Dg3nwm78.js} +14 -3
- package/dist/{sk-SK-Dy7mKbdU.js → sk-SK-Ba8jBCvr.js} +49 -3
- package/dist/{sl-SI-L3YffGqX.js → sl-SI-DszG8wEm.js} +49 -3
- package/dist/style.css +475 -490
- package/dist/styles-CLV89_hH.js +481 -496
- package/dist/{sv-SE-BtKMAZPD.js → sv-SE-Fo7zzjiG.js} +48 -2
- package/dist/types/api/address/address.types.d.ts +0 -1
- package/dist/types/api/address/useSearchAddress.d.ts +0 -1
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +2 -2
- package/dist/types/api/companyDataSet/constants.d.ts +1 -1
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -0
- package/dist/types/api/companySearch/companySearch.types.d.ts +2 -2
- package/dist/types/api/companySelection/companySelection.types.d.ts +6 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +4 -0
- package/dist/types/api/configurations/useScenarios.d.ts +7 -7
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +3 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +4 -4
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -0
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +1 -1
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -10
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -7
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +24 -24
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -0
- package/dist/types/components/BankAccount/utils/defaultPayoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +2 -4
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +0 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +1 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +2 -2
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +5 -4
- package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +1 -1
- 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 +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +23 -9
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +5 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +1 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +3 -3
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
- 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 +2 -2
- package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/ContactDetails/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -3
- package/dist/types/components/Trust/forms/Trust/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/trustFormConfig.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +2 -2
- package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +2 -2
- package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +1 -1
- package/dist/types/constants/countries.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -1
- package/dist/types/context/FormRouterContext/types.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +1 -1
- package/dist/types/core/analytics.d.ts +3 -1
- package/dist/types/core/errorMapping.d.ts +3 -3
- package/dist/types/core/models/api/address.d.ts +1 -1
- package/dist/types/core/models/api/financialReport.d.ts +1 -1
- package/dist/types/core/models/api/get-scenarios.d.ts +0 -7
- package/dist/types/core/models/api/legal-arrangement.d.ts +1 -1
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/models/api/phone.d.ts +1 -1
- package/dist/types/core/models/api/remediating-action.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
- package/dist/types/core/models/api/verification-error.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +4 -4
- package/dist/types/core/types.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +11 -2
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
- package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
- package/dist/types/hooks/singpass/useHasSeenSingpassSelection.d.ts +2 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/hooks/useAccountHolder.d.ts +1 -1
- package/dist/types/hooks/useAllowedCountries.d.ts +1 -1
- package/dist/types/hooks/useAsyncValidator.d.ts +2 -1
- package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/hooks/useDataConflicts.d.ts +0 -6
- package/dist/types/hooks/useDataMissingRemediations.d.ts +1 -1
- package/dist/types/hooks/useForm/reducer.d.ts +2 -2
- package/dist/types/hooks/useForm/types.d.ts +6 -6
- package/dist/types/hooks/useFormComposer.d.ts +2 -2
- package/dist/types/hooks/useMultiForm/reducer.d.ts +4 -3
- package/dist/types/hooks/useMultiForm/types.d.ts +0 -39
- package/dist/types/hooks/useMultiForm/useMultiFormAsyncValidator.d.ts +2 -2
- package/dist/types/hooks/useScenarioConfiguration.d.ts +3 -3
- package/dist/types/language/utils.d.ts +1 -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 +1 -1
- package/dist/types/stores/globalStore/globalStore.d.ts +3 -3
- package/dist/types/{core/models → types}/errors/capability-problems.d.ts +1 -1
- package/dist/types/{core/models → types}/errors/entity-problems.d.ts +4 -4
- package/dist/types/{core/models → types}/errors/error-message.d.ts +1 -1
- package/dist/types/{core/models → types}/errors/remediation.d.ts +1 -1
- package/dist/types/{core/models → types}/form-configuration.d.ts +4 -4
- package/dist/types/{core/models → types}/form-rules.d.ts +10 -8
- package/dist/types/{core/models → types}/form.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -1
- package/dist/types/utils/api/getProblemsForEntity.d.ts +2 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +3 -3
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +1 -1
- package/dist/types/utils/country.d.ts +1 -1
- package/dist/types/utils/datasetUtil.d.ts +3 -3
- package/dist/types/{core/models/decision-maker.d.ts → utils/decisionMaker.d.ts} +2 -2
- package/dist/types/utils/dropinUtils.d.ts +2 -2
- package/dist/types/utils/entityAssociationUtil.d.ts +5 -5
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/{core/models/field-configurations.d.ts → utils/fieldConfigurations.d.ts} +4 -4
- package/dist/types/utils/formUtils.d.ts +1 -1
- package/dist/types/utils/formatCurrency.d.ts +1 -1
- package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -1
- package/dist/types/utils/mapping/mapExistingFile.d.ts +1 -1
- package/dist/types/utils/perCountry.d.ts +1 -1
- package/dist/types/utils/perState.d.ts +3 -2
- package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
- package/dist/types/utils/validation/types.d.ts +1 -1
- package/dist/types/{core/models/errors/validation-error.d.ts → utils/validationError.d.ts} +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{useMultiForm-DxlQ1Mkc.js → useMultiForm-B_SrTfOp.js} +2 -2
- package/dist/{useOnboardingStatus-BhjtrqPQ.js → useOnboardingStatus-CyCPc1vj.js} +1 -1
- package/dist/{useSalesChannelsSettings-4cf4pJ0N.js → useSalesChannelsSettings-BVJXTzlR.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CExwHP29.js → useTermsOfServiceStatus-8XdGXbPl.js} +4 -4
- package/dist/{useUpdateLegalEntity-D1AbV8w_.js → useUpdateLegalEntity-Yr0adese.js} +2 -2
- package/dist/{utils-vsa5CskP.js → utils-GZDRmFSR.js} +4 -4
- package/dist/{validate-y0pyKWME.js → validate-BlofB0F6.js} +2 -2
- package/dist/{validate-tGjEyd8Q.js → validate-DIQCrjk7.js} +2 -2
- package/dist/vue/adyen-individual.js +1 -1
- package/dist/vue/adyen-manage-individual.js +1 -1
- package/dist/vue/adyen-terms-of-service.js +1 -1
- package/dist/vue/adyen-transfer-instrument.js +1 -1
- package/dist/{yaml-B7DVK1fQ.js → yaml-BN5PYhM7.js} +2 -2
- package/package.json +1 -1
- package/dist/Confirm-CSYow9zX.js +0 -56
- package/dist/FormNavigation-B0U6S6OX.js +0 -145
- package/dist/FormWrapper-BGT0y0_A.js +0 -149
- package/dist/MaybeModal-Dnx2ARAl.js +0 -18
- package/dist/Modal-CAvMYaEN.js +0 -135
- package/dist/PayoutDetailsDropin-DV9Dz3yb.js +0 -901
- package/dist/PayoutDetailsPage-ChrYPNyW.js +0 -57
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StepProgressIndicator-CBua2pA0.js +0 -74
- package/dist/documentUtils-Bx37-uJ_.js +0 -226
- package/dist/dropinUtils-B4hMy9jU.js +0 -204
- package/dist/mapExistingFile-BE74t9jV.js +0 -25
- package/dist/mapTransferInstrumentToPayoutAccount-D2ouRoHp.js +0 -30
- package/dist/omitObscuredFieldsIfUnchanged-jdf97C04.js +0 -28
- package/dist/process-field-configurations-BWHX3P5x.js +0 -185
- package/dist/processValidationErrors-C6TDpZz0.js +0 -203
- package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +0 -5
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/formatId.d.ts +0 -3
- package/dist/useToastContext-DJS5737s.js +0 -21
- package/dist/utils-B1H_8b1P.js +0 -74
- /package/dist/types/{core/types/AccountHolder.types.d.ts → types/accountHolder.d.ts} +0 -0
- /package/dist/types/{core/models → types/datasets}/country-code.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/currency.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/province-code.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/state-code.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/form-verification-errors.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/maintenance-mode-error.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/remediation-action-context.d.ts +0 -0
- /package/dist/types/{core/models → types}/file.d.ts +0 -0
|
@@ -2,12 +2,12 @@
|
|
|
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] = "c1b388f1-ca61-49bb-ae2d-59834d3112c6", e._sentryDebugIdIdentifier = "sentry-dbid-c1b388f1-ca61-49bb-ae2d-59834d3112c6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ao as isEmpty } from "./StoreProvider-DAebRaGX.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "39832a57-35d8-436b-9ef5-219960676d88", e._sentryDebugIdIdentifier = "sentry-dbid-39832a57-35d8-436b-9ef5-219960676d88");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "e6347a20-5caf-42dc-b717-e770261ae7fe", e._sentryDebugIdIdentifier = "sentry-dbid-e6347a20-5caf-42dc-b717-e770261ae7fe");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "eca21fde-4dee-4b1b-b312-eab4e986ac2c", e._sentryDebugIdIdentifier = "sentry-dbid-eca21fde-4dee-4b1b-b312-eab4e986ac2c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "fd39a9af-c032-4b1b-9826-b53c37b8d303", e._sentryDebugIdIdentifier = "sentry-dbid-fd39a9af-c032-4b1b-9826-b53c37b8d303");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "6a03207f-d4a8-48d1-a069-979b38fb314b", e._sentryDebugIdIdentifier = "sentry-dbid-6a03207f-d4a8-48d1-a069-979b38fb314b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-jUQSIT6v.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|
package/package.json
CHANGED
package/dist/Confirm-CSYow9zX.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
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] = "345c3601-05be-4ae6-a535-c9cad6b74cf7", e._sentryDebugIdIdentifier = "sentry-dbid-345c3601-05be-4ae6-a535-c9cad6b74cf7");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-HRzOkLfJ.js";
|
|
13
|
-
import { M as Modal } from "./Modal-CAvMYaEN.js";
|
|
14
|
-
const confirm = "adyen-kyc-confirm";
|
|
15
|
-
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
|
-
const confirmActions = "adyen-kyc-confirm-actions";
|
|
17
|
-
const styles = {
|
|
18
|
-
confirm,
|
|
19
|
-
confirmMessage,
|
|
20
|
-
confirmActions
|
|
21
|
-
};
|
|
22
|
-
const Confirm = ({
|
|
23
|
-
description,
|
|
24
|
-
cancelText,
|
|
25
|
-
confirmText,
|
|
26
|
-
critical = false,
|
|
27
|
-
onCancel,
|
|
28
|
-
onConfirm,
|
|
29
|
-
title
|
|
30
|
-
}) => {
|
|
31
|
-
const { i18n } = useI18nContext();
|
|
32
|
-
const [isInFlight, setIsInFlight] = useState(false);
|
|
33
|
-
const showCancelButton = onCancel !== void 0;
|
|
34
|
-
const buttonVariant = critical ? "critical" : "primary";
|
|
35
|
-
const handleConfirm = async () => {
|
|
36
|
-
setIsInFlight(true);
|
|
37
|
-
try {
|
|
38
|
-
await onConfirm();
|
|
39
|
-
} finally {
|
|
40
|
-
setIsInFlight(false);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
return /* @__PURE__ */ jsx(Modal, { size: "small", transition: "dropIn", showCloseButton: false, ariaLabel: title, children: /* @__PURE__ */ jsxs("div", { className: styles.confirm, children: [
|
|
44
|
-
/* @__PURE__ */ jsxs("div", { className: styles.confirmMessage, children: [
|
|
45
|
-
/* @__PURE__ */ jsx(Typography, { variant: "title", el: "h3", children: title }),
|
|
46
|
-
description && /* @__PURE__ */ jsx(Typography, { variant: "body", el: "p", children: description })
|
|
47
|
-
] }),
|
|
48
|
-
/* @__PURE__ */ jsxs("div", { className: styles.confirmActions, children: [
|
|
49
|
-
showCancelButton && /* @__PURE__ */ jsx(Button, { onClick: onCancel, variant: "secondary", disabled: isInFlight, children: cancelText ?? i18n.get("cancel") }),
|
|
50
|
-
/* @__PURE__ */ jsx(Button, { onClick: handleConfirm, variant: buttonVariant, loading: isInFlight, children: confirmText ?? i18n.get("confirm") })
|
|
51
|
-
] })
|
|
52
|
-
] }) });
|
|
53
|
-
};
|
|
54
|
-
export {
|
|
55
|
-
Confirm as C
|
|
56
|
-
};
|
|
@@ -1,145 +0,0 @@
|
|
|
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] = "d4d2345b-b747-4742-9763-942123b8391b", e._sentryDebugIdIdentifier = "sentry-dbid-d4d2345b-b747-4742-9763-942123b8391b");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, a2 as Icon, bb as globalStyles, bc as KEYBOARD_KEYS, _ as useAnalyticsContext, C as Typography, a3 as noop } from "./StoreProvider-HRzOkLfJ.js";
|
|
13
|
-
const FormNavigationItem = ({
|
|
14
|
-
form,
|
|
15
|
-
isActive,
|
|
16
|
-
onClick,
|
|
17
|
-
hasVerificationErrors
|
|
18
|
-
}) => {
|
|
19
|
-
const { i18n } = useI18nContext();
|
|
20
|
-
const hasError = form.hasServerValidationErrors || hasVerificationErrors;
|
|
21
|
-
const handleKeyDown = (e) => {
|
|
22
|
-
if (onClick && (e.key === KEYBOARD_KEYS.enter || e.key === KEYBOARD_KEYS.space)) {
|
|
23
|
-
e.preventDefault();
|
|
24
|
-
onClick();
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
return /* @__PURE__ */ jsx(
|
|
28
|
-
"li",
|
|
29
|
-
{
|
|
30
|
-
"aria-label": i18n.get(form.formName),
|
|
31
|
-
"aria-current": isActive,
|
|
32
|
-
className: cx("adyen-kyc-form-navigation__item", {
|
|
33
|
-
"adyen-kyc-form-navigation__item--active": isActive,
|
|
34
|
-
"adyen-kyc-form-navigation__item--valid": form.isValid,
|
|
35
|
-
"adyen-kyc-form-navigation__item--isnav": Boolean(onClick)
|
|
36
|
-
}),
|
|
37
|
-
children: /* @__PURE__ */ jsxs(
|
|
38
|
-
"button",
|
|
39
|
-
{
|
|
40
|
-
type: "button",
|
|
41
|
-
onClick,
|
|
42
|
-
onKeyDown: onClick ? handleKeyDown : void 0,
|
|
43
|
-
tabIndex: onClick ? 0 : void 0,
|
|
44
|
-
children: [
|
|
45
|
-
i18n.get(form.formName),
|
|
46
|
-
form.hasServerValidationErrors && /* @__PURE__ */ jsxs("span", { className: "adyen-kyc-form-navigation__item-icon adyen-kyc-form-navigation__item-icon--error", children: [
|
|
47
|
-
/* @__PURE__ */ jsx(Icon, { name: "warning" }),
|
|
48
|
-
/* @__PURE__ */ jsx("span", { className: globalStyles.screenReaderOnly, children: i18n.get("formStepInvalid") })
|
|
49
|
-
] }),
|
|
50
|
-
form.isValid && !hasError && /* @__PURE__ */ jsxs("span", { className: "adyen-kyc-form-navigation__item-icon adyen-kyc-form-navigation__item-icon--success", children: [
|
|
51
|
-
/* @__PURE__ */ jsx(Icon, { name: "checkmark-small" }),
|
|
52
|
-
/* @__PURE__ */ jsx("span", { className: globalStyles.screenReaderOnly, children: i18n.get("formStepCompleted") })
|
|
53
|
-
] })
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
},
|
|
58
|
-
form.formId
|
|
59
|
-
);
|
|
60
|
-
};
|
|
61
|
-
function FormNavigation({
|
|
62
|
-
forms,
|
|
63
|
-
activeForm,
|
|
64
|
-
gotoForm,
|
|
65
|
-
validateForm,
|
|
66
|
-
className,
|
|
67
|
-
taskName,
|
|
68
|
-
verificationErrors,
|
|
69
|
-
trackNavigation = noop
|
|
70
|
-
}) {
|
|
71
|
-
const { i18n } = useI18nContext();
|
|
72
|
-
const userEvents = useAnalyticsContext();
|
|
73
|
-
const taskNameTranslated = i18n.get(taskName);
|
|
74
|
-
const getFormIndex = (form) => forms.findIndex((f) => f.formId === form.formId);
|
|
75
|
-
const goToForm = (form) => () => {
|
|
76
|
-
if (form.formId === activeForm.formId) return;
|
|
77
|
-
gotoForm(getFormIndex(form));
|
|
78
|
-
trackNavigation({
|
|
79
|
-
userEvents,
|
|
80
|
-
actionType: "navigate",
|
|
81
|
-
toForm: form.formName,
|
|
82
|
-
label: form.formName,
|
|
83
|
-
returnValue: "success"
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
const getNavigateHandler = (form, activeForm2) => {
|
|
87
|
-
const priorForms = forms.slice(0, getFormIndex(form));
|
|
88
|
-
const allPriorFormsValid = priorForms.every((subForm) => subForm.isValid);
|
|
89
|
-
if (allPriorFormsValid || !validateForm) {
|
|
90
|
-
return goToForm(form);
|
|
91
|
-
}
|
|
92
|
-
return activeForm2.isValid ? void 0 : () => {
|
|
93
|
-
trackNavigation({
|
|
94
|
-
userEvents,
|
|
95
|
-
actionType: "navigate",
|
|
96
|
-
toForm: form.formName,
|
|
97
|
-
label: form.formName,
|
|
98
|
-
returnValue: "validation error"
|
|
99
|
-
});
|
|
100
|
-
validateForm();
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
return /* @__PURE__ */ jsxs("div", { className: cx("adyen-kyc-form-navigation", className), children: [
|
|
104
|
-
/* @__PURE__ */ jsx(
|
|
105
|
-
Typography,
|
|
106
|
-
{
|
|
107
|
-
el: "h3",
|
|
108
|
-
variant: "body",
|
|
109
|
-
color: "secondary",
|
|
110
|
-
className: "adyen-kyc-form-navigation__header",
|
|
111
|
-
children: taskNameTranslated
|
|
112
|
-
}
|
|
113
|
-
),
|
|
114
|
-
forms && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
115
|
-
/* @__PURE__ */ jsx(
|
|
116
|
-
Typography,
|
|
117
|
-
{
|
|
118
|
-
color: "tertiary",
|
|
119
|
-
variant: "caption-stronger",
|
|
120
|
-
className: "adyen-kyc-form-navigation__step-count",
|
|
121
|
-
children: i18n.get("stepsX/YofForm", {
|
|
122
|
-
values: {
|
|
123
|
-
activeFormIndex: getFormIndex(activeForm) + 1,
|
|
124
|
-
totalForms: forms.length,
|
|
125
|
-
taskNameTranslated
|
|
126
|
-
}
|
|
127
|
-
})
|
|
128
|
-
}
|
|
129
|
-
),
|
|
130
|
-
/* @__PURE__ */ jsx("ul", { className: "adyen-kyc-form-navigation__items", children: forms.map((form) => /* @__PURE__ */ jsx(
|
|
131
|
-
FormNavigationItem,
|
|
132
|
-
{
|
|
133
|
-
form,
|
|
134
|
-
isActive: form.formId === activeForm.formId,
|
|
135
|
-
onClick: getNavigateHandler(form, activeForm),
|
|
136
|
-
hasVerificationErrors: Boolean((verificationErrors == null ? void 0 : verificationErrors[form.formId]) ?? false)
|
|
137
|
-
},
|
|
138
|
-
form.formId
|
|
139
|
-
)) })
|
|
140
|
-
] })
|
|
141
|
-
] });
|
|
142
|
-
}
|
|
143
|
-
export {
|
|
144
|
-
FormNavigation as F
|
|
145
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
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] = "d34ce42e-645c-47b8-9cc8-578c4424f0d1", e._sentryDebugIdIdentifier = "sentry-dbid-d34ce42e-645c-47b8-9cc8-578c4424f0d1");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, a1 as LoaderWrapper, aJ as summaryStep, Y as Button, aK as Summary } from "./StoreProvider-HRzOkLfJ.js";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-Dnx2ARAl.js";
|
|
14
|
-
import { b as ModalContent, a as ModalHeader, c as ModalFooter } from "./Modal-CAvMYaEN.js";
|
|
15
|
-
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
16
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-CBua2pA0.js";
|
|
17
|
-
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-B4hMy9jU.js";
|
|
18
|
-
import { F as FormNavigation } from "./FormNavigation-B0U6S6OX.js";
|
|
19
|
-
const FormWrapper = ({
|
|
20
|
-
asModal = false,
|
|
21
|
-
summary,
|
|
22
|
-
taskName,
|
|
23
|
-
children,
|
|
24
|
-
handleNextClick,
|
|
25
|
-
handleBackClick,
|
|
26
|
-
handleCloseClick,
|
|
27
|
-
handleHomeClick,
|
|
28
|
-
loadingStatus,
|
|
29
|
-
gotoFormByFormIndex,
|
|
30
|
-
forms,
|
|
31
|
-
activeForm,
|
|
32
|
-
validateForm,
|
|
33
|
-
navigationTrackingParams,
|
|
34
|
-
hideSidebar,
|
|
35
|
-
hideFooter,
|
|
36
|
-
canSubmit,
|
|
37
|
-
onSubmit,
|
|
38
|
-
problems,
|
|
39
|
-
steps,
|
|
40
|
-
showBackButton,
|
|
41
|
-
hideNextButton,
|
|
42
|
-
hideHomeButton
|
|
43
|
-
}) => {
|
|
44
|
-
var _a;
|
|
45
|
-
const { i18n } = useI18nContext();
|
|
46
|
-
const userEvents = useAnalyticsContext();
|
|
47
|
-
const { data: summaryData, omitted, labels } = summary || {};
|
|
48
|
-
const [finishLaterLoading, setFinishLaterLoading] = useState(false);
|
|
49
|
-
const translationKeys = {
|
|
50
|
-
finishLater: "finishLater"
|
|
51
|
-
};
|
|
52
|
-
const showLegalCaption = ["solePropDetails", "companyDetails", "businessDetails"].includes(
|
|
53
|
-
taskName
|
|
54
|
-
);
|
|
55
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
56
|
-
const showExtraTaxExemptionReasons = isExperimentEnabled("ShowExtraTaxExemptionReasons");
|
|
57
|
-
const showTaxExemptedLegalCaption = showExtraTaxExemptionReasons && ((_a = summaryData == null ? void 0 : summaryData.companyRegistrationDetails) == null ? void 0 : _a.vatAbsenceReason) && ["companyDetails", "businessDetails"].includes(taskName);
|
|
58
|
-
const handleTrackNavigation = useCallback(
|
|
59
|
-
(props) => {
|
|
60
|
-
trackNavigation({
|
|
61
|
-
...props,
|
|
62
|
-
additionalTrackingParams: navigationTrackingParams
|
|
63
|
-
});
|
|
64
|
-
},
|
|
65
|
-
[navigationTrackingParams]
|
|
66
|
-
);
|
|
67
|
-
const summaryContent = /* @__PURE__ */ jsx("div", { className: "adyen-kyc-form-wrapper", children: /* @__PURE__ */ jsx(
|
|
68
|
-
Summary,
|
|
69
|
-
{
|
|
70
|
-
trackNavigation: handleTrackNavigation,
|
|
71
|
-
data: summaryData,
|
|
72
|
-
omitted,
|
|
73
|
-
forms,
|
|
74
|
-
gotoForm: gotoFormByFormIndex,
|
|
75
|
-
labels,
|
|
76
|
-
problems,
|
|
77
|
-
showLegalCaption,
|
|
78
|
-
showTaxExemptedLegalCaption
|
|
79
|
-
}
|
|
80
|
-
) });
|
|
81
|
-
const onHomeClick = () => {
|
|
82
|
-
setFinishLaterLoading(true);
|
|
83
|
-
userEvents.addPageEvent("Clicked button", {
|
|
84
|
-
actionType: "save",
|
|
85
|
-
label: translationKeys.finishLater
|
|
86
|
-
});
|
|
87
|
-
if (canSubmit) {
|
|
88
|
-
onSubmit().then(() => {
|
|
89
|
-
setFinishLaterLoading(false);
|
|
90
|
-
});
|
|
91
|
-
} else {
|
|
92
|
-
handleHomeClick == null ? void 0 : handleHomeClick();
|
|
93
|
-
setFinishLaterLoading(false);
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
const isFirstStep = steps.current === 0;
|
|
97
|
-
const isFinalStep = steps.current === steps.total - 1;
|
|
98
|
-
return /* @__PURE__ */ jsxs(MaybeModal, { inline: !asModal, onClose: handleCloseClick, children: [
|
|
99
|
-
/* @__PURE__ */ jsxs(ModalContent, { children: [
|
|
100
|
-
/* @__PURE__ */ jsx(ModalHeader, {}),
|
|
101
|
-
/* @__PURE__ */ jsx(LoaderWrapper, { status: loadingStatus, formOpacityWhenLoading: 0.3, loaderSize: "large", children: /* @__PURE__ */ jsxs("div", { className: !hideSidebar ? "adyen-kyc-form-with-sidebar" : "", children: [
|
|
102
|
-
!asModal && !hideSidebar && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__sidebar-wrapper", children: /* @__PURE__ */ jsx(
|
|
103
|
-
FormNavigation,
|
|
104
|
-
{
|
|
105
|
-
forms,
|
|
106
|
-
activeForm,
|
|
107
|
-
gotoForm: gotoFormByFormIndex,
|
|
108
|
-
validateForm,
|
|
109
|
-
taskName,
|
|
110
|
-
trackNavigation: handleTrackNavigation,
|
|
111
|
-
verificationErrors: problems == null ? void 0 : problems.verificationErrors
|
|
112
|
-
}
|
|
113
|
-
) }),
|
|
114
|
-
/* @__PURE__ */ jsxs(FormRouterContextProvider, { setFormIndex: gotoFormByFormIndex, forms, children: [
|
|
115
|
-
children,
|
|
116
|
-
activeForm.formId === summaryStep.formId && summary && summaryContent
|
|
117
|
-
] })
|
|
118
|
-
] }) })
|
|
119
|
-
] }),
|
|
120
|
-
!hideFooter && /* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
121
|
-
/* @__PURE__ */ jsx("div", { style: { width: "30%", display: asModal ? "unset" : "none" }, children: /* @__PURE__ */ jsx(
|
|
122
|
-
StepProgressIndicator,
|
|
123
|
-
{
|
|
124
|
-
activeStepIndex: steps.current ?? 0,
|
|
125
|
-
stepsCount: steps.total,
|
|
126
|
-
fillBefore: true,
|
|
127
|
-
thick: true
|
|
128
|
-
}
|
|
129
|
-
) }),
|
|
130
|
-
(!isFirstStep || showBackButton) && handleBackClick && /* @__PURE__ */ jsx(Button, { icon: "chevron-left", variant: "secondary", onClick: handleBackClick, children: i18n.get("back") }),
|
|
131
|
-
/* @__PURE__ */ jsx(Spacer, {}),
|
|
132
|
-
!isFirstStep && !isFinalStep && !hideHomeButton && /* @__PURE__ */ jsx(
|
|
133
|
-
Button,
|
|
134
|
-
{
|
|
135
|
-
variant: "secondary",
|
|
136
|
-
icon: "save",
|
|
137
|
-
onClick: onHomeClick,
|
|
138
|
-
loading: finishLaterLoading,
|
|
139
|
-
children: i18n.get(translationKeys.finishLater)
|
|
140
|
-
}
|
|
141
|
-
),
|
|
142
|
-
!isFinalStep && !hideNextButton && /* @__PURE__ */ jsx(Button, { onClick: handleNextClick, children: i18n.get("continue") }),
|
|
143
|
-
isFinalStep && /* @__PURE__ */ jsx(Button, { onClick: handleNextClick, children: i18n.get("submit") })
|
|
144
|
-
] })
|
|
145
|
-
] });
|
|
146
|
-
};
|
|
147
|
-
export {
|
|
148
|
-
FormWrapper as F
|
|
149
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
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] = "8de42ab5-c6d9-4b25-9459-f25ded8eaebf", e._sentryDebugIdIdentifier = "sentry-dbid-8de42ab5-c6d9-4b25-9459-f25ded8eaebf");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { T as ToastContextProvider } from "./StoreProvider-HRzOkLfJ.js";
|
|
12
|
-
import { M as Modal } from "./Modal-CAvMYaEN.js";
|
|
13
|
-
const MaybeModal = ({ ariaLabel, children, inline = false, onClose }) => {
|
|
14
|
-
return inline ? /* @__PURE__ */ jsx(Fragment, { children }) : /* @__PURE__ */ jsx(Modal, { onClose, ariaLabel, children: /* @__PURE__ */ jsx(ToastContextProvider, { children }) });
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
MaybeModal as M
|
|
18
|
-
};
|
package/dist/Modal-CAvMYaEN.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
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] = "6d3f4334-b2af-4df2-9f3f-b756a58b42fe", e._sentryDebugIdIdentifier = "sentry-dbid-6d3f4334-b2af-4df2-9f3f-b756a58b42fe");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { useRef, useLayoutEffect } from "preact/hooks";
|
|
13
|
-
import { Z as IconButton, bc as KEYBOARD_KEYS } from "./StoreProvider-HRzOkLfJ.js";
|
|
14
|
-
const modal = "adyen-kyc-modal";
|
|
15
|
-
const modalBody = "adyen-kyc-modal-body";
|
|
16
|
-
const modalBodyHeight = "adyen-kyc-modal-body-height";
|
|
17
|
-
const modalTransitionSlideIn = "adyen-kyc-modal-transition-slide-in";
|
|
18
|
-
const modalTransitionDropIn = "adyen-kyc-modal-transition-drop-in";
|
|
19
|
-
const modalInset = "adyen-kyc-modal-inset";
|
|
20
|
-
const modalSmall = "adyen-kyc-modal-small";
|
|
21
|
-
const modalMedium = "adyen-kyc-modal-medium";
|
|
22
|
-
const modalLarge = "adyen-kyc-modal-large";
|
|
23
|
-
const modalFullscreen = "adyen-kyc-modal-fullscreen";
|
|
24
|
-
const modalButton = "adyen-kyc-modal-button";
|
|
25
|
-
const modalHeader = "adyen-kyc-modal-header";
|
|
26
|
-
const modalContent = "adyen-kyc-modal-content";
|
|
27
|
-
const modalFooter = "adyen-kyc-modal-footer";
|
|
28
|
-
const styles = {
|
|
29
|
-
modal,
|
|
30
|
-
modalBody,
|
|
31
|
-
modalBodyHeight,
|
|
32
|
-
modalTransitionSlideIn,
|
|
33
|
-
modalTransitionDropIn,
|
|
34
|
-
modalInset,
|
|
35
|
-
modalSmall,
|
|
36
|
-
modalMedium,
|
|
37
|
-
modalLarge,
|
|
38
|
-
modalFullscreen,
|
|
39
|
-
modalButton,
|
|
40
|
-
modalHeader,
|
|
41
|
-
modalContent,
|
|
42
|
-
modalFooter
|
|
43
|
-
};
|
|
44
|
-
const Modal = ({
|
|
45
|
-
ariaLabel,
|
|
46
|
-
children,
|
|
47
|
-
inset = false,
|
|
48
|
-
onClose,
|
|
49
|
-
showCloseButton = true,
|
|
50
|
-
size = "medium",
|
|
51
|
-
transition = "slideIn"
|
|
52
|
-
}) => {
|
|
53
|
-
const dialogRef = useRef(null);
|
|
54
|
-
const shouldShowCloseButton = onClose !== void 0 && showCloseButton;
|
|
55
|
-
useLayoutEffect(() => {
|
|
56
|
-
const dialogElement = dialogRef.current;
|
|
57
|
-
if (!dialogElement) return;
|
|
58
|
-
const handleCancel = (event) => {
|
|
59
|
-
event.preventDefault();
|
|
60
|
-
onClose == null ? void 0 : onClose();
|
|
61
|
-
};
|
|
62
|
-
const handleKeydown = (event) => {
|
|
63
|
-
if (event.key !== KEYBOARD_KEYS.escape) return;
|
|
64
|
-
event.preventDefault();
|
|
65
|
-
onClose == null ? void 0 : onClose();
|
|
66
|
-
};
|
|
67
|
-
try {
|
|
68
|
-
document.addEventListener("keydown", handleKeydown);
|
|
69
|
-
dialogElement.addEventListener("cancel", handleCancel);
|
|
70
|
-
dialogElement.showModal();
|
|
71
|
-
} catch {
|
|
72
|
-
console.warn(
|
|
73
|
-
"Could not call `showModal()` on the <dialog>; likely it was already removed from the document."
|
|
74
|
-
);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
dialogElement.focus();
|
|
78
|
-
dialogElement.blur();
|
|
79
|
-
return () => {
|
|
80
|
-
dialogElement.removeEventListener("cancel", handleCancel);
|
|
81
|
-
document.removeEventListener("keydown", handleKeydown);
|
|
82
|
-
dialogElement.close();
|
|
83
|
-
};
|
|
84
|
-
}, []);
|
|
85
|
-
const transitionStyle = {
|
|
86
|
-
slideIn: styles.modalTransitionSlideIn,
|
|
87
|
-
dropIn: styles.modalTransitionDropIn
|
|
88
|
-
};
|
|
89
|
-
const sizeStyle = {
|
|
90
|
-
small: styles.modalSmall,
|
|
91
|
-
medium: styles.modalMedium,
|
|
92
|
-
large: styles.modalLarge,
|
|
93
|
-
fullscreen: styles.modalFullscreen
|
|
94
|
-
};
|
|
95
|
-
const rootClassname = cx(styles.modal, transitionStyle[transition], sizeStyle[size]);
|
|
96
|
-
const bodyClassname = cx(styles.modalBody, {
|
|
97
|
-
[styles.modalInset]: inset === true,
|
|
98
|
-
[styles.modalBodyHeight]: size !== "small"
|
|
99
|
-
});
|
|
100
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
101
|
-
/* @__PURE__ */ jsx("style", { children: `html,body { overflow: hidden !important; }` }),
|
|
102
|
-
/* @__PURE__ */ jsxs(
|
|
103
|
-
"dialog",
|
|
104
|
-
{
|
|
105
|
-
"aria-label": ariaLabel,
|
|
106
|
-
"aria-modal": "true",
|
|
107
|
-
className: rootClassname,
|
|
108
|
-
onClose,
|
|
109
|
-
ref: dialogRef,
|
|
110
|
-
children: [
|
|
111
|
-
shouldShowCloseButton && /* @__PURE__ */ jsx("div", { className: styles.modalButton, children: /* @__PURE__ */ jsx(
|
|
112
|
-
IconButton,
|
|
113
|
-
{
|
|
114
|
-
ariaLabel: "Close",
|
|
115
|
-
circle: true,
|
|
116
|
-
icon: "cross",
|
|
117
|
-
onClick: onClose,
|
|
118
|
-
variant: "surface"
|
|
119
|
-
}
|
|
120
|
-
) }),
|
|
121
|
-
/* @__PURE__ */ jsx("div", { className: bodyClassname, "data-testid": "modal-body", children })
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
] });
|
|
126
|
-
};
|
|
127
|
-
const ModalHeader = ({ children }) => /* @__PURE__ */ jsx("header", { className: styles.modalHeader, children });
|
|
128
|
-
const ModalContent = ({ children }) => /* @__PURE__ */ jsx("section", { className: styles.modalContent, children });
|
|
129
|
-
const ModalFooter = ({ children }) => /* @__PURE__ */ jsx("footer", { className: styles.modalFooter, children });
|
|
130
|
-
export {
|
|
131
|
-
Modal as M,
|
|
132
|
-
ModalHeader as a,
|
|
133
|
-
ModalContent as b,
|
|
134
|
-
ModalFooter as c
|
|
135
|
-
};
|