@adyen/adyen-web 4.8.0 → 5.2.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.
Files changed (108) hide show
  1. package/dist/adyen.css +5 -1
  2. package/dist/adyen.css.map +1 -1
  3. package/dist/adyen.js +1 -1
  4. package/dist/adyen.js.map +1 -1
  5. package/dist/cjs/adyen.css +5 -1
  6. package/dist/cjs/adyen.css.map +1 -1
  7. package/dist/cjs/index.js +1 -1
  8. package/dist/es/adyen.css +5 -1
  9. package/dist/es/adyen.css.map +1 -1
  10. package/dist/es/index.js +1 -1
  11. package/dist/es/it-IT.js +1 -1
  12. package/dist/types/components/ApplePay/ApplePay.d.ts +1 -4
  13. package/dist/types/components/ApplePay/defaultProps.d.ts +0 -2
  14. package/dist/types/components/ApplePay/types.d.ts +1 -4
  15. package/dist/types/components/BacsDD/components/types.d.ts +1 -1
  16. package/dist/types/components/BankTransfer/types.d.ts +1 -1
  17. package/dist/types/components/BaseElement.d.ts +2 -13
  18. package/dist/types/components/BcmcMobile/BcmcMobile.d.ts +8 -1
  19. package/dist/types/components/Blik/components/BlikInput.d.ts +1 -1
  20. package/dist/types/components/Card/Bancontact.d.ts +14 -3
  21. package/dist/types/components/Card/Card.d.ts +9 -1
  22. package/dist/types/components/Card/components/CardInput/components/CardFields.d.ts +1 -1
  23. package/dist/types/components/Card/components/CardInput/components/types.d.ts +6 -5
  24. package/dist/types/components/Card/components/CardInput/types.d.ts +4 -3
  25. package/dist/types/components/Card/components/CardInput/validate.d.ts +1 -1
  26. package/dist/types/components/Card/types.d.ts +4 -2
  27. package/dist/types/components/Dragonpay/Dragonpay.d.ts +9 -4
  28. package/dist/types/components/Dragonpay/types.d.ts +1 -1
  29. package/dist/types/components/Dropin/Dropin.d.ts +0 -3
  30. package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodIcon.d.ts +3 -3
  31. package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodItem.d.ts +1 -0
  32. package/dist/types/components/Dropin/components/utils.d.ts +2 -0
  33. package/dist/types/components/Dropin/defaultProps.d.ts +0 -2
  34. package/dist/types/components/Dropin/types.d.ts +2 -1
  35. package/dist/types/components/Econtext/Econtext.d.ts +11 -1
  36. package/dist/types/components/Econtext/components/EcontextInput/EcontextInput.d.ts +14 -2
  37. package/dist/types/components/Giftcard/Giftcard.d.ts +3 -2
  38. package/dist/types/components/GooglePay/GooglePay.d.ts +0 -4
  39. package/dist/types/components/GooglePay/defaultProps.d.ts +0 -2
  40. package/dist/types/components/GooglePay/types.d.ts +1 -1
  41. package/dist/types/components/Klarna/constants.d.ts +0 -5
  42. package/dist/types/components/Klarna/types.d.ts +9 -3
  43. package/dist/types/components/MBWay/components/MBWayInput/types.d.ts +1 -1
  44. package/dist/types/components/PayPal/Paypal.d.ts +1 -2
  45. package/dist/types/components/PayPal/types.d.ts +6 -1
  46. package/dist/types/components/Pix/Pix.d.ts +32 -2
  47. package/dist/types/components/Pix/PixInput/PixInput.d.ts +9 -0
  48. package/dist/types/components/Pix/PixInput/index.d.ts +1 -0
  49. package/dist/types/components/Pix/PixInput/utils.d.ts +3 -0
  50. package/dist/types/components/Pix/PixInput/validate.d.ts +2 -0
  51. package/dist/types/components/Pix/types.d.ts +19 -0
  52. package/dist/types/components/Redirect/components/RedirectShopper/RedirectShopper.d.ts +2 -3
  53. package/dist/types/components/Swish/Swish.d.ts +8 -1
  54. package/dist/types/components/UIElement.d.ts +34 -26
  55. package/dist/types/components/WeChat/WeChat.d.ts +8 -1
  56. package/dist/types/components/helpers/IssuerListContainer.d.ts +8 -8
  57. package/dist/types/components/helpers/QRLoaderContainer.d.ts +5 -3
  58. package/dist/types/components/index.d.ts +1 -1
  59. package/dist/types/components/internal/Await/types.d.ts +1 -1
  60. package/dist/types/components/internal/IssuerList/ContentSeparator/ContentSeparator.d.ts +4 -0
  61. package/dist/types/components/internal/IssuerList/ContentSeparator/index.d.ts +1 -0
  62. package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.d.ts +11 -0
  63. package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.d.ts +10 -0
  64. package/dist/types/components/internal/IssuerList/IssuerButtonGroup/index.d.ts +1 -0
  65. package/dist/types/components/internal/IssuerList/IssuerList.d.ts +2 -7
  66. package/dist/types/components/internal/IssuerList/types.d.ts +16 -0
  67. package/dist/types/components/internal/PayButton/PayButton.d.ts +2 -2
  68. package/dist/types/components/internal/QRLoader/QRLoader.d.ts +6 -6
  69. package/dist/types/components/internal/QRLoader/types.d.ts +0 -1
  70. package/dist/types/components/internal/SecuredFields/SecuredFieldsProvider.d.ts +3 -3
  71. package/dist/types/components/internal/SecuredFields/defaultProps.d.ts +2 -1
  72. package/dist/types/components/internal/SecuredFields/lib/configuration/constants.d.ts +11 -6
  73. package/dist/types/components/internal/SecuredFields/lib/core/AbstractCSF.d.ts +2 -1
  74. package/dist/types/components/internal/SecuredFields/lib/core/AbstractSecuredField.d.ts +4 -3
  75. package/dist/types/components/internal/SecuredFields/lib/core/SecuredField.d.ts +2 -2
  76. package/dist/types/components/internal/SecuredFields/lib/core/utils/handleBrandFromBinLookup.d.ts +2 -1
  77. package/dist/types/components/internal/SecuredFields/lib/core/utils/processBrand.d.ts +6 -0
  78. package/dist/types/components/internal/SecuredFields/lib/types.d.ts +9 -4
  79. package/dist/types/components/internal/SecuredFields/lib/utilities/commonUtils.d.ts +4 -1
  80. package/dist/types/components/internal/SocialSecurityNumberBrazil/BrazilPersonalDetail.d.ts +2 -0
  81. package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.d.ts +0 -0
  82. package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/constants.d.ts +0 -0
  83. package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/utils.d.ts +0 -0
  84. package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/validate.d.ts +0 -0
  85. package/dist/types/components/types.d.ts +48 -0
  86. package/dist/types/components/utils.d.ts +3 -0
  87. package/dist/types/core/CheckoutSession/CheckoutSession.d.ts +47 -0
  88. package/dist/types/core/CheckoutSession/index.d.ts +1 -0
  89. package/dist/types/core/CheckoutSession/utils.d.ts +2 -0
  90. package/dist/types/core/Errors/AdyenCheckoutError.d.ts +14 -0
  91. package/dist/types/core/RiskModule/RiskModule.d.ts +2 -1
  92. package/dist/types/core/Services/{collect-id.d.ts → analytics/collect-id.d.ts} +0 -0
  93. package/dist/types/core/Services/{log-event.d.ts → analytics/log-event.d.ts} +0 -0
  94. package/dist/types/core/Services/{post-telemetry.d.ts → analytics/post-telemetry.d.ts} +0 -0
  95. package/dist/types/core/Services/sessions/check-balance.d.ts +6 -0
  96. package/dist/types/core/Services/sessions/constants.d.ts +1 -0
  97. package/dist/types/core/Services/sessions/create-order.d.ts +6 -0
  98. package/dist/types/core/Services/sessions/make-payment.d.ts +6 -0
  99. package/dist/types/core/Services/sessions/setup-session.d.ts +6 -0
  100. package/dist/types/core/Services/sessions/submit-details.d.ts +6 -0
  101. package/dist/types/core/core.d.ts +14 -1
  102. package/dist/types/core/types.d.ts +1 -0
  103. package/dist/types/index.d.ts +2 -1
  104. package/dist/types/types/index.d.ts +38 -0
  105. package/dist/types/utils/Script.d.ts +3 -1
  106. package/dist/types/utils/Storage.d.ts +10 -0
  107. package/dist/types/utils/hasOwnProperty.d.ts +1 -0
  108. package/package.json +5 -5
package/dist/es/it-IT.js CHANGED
@@ -1 +1 @@
1
- export default{payButton:"Paga","payButton.redirecting":"Reindirizzamento...",storeDetails:"Salva per il prossimo pagamento","creditCard.holderName":"Nome sulla carta","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"Nome del titolare della carta non valido","creditCard.numberField.title":"Numero carta","creditCard.expiryDateField.title":"Data di scadenza","creditCard.expiryDateField.placeholder":"MM/AA","creditCard.expiryDateField.month":"Mese","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"AA","creditCard.expiryDateField.year":"Anno","creditCard.cvcField.title":"CVC/CVV","creditCard.storeDetailsButton":"Ricorda per la prossima volta","creditCard.cvcField.placeholder.4digits":"4 cifre","creditCard.cvcField.placeholder.3digits":"3 cifre","creditCard.taxNumber.placeholder":"AAMMGG/0123456789",installments:"Numero di rate",installmentOption:"%{partialValue} x%{times}",installmentOptionMonths:"%{times} mesi","installments.oneTime":"Pagamento una tantum","installments.installments":"Pagamento rateale","installments.revolving":"Pagamento ricorrente","sepaDirectDebit.ibanField.invalid":"Numero di conto non valido","sepaDirectDebit.nameField.placeholder":"A. Bianchi","sepa.ownerName":"Nome Intestatario Conto","sepa.ibanNumber":"Numero di conto (IBAN)","error.title":"Errore","error.subtitle.redirect":"Reindirizzamento non riuscito","error.subtitle.payment":"Pagamento non riuscito","error.subtitle.refused":"Pagamento respinto","error.message.unknown":"Si \xe8 verificato un errore sconosciuto","idealIssuer.selectField.title":"Banca","idealIssuer.selectField.placeholder":"Seleziona la banca","creditCard.success":"Pagamento riuscito",loading:"Caricamento in corso...",continue:"Continua",continueTo:"Procedi verso","wechatpay.timetopay":"Devi pagare %@","wechatpay.scanqrcode":"Scansiona il codice QR",personalDetails:"Dati personali",companyDetails:"Informazioni dell'azienda","companyDetails.name":"Ragione sociale","companyDetails.registrationNumber":"Numero di registrazione",socialSecurityNumber:"Numero di previdenza sociale",firstName:"Nome",infix:"Prefisso",lastName:"Cognome",mobileNumber:"Numero di cellulare","mobileNumber.invalid":"Numero di cellulare non valido",city:"Citt\xe0",postalCode:"Codice postale",countryCode:"Codice nazionale",telephoneNumber:"Numero di telefono",dateOfBirth:"Data di nascita",shopperEmail:"Indirizzo e-mail",gender:"Sesso",male:"Uomo",female:"Donna",billingAddress:"Indirizzo di fatturazione",street:"Via",stateOrProvince:"Stato o provincia",country:"Paese",houseNumberOrName:"Numero civico",separateDeliveryAddress:"Specifica un indirizzo di consegna alternativo",deliveryAddress:"Indirizzo di consegna",zipCode:"CAP",apartmentSuite:"Appartamento/suite",provinceOrTerritory:"Provincia o territorio",cityTown:"Citt\xe0",address:"Indirizzo",state:"Stato","field.title.optional":"(facoltativo)","creditCard.cvcField.title.optional":"CVC/CVV (facoltativo)","issuerList.wallet.placeholder":"Seleziona il tuo portafoglio",privacyPolicy:"Informativa sulla privacy","afterPay.agreement":"Accetto i %@ di AfterPay",paymentConditions:"termini di pagamento",openApp:"Apri l'app","voucher.readInstructions":"Leggi le istruzioni","voucher.introduction":"Grazie per il tuo acquisto, utilizza il seguente coupon per completare il pagamento.","voucher.expirationDate":"Data di scadenza","voucher.alternativeReference":"Riferimento alternativo","dragonpay.voucher.non.bank.selectField.placeholder":"Seleziona il tuo fornitore","dragonpay.voucher.bank.selectField.placeholder":"Seleziona la banca","voucher.paymentReferenceLabel":"Riferimento del pagamento","voucher.surcharge":"Include un sovrapprezzo di %@","voucher.introduction.doku":"Grazie per il tuo acquisto, utilizza i seguenti dati per completare il pagamento.","voucher.shopperName":"Nome dell'acquirente","voucher.merchantName":"Esercente","voucher.introduction.econtext":"Grazie per il tuo acquisto, utilizza i seguenti dati per completare il pagamento.","voucher.telephoneNumber":"Numero di telefono","voucher.shopperReference":"Riferimento dell'acquirente","voucher.collectionInstitutionNumber":"Codice identificativo del negozio","voucher.econtext.telephoneNumber.invalid":"Il numero di telefono deve essere di 10 o 11 cifre","boletobancario.btnLabel":"Genera Boleto","boleto.sendCopyToEmail":"Invia una copia alla mia e-mail","button.copy":"Copia","button.download":"Scarica","creditCard.storedCard.description.ariaLabel":"La carta memorizzata termina in %@","voucher.entity":"Entit\xe0",donateButton:"Dona",notNowButton:"Non ora",thanksForYourSupport:"Grazie per il tuo sostegno!",preauthorizeWith:"Preautorizza con",confirmPreauthorization:"Conferma preautorizzazione",confirmPurchase:"Conferma acquisto",applyGiftcard:"Riscatta",giftcardBalance:"Saldo del buono",deductedBalance:"Importo detratto","creditCard.pin.title":"Pin","creditCard.encryptedPassword.label":"Prime 2 cifre della password della carta","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"Password non valida","creditCard.taxNumber.label":"Data di nascita del titolare della carta (AAMMGG) o numero di registrazione aziendale (10 cifre)","creditCard.taxNumber.labelAlt":"Numero di registrazione aziendale (10 cifre)","creditCard.taxNumber.invalid":"Data di nascita del titolare della carta o numero di registrazione aziendale non validi","storedPaymentMethod.disable.button":"Rimuovi","storedPaymentMethod.disable.confirmation":"Rimuovi il metodo di pagamento archiviato","storedPaymentMethod.disable.confirmButton":"S\xec, rimuoverli","storedPaymentMethod.disable.cancelButton":"Cancella","ach.bankAccount":"Conto bancario","ach.accountHolderNameField.title":"Nome del titolare del conto","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"Nome del titolare del conto non valido","ach.accountNumberField.title":"Numero di conto","ach.accountNumberField.invalid":"Numero di conto non valido","ach.accountLocationField.title":"Codice ABA","ach.accountLocationField.invalid":"Codice ABA non valido","select.state":"Seleziona stato","select.stateOrProvince":"Seleziona stato o provincia","select.provinceOrTerritory":"Seleziona provincia o territorio","select.country":"Seleziona paese","select.noOptionsFound":"Nessuna opzione trovata","select.filter.placeholder":"Cerca...","telephoneNumber.invalid":"Numero di telefono non valido",qrCodeOrApp:"o","paypal.processingPayment":"Elaborazione del pagamento in corso...",generateQRCode:"Genera codice QR","await.waitForConfirmation":"In attesa di conferma","mbway.confirmPayment":"Conferma il pagamento con l'app MB WAY","shopperEmail.invalid":"Indirizzo e-mail non valido","dateOfBirth.format":"GG/MM/AAAA","dateOfBirth.invalid":"Devi avere almeno 18 anni","blik.confirmPayment":"Apri l'app della tua banca per confermare il pagamento.","blik.invalid":"Inserisci 6 numeri","blik.code":"Codice a 6 cifre","blik.help":"Ottieni il codice dalla app della tua banca.","swish.pendingMessage":"In seguito alla scansione, lo stato della transazione pu\xf2 rimanere in sospeso per un massimo di 10 minuti. Un nuovo tentativo di pagamento durante questo lasso di tempo pu\xf2 comportare pagamenti multipli.","error.va.gen.01":"Campo incompleto","error.va.gen.02":"Campo non valido","error.va.sf-cc-num.01":"Numero carta non valido","error.va.sf-cc-num.03":"Tipo di carta non supportato","error.va.sf-cc-dat.01":"Carta troppo vecchia","error.va.sf-cc-dat.02":"Data troppo avanti nel futuro","error.va.sf-cc-dat.03":"La tua carta scade prima della data di check out","error.va.sf-ach-num.01":"Numero di conto non valido","error.va.sf-ach-loc.01":"Codice ABA non valido","error.va.sf-kcp-pwd.01":"Password non valida","error.giftcard.no-balance":"Questo buono regalo ha un saldo pari a zero","error.giftcard.card-error":"Non abbiamo alcun buono regalo con questo numero nei nostri archivi","error.giftcard.currency-error":"I buono regalo sono validi solo nella valuta in cui sono state emessi","amazonpay.signout":"Esci da Amazon","amazonpay.changePaymentDetails":"Modifica i dettagli di pagamento","partialPayment.warning":"Seleziona un altro metodo di pagamento per pagare l'importo rimanente","partialPayment.remainingBalance":"Il saldo rimanente sar\xe0 di %{amount}","bankTransfer.beneficiary":"Beneficiario","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"Riferimento","bankTransfer.introduction":"Continua per creare un nuovo pagamento tramite bonifico bancario. Puoi utilizzare i dettagli nella schermata seguente per completare l'operazione.","bankTransfer.instructions":"Grazie per il tuo acquisto, utilizza i seguenti dati per completare il pagamento.","bacs.accountHolderName":"Nome del titolare del conto bancario","bacs.accountHolderName.invalid":"Nome del titolare del conto bancario non valido","bacs.accountNumber":"Numero di conto bancario","bacs.accountNumber.invalid":"Numero di conto bancario non valido","bacs.bankLocationId":"Sort code","bacs.bankLocationId.invalid":"Sort code non valido","bacs.consent.amount":"Accetto che l'importo sopra indicato venga detratto dal mio conto bancario.","bacs.consent.account":"Confermo che il conto \xe8 intestato al sottoscritto e che sono l'unico firmatario a dover autorizzare l'addebito diretto su questo conto.",edit:"Modifica","bacs.confirm":"Conferma e paga","bacs.result.introduction":"Scarica le Istruzioni per l'addebito diretto (DDI / Mandato)","download.pdf":"Scarica PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"Iframe per numero di carta protetta","creditCard.encryptedCardNumber.aria.label":"Campo numero di carta","creditCard.encryptedExpiryDate.aria.iframeTitle":"Iframe data di scadenza per numero di carta protetta","creditCard.encryptedExpiryDate.aria.label":"Campo data di scadenza","creditCard.encryptedExpiryMonth.aria.iframeTitle":"Iframe mese di scadenza per numero di carta protetta","creditCard.encryptedExpiryMonth.aria.label":"Campo mese di scadenza","creditCard.encryptedExpiryYear.aria.iframeTitle":"Iframe anno di scadenza per numero di carta protetta","creditCard.encryptedExpiryYear.aria.label":"Campo anno di scadenza","creditCard.encryptedSecurityCode.aria.iframeTitle":"Iframe per codice di sicurezza della carta protetta","creditCard.encryptedSecurityCode.aria.label":"Campo codice di sicurezza","giftcard.encryptedCardNumber.aria.iframeTitle":"Iframe per numero di carta regalo protetta","giftcard.encryptedCardNumber.aria.label":"Campo numero carta regalo","giftcard.encryptedSecurityCode.aria.iframeTitle":"Iframe per codice di sicurezza della carta regalo protetta","giftcard.encryptedSecurityCode.aria.label":"Campo codice di sicurezza della carta regalo",giftcardTransactionLimit:"Importo massimo di %{amount} per transazione su questo buono regalo","ach.encryptedBankAccountNumber.aria.iframeTitle":"Iframe per numero di numero di conto bancario protetto","ach.encryptedBankAccountNumber.aria.label":"Campo conto bancario","ach.encryptedBankLocationId.aria.iframeTitle":"Iframe per numero di routing bancario sicuro","ach.encryptedBankLocationId.aria.label":"Campo numero di routing bancario","twint.saved":"memorizzato"};
1
+ export default{payButton:"Paga","payButton.redirecting":"Reindirizzamento...",storeDetails:"Salva per il prossimo pagamento","creditCard.holderName":"Titolare carta","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"Nome del titolare della carta non valido","creditCard.numberField.title":"Numero carta","creditCard.expiryDateField.title":"Data di scadenza","creditCard.expiryDateField.placeholder":"MM/AA","creditCard.expiryDateField.month":"Mese","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"AA","creditCard.expiryDateField.year":"Anno","creditCard.cvcField.title":"CVC/CVV","creditCard.storeDetailsButton":"Ricorda per la prossima volta","creditCard.cvcField.placeholder.4digits":"4 cifre","creditCard.cvcField.placeholder.3digits":"3 cifre","creditCard.taxNumber.placeholder":"AAMMGG/0123456789",installments:"Numero di rate",installmentOption:"%{partialValue} x%{times}",installmentOptionMonths:"%{times} mesi","installments.oneTime":"Pagamento una tantum","installments.installments":"Pagamento rateale","installments.revolving":"Pagamento ricorrente","sepaDirectDebit.ibanField.invalid":"Numero di conto non valido","sepaDirectDebit.nameField.placeholder":"A. Bianchi","sepa.ownerName":"Nome Intestatario Conto","sepa.ibanNumber":"Numero di conto (IBAN)","error.title":"Errore","error.subtitle.redirect":"Reindirizzamento non riuscito","error.subtitle.payment":"Pagamento non riuscito","error.subtitle.refused":"Pagamento respinto","error.message.unknown":"Si \xe8 verificato un errore sconosciuto","idealIssuer.selectField.title":"Banca","idealIssuer.selectField.placeholder":"Seleziona la banca","creditCard.success":"Pagamento riuscito",loading:"Caricamento in corso...",continue:"Continua",continueTo:"Procedi verso","wechatpay.timetopay":"Devi pagare %@","wechatpay.scanqrcode":"Scansiona il codice QR",personalDetails:"Dati personali",companyDetails:"Informazioni dell'azienda","companyDetails.name":"Ragione sociale","companyDetails.registrationNumber":"Numero di registrazione",socialSecurityNumber:"Numero di previdenza sociale",firstName:"Nome",infix:"Prefisso",lastName:"Cognome",mobileNumber:"Numero di cellulare","mobileNumber.invalid":"Numero di cellulare non valido",city:"Citt\xe0",postalCode:"Codice postale",countryCode:"Codice nazionale",telephoneNumber:"Numero di telefono",dateOfBirth:"Data di nascita",shopperEmail:"Indirizzo e-mail",gender:"Sesso",male:"Uomo",female:"Donna",billingAddress:"Indirizzo di fatturazione",street:"Via",stateOrProvince:"Stato o provincia",country:"Paese",houseNumberOrName:"Numero civico",separateDeliveryAddress:"Specifica un indirizzo di consegna alternativo",deliveryAddress:"Indirizzo di consegna",zipCode:"CAP",apartmentSuite:"Appartamento/suite",provinceOrTerritory:"Provincia o territorio",cityTown:"Citt\xe0",address:"Indirizzo",state:"Stato","field.title.optional":"(facoltativo)","creditCard.cvcField.title.optional":"CVC/CVV (facoltativo)","issuerList.wallet.placeholder":"Seleziona il tuo portafoglio",privacyPolicy:"Informativa sulla privacy","afterPay.agreement":"Accetto i %@ di AfterPay",paymentConditions:"termini di pagamento",openApp:"Apri l'app","voucher.readInstructions":"Leggi le istruzioni","voucher.introduction":"Grazie per il tuo acquisto, utilizza il seguente coupon per completare il pagamento.","voucher.expirationDate":"Data di scadenza","voucher.alternativeReference":"Riferimento alternativo","dragonpay.voucher.non.bank.selectField.placeholder":"Seleziona il tuo fornitore","dragonpay.voucher.bank.selectField.placeholder":"Seleziona la banca","voucher.paymentReferenceLabel":"Riferimento del pagamento","voucher.surcharge":"Include un sovrapprezzo di %@","voucher.introduction.doku":"Grazie per il tuo acquisto, utilizza i seguenti dati per completare il pagamento.","voucher.shopperName":"Nome dell'acquirente","voucher.merchantName":"Esercente","voucher.introduction.econtext":"Grazie per il tuo acquisto, utilizza i seguenti dati per completare il pagamento.","voucher.telephoneNumber":"Numero di telefono","voucher.shopperReference":"Riferimento dell'acquirente","voucher.collectionInstitutionNumber":"Codice identificativo del negozio","voucher.econtext.telephoneNumber.invalid":"Il numero di telefono deve essere di 10 o 11 cifre","boletobancario.btnLabel":"Genera Boleto","boleto.sendCopyToEmail":"Invia una copia alla mia e-mail","button.copy":"Copia","button.download":"Scarica","creditCard.storedCard.description.ariaLabel":"La carta memorizzata termina in %@","voucher.entity":"Entit\xe0",donateButton:"Dona",notNowButton:"Non ora",thanksForYourSupport:"Grazie per il tuo sostegno!",preauthorizeWith:"Preautorizza con",confirmPreauthorization:"Conferma preautorizzazione",confirmPurchase:"Conferma acquisto",applyGiftcard:"Riscatta",giftcardBalance:"Saldo del buono",deductedBalance:"Importo detratto","creditCard.pin.title":"Pin","creditCard.encryptedPassword.label":"Prime 2 cifre della password della carta","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"Password non valida","creditCard.taxNumber.label":"Data di nascita del titolare della carta (AAMMGG) o numero di registrazione aziendale (10 cifre)","creditCard.taxNumber.labelAlt":"Numero di registrazione aziendale (10 cifre)","creditCard.taxNumber.invalid":"Data di nascita del titolare della carta o numero di registrazione aziendale non validi","storedPaymentMethod.disable.button":"Rimuovi","storedPaymentMethod.disable.confirmation":"Rimuovi il metodo di pagamento archiviato","storedPaymentMethod.disable.confirmButton":"S\xec, rimuoverli","storedPaymentMethod.disable.cancelButton":"Cancella","ach.bankAccount":"Conto bancario","ach.accountHolderNameField.title":"Nome del titolare del conto","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"Nome del titolare del conto non valido","ach.accountNumberField.title":"Numero di conto","ach.accountNumberField.invalid":"Numero di conto non valido","ach.accountLocationField.title":"Codice ABA","ach.accountLocationField.invalid":"Codice ABA non valido","select.state":"Seleziona stato","select.stateOrProvince":"Seleziona stato o provincia","select.provinceOrTerritory":"Seleziona provincia o territorio","select.country":"Seleziona paese","select.noOptionsFound":"Nessuna opzione trovata","select.filter.placeholder":"Cerca...","telephoneNumber.invalid":"Numero di telefono non valido",qrCodeOrApp:"o","paypal.processingPayment":"Elaborazione del pagamento in corso...",generateQRCode:"Genera codice QR","await.waitForConfirmation":"In attesa di conferma","mbway.confirmPayment":"Conferma il pagamento con l'app MB WAY","shopperEmail.invalid":"Indirizzo e-mail non valido","dateOfBirth.format":"GG/MM/AAAA","dateOfBirth.invalid":"Devi avere almeno 18 anni","blik.confirmPayment":"Apri l'app della tua banca per confermare il pagamento.","blik.invalid":"Inserisci 6 numeri","blik.code":"Codice a 6 cifre","blik.help":"Ottieni il codice dalla app della tua banca.","swish.pendingMessage":"In seguito alla scansione, lo stato della transazione pu\xf2 rimanere in sospeso per un massimo di 10 minuti. Un nuovo tentativo di pagamento durante questo lasso di tempo pu\xf2 comportare pagamenti multipli.","error.va.gen.01":"Campo incompleto","error.va.gen.02":"Campo non valido","error.va.sf-cc-num.01":"Numero carta non valido","error.va.sf-cc-num.03":"Tipo di carta non supportato","error.va.sf-cc-dat.01":"Carta troppo vecchia","error.va.sf-cc-dat.02":"Data troppo avanti nel futuro","error.va.sf-cc-dat.03":"La tua carta scade prima della data di check out","error.va.sf-ach-num.01":"Numero di conto non valido","error.va.sf-ach-loc.01":"Codice ABA non valido","error.va.sf-kcp-pwd.01":"Password non valida","error.giftcard.no-balance":"Questo buono regalo ha un saldo pari a zero","error.giftcard.card-error":"Non abbiamo alcun buono regalo con questo numero nei nostri archivi","error.giftcard.currency-error":"I buono regalo sono validi solo nella valuta in cui sono state emessi","amazonpay.signout":"Esci da Amazon","amazonpay.changePaymentDetails":"Modifica i dettagli di pagamento","partialPayment.warning":"Seleziona un altro metodo di pagamento per pagare l'importo rimanente","partialPayment.remainingBalance":"Il saldo rimanente sar\xe0 di %{amount}","bankTransfer.beneficiary":"Beneficiario","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"Riferimento","bankTransfer.introduction":"Continua per creare un nuovo pagamento tramite bonifico bancario. Puoi utilizzare i dettagli nella schermata seguente per completare l'operazione.","bankTransfer.instructions":"Grazie per il tuo acquisto, utilizza i seguenti dati per completare il pagamento.","bacs.accountHolderName":"Nome del titolare del conto bancario","bacs.accountHolderName.invalid":"Nome del titolare del conto bancario non valido","bacs.accountNumber":"Numero di conto bancario","bacs.accountNumber.invalid":"Numero di conto bancario non valido","bacs.bankLocationId":"Sort code","bacs.bankLocationId.invalid":"Sort code non valido","bacs.consent.amount":"Accetto che l'importo sopra indicato venga detratto dal mio conto bancario.","bacs.consent.account":"Confermo che il conto \xe8 intestato al sottoscritto e che sono l'unico firmatario a dover autorizzare l'addebito diretto su questo conto.",edit:"Modifica","bacs.confirm":"Conferma e paga","bacs.result.introduction":"Scarica le Istruzioni per l'addebito diretto (DDI / Mandato)","download.pdf":"Scarica PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"Iframe per numero di carta protetta","creditCard.encryptedCardNumber.aria.label":"Campo numero di carta","creditCard.encryptedExpiryDate.aria.iframeTitle":"Iframe data di scadenza per numero di carta protetta","creditCard.encryptedExpiryDate.aria.label":"Campo data di scadenza","creditCard.encryptedExpiryMonth.aria.iframeTitle":"Iframe mese di scadenza per numero di carta protetta","creditCard.encryptedExpiryMonth.aria.label":"Campo mese di scadenza","creditCard.encryptedExpiryYear.aria.iframeTitle":"Iframe anno di scadenza per numero di carta protetta","creditCard.encryptedExpiryYear.aria.label":"Campo anno di scadenza","creditCard.encryptedSecurityCode.aria.iframeTitle":"Iframe per codice di sicurezza della carta protetta","creditCard.encryptedSecurityCode.aria.label":"Campo codice di sicurezza","giftcard.encryptedCardNumber.aria.iframeTitle":"Iframe per numero di carta regalo protetta","giftcard.encryptedCardNumber.aria.label":"Campo numero carta regalo","giftcard.encryptedSecurityCode.aria.iframeTitle":"Iframe per codice di sicurezza della carta regalo protetta","giftcard.encryptedSecurityCode.aria.label":"Campo codice di sicurezza della carta regalo",giftcardTransactionLimit:"Importo massimo di %{amount} per transazione su questo buono regalo","ach.encryptedBankAccountNumber.aria.iframeTitle":"Iframe per numero di numero di conto bancario protetto","ach.encryptedBankAccountNumber.aria.label":"Campo conto bancario","ach.encryptedBankLocationId.aria.iframeTitle":"Iframe per numero di routing bancario sicuro","ach.encryptedBankLocationId.aria.label":"Campo numero di routing bancario","twint.saved":"memorizzato"};
@@ -28,8 +28,6 @@ declare class ApplePayElement extends UIElement<ApplePayElementProps> {
28
28
  shippingContact: any;
29
29
  applicationData: any;
30
30
  onClick: (resolve: any) => any;
31
- onSubmit: () => void;
32
- onError: () => void;
33
31
  onAuthorized: (resolve: any) => any;
34
32
  onPaymentMethodSelected: any;
35
33
  onShippingContactSelected: any;
@@ -47,8 +45,7 @@ declare class ApplePayElement extends UIElement<ApplePayElementProps> {
47
45
  * Formats the component data output
48
46
  */
49
47
  protected formatData(): ApplePayElementData;
50
- submit(): void;
51
- startPayment(): Promise<unknown>;
48
+ submit(): Promise<void>;
52
49
  private startSession;
53
50
  private validateMerchant;
54
51
  /**
@@ -56,8 +56,6 @@ declare const defaultProps: {
56
56
  shippingContact: any;
57
57
  applicationData: any;
58
58
  onClick: (resolve: any) => any;
59
- onSubmit: () => void;
60
- onError: () => void;
61
59
  onAuthorized: (resolve: any) => any;
62
60
  onPaymentMethodSelected: any;
63
61
  onShippingContactSelected: any;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="applepayjs" />
2
2
  import { PaymentAmount } from '../../types';
3
- import { UIElementProps } from '../UIElement';
3
+ import { UIElementProps } from '../types';
4
4
  declare global {
5
5
  interface Window {
6
6
  ApplePaySession: ApplePaySession;
@@ -78,9 +78,6 @@ export interface ApplePayElementProps extends UIElementProps {
78
78
  */
79
79
  applicationData?: string;
80
80
  onClick?: (resolve: any, reject: any) => void;
81
- onSubmit?: (state: any, component: any) => void;
82
- onError?: (error: any) => void;
83
- onCancel?: () => void;
84
81
  onAuthorized?: (resolve: any, reject: any, event: ApplePayJS.ApplePayPaymentAuthorizedEvent) => void;
85
82
  onValidateMerchant?: (resolve: any, reject: any, event: ApplePayJS.ApplePayValidateMerchantEvent) => void;
86
83
  /**
@@ -1,4 +1,4 @@
1
- import { UIElementProps } from '../../UIElement';
1
+ import { UIElementProps } from '../../types';
2
2
  export interface BacsInputData {
3
3
  holderName?: string;
4
4
  bankAccountNumber?: string;
@@ -1,4 +1,4 @@
1
- import { UIElementProps } from '../UIElement';
1
+ import { UIElementProps } from '../types';
2
2
  export interface BankTransferProps extends UIElementProps {
3
3
  reference?: string;
4
4
  /**
@@ -1,17 +1,6 @@
1
1
  import EventEmitter from './EventEmitter';
2
- import Analytics from '../core/Analytics';
3
- import RiskElement from '../core/RiskModule';
4
- import { Order } from '../types';
5
2
  import Core from '../core';
6
- export interface BaseElementProps {
7
- _parentInstance?: Core;
8
- order?: Order;
9
- modules?: {
10
- analytics: Analytics;
11
- risk: RiskElement;
12
- };
13
- isDropin?: boolean;
14
- }
3
+ import { BaseElementProps } from './types';
15
4
  declare class BaseElement<P extends BaseElementProps> {
16
5
  readonly _id: string;
17
6
  props: P;
@@ -20,7 +9,7 @@ declare class BaseElement<P extends BaseElementProps> {
20
9
  _node: any;
21
10
  _component: any;
22
11
  eventEmitter: EventEmitter;
23
- private readonly _parentInstance;
12
+ protected readonly _parentInstance: Core;
24
13
  protected constructor(props: P);
25
14
  /**
26
15
  * Executed during creation of any payment element.
@@ -11,17 +11,24 @@ declare class BCMCMobileElement extends QRLoaderContainer {
11
11
  qrCodeImage?: string;
12
12
  paymentData?: string;
13
13
  instructions?: string;
14
+ session?: {
15
+ id: string;
16
+ data: string;
17
+ };
14
18
  onChange?: (state: any, element: import("../UIElement").UIElement<any>) => void;
15
19
  onValid?: (state: any, element: import("../UIElement").UIElement<any>) => void;
20
+ beforeSubmit?: (state: any, element: import("../UIElement").UIElement<any>, actions: any) => Promise<void>;
16
21
  onSubmit?: (state: any, element: import("../UIElement").UIElement<any>) => void;
17
22
  onComplete?: (state: any, element: import("../UIElement").UIElement<any>) => void;
18
23
  onAdditionalDetails?: (state: any, element: import("../UIElement").UIElement<any>) => void;
19
24
  onError?: (error: any, element?: import("../UIElement").UIElement<any>) => void;
20
- setStatusAutomatically?: boolean;
25
+ onPaymentCompleted?: (result: any, element: import("../UIElement").UIElement<any>) => void;
26
+ beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: import("../UIElement").UIElement<any>) => void;
21
27
  name?: string;
22
28
  icon?: string;
23
29
  amount?: import("../../types").PaymentAmount;
24
30
  showPayButton?: boolean;
31
+ setStatusAutomatically?: boolean;
25
32
  payButton?: (options: any) => any;
26
33
  loadingContext?: string;
27
34
  createFromAction?: (action: import("../../types").PaymentAction, props: object) => import("../UIElement").UIElement<any>;
@@ -1,5 +1,5 @@
1
1
  import { h } from 'preact';
2
- import { UIElementProps } from '../../UIElement';
2
+ import { UIElementProps } from '../../types';
3
3
  import './BlikInput.scss';
4
4
  interface BlikInputProps extends UIElementProps {
5
5
  data?: BlikInputDataState;
@@ -2,6 +2,10 @@ import { CardElement } from './Card';
2
2
  import { CardElementProps } from './types';
3
3
  declare class BancontactElement extends CardElement {
4
4
  constructor(props: CardElementProps);
5
+ protected static defaultProps: {
6
+ brands: string[];
7
+ onBinLookup: () => void;
8
+ };
5
9
  /**
6
10
  * Now that the Bancontact (BCMC) Card component can accept a number dual branded with Visa (which requires a CVC) it has to be handled differently
7
11
  * at creation time (no automatic removing of the CVC securedField).
@@ -9,9 +13,8 @@ declare class BancontactElement extends CardElement {
9
13
  * as well as show the BCMC logo in the number field and ignore any of the internal, regEx driven, brand detection.
10
14
  */
11
15
  formatProps(props: CardElementProps): {
12
- brands: string[];
13
16
  type: string;
14
- cvcPolicy: string;
17
+ cvcPolicy: import("../internal/SecuredFields/lib/core/AbstractSecuredField").CVCPolicyType;
15
18
  countryCode: any;
16
19
  configuration: {
17
20
  socialSecurityNumberMode: import("./types").SocialSecurityMode;
@@ -26,6 +29,7 @@ declare class BancontactElement extends CardElement {
26
29
  hasCVC: boolean;
27
30
  billingAddressRequired: any;
28
31
  brand?: string;
32
+ brands?: string[];
29
33
  enableStoreDetails?: boolean;
30
34
  hideCVC?: boolean;
31
35
  hasHolderName?: boolean;
@@ -37,15 +41,22 @@ declare class BancontactElement extends CardElement {
37
41
  onFocus?: (event: import("../internal/SecuredFields/lib/types").CbObjOnFocus) => void;
38
42
  onBinValue?: (event: import("../internal/SecuredFields/lib/types").CbObjOnBinValue) => void;
39
43
  onBinLookup?: (event: import("../internal/SecuredFields/lib/types").CbObjOnBinLookup) => void;
44
+ session?: {
45
+ id: string;
46
+ data: string;
47
+ };
40
48
  onChange?: (state: any, element: import("../UIElement").UIElement<any>) => void;
41
49
  onValid?: (state: any, element: import("../UIElement").UIElement<any>) => void;
50
+ beforeSubmit?: (state: any, element: import("../UIElement").UIElement<any>, actions: any) => Promise<void>;
42
51
  onSubmit?: (state: any, element: import("../UIElement").UIElement<any>) => void;
43
52
  onComplete?: (state: any, element: import("../UIElement").UIElement<any>) => void;
44
53
  onAdditionalDetails?: (state: any, element: import("../UIElement").UIElement<any>) => void;
45
- setStatusAutomatically?: boolean;
54
+ onPaymentCompleted?: (result: any, element: import("../UIElement").UIElement<any>) => void;
55
+ beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: import("../UIElement").UIElement<any>) => void;
46
56
  name?: string;
47
57
  amount?: import("../../types").PaymentAmount;
48
58
  showPayButton?: boolean;
59
+ setStatusAutomatically?: boolean;
49
60
  payButton?: (options: any) => any;
50
61
  loadingContext?: string;
51
62
  createFromAction?: (action: import("../../types").PaymentAction, props: object) => import("../UIElement").UIElement<any>;
@@ -35,15 +35,22 @@ export declare class CardElement extends UIElement<CardElementProps> {
35
35
  onFocus?: (event: import("../internal/SecuredFields/lib/types").CbObjOnFocus) => void;
36
36
  onBinValue?: (event: import("../internal/SecuredFields/lib/types").CbObjOnBinValue) => void;
37
37
  onBinLookup?: (event: CbObjOnBinLookup) => void;
38
+ session?: {
39
+ id: string;
40
+ data: string;
41
+ };
38
42
  onChange?: (state: any, element: UIElement<any>) => void;
39
43
  onValid?: (state: any, element: UIElement<any>) => void;
44
+ beforeSubmit?: (state: any, element: UIElement<any>, actions: any) => Promise<void>;
40
45
  onSubmit?: (state: any, element: UIElement<any>) => void;
41
46
  onComplete?: (state: any, element: UIElement<any>) => void;
42
47
  onAdditionalDetails?: (state: any, element: UIElement<any>) => void;
43
- setStatusAutomatically?: boolean;
48
+ onPaymentCompleted?: (result: any, element: UIElement<any>) => void;
49
+ beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: UIElement<any>) => void;
44
50
  name?: string;
45
51
  amount?: import("../../types").PaymentAmount;
46
52
  showPayButton?: boolean;
53
+ setStatusAutomatically?: boolean;
47
54
  payButton?: (options: any) => any;
48
55
  loadingContext?: string;
49
56
  createFromAction?: (action: import("../../types").PaymentAction, props: object) => UIElement<any>;
@@ -77,6 +84,7 @@ export declare class CardElement extends UIElement<CardElementProps> {
77
84
  }[];
78
85
  get brand(): string;
79
86
  get displayName(): string;
87
+ get accessibleName(): string;
80
88
  get browserInfo(): import("../../types").BrowserInfo;
81
89
  render(): h.JSX.Element;
82
90
  }
@@ -1,3 +1,3 @@
1
1
  import { h } from 'preact';
2
2
  import { CardFieldsProps } from './types';
3
- export default function CardFields({ brand, brandsConfiguration, dualBrandingElements, dualBrandingChangeHandler, dualBrandingSelected, errors, focusedElement, hasCVC, cvcPolicy, hideDateForBrand, onFocusField, showBrandIcon, valid }: CardFieldsProps): h.JSX.Element;
3
+ export default function CardFields({ brand, brandsConfiguration, dualBrandingElements, dualBrandingChangeHandler, dualBrandingSelected, errors, focusedElement, hasCVC, cvcPolicy, expiryDatePolicy, onFocusField, showBrandIcon, valid }: CardFieldsProps): h.JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { PaymentAmount } from '../../../../../types';
2
2
  import { CardBrandsConfiguration } from '../../../types';
3
3
  import { ComponentChildren } from 'preact';
4
+ import { CVCPolicyType, DatePolicyType } from '../../../../internal/SecuredFields/lib/core/AbstractSecuredField';
4
5
  export interface BrandIconProps {
5
6
  brand: string;
6
7
  brandsConfiguration: CardBrandsConfiguration;
@@ -14,8 +15,8 @@ export interface CardFieldsProps {
14
15
  errors?: any;
15
16
  focusedElement?: any;
16
17
  hasCVC?: any;
17
- cvcPolicy?: string;
18
- hideDateForBrand?: any;
18
+ cvcPolicy?: CVCPolicyType;
19
+ expiryDatePolicy?: DatePolicyType;
19
20
  onFocusField?: any;
20
21
  showBrandIcon?: boolean;
21
22
  valid?: any;
@@ -50,7 +51,7 @@ export interface CVCProps {
50
51
  filled?: any;
51
52
  focused?: any;
52
53
  frontCVC?: boolean;
53
- cvcPolicy?: string;
54
+ cvcPolicy?: CVCPolicyType;
54
55
  isValid?: any;
55
56
  label?: any;
56
57
  onFocusField: (field: string) => void;
@@ -74,7 +75,7 @@ export interface ExpirationDateProps {
74
75
  isValid?: boolean;
75
76
  label?: string;
76
77
  onFocusField: (fieldName: string) => {};
77
- hideDateForBrand?: boolean;
78
+ expiryDatePolicy?: DatePolicyType;
78
79
  }
79
80
  export interface InstallmentsProps {
80
81
  amount?: PaymentAmount;
@@ -122,7 +123,7 @@ export interface StoredCardFieldsProps {
122
123
  expiryYear?: string;
123
124
  focusedElement: string;
124
125
  hasCVC: boolean;
125
- cvcPolicy: string;
126
+ cvcPolicy: CVCPolicyType;
126
127
  lastFour?: string;
127
128
  onFocusField: any;
128
129
  valid: any;
@@ -3,6 +3,7 @@ import { CardBrandsConfiguration, CardConfiguration, DualBrandSelectElement, Soc
3
3
  import { PaymentAmount } from '../../../../types';
4
4
  import { InstallmentOptions } from './components/types';
5
5
  import { ValidationResult } from '../../../internal/PersonalDetails/types';
6
+ import { CVCPolicyType, DatePolicyType } from '../../../internal/SecuredFields/lib/core/AbstractSecuredField';
6
7
  export interface CardInputValidState {
7
8
  holderName?: boolean;
8
9
  billingAddress?: boolean;
@@ -42,7 +43,7 @@ export interface CardInputProps {
42
43
  brandsConfiguration?: CardBrandsConfiguration;
43
44
  configuration?: CardConfiguration;
44
45
  countryCode?: string;
45
- cvcPolicy?: string;
46
+ cvcPolicy?: CVCPolicyType;
46
47
  data?: CardInputDataState;
47
48
  enableStoreDetails?: boolean;
48
49
  fundingSource?: string;
@@ -79,8 +80,8 @@ export interface CardInputState {
79
80
  data?: object;
80
81
  errors?: object;
81
82
  focusedElement: string;
82
- cvcPolicy: string;
83
- hideDateForBrand: boolean;
83
+ cvcPolicy: CVCPolicyType;
84
+ expiryDatePolicy: DatePolicyType;
84
85
  isValid: boolean;
85
86
  status: string;
86
87
  valid?: object;
@@ -1,5 +1,5 @@
1
1
  import { ValidatorRules } from '../../../../utils/Validator/Validator';
2
- import { formatCPFCNPJ } from '../../../Boleto/components/SocialSecurityNumberBrazil/utils';
2
+ import { formatCPFCNPJ } from '../../../internal/SocialSecurityNumberBrazil/utils';
3
3
  export declare const cardInputFormatters: {
4
4
  socialSecurityNumber: typeof formatCPFCNPJ;
5
5
  };
@@ -1,7 +1,7 @@
1
- import { UIElementProps } from '../UIElement';
1
+ import { UIElementProps } from '../types';
2
2
  import { AddressData, BrowserInfo } from '../../types';
3
3
  import { CbObjOnBinValue, CbObjOnBrand, CbObjOnConfigSuccess, CbObjOnError, CbObjOnFieldValid, CbObjOnFocus, CbObjOnLoad, CbObjOnBinLookup } from '../internal/SecuredFields/lib/types';
4
- import { CVCPolicyType } from '../internal/SecuredFields/lib/core/AbstractSecuredField';
4
+ import { CVCPolicyType, DatePolicyType } from '../internal/SecuredFields/lib/core/AbstractSecuredField';
5
5
  export interface CardElementProps extends UIElementProps {
6
6
  /**
7
7
  * Only set for a stored card,
@@ -102,12 +102,14 @@ export interface CardElementData {
102
102
  };
103
103
  storePaymentMethod?: boolean;
104
104
  browserInfo: BrowserInfo;
105
+ origin?: string;
105
106
  }
106
107
  export interface BrandObject {
107
108
  brand: string;
108
109
  cvcPolicy: CVCPolicyType;
109
110
  enableLuhnCheck: boolean;
110
111
  showExpiryDate: boolean;
112
+ expiryDatePolicy?: DatePolicyType;
111
113
  showSocialSecurityNumber?: boolean;
112
114
  supported: boolean;
113
115
  brandImageUrl?: string;
@@ -21,17 +21,24 @@ export declare class DragonpayElement extends UIElement<DragonpayElementProps> {
21
21
  loadingContext?: string;
22
22
  reference?: string;
23
23
  i18n?: import("../../language").default;
24
+ session?: {
25
+ id: string;
26
+ data: string;
27
+ };
24
28
  onChange?: (state: any, element: UIElement<any>) => void;
25
29
  onValid?: (state: any, element: UIElement<any>) => void;
30
+ beforeSubmit?: (state: any, element: UIElement<any>, actions: any) => Promise<void>;
26
31
  onSubmit?: (state: any, element: UIElement<any>) => void;
27
32
  onComplete?: (state: any, element: UIElement<any>) => void;
28
33
  onAdditionalDetails?: (state: any, element: UIElement<any>) => void;
29
34
  onError?: (error: any, element?: UIElement<any>) => void;
30
- setStatusAutomatically?: boolean;
35
+ onPaymentCompleted?: (result: any, element: UIElement<any>) => void;
36
+ beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: UIElement<any>) => void;
31
37
  name?: string;
32
38
  icon?: string;
33
39
  amount?: import("../../types").PaymentAmount;
34
40
  showPayButton?: boolean;
41
+ setStatusAutomatically?: boolean;
35
42
  payButton?: (options: any) => any;
36
43
  createFromAction?: (action: import("../../types").PaymentAction, props: object) => UIElement<any>;
37
44
  clientKey?: string;
@@ -42,9 +49,7 @@ export declare class DragonpayElement extends UIElement<DragonpayElementProps> {
42
49
  analytics: import("../../core/Analytics/Analytics").default;
43
50
  risk: import("../../core/RiskModule").default;
44
51
  };
45
- isDropin?: boolean; /**
46
- * Formats the component data output
47
- */
52
+ isDropin?: boolean;
48
53
  };
49
54
  render(): h.JSX.Element;
50
55
  }
@@ -1,6 +1,6 @@
1
1
  import { PaymentAmount } from '../../types';
2
2
  import Language from '../../language/Language';
3
- import { UIElementProps } from '../UIElement';
3
+ import { UIElementProps } from '../types';
4
4
  export interface DragonpayInputIssuerItem {
5
5
  id?: string;
6
6
  name?: string;
@@ -13,8 +13,6 @@ declare class DropinElement extends UIElement<DropinElementProps> {
13
13
  onSelect: () => void;
14
14
  onDisableStoredPaymentMethod: any;
15
15
  onChange: () => void;
16
- onSubmit: () => void;
17
- onAdditionalDetails: () => void;
18
16
  amount: {};
19
17
  installmentOptions: {};
20
18
  paymentMethodsConfiguration: {};
@@ -36,7 +34,6 @@ declare class DropinElement extends UIElement<DropinElementProps> {
36
34
  * Calls the onSubmit event with the state of the activePaymentMethod
37
35
  */
38
36
  submit(): void;
39
- protected handleSubmit: () => false | void;
40
37
  /**
41
38
  * Creates the Drop-in elements
42
39
  */
@@ -2,11 +2,11 @@ import { h } from 'preact';
2
2
  interface PaymentMethodIconProps {
3
3
  /** URL to the payment method icon */
4
4
  src: string;
5
- /** Display name of the payment method */
6
- name: string;
5
+ /** Alt description of payment method used of a11y */
6
+ altDescription: string;
7
7
  /** Type of the payment method*/
8
8
  type: string;
9
9
  disabled?: boolean;
10
10
  }
11
- declare const PaymentMethodIcon: ({ src, name, type, disabled }: PaymentMethodIconProps) => h.JSX.Element;
11
+ declare const PaymentMethodIcon: ({ src, altDescription, type, disabled }: PaymentMethodIconProps) => h.JSX.Element;
12
12
  export default PaymentMethodIcon;
@@ -27,6 +27,7 @@ declare class PaymentMethodItem extends Component<PaymentMethodItemProps> {
27
27
  };
28
28
  isMouseDown: boolean;
29
29
  onFocus: () => void;
30
+ onClick: () => void;
30
31
  onMouseDown: () => void;
31
32
  onMouseUp: () => void;
32
33
  componentDidMount(): void;
@@ -1,4 +1,6 @@
1
1
  export declare function getCommonProps(props: any): {
2
+ beforeSubmit: any;
3
+ onSubmit: any;
2
4
  elementRef: any;
3
5
  showPayButton: any;
4
6
  isDropin: boolean;
@@ -7,8 +7,6 @@ declare const _default: {
7
7
  onSelect: () => void;
8
8
  onDisableStoredPaymentMethod: any;
9
9
  onChange: () => void;
10
- onSubmit: () => void;
11
- onAdditionalDetails: () => void;
12
10
  amount: {};
13
11
  installmentOptions: {};
14
12
  paymentMethodsConfiguration: {};
@@ -1,5 +1,6 @@
1
1
  import { PaymentMethod, StoredPaymentMethod, Order, OrderStatus } from '../../types';
2
- import UIElement, { UIElementProps } from '../UIElement';
2
+ import UIElement from '../UIElement';
3
+ import { UIElementProps } from '../types';
3
4
  import { PaymentMethodsConfiguration } from '../../core/types';
4
5
  export interface DropinElementProps extends UIElementProps {
5
6
  /**
@@ -1,7 +1,17 @@
1
1
  import { h } from 'preact';
2
2
  import UIElement from '../UIElement';
3
- export declare class EcontextElement extends UIElement {
3
+ import { UIElementProps } from '../types';
4
+ import { PersonalDetailsSchema } from '../../types';
5
+ interface EcontextElementProps extends UIElementProps {
6
+ reference?: string;
7
+ personalDetailsRequired?: boolean;
8
+ data?: PersonalDetailsSchema;
9
+ }
10
+ export declare class EcontextElement extends UIElement<EcontextElementProps> {
4
11
  static type: string;
12
+ protected static defaultProps: {
13
+ personalDetailsRequired: boolean;
14
+ };
5
15
  get isValid(): boolean;
6
16
  /**
7
17
  * Formats the component data output
@@ -1,2 +1,14 @@
1
- import { h } from 'preact';
2
- export default function EcontextInput(props: any): h.JSX.Element;
1
+ import { h, VNode } from 'preact';
2
+ import { PersonalDetailsSchema } from '../../../../types';
3
+ import './EcontextInput.scss';
4
+ interface EcontextInputProps {
5
+ personalDetailsRequired?: boolean;
6
+ data?: PersonalDetailsSchema;
7
+ showPayButton?: boolean;
8
+ payButton(config: any): VNode;
9
+ onChange?(data: any): void;
10
+ onSubmit?(state: any, component: any): void;
11
+ [key: string]: any;
12
+ }
13
+ export default function EcontextInput({ personalDetailsRequired, data, onChange, showPayButton, payButton }: EcontextInputProps): h.JSX.Element;
14
+ export {};
@@ -20,8 +20,9 @@ export declare class GiftcardElement extends UIElement {
20
20
  get isValid(): boolean;
21
21
  get icon(): any;
22
22
  get displayName(): any;
23
- onBalanceCheck: () => false | void | Promise<void>;
24
- onOrderRequest: (data: any) => Promise<void>;
23
+ private handleBalanceCheck;
24
+ private onOrderRequest;
25
+ onBalanceCheck: () => false | void;
25
26
  payButton: (props: any) => h.JSX.Element;
26
27
  render(): h.JSX.Element;
27
28
  }
@@ -23,9 +23,7 @@ declare class GooglePay extends UIElement<GooglePayProps> {
23
23
  };
24
24
  countryCode: string;
25
25
  totalPriceStatus: google.payments.api.TotalPriceStatus;
26
- onError: () => void;
27
26
  onAuthorized: (params: any) => any;
28
- onSubmit: () => void;
29
27
  onClick: (resolve: any) => any;
30
28
  allowedAuthMethods: google.payments.api.CardAuthMethod[];
31
29
  allowedCardNetworks: google.payments.api.CardNetwork[];
@@ -53,9 +51,7 @@ declare class GooglePay extends UIElement<GooglePayProps> {
53
51
  paymentMethod: any;
54
52
  browserInfo: import("../../types").BrowserInfo;
55
53
  };
56
- loadPayment: () => Promise<void>;
57
54
  submit: () => Promise<void>;
58
- startPayment: () => Promise<void>;
59
55
  /**
60
56
  * Validation
61
57
  */
@@ -17,9 +17,7 @@ declare const _default: {
17
17
  };
18
18
  countryCode: string;
19
19
  totalPriceStatus: google.payments.api.TotalPriceStatus;
20
- onError: () => void;
21
20
  onAuthorized: (params: any) => any;
22
- onSubmit: () => void;
23
21
  onClick: (resolve: any) => any;
24
22
  allowedAuthMethods: google.payments.api.CardAuthMethod[];
25
23
  allowedCardNetworks: google.payments.api.CardNetwork[];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="googlepay" />
2
- import { UIElementProps } from '../UIElement';
2
+ import { UIElementProps } from '../types';
3
3
  export interface GooglePayPropsConfiguration {
4
4
  /**
5
5
  * Adyen's merchant account name
@@ -1,6 +1 @@
1
1
  export declare const KLARNA_WIDGET_URL = "https://x.klarnacdn.net/kp/lib/v1/api.js";
2
- export declare const KLARNA_VARIANTS: {
3
- klarna: string;
4
- klarna_paynow: string;
5
- klarna_account: string;
6
- };