@adyen/adyen-web 5.2.2 → 5.5.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/adyen.css +7 -7
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +7 -7
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +7 -7
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/ar.js +1 -1
- package/dist/es/cs-CZ.js +1 -1
- package/dist/es/da-DK.js +1 -1
- package/dist/es/de-DE.js +1 -1
- package/dist/es/el-GR.js +1 -1
- package/dist/es/es-ES.js +1 -1
- package/dist/es/fi-FI.js +1 -1
- package/dist/es/fr-FR.js +1 -1
- package/dist/es/hr-HR.js +1 -1
- package/dist/es/hu-HU.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/it-IT.js +1 -1
- package/dist/es/ja-JP.js +1 -1
- package/dist/es/ko-KR.js +1 -1
- package/dist/es/nl-NL.js +1 -1
- package/dist/es/no-NO.js +1 -1
- package/dist/es/pl-PL.js +1 -1
- package/dist/es/pt-BR.js +1 -1
- package/dist/es/ro-RO.js +1 -1
- package/dist/es/ru-RU.js +1 -1
- package/dist/es/sk-SK.js +1 -1
- package/dist/es/sl-SI.js +1 -1
- package/dist/es/sv-SE.js +1 -1
- package/dist/es/zh-CN.js +1 -1
- package/dist/es/zh-TW.js +1 -1
- package/dist/es.modern/adyen.css +54 -0
- package/dist/es.modern/adyen.css.map +1 -0
- package/dist/es.modern/ar.js +1 -0
- package/dist/es.modern/cs-CZ.js +1 -0
- package/dist/es.modern/da-DK.js +1 -0
- package/dist/es.modern/de-DE.js +1 -0
- package/dist/es.modern/el-GR.js +1 -0
- package/dist/es.modern/es-ES.js +1 -0
- package/dist/es.modern/fi-FI.js +1 -0
- package/dist/es.modern/fr-FR.js +1 -0
- package/dist/es.modern/hr-HR.js +1 -0
- package/dist/es.modern/hu-HU.js +1 -0
- package/dist/es.modern/index.js +1 -0
- package/dist/es.modern/it-IT.js +1 -0
- package/dist/es.modern/ja-JP.js +1 -0
- package/dist/es.modern/ko-KR.js +1 -0
- package/dist/es.modern/nl-NL.js +1 -0
- package/dist/es.modern/no-NO.js +1 -0
- package/dist/es.modern/pl-PL.js +1 -0
- package/dist/es.modern/pt-BR.js +1 -0
- package/dist/es.modern/ro-RO.js +1 -0
- package/dist/es.modern/ru-RU.js +1 -0
- package/dist/es.modern/sk-SK.js +1 -0
- package/dist/es.modern/sl-SI.js +1 -0
- package/dist/es.modern/sv-SE.js +1 -0
- package/dist/es.modern/zh-CN.js +1 -0
- package/dist/es.modern/zh-TW.js +1 -0
- package/dist/types/components/Ach/Ach.d.ts +19 -19
- package/dist/types/components/Ach/components/AchInput/AchInput.d.ts +31 -31
- package/dist/types/components/Ach/components/AchInput/components/AchSFInput.d.ts +14 -14
- package/dist/types/components/Ach/components/AchInput/components/AchSecuredFields.d.ts +8 -8
- package/dist/types/components/Ach/components/AchInput/defaultProps.d.ts +26 -26
- package/dist/types/components/Ach/components/AchInput/defaultStyles.d.ts +6 -6
- package/dist/types/components/Ach/components/AchInput/index.d.ts +1 -1
- package/dist/types/components/Ach/components/AchInput/types.d.ts +12 -12
- package/dist/types/components/Ach/index.d.ts +1 -1
- package/dist/types/components/Address/Address.d.ts +8 -8
- package/dist/types/components/Address/index.d.ts +1 -1
- package/dist/types/components/Affirm/Affirm.d.ts +5 -5
- package/dist/types/components/Affirm/config.d.ts +1 -1
- package/dist/types/components/Affirm/index.d.ts +1 -1
- package/dist/types/components/AfterPay/AfterPay.d.ts +5 -5
- package/dist/types/components/AfterPay/AfterPayB2B.d.ts +20 -20
- package/dist/types/components/AfterPay/components/ConsentCheckboxLabel/ConsentCheckboxLabel.d.ts +6 -6
- package/dist/types/components/AfterPay/components/ConsentCheckboxLabel/index.d.ts +1 -1
- package/dist/types/components/AfterPay/config.d.ts +6 -6
- package/dist/types/components/AfterPay/index.d.ts +3 -3
- package/dist/types/components/AfterPay/utils.d.ts +2 -2
- package/dist/types/components/AmazonPay/AmazonPay.d.ts +35 -35
- package/dist/types/components/AmazonPay/components/AmazonPayButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/AmazonPayComponent.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/ChangePaymentDetailsButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/OrderButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/SignOutButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/config.d.ts +12 -12
- package/dist/types/components/AmazonPay/defaultProps.d.ts +17 -17
- package/dist/types/components/AmazonPay/index.d.ts +1 -1
- package/dist/types/components/AmazonPay/services.d.ts +25 -25
- package/dist/types/components/AmazonPay/types.d.ts +211 -211
- package/dist/types/components/AmazonPay/utils.d.ts +52 -52
- package/dist/types/components/ApplePay/ApplePay.d.ts +68 -68
- package/dist/types/components/ApplePay/ApplePayService.d.ts +69 -69
- package/dist/types/components/ApplePay/components/ApplePayButton.d.ts +22 -22
- package/dist/types/components/ApplePay/config.d.ts +1 -1
- package/dist/types/components/ApplePay/defaultProps.d.ts +67 -67
- package/dist/types/components/ApplePay/index.d.ts +1 -1
- package/dist/types/components/ApplePay/payment-request.d.ts +8 -8
- package/dist/types/components/ApplePay/types.d.ts +127 -123
- package/dist/types/components/ApplePay/utils.d.ts +2 -2
- package/dist/types/components/BacsDD/BacsDD.d.ts +19 -19
- package/dist/types/components/BacsDD/components/BacsInput.d.ts +11 -11
- package/dist/types/components/BacsDD/components/BacsResult.d.ts +5 -5
- package/dist/types/components/BacsDD/components/types.d.ts +27 -27
- package/dist/types/components/BacsDD/components/validate.d.ts +6 -6
- package/dist/types/components/BacsDD/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/BankTransfer.d.ts +24 -24
- package/dist/types/components/BankTransfer/components/BankTransferInput/BankTransferInput.d.ts +4 -4
- package/dist/types/components/BankTransfer/components/BankTransferInput/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/components/BankTransferResult/BankTransferResult.d.ts +2 -2
- package/dist/types/components/BankTransfer/components/BankTransferResult/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/types.d.ts +15 -15
- package/dist/types/components/BaseElement.d.ts +57 -56
- package/dist/types/components/BcmcMobile/BcmcMobile.d.ts +48 -47
- package/dist/types/components/BcmcMobile/config.d.ts +7 -7
- package/dist/types/components/BcmcMobile/index.d.ts +1 -1
- package/dist/types/components/BillDesk/BillDeskOnline.d.ts +6 -6
- package/dist/types/components/BillDesk/BillDeskWallet.d.ts +6 -6
- package/dist/types/components/BillDesk/index.d.ts +3 -3
- package/dist/types/components/Blik/Blik.d.ts +15 -15
- package/dist/types/components/Blik/components/BlikInput.d.ts +18 -18
- package/dist/types/components/Blik/config.d.ts +15 -15
- package/dist/types/components/Blik/index.d.ts +1 -1
- package/dist/types/components/Boleto/Boleto.d.ts +24 -24
- package/dist/types/components/Boleto/components/BoletoInput/BoletoInput.d.ts +11 -11
- package/dist/types/components/Boleto/components/BoletoInput/index.d.ts +1 -1
- package/dist/types/components/Boleto/components/BoletoInput/utils.d.ts +3 -3
- package/dist/types/components/Boleto/components/BoletoInput/validate.d.ts +2 -2
- package/dist/types/components/Boleto/components/BoletoVoucherResult/BoletoVoucherResult.d.ts +4 -4
- package/dist/types/components/Boleto/components/BoletoVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Boleto/index.d.ts +1 -1
- package/dist/types/components/Boleto/types.d.ts +28 -28
- package/dist/types/components/Card/Bancontact.d.ts +77 -76
- package/dist/types/components/Card/Card.d.ts +92 -91
- package/dist/types/components/Card/components/CardInput/CardInput.d.ts +42 -42
- package/dist/types/components/Card/components/CardInput/components/BrandIcon.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CVC.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CVCHint.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CardFields.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CardHolderName.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CardNumber.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/DataSfSpan.d.ts +7 -7
- package/dist/types/components/Card/components/CardInput/components/DualBrandingIcon/DualBrandingIcon.d.ts +5 -5
- package/dist/types/components/Card/components/CardInput/components/ExpirationDate.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/Installments/Installments.d.ts +14 -14
- package/dist/types/components/Card/components/CardInput/components/Installments/index.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/components/KCPAuthentication.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/StoredCardFields.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/types.d.ts +138 -138
- package/dist/types/components/Card/components/CardInput/defaultProps.d.ts +37 -37
- package/dist/types/components/Card/components/CardInput/defaultStyles.d.ts +6 -6
- package/dist/types/components/Card/components/CardInput/index.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/types.d.ts +91 -91
- package/dist/types/components/Card/components/CardInput/utils.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/validate.d.ts +7 -7
- package/dist/types/components/Card/index.d.ts +1 -1
- package/dist/types/components/Card/types.d.ts +139 -139
- package/dist/types/components/Doku/Doku.d.ts +13 -13
- package/dist/types/components/Doku/components/DokuInput/DokuInput.d.ts +2 -2
- package/dist/types/components/Doku/components/DokuInput/index.d.ts +1 -1
- package/dist/types/components/Doku/components/DokuVoucherResult/DokuVoucherResult.d.ts +4 -4
- package/dist/types/components/Doku/components/DokuVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Doku/index.d.ts +1 -1
- package/dist/types/components/Doku/types.d.ts +18 -18
- package/dist/types/components/Donation/Donation.d.ts +26 -26
- package/dist/types/components/Donation/components/CampaignContainer.d.ts +2 -2
- package/dist/types/components/Donation/components/CampaignContent.d.ts +8 -8
- package/dist/types/components/Donation/components/DonationComponent.d.ts +13 -13
- package/dist/types/components/Donation/index.d.ts +1 -1
- package/dist/types/components/Dotpay/index.d.ts +5 -5
- package/dist/types/components/Dragonpay/Dragonpay.d.ts +57 -56
- package/dist/types/components/Dragonpay/components/DragonpayInput/DragonpayInput.d.ts +11 -11
- package/dist/types/components/Dragonpay/components/DragonpayInput/index.d.ts +1 -1
- package/dist/types/components/Dragonpay/components/DragonpayVoucherResult/DragonpayVoucherResult.d.ts +3 -3
- package/dist/types/components/Dragonpay/components/DragonpayVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Dragonpay/index.d.ts +1 -1
- package/dist/types/components/Dragonpay/types.d.ts +44 -44
- package/dist/types/components/Dropin/Dropin.d.ts +94 -45
- package/dist/types/components/Dropin/components/DropinComponent.d.ts +22 -21
- package/dist/types/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.d.ts +9 -9
- package/dist/types/components/Dropin/components/PaymentMethod/InstantPaymentMethods.d.ts +7 -0
- package/dist/types/components/Dropin/components/PaymentMethod/OrderPaymentMethods.d.ts +8 -8
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodDetails.d.ts +6 -6
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodIcon.d.ts +12 -12
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodItem.d.ts +49 -49
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodList.d.ts +32 -30
- package/dist/types/components/Dropin/components/PaymentMethod/Surcharge.d.ts +8 -8
- package/dist/types/components/Dropin/components/status/Error.d.ts +5 -5
- package/dist/types/components/Dropin/components/status/Success.d.ts +5 -5
- package/dist/types/components/Dropin/components/status/index.d.ts +10 -10
- package/dist/types/components/Dropin/components/utils.d.ts +7 -7
- package/dist/types/components/Dropin/defaultProps.d.ts +21 -20
- package/dist/types/components/Dropin/elements/createElements.d.ts +9 -9
- package/dist/types/components/Dropin/elements/createInstantPaymentElements.d.ts +10 -0
- package/dist/types/components/Dropin/elements/createStoredElements.d.ts +9 -9
- package/dist/types/components/Dropin/elements/filters.d.ts +4 -4
- package/dist/types/components/Dropin/elements/index.d.ts +2 -2
- package/dist/types/components/Dropin/index.d.ts +1 -1
- package/dist/types/components/Dropin/types.d.ts +67 -58
- package/dist/types/components/EPS/index.d.ts +6 -6
- package/dist/types/components/Econtext/Econtext.d.ts +23 -23
- package/dist/types/components/Econtext/components/EcontextInput/EcontextInput.d.ts +14 -14
- package/dist/types/components/Econtext/components/EcontextInput/index.d.ts +1 -1
- package/dist/types/components/Econtext/components/EcontextVoucherResult/EcontextVoucherResult.d.ts +4 -4
- package/dist/types/components/Econtext/components/EcontextVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Econtext/index.d.ts +1 -1
- package/dist/types/components/Econtext/types.d.ts +17 -17
- package/dist/types/components/Econtext/validate.d.ts +2 -2
- package/dist/types/components/Entercash/index.d.ts +5 -5
- package/dist/types/components/EventEmitter.d.ts +7 -7
- package/dist/types/components/FacilyPay/FacilyPay10x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay12x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay3x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay4x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay6x.d.ts +5 -5
- package/dist/types/components/FacilyPay/config.d.ts +1 -1
- package/dist/types/components/FacilyPay/index.d.ts +6 -6
- package/dist/types/components/Giftcard/Giftcard.d.ts +29 -29
- package/dist/types/components/Giftcard/components/GiftcardComponent.d.ts +43 -43
- package/dist/types/components/Giftcard/components/GiftcardResult.d.ts +10 -10
- package/dist/types/components/Giftcard/index.d.ts +1 -1
- package/dist/types/components/Giftcard/validationRules.d.ts +7 -7
- package/dist/types/components/Giropay/Giropay.d.ts +17 -17
- package/dist/types/components/Giropay/index.d.ts +1 -1
- package/dist/types/components/GooglePay/GooglePay.d.ts +75 -75
- package/dist/types/components/GooglePay/GooglePayService.d.ts +25 -25
- package/dist/types/components/GooglePay/components/GooglePayButton.d.ts +24 -24
- package/dist/types/components/GooglePay/config.d.ts +7 -7
- package/dist/types/components/GooglePay/defaultProps.d.ts +35 -35
- package/dist/types/components/GooglePay/index.d.ts +1 -1
- package/dist/types/components/GooglePay/requests.d.ts +21 -21
- package/dist/types/components/GooglePay/types.d.ts +112 -112
- package/dist/types/components/GooglePay/utils.d.ts +7 -7
- package/dist/types/components/Ideal/index.d.ts +5 -5
- package/dist/types/components/Klarna/KlarnaPayments.d.ts +22 -22
- package/dist/types/components/Klarna/components/KlarnaContainer/KlarnaContainer.d.ts +1 -1
- package/dist/types/components/Klarna/components/KlarnaWidget/KlarnaWidget.d.ts +4 -4
- package/dist/types/components/Klarna/constants.d.ts +1 -1
- package/dist/types/components/Klarna/index.d.ts +1 -1
- package/dist/types/components/Klarna/types.d.ts +40 -40
- package/dist/types/components/MBWay/MBWay.d.ts +14 -14
- package/dist/types/components/MBWay/components/MBWayAwait/config.d.ts +15 -15
- package/dist/types/components/MBWay/components/MBWayInput/MBWayInput.d.ts +10 -10
- package/dist/types/components/MBWay/components/MBWayInput/index.d.ts +1 -1
- package/dist/types/components/MBWay/components/MBWayInput/types.d.ts +17 -17
- package/dist/types/components/MBWay/index.d.ts +1 -1
- package/dist/types/components/MolPayEBanking/MolPayEBankingMY.d.ts +5 -5
- package/dist/types/components/MolPayEBanking/MolPayEBankingTH.d.ts +5 -5
- package/dist/types/components/MolPayEBanking/MolPayEBankingVN.d.ts +5 -5
- package/dist/types/components/MolPayEBanking/index.d.ts +4 -4
- package/dist/types/components/Multibanco/Multibanco.d.ts +21 -21
- package/dist/types/components/Multibanco/components/MultibancoVoucherResult/MultibancoVoucherResult.d.ts +4 -4
- package/dist/types/components/Multibanco/components/MultibancoVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Multibanco/index.d.ts +1 -1
- package/dist/types/components/Multibanco/types.d.ts +11 -11
- package/dist/types/components/OpenBankingUK/index.d.ts +5 -5
- package/dist/types/components/Oxxo/Oxxo.d.ts +18 -18
- package/dist/types/components/Oxxo/components/OxxoVoucherResult/OxxoVoucherResult.d.ts +5 -5
- package/dist/types/components/Oxxo/components/OxxoVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Oxxo/index.d.ts +1 -1
- package/dist/types/components/Oxxo/types.d.ts +11 -11
- package/dist/types/components/PayPal/Paypal.d.ts +42 -41
- package/dist/types/components/PayPal/components/PaypalButtons.d.ts +3 -3
- package/dist/types/components/PayPal/components/PaypalComponent.d.ts +3 -3
- package/dist/types/components/PayPal/config.d.ts +7 -7
- package/dist/types/components/PayPal/constants.d.ts +7 -7
- package/dist/types/components/PayPal/defaultProps.d.ts +3 -3
- package/dist/types/components/PayPal/index.d.ts +1 -1
- package/dist/types/components/PayPal/types.d.ts +155 -150
- package/dist/types/components/PayPal/utils.d.ts +15 -15
- package/dist/types/components/PayU/PayuCashcard.d.ts +6 -6
- package/dist/types/components/PayU/PayuNetBanking.d.ts +6 -6
- package/dist/types/components/PayU/index.d.ts +3 -3
- package/dist/types/components/PersonalDetails/PersonalDetails.d.ts +8 -8
- package/dist/types/components/PersonalDetails/index.d.ts +1 -1
- package/dist/types/components/Pix/Pix.d.ts +73 -72
- package/dist/types/components/Pix/PixInput/PixInput.d.ts +9 -9
- package/dist/types/components/Pix/PixInput/index.d.ts +1 -1
- package/dist/types/components/Pix/PixInput/utils.d.ts +3 -3
- package/dist/types/components/Pix/PixInput/validate.d.ts +2 -2
- package/dist/types/components/Pix/index.d.ts +1 -1
- package/dist/types/components/Pix/types.d.ts +19 -19
- package/dist/types/components/QiwiWallet/QiwiWallet.d.ts +25 -25
- package/dist/types/components/QiwiWallet/countries.d.ts +6 -6
- package/dist/types/components/QiwiWallet/index.d.ts +1 -1
- package/dist/types/components/QiwiWallet/utils.d.ts +12 -12
- package/dist/types/components/RatePay/RatePay.d.ts +5 -5
- package/dist/types/components/RatePay/config.d.ts +1 -1
- package/dist/types/components/RatePay/index.d.ts +1 -1
- package/dist/types/components/Redirect/Redirect.d.ts +28 -28
- package/dist/types/components/Redirect/components/RedirectShopper/RedirectShopper.d.ts +21 -21
- package/dist/types/components/Redirect/components/RedirectShopper/index.d.ts +1 -1
- package/dist/types/components/Redirect/index.d.ts +1 -1
- package/dist/types/components/SecuredFields/SecuredFields.d.ts +31 -31
- package/dist/types/components/SecuredFields/SecuredFieldsInput/SecuredFieldsInput.d.ts +14 -14
- package/dist/types/components/SecuredFields/SecuredFieldsInput/index.d.ts +1 -1
- package/dist/types/components/SecuredFields/index.d.ts +1 -1
- package/dist/types/components/Sepa/Sepa.d.ts +23 -23
- package/dist/types/components/Sepa/components/IbanInput/IbanInput.d.ts +43 -43
- package/dist/types/components/Sepa/components/IbanInput/index.d.ts +1 -1
- package/dist/types/components/Sepa/components/IbanInput/specifications.d.ts +1 -1
- package/dist/types/components/Sepa/components/IbanInput/utils.d.ts +13 -13
- package/dist/types/components/Sepa/components/IbanInput/validate.d.ts +15 -15
- package/dist/types/components/Sepa/index.d.ts +1 -1
- package/dist/types/components/Sepa/types.d.ts +7 -7
- package/dist/types/components/Swish/Swish.d.ts +48 -47
- package/dist/types/components/Swish/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/ThreeDS2Challenge.d.ts +24 -24
- package/dist/types/components/ThreeDS2/ThreeDS2DeviceFingerprint.d.ts +26 -26
- package/dist/types/components/ThreeDS2/callSubmit3DS2Fingerprint.d.ts +6 -6
- package/dist/types/components/ThreeDS2/components/Challenge/DoChallenge3DS2.d.ts +20 -20
- package/dist/types/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.d.ts +15 -15
- package/dist/types/components/ThreeDS2/components/Challenge/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/components/Challenge/types.d.ts +18 -18
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.d.ts +28 -28
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.d.ts +19 -19
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/types.d.ts +18 -18
- package/dist/types/components/ThreeDS2/components/Form/ThreeDS2Form.d.ts +20 -20
- package/dist/types/components/ThreeDS2/components/Form/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/components/utils.d.ts +94 -94
- package/dist/types/components/ThreeDS2/config.d.ts +31 -31
- package/dist/types/components/ThreeDS2/index.d.ts +3 -3
- package/dist/types/components/ThreeDS2/types.d.ts +43 -43
- package/dist/types/components/Twint/Twint.d.ts +23 -23
- package/dist/types/components/Twint/index.d.ts +1 -1
- package/dist/types/components/UIElement.d.ts +61 -61
- package/dist/types/components/Vipps/Vipps.d.ts +10 -10
- package/dist/types/components/Vipps/index.d.ts +1 -1
- package/dist/types/components/WeChat/WeChat.d.ts +48 -47
- package/dist/types/components/WeChat/config.d.ts +7 -7
- package/dist/types/components/WeChat/index.d.ts +1 -1
- package/dist/types/components/helpers/IssuerListContainer.d.ts +40 -40
- package/dist/types/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.d.ts +32 -32
- package/dist/types/components/helpers/OpenInvoiceContainer/index.d.ts +1 -1
- package/dist/types/components/helpers/QRLoaderContainer.d.ts +36 -36
- package/dist/types/components/index.d.ts +166 -166
- package/dist/types/components/internal/Address/Address.d.ts +14 -14
- package/dist/types/components/internal/Address/Specifications.d.ts +43 -43
- package/dist/types/components/internal/Address/components/CountryField.d.ts +3 -3
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +4 -4
- package/dist/types/components/internal/Address/components/ReadOnlyAddress.d.ts +4 -4
- package/dist/types/components/internal/Address/components/StateField.d.ts +3 -3
- package/dist/types/components/internal/Address/constants.d.ts +4 -4
- package/dist/types/components/internal/Address/index.d.ts +1 -1
- package/dist/types/components/internal/Address/types.d.ts +84 -84
- package/dist/types/components/internal/Address/validate.d.ts +2 -2
- package/dist/types/components/internal/Alert/Alert.d.ts +11 -11
- package/dist/types/components/internal/Alert/index.d.ts +1 -1
- package/dist/types/components/internal/Await/Await.d.ts +18 -18
- package/dist/types/components/internal/Await/index.d.ts +1 -1
- package/dist/types/components/internal/Await/types.d.ts +29 -29
- package/dist/types/components/internal/Button/Button.d.ts +29 -29
- package/dist/types/components/internal/Button/index.d.ts +1 -1
- package/dist/types/components/internal/Button/types.d.ts +19 -19
- package/dist/types/components/internal/ButtonGroup/ButtonGroup.d.ts +8 -8
- package/dist/types/components/internal/ButtonGroup/index.d.ts +1 -1
- package/dist/types/components/internal/CompanyDetails/CompanyDetails.d.ts +18 -18
- package/dist/types/components/internal/CompanyDetails/ReadOnlyCompanyDetails.d.ts +5 -5
- package/dist/types/components/internal/CompanyDetails/index.d.ts +1 -1
- package/dist/types/components/internal/CompanyDetails/types.d.ts +21 -21
- package/dist/types/components/internal/CompanyDetails/utils.d.ts +6 -6
- package/dist/types/components/internal/CompanyDetails/validate.d.ts +6 -6
- package/dist/types/components/internal/ContentSeparator/ContentSeparator.d.ts +7 -0
- package/dist/types/components/internal/{IssuerList/ContentSeparator → ContentSeparator}/index.d.ts +1 -1
- package/dist/types/components/internal/Countdown/index.d.ts +30 -30
- package/dist/types/components/internal/Countdown/utils.d.ts +31 -31
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +20 -20
- package/dist/types/components/internal/FormFields/Checkbox/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.d.ts +7 -7
- package/dist/types/components/internal/FormFields/ConsentCheckbox/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +32 -32
- package/dist/types/components/internal/FormFields/Field/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Field/types.d.ts +28 -28
- package/dist/types/components/internal/FormFields/Fieldset/Fieldset.d.ts +10 -10
- package/dist/types/components/internal/FormFields/Fieldset/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputBase.d.ts +9 -9
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +6 -6
- package/dist/types/components/internal/FormFields/InputDate/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts +21 -21
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +2 -2
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +2 -2
- package/dist/types/components/internal/FormFields/InputText.d.ts +2 -2
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +11 -11
- package/dist/types/components/internal/FormFields/RadioGroup/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +16 -16
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +15 -15
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/constants.d.ts +8 -8
- package/dist/types/components/internal/FormFields/Select/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +54 -54
- package/dist/types/components/internal/FormFields/index.d.ts +4 -4
- package/dist/types/components/internal/FormFields/utils.d.ts +2 -2
- package/dist/types/components/internal/IFrame/Iframe.d.ts +41 -41
- package/dist/types/components/internal/IFrame/index.d.ts +1 -1
- package/dist/types/components/internal/Icon/Icon.d.ts +7 -7
- package/dist/types/components/internal/Icon/index.d.ts +1 -1
- package/dist/types/components/internal/Img/Img.d.ts +4 -4
- package/dist/types/components/internal/Img/index.d.ts +1 -1
- package/dist/types/components/internal/Img/types.d.ts +16 -16
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.d.ts +11 -11
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.d.ts +10 -10
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/index.d.ts +1 -1
- package/dist/types/components/internal/IssuerList/IssuerList.d.ts +10 -10
- package/dist/types/components/internal/IssuerList/index.d.ts +1 -1
- package/dist/types/components/internal/IssuerList/types.d.ts +16 -16
- package/dist/types/components/internal/LoadingWrapper/LoadingWrapper.d.ts +7 -7
- package/dist/types/components/internal/LoadingWrapper/index.d.ts +1 -1
- package/dist/types/components/internal/OpenInvoice/OpenInvoice.d.ts +4 -4
- package/dist/types/components/internal/OpenInvoice/index.d.ts +1 -1
- package/dist/types/components/internal/OpenInvoice/types.d.ts +57 -57
- package/dist/types/components/internal/OpenInvoice/utils.d.ts +4 -4
- package/dist/types/components/internal/PayButton/PayButton.d.ts +16 -16
- package/dist/types/components/internal/PayButton/index.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/PersonalDetails.d.ts +15 -15
- package/dist/types/components/internal/PersonalDetails/ReadOnlyPersonalDetails.d.ts +5 -5
- package/dist/types/components/internal/PersonalDetails/index.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/types.d.ts +42 -42
- package/dist/types/components/internal/PersonalDetails/utils.d.ts +10 -10
- package/dist/types/components/internal/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +9 -9
- package/dist/types/components/internal/PhoneInput/index.d.ts +1 -1
- package/dist/types/components/internal/PhoneInput/types.d.ts +29 -29
- package/dist/types/components/internal/PhoneInput/validate.d.ts +5 -5
- package/dist/types/components/internal/QRLoader/QRLoader.d.ts +33 -33
- package/dist/types/components/internal/QRLoader/index.d.ts +1 -1
- package/dist/types/components/internal/QRLoader/types.d.ts +34 -34
- package/dist/types/components/internal/RedirectButton/RedirectButton.d.ts +9 -9
- package/dist/types/components/internal/RedirectButton/index.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/SecuredFieldsProvider.d.ts +93 -93
- package/dist/types/components/internal/SecuredFields/SecuredFieldsProviderHandlers.d.ts +48 -48
- package/dist/types/components/internal/SecuredFields/binLookup/createCardVariantSwitcher.d.ts +10 -10
- package/dist/types/components/internal/SecuredFields/binLookup/extensions.d.ts +15 -15
- package/dist/types/components/internal/SecuredFields/binLookup/sortBinLookupBrands.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/binLookup/triggerBinLookUp.d.ts +3 -3
- package/dist/types/components/internal/SecuredFields/defaultProps.d.ts +104 -104
- package/dist/types/components/internal/SecuredFields/lib/configuration/configureCallbacks.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/configuration/constants.d.ts +29 -29
- package/dist/types/components/internal/SecuredFields/lib/configuration/handleConfig.d.ts +7 -7
- package/dist/types/components/internal/SecuredFields/lib/core/AbstractCSF.d.ts +42 -42
- package/dist/types/components/internal/SecuredFields/lib/core/AbstractSecuredField.d.ts +97 -97
- package/dist/types/components/internal/SecuredFields/lib/core/CSF.d.ts +12 -12
- package/dist/types/components/internal/SecuredFields/lib/core/SecuredField.d.ts +39 -39
- package/dist/types/components/internal/SecuredFields/lib/core/createSecuredFields.d.ts +8 -8
- package/dist/types/components/internal/SecuredFields/lib/core/destroySecuredFields.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/handleEncryption.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/handleValidation.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/initCSF.d.ts +3 -3
- package/dist/types/components/internal/SecuredFields/lib/core/utils/callbackUtils.d.ts +12 -12
- package/dist/types/components/internal/SecuredFields/lib/core/utils/getCardGroupTypes.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/handleBinValue.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/handleBrandFromBinLookup.d.ts +5 -5
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/handleFocus.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/handleIframeConfigFeedback.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/postMessageToAllIframes.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/postMessageToIframe.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/postMessageValidation.d.ts +3 -3
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/setFocusOnFrame.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/init/processAriaConfig.d.ts +12 -12
- package/dist/types/components/internal/SecuredFields/lib/core/utils/init/processPlaceholders.d.ts +5 -5
- package/dist/types/components/internal/SecuredFields/lib/core/utils/isConfigured.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/processAutoComplete.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/processBrand.d.ts +8 -8
- package/dist/types/components/internal/SecuredFields/lib/core/utils/processErrors.d.ts +5 -5
- package/dist/types/components/internal/SecuredFields/lib/core/utils/registerAdditionalField.d.ts +9 -9
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/handleTab.d.ts +7 -7
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioACH.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioCreditCard.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioGiftCard.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioKCP.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/validateForm.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/index.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/types.d.ts +262 -262
- package/dist/types/components/internal/SecuredFields/lib/ui/domUtils.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/ui/encryptedElements.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/utilities/cardType.d.ts +15 -15
- package/dist/types/components/internal/SecuredFields/lib/utilities/commonUtils.d.ts +39 -39
- package/dist/types/components/internal/SecuredFields/lib/utilities/createIframe.d.ts +6 -6
- package/dist/types/components/internal/SecuredFields/lib/utilities/dom.d.ts +6 -6
- package/dist/types/components/internal/SecuredFields/lib/utilities/logger.d.ts +17 -17
- package/dist/types/components/internal/SecuredFields/lib/utilities/userAgent.d.ts +8 -8
- package/dist/types/components/internal/SecuredFields/utils.d.ts +57 -57
- package/dist/types/components/internal/SendCopyToEmail/SendCopyToEmail.d.ts +2 -2
- package/dist/types/components/internal/SendCopyToEmail/index.d.ts +1 -1
- package/dist/types/components/internal/SocialSecurityNumberBrazil/BrazilPersonalDetail.d.ts +2 -2
- package/dist/types/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.d.ts +8 -8
- package/dist/types/components/internal/SocialSecurityNumberBrazil/constants.d.ts +1 -1
- package/dist/types/components/internal/SocialSecurityNumberBrazil/utils.d.ts +4 -4
- package/dist/types/components/internal/SocialSecurityNumberBrazil/validate.d.ts +1 -1
- package/dist/types/components/internal/Spinner/Spinner.d.ts +18 -18
- package/dist/types/components/internal/Spinner/index.d.ts +1 -1
- package/dist/types/components/internal/StoreDetails/StoreDetails.d.ts +9 -9
- package/dist/types/components/internal/StoreDetails/index.d.ts +1 -1
- package/dist/types/components/internal/Voucher/Voucher.d.ts +4 -4
- package/dist/types/components/internal/Voucher/index.d.ts +1 -1
- package/dist/types/components/internal/Voucher/types.d.ts +34 -34
- package/dist/types/components/types.d.ts +49 -48
- package/dist/types/components/utils.d.ts +3 -3
- package/dist/types/core/Analytics/Analytics.d.ts +13 -13
- package/dist/types/core/Analytics/EventsQueue.d.ts +7 -7
- package/dist/types/core/Analytics/index.d.ts +1 -1
- package/dist/types/core/Analytics/types.d.ts +32 -32
- package/dist/types/core/CheckoutSession/CheckoutSession.d.ts +47 -47
- package/dist/types/core/CheckoutSession/index.d.ts +1 -1
- package/dist/types/core/CheckoutSession/utils.d.ts +2 -2
- package/dist/types/core/Context/CoreContext.d.ts +5 -5
- package/dist/types/core/Context/CoreProvider.d.ts +18 -18
- package/dist/types/core/Context/useCoreContext.d.ts +5 -5
- package/dist/types/core/Environment/Environment.d.ts +3 -3
- package/dist/types/core/Environment/index.d.ts +1 -1
- package/dist/types/core/Errors/AdyenCheckoutError.d.ts +14 -14
- package/dist/types/core/Errors/constants.d.ts +29 -29
- package/dist/types/core/Errors/utils.d.ts +15 -15
- package/dist/types/core/ProcessResponse/PaymentAction/PaymentAction.d.ts +3 -3
- package/dist/types/core/ProcessResponse/PaymentAction/actionTypes.d.ts +13 -13
- package/dist/types/core/ProcessResponse/PaymentAction/index.d.ts +1 -1
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/PaymentMethodsResponse.d.ts +9 -9
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/filters.d.ts +4 -4
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/index.d.ts +1 -1
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/types.d.ts +13 -13
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/utils.d.ts +10 -10
- package/dist/types/core/ProcessResponse/index.d.ts +1 -1
- package/dist/types/core/ProcessResponse/process-response.d.ts +8 -8
- package/dist/types/core/RiskModule/RiskModule.d.ts +35 -35
- package/dist/types/core/RiskModule/components/DeviceFingerprint/DeviceFingerprint.d.ts +16 -16
- package/dist/types/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.d.ts +14 -14
- package/dist/types/core/RiskModule/components/DeviceFingerprint/index.d.ts +1 -1
- package/dist/types/core/RiskModule/components/DeviceFingerprint/types.d.ts +15 -15
- package/dist/types/core/RiskModule/components/DeviceFingerprint/utils.d.ts +6 -6
- package/dist/types/core/RiskModule/constants.d.ts +31 -31
- package/dist/types/core/RiskModule/index.d.ts +1 -1
- package/dist/types/core/Services/analytics/collect-id.d.ts +11 -11
- package/dist/types/core/Services/analytics/log-event.d.ts +7 -7
- package/dist/types/core/Services/analytics/post-telemetry.d.ts +6 -6
- package/dist/types/core/Services/fetch.d.ts +2 -2
- package/dist/types/core/Services/get-dataset.d.ts +1 -1
- package/dist/types/core/Services/http.d.ts +14 -14
- package/dist/types/core/Services/order-status.d.ts +5 -5
- package/dist/types/core/Services/payment-status.d.ts +8 -8
- package/dist/types/core/Services/sessions/check-balance.d.ts +6 -6
- package/dist/types/core/Services/sessions/constants.d.ts +1 -1
- package/dist/types/core/Services/sessions/create-order.d.ts +6 -6
- package/dist/types/core/Services/sessions/make-payment.d.ts +6 -6
- package/dist/types/core/Services/sessions/setup-session.d.ts +6 -6
- package/dist/types/core/Services/sessions/submit-details.d.ts +6 -6
- package/dist/types/core/config.d.ts +10 -10
- package/dist/types/core/core.d.ts +58 -58
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/core/types.d.ts +60 -60
- package/dist/types/core/utils.d.ts +6 -6
- package/dist/types/index.d.ts +3 -4
- package/dist/types/language/Language.d.ts +30 -30
- package/dist/types/language/config.d.ts +221 -215
- package/dist/types/language/index.d.ts +1 -1
- package/dist/types/language/locales/index.d.ts +10735 -10435
- package/dist/types/language/types.d.ts +7 -7
- package/dist/types/language/utils.d.ts +38 -38
- package/dist/types/types/index.d.ts +214 -210
- package/dist/types/utils/Script.d.ts +24 -24
- package/dist/types/utils/Storage.d.ts +10 -10
- package/dist/types/utils/Validator/Validator.d.ts +59 -59
- package/dist/types/utils/Validator/defaultRules.d.ts +10 -10
- package/dist/types/utils/Validator/index.d.ts +1 -1
- package/dist/types/utils/amount-util.d.ts +1 -1
- package/dist/types/utils/base64.d.ts +1 -1
- package/dist/types/utils/browserInfo.d.ts +13 -13
- package/dist/types/utils/clipboard.d.ts +2 -2
- package/dist/types/utils/constants/currency-codes.d.ts +170 -170
- package/dist/types/utils/constants/currency-decimals.d.ts +28 -28
- package/dist/types/utils/get-image.d.ts +13 -13
- package/dist/types/utils/get-issuer-image.d.ts +2 -2
- package/dist/types/utils/get-process-message-handler.d.ts +11 -11
- package/dist/types/utils/getOrigin.d.ts +11 -11
- package/dist/types/utils/getProp.d.ts +14 -14
- package/dist/types/utils/hasOwnProperty.d.ts +1 -1
- package/dist/types/utils/idGenerator.d.ts +1 -1
- package/dist/types/utils/promiseTimeout.d.ts +12 -12
- package/dist/types/utils/regex.d.ts +8 -8
- package/dist/types/utils/useForm/index.d.ts +1 -1
- package/dist/types/utils/useForm/reducer.d.ts +14 -14
- package/dist/types/utils/useForm/types.d.ts +14 -14
- package/dist/types/utils/useForm/useForm.d.ts +23 -23
- package/dist/types/utils/uuid.d.ts +1 -1
- package/dist/types/utils/wait.d.ts +2 -2
- package/package.json +21 -6
- package/dist/types/components/internal/IssuerList/ContentSeparator/ContentSeparator.d.ts +0 -4
- package/dist/types/polyfills.d.ts +0 -6
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Component, h } from 'preact';
|
|
2
|
-
interface ThreeDS2FormProps {
|
|
3
|
-
name: string;
|
|
4
|
-
action: string;
|
|
5
|
-
target: string;
|
|
6
|
-
inputName: string;
|
|
7
|
-
inputValue: string;
|
|
8
|
-
}
|
|
9
|
-
export default class ThreeDS2Form extends Component<ThreeDS2FormProps> {
|
|
10
|
-
protected formEl: any;
|
|
11
|
-
componentDidMount(): void;
|
|
12
|
-
render({ name, action, target, inputName, inputValue }: {
|
|
13
|
-
name: any;
|
|
14
|
-
action: any;
|
|
15
|
-
target: any;
|
|
16
|
-
inputName: any;
|
|
17
|
-
inputValue: any;
|
|
18
|
-
}): h.JSX.Element;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
1
|
+
import { Component, h } from 'preact';
|
|
2
|
+
interface ThreeDS2FormProps {
|
|
3
|
+
name: string;
|
|
4
|
+
action: string;
|
|
5
|
+
target: string;
|
|
6
|
+
inputName: string;
|
|
7
|
+
inputValue: string;
|
|
8
|
+
}
|
|
9
|
+
export default class ThreeDS2Form extends Component<ThreeDS2FormProps> {
|
|
10
|
+
protected formEl: any;
|
|
11
|
+
componentDidMount(): void;
|
|
12
|
+
render({ name, action, target, inputName, inputValue }: {
|
|
13
|
+
name: any;
|
|
14
|
+
action: any;
|
|
15
|
+
target: any;
|
|
16
|
+
inputName: any;
|
|
17
|
+
inputValue: any;
|
|
18
|
+
}): h.JSX.Element;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './ThreeDS2Form';
|
|
1
|
+
export { default } from './ThreeDS2Form';
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
import { ChallengeData, ThreeDS2Token, FingerPrintData, ResultObject } from '../types';
|
|
2
|
-
export interface FingerprintResolveData {
|
|
3
|
-
data: {
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
paymentData: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export interface ChallengeResolveData {
|
|
9
|
-
data: {
|
|
10
|
-
details: {
|
|
11
|
-
[key: string]: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface ErrorObject {
|
|
16
|
-
errorCode: string;
|
|
17
|
-
message: string;
|
|
18
|
-
}
|
|
19
|
-
export declare const decodeAndParseToken: (token: string) => ThreeDS2Token;
|
|
20
|
-
/**
|
|
21
|
-
* Performs JSON.stringify on passed object & and base64 encodes result
|
|
22
|
-
* @param obj -
|
|
23
|
-
* @returns encoded result
|
|
24
|
-
*/
|
|
25
|
-
export declare const encodeObject: (obj: any) => string;
|
|
26
|
-
/**
|
|
27
|
-
* Accepts a size string for the challenge window & returns it if it is valid else returns a default value
|
|
28
|
-
* @param sizeStr - the size string to check the validity of
|
|
29
|
-
* @returns a valid size string
|
|
30
|
-
*/
|
|
31
|
-
export declare const validateChallengeWindowSize: (sizeStr: string) => string;
|
|
32
|
-
/**
|
|
33
|
-
* Accepts a size string for the challenge window & returns the corresponding array of w/h values
|
|
34
|
-
* @param sizeStr -
|
|
35
|
-
*/
|
|
36
|
-
export declare const getChallengeWindowSize: (sizeStr: string) => string[];
|
|
37
|
-
/**
|
|
38
|
-
* prepareChallengeData
|
|
39
|
-
*
|
|
40
|
-
* Requires an object containing the challenge parameters:
|
|
41
|
-
* @param token - challengeToken string received from /submitThreeDS2Fingerprint, /details or /payments call: contains acsTransID, acsURL, messageVersion,
|
|
42
|
-
* threeDSNotificationURL and threeDSServerTransID
|
|
43
|
-
* @param size - one of five possible challenge window sizes
|
|
44
|
-
*/
|
|
45
|
-
export declare const prepareChallengeData: ({ token, size }: {
|
|
46
|
-
token: any;
|
|
47
|
-
size: any;
|
|
48
|
-
}) => ChallengeData;
|
|
49
|
-
/**
|
|
50
|
-
* prepareFingerPrintData
|
|
51
|
-
*
|
|
52
|
-
* Requires an object containing the fingerprint parameters:
|
|
53
|
-
* @param token - fingerprintToken string received from /payments call: contains threeDSMethodNotificationURL, threeDSMethodUrl and
|
|
54
|
-
* threeDSServerTransID
|
|
55
|
-
* @param notificationURL - the URL that the final notification is expected to be postMessaged from.
|
|
56
|
-
*
|
|
57
|
-
* NOTE: we don't expect merchants to alter the default by passing in a notificationURL of their own via props;
|
|
58
|
-
* and if 3DS2 is being done via createFromAction or handleAction we won't accept it.
|
|
59
|
-
* But if the merchant is using checkout.create('threeDS2DeviceFingerprint') we still support the fact that they might want to set their own
|
|
60
|
-
* notificationURL (aka threeDSMethodNotificationURL)
|
|
61
|
-
*/
|
|
62
|
-
export declare const prepareFingerPrintData: ({ token, notificationURL }: {
|
|
63
|
-
token: any;
|
|
64
|
-
notificationURL: any;
|
|
65
|
-
}) => FingerPrintData;
|
|
66
|
-
export declare const createFingerprintResolveData: (dataKey: string, resultObj: ResultObject, paymentData: string) => FingerprintResolveData;
|
|
67
|
-
export declare const createOldFingerprintResolveData: (dataKey: string, resultObj: ResultObject, paymentData: string) => any;
|
|
68
|
-
export declare const createChallengeResolveData: (dataKey: string, transStatus: string, authorisationToken: string) => ChallengeResolveData;
|
|
69
|
-
export declare const createOldChallengeResolveData: (dataKey: string, transStatus: string, authorisationToken: string) => any;
|
|
70
|
-
export declare const handleErrorCode: (errorCode: string) => ErrorObject;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* Takes a string and encodes it as a base64url string
|
|
74
|
-
* (https://en.wikipedia.org/wiki/Base64#URL_applications)
|
|
75
|
-
* (See also https://tools.ietf.org/html/rfc7515)
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* ```
|
|
79
|
-
* const jsonStr = JSON.stringify( {name:'john', surname:'smith'} );
|
|
80
|
-
* const base64url = encodeBase64URL(jsonStr);
|
|
81
|
-
* ```
|
|
82
|
-
*
|
|
83
|
-
* @param dataStr - data, as a string, to be encoded
|
|
84
|
-
*
|
|
85
|
-
* @returns base64URL - a base64url encoded string
|
|
86
|
-
*/
|
|
87
|
-
export declare const encodeBase64URL: (dataStr: string) => string;
|
|
88
|
-
/**
|
|
89
|
-
* Add props specifically needed for the type of 3DS2 flow: fingerprint or challenge
|
|
90
|
-
*
|
|
91
|
-
* @param actionSubtype - 3DS2 flow type: fingerprint or challenge
|
|
92
|
-
* @param props - object from which to extract particular properties
|
|
93
|
-
*/
|
|
94
|
-
export declare const get3DS2FlowProps: (actionSubtype: any, props: any) => any;
|
|
1
|
+
import { ChallengeData, ThreeDS2Token, FingerPrintData, ResultObject } from '../types';
|
|
2
|
+
export interface FingerprintResolveData {
|
|
3
|
+
data: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
paymentData: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface ChallengeResolveData {
|
|
9
|
+
data: {
|
|
10
|
+
details: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface ErrorObject {
|
|
16
|
+
errorCode: string;
|
|
17
|
+
message: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const decodeAndParseToken: (token: string) => ThreeDS2Token;
|
|
20
|
+
/**
|
|
21
|
+
* Performs JSON.stringify on passed object & and base64 encodes result
|
|
22
|
+
* @param obj -
|
|
23
|
+
* @returns encoded result
|
|
24
|
+
*/
|
|
25
|
+
export declare const encodeObject: (obj: any) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Accepts a size string for the challenge window & returns it if it is valid else returns a default value
|
|
28
|
+
* @param sizeStr - the size string to check the validity of
|
|
29
|
+
* @returns a valid size string
|
|
30
|
+
*/
|
|
31
|
+
export declare const validateChallengeWindowSize: (sizeStr: string) => string;
|
|
32
|
+
/**
|
|
33
|
+
* Accepts a size string for the challenge window & returns the corresponding array of w/h values
|
|
34
|
+
* @param sizeStr -
|
|
35
|
+
*/
|
|
36
|
+
export declare const getChallengeWindowSize: (sizeStr: string) => string[];
|
|
37
|
+
/**
|
|
38
|
+
* prepareChallengeData
|
|
39
|
+
*
|
|
40
|
+
* Requires an object containing the challenge parameters:
|
|
41
|
+
* @param token - challengeToken string received from /submitThreeDS2Fingerprint, /details or /payments call: contains acsTransID, acsURL, messageVersion,
|
|
42
|
+
* threeDSNotificationURL and threeDSServerTransID
|
|
43
|
+
* @param size - one of five possible challenge window sizes
|
|
44
|
+
*/
|
|
45
|
+
export declare const prepareChallengeData: ({ token, size }: {
|
|
46
|
+
token: any;
|
|
47
|
+
size: any;
|
|
48
|
+
}) => ChallengeData;
|
|
49
|
+
/**
|
|
50
|
+
* prepareFingerPrintData
|
|
51
|
+
*
|
|
52
|
+
* Requires an object containing the fingerprint parameters:
|
|
53
|
+
* @param token - fingerprintToken string received from /payments call: contains threeDSMethodNotificationURL, threeDSMethodUrl and
|
|
54
|
+
* threeDSServerTransID
|
|
55
|
+
* @param notificationURL - the URL that the final notification is expected to be postMessaged from.
|
|
56
|
+
*
|
|
57
|
+
* NOTE: we don't expect merchants to alter the default by passing in a notificationURL of their own via props;
|
|
58
|
+
* and if 3DS2 is being done via createFromAction or handleAction we won't accept it.
|
|
59
|
+
* But if the merchant is using checkout.create('threeDS2DeviceFingerprint') we still support the fact that they might want to set their own
|
|
60
|
+
* notificationURL (aka threeDSMethodNotificationURL)
|
|
61
|
+
*/
|
|
62
|
+
export declare const prepareFingerPrintData: ({ token, notificationURL }: {
|
|
63
|
+
token: any;
|
|
64
|
+
notificationURL: any;
|
|
65
|
+
}) => FingerPrintData;
|
|
66
|
+
export declare const createFingerprintResolveData: (dataKey: string, resultObj: ResultObject, paymentData: string) => FingerprintResolveData;
|
|
67
|
+
export declare const createOldFingerprintResolveData: (dataKey: string, resultObj: ResultObject, paymentData: string) => any;
|
|
68
|
+
export declare const createChallengeResolveData: (dataKey: string, transStatus: string, authorisationToken: string) => ChallengeResolveData;
|
|
69
|
+
export declare const createOldChallengeResolveData: (dataKey: string, transStatus: string, authorisationToken: string) => any;
|
|
70
|
+
export declare const handleErrorCode: (errorCode: string) => ErrorObject;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* Takes a string and encodes it as a base64url string
|
|
74
|
+
* (https://en.wikipedia.org/wiki/Base64#URL_applications)
|
|
75
|
+
* (See also https://tools.ietf.org/html/rfc7515)
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```
|
|
79
|
+
* const jsonStr = JSON.stringify( {name:'john', surname:'smith'} );
|
|
80
|
+
* const base64url = encodeBase64URL(jsonStr);
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param dataStr - data, as a string, to be encoded
|
|
84
|
+
*
|
|
85
|
+
* @returns base64URL - a base64url encoded string
|
|
86
|
+
*/
|
|
87
|
+
export declare const encodeBase64URL: (dataStr: string) => string;
|
|
88
|
+
/**
|
|
89
|
+
* Add props specifically needed for the type of 3DS2 flow: fingerprint or challenge
|
|
90
|
+
*
|
|
91
|
+
* @param actionSubtype - 3DS2 flow type: fingerprint or challenge
|
|
92
|
+
* @param props - object from which to extract particular properties
|
|
93
|
+
*/
|
|
94
|
+
export declare const get3DS2FlowProps: (actionSubtype: any, props: any) => any;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ThreeDS2FlowObject } from './types';
|
|
2
|
-
export declare const DEFAULT_CHALLENGE_WINDOW_SIZE = "02";
|
|
3
|
-
export declare const THREEDS_METHOD_TIMEOUT = 10000;
|
|
4
|
-
export declare const CHALLENGE_TIMEOUT = 600000;
|
|
5
|
-
export declare const UNKNOWN_CHALLENGE_RESOLVE_OBJECT: ThreeDS2FlowObject;
|
|
6
|
-
export declare const UNKNOWN_CHALLENGE_RESOLVE_OBJECT_TIMEOUT: ThreeDS2FlowObject;
|
|
7
|
-
export declare const FAILED_METHOD_STATUS_RESOLVE_OBJECT: ThreeDS2FlowObject;
|
|
8
|
-
export declare const FAILED_METHOD_STATUS_RESOLVE_OBJECT_TIMEOUT: ThreeDS2FlowObject;
|
|
9
|
-
export declare const ERRORS: {
|
|
10
|
-
TIME_OUT: string;
|
|
11
|
-
WRONG_ORIGIN: string;
|
|
12
|
-
HTML_ELEMENT: string;
|
|
13
|
-
WRONG_DATA_TYPE: string;
|
|
14
|
-
MISSING_PROPERTY: string;
|
|
15
|
-
UNKNOWN: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const ERROR_MESSAGES: {
|
|
18
|
-
timeout: string;
|
|
19
|
-
wrongOrigin: string;
|
|
20
|
-
HTMLElementError: string;
|
|
21
|
-
wrongDataType: string;
|
|
22
|
-
missingProperty: string;
|
|
23
|
-
unknownError: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const CHALLENGE_WINDOW_SIZES: {
|
|
26
|
-
'01': string[];
|
|
27
|
-
'02': string[];
|
|
28
|
-
'03': string[];
|
|
29
|
-
'04': string[];
|
|
30
|
-
'05': string[];
|
|
31
|
-
};
|
|
1
|
+
import { ThreeDS2FlowObject } from './types';
|
|
2
|
+
export declare const DEFAULT_CHALLENGE_WINDOW_SIZE = "02";
|
|
3
|
+
export declare const THREEDS_METHOD_TIMEOUT = 10000;
|
|
4
|
+
export declare const CHALLENGE_TIMEOUT = 600000;
|
|
5
|
+
export declare const UNKNOWN_CHALLENGE_RESOLVE_OBJECT: ThreeDS2FlowObject;
|
|
6
|
+
export declare const UNKNOWN_CHALLENGE_RESOLVE_OBJECT_TIMEOUT: ThreeDS2FlowObject;
|
|
7
|
+
export declare const FAILED_METHOD_STATUS_RESOLVE_OBJECT: ThreeDS2FlowObject;
|
|
8
|
+
export declare const FAILED_METHOD_STATUS_RESOLVE_OBJECT_TIMEOUT: ThreeDS2FlowObject;
|
|
9
|
+
export declare const ERRORS: {
|
|
10
|
+
TIME_OUT: string;
|
|
11
|
+
WRONG_ORIGIN: string;
|
|
12
|
+
HTML_ELEMENT: string;
|
|
13
|
+
WRONG_DATA_TYPE: string;
|
|
14
|
+
MISSING_PROPERTY: string;
|
|
15
|
+
UNKNOWN: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const ERROR_MESSAGES: {
|
|
18
|
+
timeout: string;
|
|
19
|
+
wrongOrigin: string;
|
|
20
|
+
HTMLElementError: string;
|
|
21
|
+
wrongDataType: string;
|
|
22
|
+
missingProperty: string;
|
|
23
|
+
unknownError: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const CHALLENGE_WINDOW_SIZES: {
|
|
26
|
+
'01': string[];
|
|
27
|
+
'02': string[];
|
|
28
|
+
'03': string[];
|
|
29
|
+
'04': string[];
|
|
30
|
+
'05': string[];
|
|
31
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ThreeDS2Challenge from './ThreeDS2Challenge';
|
|
2
|
-
import ThreeDS2DeviceFingerprint from './ThreeDS2DeviceFingerprint';
|
|
3
|
-
export { ThreeDS2Challenge, ThreeDS2DeviceFingerprint };
|
|
1
|
+
import ThreeDS2Challenge from './ThreeDS2Challenge';
|
|
2
|
+
import ThreeDS2DeviceFingerprint from './ThreeDS2DeviceFingerprint';
|
|
3
|
+
export { ThreeDS2Challenge, ThreeDS2DeviceFingerprint };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* See
|
|
3
|
-
* https://docs.adyen.com/checkout/3d-secure/api-reference#threeds2result
|
|
4
|
-
* Indicates whether a transaction was authenticated, or whether additional verification is required.
|
|
5
|
-
*/
|
|
6
|
-
export declare type ResultValue = 'Y' | 'N' | 'U' | 'A' | 'C' | 'R';
|
|
7
|
-
export interface CReqData {
|
|
8
|
-
acsTransID: string;
|
|
9
|
-
messageVersion: string;
|
|
10
|
-
threeDSServerTransID: string;
|
|
11
|
-
messageType: string;
|
|
12
|
-
challengeWindowSize: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ChallengeData {
|
|
15
|
-
acsURL: string;
|
|
16
|
-
cReqData: CReqData;
|
|
17
|
-
iframeSizeArr: string[];
|
|
18
|
-
postMessageDomain: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ResultObject {
|
|
21
|
-
transStatus?: ResultValue;
|
|
22
|
-
threeDSCompInd?: ResultValue;
|
|
23
|
-
}
|
|
24
|
-
export interface ThreeDS2FlowObject {
|
|
25
|
-
result: ResultObject;
|
|
26
|
-
type: 'ChallengeShopper' | 'IdentifyShopper' | 'challengeResult' | 'fingerPrintResult';
|
|
27
|
-
errorCode?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ThreeDS2Token {
|
|
30
|
-
acsTransID?: string;
|
|
31
|
-
acsURL?: string;
|
|
32
|
-
messageVersion?: string;
|
|
33
|
-
threeDSNotificationURL?: string;
|
|
34
|
-
threeDSServerTransID?: string;
|
|
35
|
-
threeDSMethodNotificationURL?: string;
|
|
36
|
-
threeDSMethodUrl?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface FingerPrintData {
|
|
39
|
-
threeDSServerTransID: string;
|
|
40
|
-
threeDSMethodURL: string;
|
|
41
|
-
threeDSMethodNotificationURL: string;
|
|
42
|
-
postMessageDomain: string;
|
|
43
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* See
|
|
3
|
+
* https://docs.adyen.com/checkout/3d-secure/api-reference#threeds2result
|
|
4
|
+
* Indicates whether a transaction was authenticated, or whether additional verification is required.
|
|
5
|
+
*/
|
|
6
|
+
export declare type ResultValue = 'Y' | 'N' | 'U' | 'A' | 'C' | 'R';
|
|
7
|
+
export interface CReqData {
|
|
8
|
+
acsTransID: string;
|
|
9
|
+
messageVersion: string;
|
|
10
|
+
threeDSServerTransID: string;
|
|
11
|
+
messageType: string;
|
|
12
|
+
challengeWindowSize: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ChallengeData {
|
|
15
|
+
acsURL: string;
|
|
16
|
+
cReqData: CReqData;
|
|
17
|
+
iframeSizeArr: string[];
|
|
18
|
+
postMessageDomain: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ResultObject {
|
|
21
|
+
transStatus?: ResultValue;
|
|
22
|
+
threeDSCompInd?: ResultValue;
|
|
23
|
+
}
|
|
24
|
+
export interface ThreeDS2FlowObject {
|
|
25
|
+
result: ResultObject;
|
|
26
|
+
type: 'ChallengeShopper' | 'IdentifyShopper' | 'challengeResult' | 'fingerPrintResult';
|
|
27
|
+
errorCode?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ThreeDS2Token {
|
|
30
|
+
acsTransID?: string;
|
|
31
|
+
acsURL?: string;
|
|
32
|
+
messageVersion?: string;
|
|
33
|
+
threeDSNotificationURL?: string;
|
|
34
|
+
threeDSServerTransID?: string;
|
|
35
|
+
threeDSMethodNotificationURL?: string;
|
|
36
|
+
threeDSMethodUrl?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface FingerPrintData {
|
|
39
|
+
threeDSServerTransID: string;
|
|
40
|
+
threeDSMethodURL: string;
|
|
41
|
+
threeDSMethodNotificationURL: string;
|
|
42
|
+
postMessageDomain: string;
|
|
43
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import RedirectElement from "../Redirect";
|
|
2
|
-
import { h } from "preact";
|
|
3
|
-
/**
|
|
4
|
-
* TwintElement
|
|
5
|
-
*/
|
|
6
|
-
declare class TwintElement extends RedirectElement {
|
|
7
|
-
static type: string;
|
|
8
|
-
static defaultProps: {
|
|
9
|
-
type: string;
|
|
10
|
-
showPayButton: boolean;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Get the element displayable name
|
|
14
|
-
*/
|
|
15
|
-
get displayName(): string;
|
|
16
|
-
payButtonLabel(): string;
|
|
17
|
-
/**
|
|
18
|
-
* Overrides RedirectElement default payButton behaviour to use label
|
|
19
|
-
* @param props - props
|
|
20
|
-
*/
|
|
21
|
-
payButton: (props: any) => h.JSX.Element;
|
|
22
|
-
}
|
|
23
|
-
export default TwintElement;
|
|
1
|
+
import RedirectElement from "../Redirect";
|
|
2
|
+
import { h } from "preact";
|
|
3
|
+
/**
|
|
4
|
+
* TwintElement
|
|
5
|
+
*/
|
|
6
|
+
declare class TwintElement extends RedirectElement {
|
|
7
|
+
static type: string;
|
|
8
|
+
static defaultProps: {
|
|
9
|
+
type: string;
|
|
10
|
+
showPayButton: boolean;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Get the element displayable name
|
|
14
|
+
*/
|
|
15
|
+
get displayName(): string;
|
|
16
|
+
payButtonLabel(): string;
|
|
17
|
+
/**
|
|
18
|
+
* Overrides RedirectElement default payButton behaviour to use label
|
|
19
|
+
* @param props - props
|
|
20
|
+
*/
|
|
21
|
+
payButton: (props: any) => h.JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export default TwintElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './Twint';
|
|
1
|
+
export { default } from './Twint';
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { h } from 'preact';
|
|
2
|
-
import BaseElement from './BaseElement';
|
|
3
|
-
import { Order, PaymentAction } from '../types';
|
|
4
|
-
import { UIElementProps } from './types';
|
|
5
|
-
import AdyenCheckoutError from '../core/Errors/AdyenCheckoutError';
|
|
6
|
-
export declare class UIElement<P extends UIElementProps = any> extends BaseElement<P> {
|
|
7
|
-
protected componentRef: any;
|
|
8
|
-
elementRef: any;
|
|
9
|
-
constructor(props: P);
|
|
10
|
-
setState(newState: object): void;
|
|
11
|
-
onChange(): object;
|
|
12
|
-
onSubmit(): void;
|
|
13
|
-
onValid(): {
|
|
14
|
-
data: any;
|
|
15
|
-
};
|
|
16
|
-
onComplete(state: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* Submit payment method data. If the form is not valid, it will trigger validation.
|
|
19
|
-
*/
|
|
20
|
-
submit(): void;
|
|
21
|
-
showValidation(): this;
|
|
22
|
-
setStatus(status: any, props?: any): this;
|
|
23
|
-
submitPayment(data: any): Promise<void>;
|
|
24
|
-
submitAdditionalDetails(data: any): Promise<void>;
|
|
25
|
-
protected handleError: (error: AdyenCheckoutError) => void;
|
|
26
|
-
protected handleAdditionalDetails: (state: any) => any;
|
|
27
|
-
handleAction(action: PaymentAction, props?: {}): UIElement;
|
|
28
|
-
protected handleOrder: (order: Order) => void;
|
|
29
|
-
protected handleFinalResult: (result: any) => any;
|
|
30
|
-
/**
|
|
31
|
-
* Handles a session /payments or /payments/details response.
|
|
32
|
-
* The component will handle automatically actions, orders, and final results.
|
|
33
|
-
* @param rawResponse -
|
|
34
|
-
*/
|
|
35
|
-
protected handleResponse(rawResponse: any): void;
|
|
36
|
-
/**
|
|
37
|
-
* Get the current validation status of the element
|
|
38
|
-
*/
|
|
39
|
-
get isValid(): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Get the element icon URL for the current environment
|
|
42
|
-
*/
|
|
43
|
-
get icon(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Get the element's displayable name
|
|
46
|
-
*/
|
|
47
|
-
get displayName(): string;
|
|
48
|
-
/**
|
|
49
|
-
* Get the element accessible name, used in the aria-label of the button that controls selected payment method
|
|
50
|
-
*/
|
|
51
|
-
get accessibleName(): string;
|
|
52
|
-
/**
|
|
53
|
-
* Return the type of an element
|
|
54
|
-
*/
|
|
55
|
-
get type(): string;
|
|
56
|
-
/**
|
|
57
|
-
* Get the payButton component for the current element
|
|
58
|
-
*/
|
|
59
|
-
payButton: (props: any) => h.JSX.Element;
|
|
60
|
-
}
|
|
61
|
-
export default UIElement;
|
|
1
|
+
import { h } from 'preact';
|
|
2
|
+
import BaseElement from './BaseElement';
|
|
3
|
+
import { Order, PaymentAction } from '../types';
|
|
4
|
+
import { UIElementProps } from './types';
|
|
5
|
+
import AdyenCheckoutError from '../core/Errors/AdyenCheckoutError';
|
|
6
|
+
export declare class UIElement<P extends UIElementProps = any> extends BaseElement<P> {
|
|
7
|
+
protected componentRef: any;
|
|
8
|
+
elementRef: any;
|
|
9
|
+
constructor(props: P);
|
|
10
|
+
setState(newState: object): void;
|
|
11
|
+
onChange(): object;
|
|
12
|
+
onSubmit(): void;
|
|
13
|
+
onValid(): {
|
|
14
|
+
data: any;
|
|
15
|
+
};
|
|
16
|
+
onComplete(state: any): void;
|
|
17
|
+
/**
|
|
18
|
+
* Submit payment method data. If the form is not valid, it will trigger validation.
|
|
19
|
+
*/
|
|
20
|
+
submit(): void;
|
|
21
|
+
showValidation(): this;
|
|
22
|
+
setStatus(status: any, props?: any): this;
|
|
23
|
+
submitPayment(data: any): Promise<void>;
|
|
24
|
+
submitAdditionalDetails(data: any): Promise<void>;
|
|
25
|
+
protected handleError: (error: AdyenCheckoutError) => void;
|
|
26
|
+
protected handleAdditionalDetails: (state: any) => any;
|
|
27
|
+
handleAction(action: PaymentAction, props?: {}): UIElement;
|
|
28
|
+
protected handleOrder: (order: Order) => void;
|
|
29
|
+
protected handleFinalResult: (result: any) => any;
|
|
30
|
+
/**
|
|
31
|
+
* Handles a session /payments or /payments/details response.
|
|
32
|
+
* The component will handle automatically actions, orders, and final results.
|
|
33
|
+
* @param rawResponse -
|
|
34
|
+
*/
|
|
35
|
+
protected handleResponse(rawResponse: any): void;
|
|
36
|
+
/**
|
|
37
|
+
* Get the current validation status of the element
|
|
38
|
+
*/
|
|
39
|
+
get isValid(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Get the element icon URL for the current environment
|
|
42
|
+
*/
|
|
43
|
+
get icon(): string;
|
|
44
|
+
/**
|
|
45
|
+
* Get the element's displayable name
|
|
46
|
+
*/
|
|
47
|
+
get displayName(): string;
|
|
48
|
+
/**
|
|
49
|
+
* Get the element accessible name, used in the aria-label of the button that controls selected payment method
|
|
50
|
+
*/
|
|
51
|
+
get accessibleName(): string;
|
|
52
|
+
/**
|
|
53
|
+
* Return the type of an element
|
|
54
|
+
*/
|
|
55
|
+
get type(): string;
|
|
56
|
+
/**
|
|
57
|
+
* Get the payButton component for the current element
|
|
58
|
+
*/
|
|
59
|
+
payButton: (props: any) => h.JSX.Element;
|
|
60
|
+
}
|
|
61
|
+
export default UIElement;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import RedirectElement from '../Redirect';
|
|
2
|
-
declare class VippsElement extends RedirectElement {
|
|
3
|
-
static type: string;
|
|
4
|
-
static defaultProps: {
|
|
5
|
-
type: string;
|
|
6
|
-
showPayButton: boolean;
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export default VippsElement;
|
|
1
|
+
import RedirectElement from '../Redirect';
|
|
2
|
+
declare class VippsElement extends RedirectElement {
|
|
3
|
+
static type: string;
|
|
4
|
+
static defaultProps: {
|
|
5
|
+
type: string;
|
|
6
|
+
showPayButton: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export default VippsElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './Vipps';
|
|
1
|
+
export { default } from './Vipps';
|