@adyen/adyen-web 5.6.2 → 5.9.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/README.md +1 -1
- package/dist/adyen.css +3 -3
- 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 +3 -3
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +3 -3
- 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 +3 -3
- package/dist/es.modern/adyen.css.map +1 -1
- package/dist/es.modern/ar.js +1 -1
- package/dist/es.modern/cs-CZ.js +1 -1
- package/dist/es.modern/da-DK.js +1 -1
- package/dist/es.modern/de-DE.js +1 -1
- package/dist/es.modern/el-GR.js +1 -1
- package/dist/es.modern/es-ES.js +1 -1
- package/dist/es.modern/fi-FI.js +1 -1
- package/dist/es.modern/fr-FR.js +1 -1
- package/dist/es.modern/hr-HR.js +1 -1
- package/dist/es.modern/hu-HU.js +1 -1
- package/dist/es.modern/index.js +1 -1
- package/dist/es.modern/it-IT.js +1 -1
- package/dist/es.modern/ja-JP.js +1 -1
- package/dist/es.modern/ko-KR.js +1 -1
- package/dist/es.modern/nl-NL.js +1 -1
- package/dist/es.modern/no-NO.js +1 -1
- package/dist/es.modern/pl-PL.js +1 -1
- package/dist/es.modern/pt-BR.js +1 -1
- package/dist/es.modern/ro-RO.js +1 -1
- package/dist/es.modern/ru-RU.js +1 -1
- package/dist/es.modern/sk-SK.js +1 -1
- package/dist/es.modern/sl-SI.js +1 -1
- package/dist/es.modern/sv-SE.js +1 -1
- package/dist/es.modern/zh-CN.js +1 -1
- package/dist/es.modern/zh-TW.js +1 -1
- package/dist/types/components/Ach/components/AchInput/AchInput.d.ts +2 -4
- package/dist/types/components/Ach/components/AchInput/defaultProps.d.ts +0 -3
- package/dist/types/components/Ach/components/AchInput/types.d.ts +40 -0
- package/dist/types/components/AmazonPay/types.d.ts +22 -0
- package/dist/types/components/ApplePay/types.d.ts +1 -1
- package/dist/types/components/BacsDD/components/validate.d.ts +1 -1
- package/dist/types/components/Boleto/components/BoletoInput/validate.d.ts +1 -1
- package/dist/types/components/Card/Bancontact.d.ts +3 -4
- package/dist/types/components/Card/Card.d.ts +4 -4
- package/dist/types/components/Card/components/CardInput/CardInput.d.ts +2 -40
- package/dist/types/components/Card/components/CardInput/components/CardFieldsWrapper.d.ts +47 -0
- package/dist/types/components/Card/components/CardInput/components/CardHolderName.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/components/Installments/Installments.d.ts +4 -0
- package/dist/types/components/Card/components/CardInput/components/StoredCardFields.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/components/StoredCardFieldsWrapper.d.ts +16 -0
- package/dist/types/components/Card/components/CardInput/components/types.d.ts +2 -2
- package/dist/types/components/Card/components/CardInput/defaultProps.d.ts +2 -4
- package/dist/types/components/Card/components/CardInput/handlers.d.ts +9 -0
- package/dist/types/components/Card/components/CardInput/types.d.ts +49 -15
- package/dist/types/components/Card/components/CardInput/utils.d.ts +30 -2
- package/dist/types/components/Card/components/CardInput/validate.d.ts +1 -1
- package/dist/types/components/Card/types.d.ts +1 -2
- package/dist/types/components/Dropin/Dropin.d.ts +1 -1
- package/dist/types/components/Econtext/validate.d.ts +1 -1
- package/dist/types/components/Giftcard/components/GiftcardComponent.d.ts +7 -1
- package/dist/types/components/Giftcard/components/GiftcardFields.d.ts +3 -0
- package/dist/types/components/Giftcard/components/GiftcardNumberField.d.ts +3 -0
- package/dist/types/components/Giftcard/components/GiftcardPinField.d.ts +3 -0
- package/dist/types/components/Giftcard/components/types.d.ts +19 -0
- package/dist/types/components/MealVoucherFR/MealVoucherFR.d.ts +20 -0
- package/dist/types/components/MealVoucherFR/components/MealVoucherExpiryField.d.ts +3 -0
- package/dist/types/components/MealVoucherFR/components/MealVoucherFields.d.ts +3 -0
- package/dist/types/components/MealVoucherFR/index.d.ts +1 -0
- package/dist/types/components/Pix/PixInput/validate.d.ts +1 -1
- package/dist/types/components/SecuredFields/SecuredFieldsInput/SecuredFieldsInput.d.ts +31 -1
- package/dist/types/components/UIElement.d.ts +1 -1
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +6 -0
- package/dist/types/components/internal/Address/types.d.ts +11 -8
- package/dist/types/components/internal/Address/validate.d.ts +1 -1
- package/dist/types/components/internal/Address/validate.formats.d.ts +3 -0
- package/dist/types/components/internal/CompanyDetails/types.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/PersonalDetails.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/types.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/validate.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/SFP/SecuredFieldsProvider.d.ts +3 -25
- package/dist/types/components/internal/SecuredFields/SFP/SecuredFieldsProviderHandlers.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/SFP/defaultProps.d.ts +1 -82
- package/dist/types/components/internal/SecuredFields/SFP/types.d.ts +76 -0
- package/dist/types/components/internal/SecuredFields/binLookup/extensions.d.ts +3 -1
- package/dist/types/components/internal/SecuredFields/lib/CSF/types.d.ts +2 -1
- package/dist/types/components/internal/SecuredFields/lib/CSF/utils/tabbing/utils.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/configuration/constants.d.ts +6 -5
- package/dist/types/components/internal/SecuredFields/lib/securedField/AbstractSecuredField.d.ts +1 -0
- package/dist/types/components/internal/SecuredFields/lib/securedField/SecuredField.d.ts +4 -0
- package/dist/types/components/internal/SecuredFields/lib/types.d.ts +1 -0
- package/dist/types/components/internal/SecuredFields/lib/utilities/commonUtils.d.ts +1 -1
- package/dist/types/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.d.ts +2 -2
- package/dist/types/core/core.d.ts +2 -1
- package/dist/types/language/config.d.ts +1 -0
- package/dist/types/language/locales/index.d.ts +50 -0
- package/dist/types/types/index.d.ts +30 -1
- package/dist/types/utils/Validator/Validator.d.ts +2 -20
- package/dist/types/utils/Validator/types.d.ts +45 -0
- package/dist/types/utils/useForm/types.d.ts +5 -0
- package/dist/types/utils/useForm/useForm.d.ts +2 -6
- package/dist/types/utils/validator-utils.d.ts +5 -0
- package/package.json +5 -5
package/dist/es.modern/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={payButton:"\u652f\u4ed8","payButton.redirecting":"\u91cd\u65b0\u5c0e\u5411\u4e2d......",storeDetails:"\u5132\u5b58\u4ee5\u4f9b\u4e0b\u6b21\u4ed8\u6b3e\u4f7f\u7528","creditCard.holderName":"\u4fe1\u7528\u5361\u4e0a\u7684\u59d3\u540d","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"\u6301\u5361\u4eba\u59d3\u540d\u7121\u6548","creditCard.numberField.title":"\u4fe1\u7528\u5361\u865f\u78bc","creditCard.numberField.placeholder":"1234 5678 9012 3456","creditCard.expiryDateField.title":"\u5230\u671f\u65e5\u671f","creditCard.expiryDateField.placeholder":"MM/YY","creditCard.expiryDateField.month":"\u6708\u4efd","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"YY","creditCard.expiryDateField.year":"\u5e74\u4efd","creditCard.cvcField.title":"\u4fe1\u7528\u5361\u9a57\u8b49\u78bc / \u4fe1\u7528\u5361\u5b89\u5168\u78bc","creditCard.cvcField.placeholder":"123","creditCard.storeDetailsButton":"\u8a18\u4f4f\u4f9b\u4e0b\u6b21\u4f7f\u7528","creditCard.cvcField.placeholder.4digits":"4 \u4f4d\u6578","creditCard.cvcField.placeholder.3digits":"3 \u4f4d\u6578","creditCard.taxNumber.placeholder":"\u5e74\u6708\u65e5\uff0f0123456789",installments:"\u5206\u671f\u4ed8\u6b3e\u7684\u671f\u6578",installmentOption:"%{times}x %{partialValue}",installmentOptionMonths:"\uff05{times} \u500b\u6708","installments.oneTime":"\u4e00\u6b21\u6027\u4ed8\u6b3e","installments.installments":"\u5206\u671f\u4ed8\u6b3e","installments.revolving":"\u5ef6\u671f\u4ed8\u6b3e","sepaDirectDebit.ibanField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","sepaDirectDebit.nameField.placeholder":"J. Smith","sepa.ownerName":"\u6301\u6709\u4eba\u540d\u7a31","sepa.ibanNumber":"\u5e33\u6236\u865f\u78bc (IBAN)","error.title":"\u932f\u8aa4","error.subtitle.redirect":"\u7121\u6cd5\u91cd\u65b0\u5c0e\u5411","error.subtitle.payment":"\u4ed8\u6b3e\u5931\u6557","error.subtitle.refused":"\u4ed8\u6b3e\u906d\u62d2\u7d55","error.message.unknown":"\u767c\u751f\u672a\u77e5\u932f\u8aa4","errorPanel.title":"\u73fe\u6709\u932f\u8aa4","idealIssuer.selectField.title":"\u9280\u884c","idealIssuer.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","creditCard.success":"\u4ed8\u6b3e\u6210\u529f",loading:"\u6b63\u5728\u8f09\u5165...",continue:"\u7e7c\u7e8c",continueTo:"\u7e7c\u7e8c\u524d\u5f80","wechatpay.timetopay":"\u60a8\u6709 %@ \u53ef\u4ee5\u652f\u4ed8","wechatpay.scanqrcode":"\u6383\u63cf QR \u4ee3\u78bc",personalDetails:"\u500b\u4eba\u8a73\u7d30\u8cc7\u6599",companyDetails:"\u516c\u53f8\u8a73\u60c5","companyDetails.name":"\u516c\u53f8\u540d\u7a31","companyDetails.registrationNumber":"\u8a3b\u518a\u865f\u78bc",socialSecurityNumber:"\u793e\u6703\u5b89\u5168\u78bc",firstName:"\u540d\u5b57",infix:"\u524d\u7db4",lastName:"\u59d3\u6c0f",mobileNumber:"\u884c\u52d5\u96fb\u8a71\u865f\u78bc","mobileNumber.invalid":"\u624b\u6a5f\u865f\u78bc\u7121\u6548",city:"\u57ce\u5e02",postalCode:"\u90f5\u905e\u5340\u865f",countryCode:"\u570b\u5bb6\u4ee3\u78bc",telephoneNumber:"\u96fb\u8a71\u865f\u78bc",dateOfBirth:"\u51fa\u751f\u65e5\u671f",shopperEmail:"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740",gender:"\u6027\u5225",male:"\u7537",female:"\u5973",billingAddress:"\u5e33\u55ae\u5730\u5740",street:"\u8857\u9053",stateOrProvince:"\u5dde/\u7e23/\u5e02",country:"\u570b\u5bb6/\u5730\u5340",houseNumberOrName:"\u9580\u724c\u865f",separateDeliveryAddress:"\u6307\u5b9a\u53e6\u4e00\u500b\u6d3e\u9001\u5730\u5740",deliveryAddress:"\u6d3e\u9001\u5730\u5740",zipCode:"\u90f5\u905e\u5340\u865f",apartmentSuite:"\u516c\u5bd3\uff0f\u5957\u623f",provinceOrTerritory:"\u7701\u6216\u5730\u5340",cityTown:"\u5e02\uff0f\u93ae",address:"\u5730\u5740",state:"\u5dde","field.title.optional":"\uff08\u9078\u7528\uff09","creditCard.cvcField.title.optional":"CVC / CVV (\u53ef\u9078)","issuerList.wallet.placeholder":"\u9078\u53d6\u60a8\u7684\u96fb\u5b50\u9322\u5305",privacyPolicy:"\u96b1\u79c1\u6b0a\u653f\u7b56","afterPay.agreement":"\u6211\u540c\u610f AfterPay \u7684%@",paymentConditions:"\u4ed8\u6b3e\u7d30\u5247",openApp:"\u958b\u555f\u61c9\u7528\u7a0b\u5f0f","voucher.readInstructions":"\u95b1\u89bd\u8aaa\u660e","voucher.introduction":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u512a\u60e0\u5238\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.expirationDate":"\u5230\u671f\u65e5\u671f","voucher.alternativeReference":"\u5099\u9078\u53c3\u7167","dragonpay.voucher.non.bank.selectField.placeholder":"\u9078\u64c7\u60a8\u7684\u4f9b\u61c9\u5546","dragonpay.voucher.bank.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","voucher.paymentReferenceLabel":"\u4ed8\u6b3e\u53c3\u7167\u865f\u78bc","voucher.surcharge":"\u5305\u542b %@ \u9644\u52a0\u8cbb","voucher.introduction.doku":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.shopperName":"\u8cfc\u7269\u8005\u59d3\u540d","voucher.merchantName":"\u5546\u5bb6","voucher.introduction.econtext":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.telephoneNumber":"\u96fb\u8a71\u865f\u78bc","voucher.shopperReference":"\u8cfc\u7269\u8005\u53c3\u8003","voucher.collectionInstitutionNumber":"\u6536\u6b3e\u6a5f\u69cb\u7de8\u865f","voucher.econtext.telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7684\u9577\u5ea6\u5fc5\u9808\u70ba 10 \u6216 11 \u4f4d\u6578","boletobancario.btnLabel":"\u7522\u751f Boleto","boleto.sendCopyToEmail":"\u5c07\u8907\u672c\u50b3\u9001\u81f3\u6211\u7684\u96fb\u5b50\u90f5\u4ef6","button.copy":"\u8907\u88fd","button.download":"\u4e0b\u8f09","boleto.socialSecurityNumber.invalid":"\u6b04\u4f4d\u7121\u6548","creditCard.storedCard.description.ariaLabel":"\u5df2\u5132\u5b58\u4ee5 %@ \u7d50\u5c3e\u7684\u4fe1\u7528\u5361","voucher.entity":"\u5be6\u9ad4",donateButton:"\u6350\u8d08",notNowButton:"\u7a0d\u5f8c\u518d\u8aaa",thanksForYourSupport:"\u611f\u8b1d\u60a8\u7684\u652f\u6301\uff01",preauthorizeWith:"\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u9032\u884c\u9810\u5148\u6388\u6b0a\uff1a",confirmPreauthorization:"\u78ba\u8a8d\u9810\u5148\u6388\u6b0a",confirmPurchase:"\u78ba\u8a8d\u8cfc\u8cb7",applyGiftcard:"\u514c\u63db",giftcardBalance:"\u79ae\u54c1\u5361\u9918\u984d",deductedBalance:"\u6263\u9664\u9918\u984d","creditCard.pin.title":"\u6578\u5b57\u5bc6\u78bc","creditCard.encryptedPassword.label":"\u5361\u5bc6\u78bc\u7684\u524d 2 \u4f4d\u6578\u5b57","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"\u5bc6\u78bc\u7121\u6548","creditCard.taxNumber":"\u6301\u5361\u4eba\u751f\u65e5\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc","creditCard.taxNumber.label":"\u6301\u5361\u4eba\u751f\u65e5\uff08\u5e74\u6708\u65e5\uff09\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.labelAlt":"\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.invalid":"\u6301\u5361\u4eba\u751f\u65e5\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\u7121\u6548","storedPaymentMethod.disable.button":"\u79fb\u9664","storedPaymentMethod.disable.confirmation":"\u79fb\u9664\u5df2\u5132\u5b58\u4ed8\u6b3e\u65b9\u5f0f","storedPaymentMethod.disable.confirmButton":"\u662f\uff0c\u8acb\u79fb\u9664","storedPaymentMethod.disable.cancelButton":"\u53d6\u6d88","ach.bankAccount":"\u9280\u884c\u5e33\u6236","ach.accountHolderNameField.title":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","ach.accountNumberField.title":"\u5e33\u6236\u865f\u78bc","ach.accountNumberField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","ach.accountLocationField.title":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f","ach.accountLocationField.invalid":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","select.state":"\u9078\u53d6\u5dde","select.stateOrProvince":"\u9078\u64c7\u5dde\u6216\u7701","select.provinceOrTerritory":"\u9078\u53d6\u7701\u6216\u5730\u5340","select.country":"\u9078\u64c7\u570b\u5bb6\uff0f\u5730\u5340","select.noOptionsFound":"\u627e\u4e0d\u5230\u4efb\u4f55\u9078\u9805","select.filter.placeholder":"\u641c\u5c0b\u2026\u2026","telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7121\u6548",qrCodeOrApp:"\u6216","paypal.processingPayment":"\u6b63\u5728\u8655\u7406\u4ed8\u6b3e\u2026\u2026",generateQRCode:"\u7522\u751f QR \u4ee3\u78bc","await.waitForConfirmation":"\u6b63\u5728\u7b49\u5019\u78ba\u8a8d","mbway.confirmPayment":"\u5728 MB WAY \u61c9\u7528\u7a0b\u5f0f\u4e0a\u78ba\u8a8d\u60a8\u7684\u4ed8\u6b3e","shopperEmail.invalid":"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u7121\u6548","dateOfBirth.format":"\u65e5\uff0f\u6708\uff0f\u5e74","dateOfBirth.invalid":"\u60a8\u5fc5\u9808\u5e74\u6eff 18 \u6b72","blik.confirmPayment":"\u958b\u555f\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4ee5\u78ba\u8a8d\u4ed8\u6b3e\u3002","blik.invalid":"\u8f38\u5165 6 \u500b\u6578\u5b57","blik.code":"6 \u4f4d\u6578\u4ee3\u78bc","blik.help":"\u5f9e\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4e2d\u7372\u53d6\u4ee3\u78bc\u3002","swish.pendingMessage":"\u6383\u63cf\u5f8c\uff0c\u8a72\u5f85\u5b8c\u6210\u72c0\u614b\u53ef\u80fd\u6301\u7e8c\u9577\u9054 10 \u5206\u9418\u3002\u8a66\u5716\u5728\u9019\u6bb5\u6642\u9593\u5167\u518d\u6b21\u4ed8\u6b3e\u53ef\u80fd\u6703\u5c0e\u81f4\u591a\u91cd\u6536\u8cbb\u3002","error.va.gen.01":"\u4e0d\u5b8c\u6574\u6b04\u4f4d","error.va.gen.02":"\u6b04\u4f4d\u7121\u6548","error.va.sf-cc-num.01":"\u4fe1\u7528\u5361\u865f\u78bc\u7121\u6548","error.va.sf-cc-num.03":"\u8f38\u5165\u4e86\u4e0d\u652f\u63f4\u7684\u5361","error.va.sf-cc-dat.01":"\u5361\u592a\u820a","error.va.sf-cc-dat.02":"\u672a\u4f86\u65e5\u671f\u8ddd\u4eca\u592a\u4e45","error.va.sf-cc-dat.03":"\u60a8\u7684\u5361\u6703\u65bc\u4ed8\u6b3e\u65e5\u671f\u524d\u5230\u671f","error.va.sf-ach-num.01":"\u5e33\u6236\u865f\u78bc\u7121\u6548","error.va.sf-ach-loc.01":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","error.va.sf-kcp-pwd.01":"\u5bc6\u78bc\u7121\u6548","error.giftcard.no-balance":"\u6b64\u79ae\u54c1\u5361\u7684\u9918\u984d\u70ba\u96f6","error.giftcard.card-error":"\u6211\u5011\u7684\u8a18\u9304\u4e2d\u4e26\u6c92\u6709\u9019\u500b\u865f\u78bc\u7684\u79ae\u54c1\u5361","error.giftcard.currency-error":"\u79ae\u54c1\u5361\u53ea\u80fd\u4ee5\u5176\u7c3d\u767c\u6642\u6240\u4f7f\u7528\u7684\u8ca8\u5e63\u9032\u884c\u7d50\u7b97","amazonpay.signout":"\u5f9e Amazon \u767b\u51fa","amazonpay.changePaymentDetails":"\u8b8a\u66f4\u4ed8\u6b3e\u660e\u7d30","partialPayment.warning":"\u9078\u53d6\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f\u4f86\u652f\u4ed8\u9918\u984d","partialPayment.remainingBalance":"\u9918\u984d\u5c07\u70ba %{amount}","bankTransfer.beneficiary":"\u53d7\u6b3e\u4eba","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"\u53c3\u7167","bankTransfer.introduction":"\u7e7c\u7e8c\u5efa\u7acb\u65b0\u7684\u9280\u884c\u8f49\u5e33\u4ed8\u6b3e\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u87a2\u5e55\u4e2d\u7684\u8a73\u7d30\u8cc7\u8a0a\u4f86\u5b8c\u6210\u6b64\u9805\u4ed8\u6b3e\u3002","bankTransfer.instructions":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","bacs.accountHolderName":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","bacs.accountHolderName.invalid":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","bacs.accountNumber":"\u9280\u884c\u5e33\u6236\u865f\u78bc","bacs.accountNumber.invalid":"\u9280\u884c\u5e33\u6236\u865f\u78bc\u7121\u6548","bacs.bankLocationId":"\u9280\u884c\u4ee3\u78bc","bacs.bankLocationId.invalid":"\u9280\u884c\u4ee3\u78bc\u7121\u6548","bacs.consent.amount":"\u6211\u540c\u610f\u5f9e\u6211\u7684\u9280\u884c\u5e33\u6236\u6263\u9664\u4e0a\u8ff0\u91d1\u984d\u3002","bacs.consent.account":"\u6211\u78ba\u8a8d\u8a72\u5e33\u6236\u4ee5\u6211\u7684\u540d\u7fa9\u958b\u8a2d\uff0c\u4e26\u4e14\u6211\u662f\u6388\u6b0a\u5f9e\u8a72\u5e33\u6236\u76f4\u63a5\u6263\u6b3e\u7684\u552f\u4e00\u7c3d\u7f72\u4eba\u3002",edit:"\u7de8\u8f2f","bacs.confirm":"\u78ba\u8a8d\u4e26\u652f\u4ed8","bacs.result.introduction":"\u4e0b\u8f09\u60a8\u7684\u76f4\u63a5\u6263\u6b3e\u6307\u793a\uff08DDI\uff0f\u6388\u6b0a\uff09","download.pdf":"\u4e0b\u8f09 PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u5361\u865f\u7684 IFrame","creditCard.encryptedCardNumber.aria.label":"\u4fe1\u7528\u5361\u865f\u78bc","creditCard.encryptedExpiryDate.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u65e5\u671f\u7684 IFrame","creditCard.encryptedExpiryDate.aria.label":"\u5230\u671f\u65e5\u671f","creditCard.encryptedExpiryMonth.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u6708\u4efd\u7684 IFrame","creditCard.encryptedExpiryMonth.aria.label":"\u5230\u671f\u6708\u4efd","creditCard.encryptedExpiryYear.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u5e74\u4efd\u7684 IFrame","creditCard.encryptedExpiryYear.aria.label":"\u5230\u671f\u5e74\u4efd","creditCard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u5361\u5b89\u5168\u78bc\u7684 IFrame","creditCard.encryptedSecurityCode.aria.label":"\u5b89\u5168\u78bc","creditCard.encryptedPassword.aria.iframeTitle":"\u5b89\u5168\u5361\u5bc6\u78bc\u7684 IFrame","creditCard.encryptedPassword.aria.label":"\u5361\u5bc6\u78bc\u7684\u524d 2 \u4f4d\u6578\u5b57","giftcard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u865f\u7684 IFrame","giftcard.encryptedCardNumber.aria.label":"\u79ae\u54c1\u5361\u865f","giftcard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u5b89\u5168\u78bc\u7684 IFrame","giftcard.encryptedSecurityCode.aria.label":"\u79ae\u54c1\u5361\u5b89\u5168\u78bc",giftcardTransactionLimit:"\u6b64\u79ae\u54c1\u5361\u6bcf\u7b46\u4ea4\u6613\u7684\u91d1\u984d\u4e0a\u9650\u70ba %{amount}","ach.encryptedBankAccountNumber.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u5e33\u6236\u865f\u78bc\u7684 IFrame","ach.encryptedBankAccountNumber.aria.label":"\u9280\u884c\u5e33\u6236","ach.encryptedBankLocationId.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7684 IFrame","ach.encryptedBankLocationId.aria.label":"\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f","twint.saved":"\u5132\u5b58\u7684",orPayWith:"\u6216\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u652f\u4ed8\uff1a"};export{e as default};
|
|
1
|
+
var e={payButton:"\u652f\u4ed8","payButton.redirecting":"\u91cd\u65b0\u5c0e\u5411\u4e2d......",storeDetails:"\u5132\u5b58\u4ee5\u4f9b\u4e0b\u6b21\u4ed8\u6b3e\u4f7f\u7528","creditCard.holderName":"\u4fe1\u7528\u5361\u4e0a\u7684\u59d3\u540d","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"\u6301\u5361\u4eba\u59d3\u540d\u7121\u6548","creditCard.numberField.title":"\u4fe1\u7528\u5361\u865f\u78bc","creditCard.numberField.placeholder":"1234 5678 9012 3456","creditCard.expiryDateField.title":"\u5230\u671f\u65e5\u671f","creditCard.expiryDateField.placeholder":"MM/YY","creditCard.expiryDateField.month":"\u6708\u4efd","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"YY","creditCard.expiryDateField.year":"\u5e74\u4efd","creditCard.cvcField.title":"\u4fe1\u7528\u5361\u9a57\u8b49\u78bc / \u4fe1\u7528\u5361\u5b89\u5168\u78bc","creditCard.cvcField.placeholder":"123","creditCard.storeDetailsButton":"\u8a18\u4f4f\u4f9b\u4e0b\u6b21\u4f7f\u7528","creditCard.cvcField.placeholder.4digits":"4 \u4f4d\u6578","creditCard.cvcField.placeholder.3digits":"3 \u4f4d\u6578","creditCard.taxNumber.placeholder":"\u5e74\u6708\u65e5\uff0f0123456789",installments:"\u5206\u671f\u4ed8\u6b3e\u7684\u671f\u6578",installmentOption:"%{times}x %{partialValue}",installmentOptionMonths:"\uff05{times} \u500b\u6708","installments.oneTime":"\u4e00\u6b21\u6027\u4ed8\u6b3e","installments.installments":"\u5206\u671f\u4ed8\u6b3e","installments.revolving":"\u5ef6\u671f\u4ed8\u6b3e","sepaDirectDebit.ibanField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","sepaDirectDebit.nameField.placeholder":"J. Smith","sepa.ownerName":"\u6301\u6709\u4eba\u540d\u7a31","sepa.ibanNumber":"\u5e33\u6236\u865f\u78bc (IBAN)","error.title":"\u932f\u8aa4","error.subtitle.redirect":"\u7121\u6cd5\u91cd\u65b0\u5c0e\u5411","error.subtitle.payment":"\u4ed8\u6b3e\u5931\u6557","error.subtitle.refused":"\u4ed8\u6b3e\u906d\u62d2\u7d55","error.message.unknown":"\u767c\u751f\u672a\u77e5\u932f\u8aa4","errorPanel.title":"\u73fe\u6709\u932f\u8aa4","idealIssuer.selectField.title":"\u9280\u884c","idealIssuer.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","creditCard.success":"\u4ed8\u6b3e\u6210\u529f",loading:"\u6b63\u5728\u8f09\u5165...",continue:"\u7e7c\u7e8c",continueTo:"\u7e7c\u7e8c\u524d\u5f80","wechatpay.timetopay":"\u60a8\u6709 %@ \u53ef\u4ee5\u652f\u4ed8","wechatpay.scanqrcode":"\u6383\u63cf QR \u4ee3\u78bc",personalDetails:"\u500b\u4eba\u8a73\u7d30\u8cc7\u6599",companyDetails:"\u516c\u53f8\u8a73\u60c5","companyDetails.name":"\u516c\u53f8\u540d\u7a31","companyDetails.registrationNumber":"\u8a3b\u518a\u865f\u78bc",socialSecurityNumber:"\u793e\u6703\u5b89\u5168\u78bc",firstName:"\u540d\u5b57",infix:"\u524d\u7db4",lastName:"\u59d3\u6c0f",mobileNumber:"\u884c\u52d5\u96fb\u8a71\u865f\u78bc","mobileNumber.invalid":"\u624b\u6a5f\u865f\u78bc\u7121\u6548",city:"\u57ce\u5e02",postalCode:"\u90f5\u905e\u5340\u865f",countryCode:"\u570b\u5bb6\u4ee3\u78bc",telephoneNumber:"\u96fb\u8a71\u865f\u78bc",dateOfBirth:"\u51fa\u751f\u65e5\u671f",shopperEmail:"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740",gender:"\u6027\u5225",male:"\u7537",female:"\u5973",billingAddress:"\u5e33\u55ae\u5730\u5740",street:"\u8857\u9053",stateOrProvince:"\u5dde/\u7e23/\u5e02",country:"\u570b\u5bb6/\u5730\u5340",houseNumberOrName:"\u9580\u724c\u865f",separateDeliveryAddress:"\u6307\u5b9a\u53e6\u4e00\u500b\u6d3e\u9001\u5730\u5740",deliveryAddress:"\u6d3e\u9001\u5730\u5740",zipCode:"\u90f5\u905e\u5340\u865f",apartmentSuite:"\u516c\u5bd3\uff0f\u5957\u623f",provinceOrTerritory:"\u7701\u6216\u5730\u5340",cityTown:"\u5e02\uff0f\u93ae",address:"\u5730\u5740",state:"\u5dde","field.title.optional":"\uff08\u9078\u7528\uff09","creditCard.cvcField.title.optional":"CVC / CVV (\u53ef\u9078)","issuerList.wallet.placeholder":"\u9078\u53d6\u60a8\u7684\u96fb\u5b50\u9322\u5305",privacyPolicy:"\u96b1\u79c1\u6b0a\u653f\u7b56","afterPay.agreement":"\u6211\u540c\u610f AfterPay \u7684%@",paymentConditions:"\u4ed8\u6b3e\u7d30\u5247",openApp:"\u958b\u555f\u61c9\u7528\u7a0b\u5f0f","voucher.readInstructions":"\u95b1\u89bd\u8aaa\u660e","voucher.introduction":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u512a\u60e0\u5238\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.expirationDate":"\u5230\u671f\u65e5\u671f","voucher.alternativeReference":"\u5099\u9078\u53c3\u7167","dragonpay.voucher.non.bank.selectField.placeholder":"\u9078\u64c7\u60a8\u7684\u4f9b\u61c9\u5546","dragonpay.voucher.bank.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","voucher.paymentReferenceLabel":"\u4ed8\u6b3e\u53c3\u7167\u865f\u78bc","voucher.surcharge":"\u5305\u542b %@ \u9644\u52a0\u8cbb","voucher.introduction.doku":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.shopperName":"\u8cfc\u7269\u8005\u59d3\u540d","voucher.merchantName":"\u5546\u5bb6","voucher.introduction.econtext":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.telephoneNumber":"\u96fb\u8a71\u865f\u78bc","voucher.shopperReference":"\u8cfc\u7269\u8005\u53c3\u8003","voucher.collectionInstitutionNumber":"\u6536\u6b3e\u6a5f\u69cb\u7de8\u865f","voucher.econtext.telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7684\u9577\u5ea6\u5fc5\u9808\u70ba 10 \u6216 11 \u4f4d\u6578","boletobancario.btnLabel":"\u7522\u751f Boleto","boleto.sendCopyToEmail":"\u5c07\u8907\u672c\u50b3\u9001\u81f3\u6211\u7684\u96fb\u5b50\u90f5\u4ef6","button.copy":"\u8907\u88fd","button.download":"\u4e0b\u8f09","boleto.socialSecurityNumber.invalid":"\u6b04\u4f4d\u7121\u6548","creditCard.storedCard.description.ariaLabel":"\u5df2\u5132\u5b58\u4ee5 %@ \u7d50\u5c3e\u7684\u4fe1\u7528\u5361","voucher.entity":"\u5be6\u9ad4",donateButton:"\u6350\u8d08",notNowButton:"\u7a0d\u5f8c\u518d\u8aaa",thanksForYourSupport:"\u611f\u8b1d\u60a8\u7684\u652f\u6301\uff01",preauthorizeWith:"\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u9032\u884c\u9810\u5148\u6388\u6b0a\uff1a",confirmPreauthorization:"\u78ba\u8a8d\u9810\u5148\u6388\u6b0a",confirmPurchase:"\u78ba\u8a8d\u8cfc\u8cb7",applyGiftcard:"\u514c\u63db",giftcardBalance:"\u79ae\u54c1\u5361\u9918\u984d",deductedBalance:"\u6263\u9664\u9918\u984d","creditCard.pin.title":"\u6578\u5b57\u5bc6\u78bc","creditCard.encryptedPassword.label":"\u5361\u5bc6\u78bc\u7684\u524d 2 \u4f4d\u6578\u5b57","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"\u5bc6\u78bc\u7121\u6548","creditCard.taxNumber":"\u6301\u5361\u4eba\u751f\u65e5\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc","creditCard.taxNumber.label":"\u6301\u5361\u4eba\u751f\u65e5\uff08\u5e74\u6708\u65e5\uff09\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.labelAlt":"\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.invalid":"\u6301\u5361\u4eba\u751f\u65e5\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\u7121\u6548","storedPaymentMethod.disable.button":"\u79fb\u9664","storedPaymentMethod.disable.confirmation":"\u79fb\u9664\u5df2\u5132\u5b58\u4ed8\u6b3e\u65b9\u5f0f","storedPaymentMethod.disable.confirmButton":"\u662f\uff0c\u8acb\u79fb\u9664","storedPaymentMethod.disable.cancelButton":"\u53d6\u6d88","ach.bankAccount":"\u9280\u884c\u5e33\u6236","ach.accountHolderNameField.title":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","ach.accountNumberField.title":"\u5e33\u6236\u865f\u78bc","ach.accountNumberField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","ach.accountLocationField.title":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f","ach.accountLocationField.invalid":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","select.state":"\u9078\u53d6\u5dde","select.stateOrProvince":"\u9078\u64c7\u5dde\u6216\u7701","select.provinceOrTerritory":"\u9078\u53d6\u7701\u6216\u5730\u5340","select.country":"\u9078\u64c7\u570b\u5bb6\uff0f\u5730\u5340","select.noOptionsFound":"\u627e\u4e0d\u5230\u4efb\u4f55\u9078\u9805","select.filter.placeholder":"\u641c\u5c0b\u2026\u2026","telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7121\u6548",qrCodeOrApp:"\u6216","paypal.processingPayment":"\u6b63\u5728\u8655\u7406\u4ed8\u6b3e\u2026\u2026",generateQRCode:"\u7522\u751f QR \u4ee3\u78bc","await.waitForConfirmation":"\u6b63\u5728\u7b49\u5019\u78ba\u8a8d","mbway.confirmPayment":"\u5728 MB WAY \u61c9\u7528\u7a0b\u5f0f\u4e0a\u78ba\u8a8d\u60a8\u7684\u4ed8\u6b3e","shopperEmail.invalid":"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u7121\u6548","dateOfBirth.format":"\u65e5\uff0f\u6708\uff0f\u5e74","dateOfBirth.invalid":"\u60a8\u5fc5\u9808\u5e74\u6eff 18 \u6b72","blik.confirmPayment":"\u958b\u555f\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4ee5\u78ba\u8a8d\u4ed8\u6b3e\u3002","blik.invalid":"\u8f38\u5165 6 \u500b\u6578\u5b57","blik.code":"6 \u4f4d\u6578\u4ee3\u78bc","blik.help":"\u5f9e\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4e2d\u7372\u53d6\u4ee3\u78bc\u3002","swish.pendingMessage":"\u6383\u63cf\u5f8c\uff0c\u8a72\u5f85\u5b8c\u6210\u72c0\u614b\u53ef\u80fd\u6301\u7e8c\u9577\u9054 10 \u5206\u9418\u3002\u8a66\u5716\u5728\u9019\u6bb5\u6642\u9593\u5167\u518d\u6b21\u4ed8\u6b3e\u53ef\u80fd\u6703\u5c0e\u81f4\u591a\u91cd\u6536\u8cbb\u3002","error.va.gen.01":"\u4e0d\u5b8c\u6574\u6b04\u4f4d","error.va.gen.02":"\u6b04\u4f4d\u7121\u6548","error.va.sf-cc-num.01":"\u4fe1\u7528\u5361\u865f\u78bc\u7121\u6548","error.va.sf-cc-num.03":"\u8f38\u5165\u4e86\u4e0d\u652f\u63f4\u7684\u5361","error.va.sf-cc-dat.01":"\u5361\u592a\u820a","error.va.sf-cc-dat.02":"\u672a\u4f86\u65e5\u671f\u8ddd\u4eca\u592a\u4e45","error.va.sf-cc-dat.03":"\u60a8\u7684\u5361\u6703\u65bc\u4ed8\u6b3e\u65e5\u671f\u524d\u5230\u671f","error.va.sf-ach-num.01":"\u5e33\u6236\u865f\u78bc\u7121\u6548","error.va.sf-ach-loc.01":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","error.va.sf-kcp-pwd.01":"\u5bc6\u78bc\u7121\u6548","error.giftcard.no-balance":"\u6b64\u79ae\u54c1\u5361\u7684\u9918\u984d\u70ba\u96f6","error.giftcard.card-error":"\u6211\u5011\u7684\u8a18\u9304\u4e2d\u4e26\u6c92\u6709\u9019\u500b\u865f\u78bc\u7684\u79ae\u54c1\u5361","error.giftcard.currency-error":"\u79ae\u54c1\u5361\u53ea\u80fd\u4ee5\u5176\u7c3d\u767c\u6642\u6240\u4f7f\u7528\u7684\u8ca8\u5e63\u9032\u884c\u7d50\u7b97","amazonpay.signout":"\u5f9e Amazon \u767b\u51fa","amazonpay.changePaymentDetails":"\u8b8a\u66f4\u4ed8\u6b3e\u660e\u7d30","partialPayment.warning":"\u9078\u53d6\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f\u4f86\u652f\u4ed8\u9918\u984d","partialPayment.remainingBalance":"\u9918\u984d\u5c07\u70ba %{amount}","bankTransfer.beneficiary":"\u53d7\u6b3e\u4eba","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"\u53c3\u7167","bankTransfer.introduction":"\u7e7c\u7e8c\u5efa\u7acb\u65b0\u7684\u9280\u884c\u8f49\u5e33\u4ed8\u6b3e\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u87a2\u5e55\u4e2d\u7684\u8a73\u7d30\u8cc7\u8a0a\u4f86\u5b8c\u6210\u6b64\u9805\u4ed8\u6b3e\u3002","bankTransfer.instructions":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","bacs.accountHolderName":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","bacs.accountHolderName.invalid":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","bacs.accountNumber":"\u9280\u884c\u5e33\u6236\u865f\u78bc","bacs.accountNumber.invalid":"\u9280\u884c\u5e33\u6236\u865f\u78bc\u7121\u6548","bacs.bankLocationId":"\u9280\u884c\u4ee3\u78bc","bacs.bankLocationId.invalid":"\u9280\u884c\u4ee3\u78bc\u7121\u6548","bacs.consent.amount":"\u6211\u540c\u610f\u5f9e\u6211\u7684\u9280\u884c\u5e33\u6236\u6263\u9664\u4e0a\u8ff0\u91d1\u984d\u3002","bacs.consent.account":"\u6211\u78ba\u8a8d\u8a72\u5e33\u6236\u4ee5\u6211\u7684\u540d\u7fa9\u958b\u8a2d\uff0c\u4e26\u4e14\u6211\u662f\u6388\u6b0a\u5f9e\u8a72\u5e33\u6236\u76f4\u63a5\u6263\u6b3e\u7684\u552f\u4e00\u7c3d\u7f72\u4eba\u3002",edit:"\u7de8\u8f2f","bacs.confirm":"\u78ba\u8a8d\u4e26\u652f\u4ed8","bacs.result.introduction":"\u4e0b\u8f09\u60a8\u7684\u76f4\u63a5\u6263\u6b3e\u6307\u793a\uff08DDI\uff0f\u6388\u6b0a\uff09","download.pdf":"\u4e0b\u8f09 PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u5361\u865f\u7684 IFrame","creditCard.encryptedCardNumber.aria.label":"\u4fe1\u7528\u5361\u865f\u78bc","creditCard.encryptedExpiryDate.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u65e5\u671f\u7684 IFrame","creditCard.encryptedExpiryDate.aria.label":"\u5230\u671f\u65e5\u671f","creditCard.encryptedExpiryMonth.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u6708\u4efd\u7684 IFrame","creditCard.encryptedExpiryMonth.aria.label":"\u5230\u671f\u6708\u4efd","creditCard.encryptedExpiryYear.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u5e74\u4efd\u7684 IFrame","creditCard.encryptedExpiryYear.aria.label":"\u5230\u671f\u5e74\u4efd","creditCard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u5361\u5b89\u5168\u78bc\u7684 IFrame","creditCard.encryptedSecurityCode.aria.label":"\u5b89\u5168\u78bc","creditCard.encryptedPassword.aria.iframeTitle":"\u5b89\u5168\u5361\u5bc6\u78bc\u7684 IFrame","creditCard.encryptedPassword.aria.label":"\u5361\u5bc6\u78bc\u7684\u524d 2 \u4f4d\u6578\u5b57","giftcard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u865f\u7684 IFrame","giftcard.encryptedCardNumber.aria.label":"\u79ae\u54c1\u5361\u865f","giftcard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u5b89\u5168\u78bc\u7684 IFrame","giftcard.encryptedSecurityCode.aria.label":"\u79ae\u54c1\u5361\u5b89\u5168\u78bc",giftcardTransactionLimit:"\u6b64\u79ae\u54c1\u5361\u6bcf\u7b46\u4ea4\u6613\u7684\u91d1\u984d\u4e0a\u9650\u70ba %{amount}","ach.encryptedBankAccountNumber.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u5e33\u6236\u865f\u78bc\u7684 IFrame","ach.encryptedBankAccountNumber.aria.label":"\u9280\u884c\u5e33\u6236","ach.encryptedBankLocationId.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7684 IFrame","ach.encryptedBankLocationId.aria.label":"\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f","twint.saved":"\u5132\u5b58\u7684",orPayWith:"\u6216\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u652f\u4ed8\uff1a",invalidFormatExpects:"\u683c\u5f0f\u7121\u6548\u3002\u683c\u5f0f\u5fc5\u9808\u70ba\uff1a%{format}"};export{e as default};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import './AchInput.scss';
|
|
3
|
-
|
|
3
|
+
import { ACHInputProps } from './types';
|
|
4
|
+
declare function AchInput(props: ACHInputProps): h.JSX.Element;
|
|
4
5
|
declare namespace AchInput {
|
|
5
6
|
var defaultProps: {
|
|
6
|
-
details: any[];
|
|
7
7
|
type: string;
|
|
8
8
|
hasHolderName: boolean;
|
|
9
9
|
holderNameRequired: boolean;
|
|
@@ -13,9 +13,7 @@ declare namespace AchInput {
|
|
|
13
13
|
onConfigSuccess: () => void;
|
|
14
14
|
onAllValid: () => void;
|
|
15
15
|
onFieldValid: () => void;
|
|
16
|
-
onBrand: () => void;
|
|
17
16
|
onError: () => void;
|
|
18
|
-
onBinValue: () => void;
|
|
19
17
|
onBlur: () => void;
|
|
20
18
|
onFocus: () => void;
|
|
21
19
|
onChange: () => void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
details: any[];
|
|
3
2
|
type: string;
|
|
4
3
|
hasHolderName: boolean;
|
|
5
4
|
holderNameRequired: boolean;
|
|
@@ -9,9 +8,7 @@ declare const _default: {
|
|
|
9
8
|
onConfigSuccess: () => void;
|
|
10
9
|
onAllValid: () => void;
|
|
11
10
|
onFieldValid: () => void;
|
|
12
|
-
onBrand: () => void;
|
|
13
11
|
onError: () => void;
|
|
14
|
-
onBinValue: () => void;
|
|
15
12
|
onBlur: () => void;
|
|
16
13
|
onFocus: () => void;
|
|
17
14
|
onChange: () => void;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import Language from '../../../../language/Language';
|
|
2
|
+
import { StylesObject } from '../../../internal/SecuredFields/lib/types';
|
|
1
3
|
export interface ACHInputStateValid {
|
|
2
4
|
holderName?: boolean;
|
|
3
5
|
billingAddress?: boolean;
|
|
@@ -10,3 +12,41 @@ export interface ACHInputStateError {
|
|
|
10
12
|
encryptedBankAccountNumber?: boolean;
|
|
11
13
|
encryptedBankLocationId?: boolean;
|
|
12
14
|
}
|
|
15
|
+
export interface ACHInputDataState {
|
|
16
|
+
holderName?: string;
|
|
17
|
+
billingAddress?: object;
|
|
18
|
+
}
|
|
19
|
+
declare type Placeholders = {
|
|
20
|
+
holderName?: string;
|
|
21
|
+
};
|
|
22
|
+
export interface ACHInputProps {
|
|
23
|
+
allowedDOMAccess?: boolean;
|
|
24
|
+
autoFocus?: boolean;
|
|
25
|
+
billingAddressAllowedCountries?: string[];
|
|
26
|
+
billingAddressRequired?: boolean;
|
|
27
|
+
billingAddressRequiredFields?: string[];
|
|
28
|
+
clientKey: string;
|
|
29
|
+
data?: ACHInputDataState;
|
|
30
|
+
hasHolderName?: boolean;
|
|
31
|
+
holderName?: string;
|
|
32
|
+
holderNameRequired?: boolean;
|
|
33
|
+
i18n?: Language;
|
|
34
|
+
keypadFix?: boolean;
|
|
35
|
+
legacyInputMode?: boolean;
|
|
36
|
+
loadingContext: string;
|
|
37
|
+
onAllValid?: () => {};
|
|
38
|
+
onBlur?: (e: any) => {};
|
|
39
|
+
onChange?: (obj: any) => {};
|
|
40
|
+
onConfigSuccess?: () => {};
|
|
41
|
+
onError?: () => {};
|
|
42
|
+
onFieldValid?: () => {};
|
|
43
|
+
onFocus?: (e: any) => {};
|
|
44
|
+
onLoad?: () => {};
|
|
45
|
+
payButton?: (obj: any) => {};
|
|
46
|
+
placeholders?: Placeholders;
|
|
47
|
+
showPayButton?: boolean;
|
|
48
|
+
showWarnings?: boolean;
|
|
49
|
+
styles?: StylesObject;
|
|
50
|
+
type?: string;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
@@ -10,9 +10,21 @@ declare global {
|
|
|
10
10
|
declare type ButtonColor = 'Gold' | 'LightGray' | 'DarkGray';
|
|
11
11
|
declare type Placement = 'Home' | 'Product' | 'Cart' | 'Checkout' | 'Other';
|
|
12
12
|
declare type ProductType = 'PayOnly' | 'PayAndShip';
|
|
13
|
+
declare type ChargePermissionType = 'OneTime' | 'Recurring';
|
|
14
|
+
declare type FrequencyUnit = 'Year' | 'Month' | 'Week' | 'Day' | 'Variable';
|
|
13
15
|
export declare type Currency = 'EUR' | 'GBP' | 'USD';
|
|
14
16
|
export declare type Region = 'EU' | 'UK' | 'US';
|
|
15
17
|
export declare type SupportedLocale = typeof SUPPORTED_LOCALES_EU[number] | typeof SUPPORTED_LOCALES_US[number];
|
|
18
|
+
export interface RecurringMetadata {
|
|
19
|
+
frequency: {
|
|
20
|
+
unit: string;
|
|
21
|
+
value: FrequencyUnit;
|
|
22
|
+
};
|
|
23
|
+
amount: {
|
|
24
|
+
amount: string;
|
|
25
|
+
currencyCode: Currency;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
16
28
|
export interface AmazonPayConfiguration {
|
|
17
29
|
merchantId?: string;
|
|
18
30
|
publicKeyId?: string;
|
|
@@ -26,6 +38,7 @@ export interface AmazonPayElementProps {
|
|
|
26
38
|
amount?: PaymentAmount;
|
|
27
39
|
buttonColor?: ButtonColor;
|
|
28
40
|
cancelUrl?: string;
|
|
41
|
+
chargePermissionType?: ChargePermissionType;
|
|
29
42
|
clientKey?: string;
|
|
30
43
|
configuration?: AmazonPayConfiguration;
|
|
31
44
|
currency?: Currency;
|
|
@@ -40,6 +53,7 @@ export interface AmazonPayElementProps {
|
|
|
40
53
|
payButton?: any;
|
|
41
54
|
placement?: Placement;
|
|
42
55
|
productType?: ProductType;
|
|
56
|
+
recurringMetadata?: RecurringMetadata;
|
|
43
57
|
region?: Region;
|
|
44
58
|
returnUrl?: string;
|
|
45
59
|
showChangePaymentDetailsButton: boolean;
|
|
@@ -59,6 +73,7 @@ export interface AmazonPayButtonProps {
|
|
|
59
73
|
amazonRef: any;
|
|
60
74
|
buttonColor?: ButtonColor;
|
|
61
75
|
cancelUrl?: string;
|
|
76
|
+
chargePermissionType?: ChargePermissionType;
|
|
62
77
|
clientKey?: string;
|
|
63
78
|
configuration?: AmazonPayConfiguration;
|
|
64
79
|
currency?: Currency;
|
|
@@ -69,6 +84,7 @@ export interface AmazonPayButtonProps {
|
|
|
69
84
|
onError: (error: any, component: any) => void;
|
|
70
85
|
placement?: Placement;
|
|
71
86
|
productType?: ProductType;
|
|
87
|
+
recurringMetadata?: RecurringMetadata;
|
|
72
88
|
ref: any;
|
|
73
89
|
region?: Region;
|
|
74
90
|
returnUrl?: string;
|
|
@@ -90,7 +106,9 @@ export interface OrderButtonProps {
|
|
|
90
106
|
amazonCheckoutSessionId: string;
|
|
91
107
|
amount: PaymentAmount;
|
|
92
108
|
clientKey: string;
|
|
109
|
+
chargePermissionType?: ChargePermissionType;
|
|
93
110
|
onError: (error: any, component: any) => void;
|
|
111
|
+
recurringMetadata: RecurringMetadata;
|
|
94
112
|
ref: any;
|
|
95
113
|
region: Region;
|
|
96
114
|
returnUrl: string;
|
|
@@ -158,6 +176,7 @@ export declare type LedgerCurrencies = {
|
|
|
158
176
|
};
|
|
159
177
|
export interface PayloadJSON {
|
|
160
178
|
addressDetails?: AddressDetails;
|
|
179
|
+
chargePermissionType?: ChargePermissionType;
|
|
161
180
|
deliverySpecifications?: DeliverySpecifications;
|
|
162
181
|
merchantMetadata?: MerchantMetadata;
|
|
163
182
|
paymentDetails?: {
|
|
@@ -166,6 +185,7 @@ export interface PayloadJSON {
|
|
|
166
185
|
presentmentCurrency: Currency;
|
|
167
186
|
totalOrderAmount: ChargeAmount;
|
|
168
187
|
};
|
|
188
|
+
recurringMetadata?: RecurringMetadata;
|
|
169
189
|
storeId: string;
|
|
170
190
|
webCheckoutDetails: {
|
|
171
191
|
checkoutCancelUrl?: string;
|
|
@@ -183,10 +203,12 @@ export interface CheckoutDetailsRequest {
|
|
|
183
203
|
}
|
|
184
204
|
export interface UpdateAmazonCheckoutSessionRequest {
|
|
185
205
|
amount: PaymentAmount;
|
|
206
|
+
chargePermissionType?: ChargePermissionType;
|
|
186
207
|
checkoutCancelUrl?: string;
|
|
187
208
|
checkoutResultReturnUrl: string;
|
|
188
209
|
checkoutSessionId: string;
|
|
189
210
|
publicKeyId: string;
|
|
211
|
+
recurringMetadata?: RecurringMetadata;
|
|
190
212
|
region: Region;
|
|
191
213
|
}
|
|
192
214
|
export interface CheckoutSessionConfig {
|
|
@@ -83,7 +83,7 @@ export interface ApplePayElementProps extends UIElementProps {
|
|
|
83
83
|
applicationData?: string;
|
|
84
84
|
onClick?: (resolve: any, reject: any) => void;
|
|
85
85
|
onAuthorized?: (resolve: any, reject: any, event: ApplePayJS.ApplePayPaymentAuthorizedEvent) => void;
|
|
86
|
-
onValidateMerchant?: (resolve: any, reject: any,
|
|
86
|
+
onValidateMerchant?: (resolve: any, reject: any, validationURL: string) => void;
|
|
87
87
|
/**
|
|
88
88
|
* {@link https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/1778013-onpaymentmethodselected}
|
|
89
89
|
* @param resolve(ApplePayPaymentMethodUpdate update) Completes the selection of a payment method with an update.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValidatorRules } from '../../../utils/Validator/
|
|
1
|
+
import { ValidatorRules } from '../../../utils/Validator/types';
|
|
2
2
|
export declare const bacsValidationRules: ValidatorRules;
|
|
3
3
|
export declare const bacsFormatters: {
|
|
4
4
|
bankAccountNumber: (value: any) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ValidatorRules } from '../../../../utils/Validator/
|
|
1
|
+
import { ValidatorRules } from '../../../../utils/Validator/types';
|
|
2
2
|
export declare const boletoValidationRules: ValidatorRules;
|
|
@@ -16,6 +16,9 @@ declare class BancontactElement extends CardElement {
|
|
|
16
16
|
formatProps(props: CardElementProps): {
|
|
17
17
|
type: string;
|
|
18
18
|
cvcPolicy: import("../internal/SecuredFields/lib/types").CVCPolicyType;
|
|
19
|
+
holderNameRequired: boolean;
|
|
20
|
+
hasCVC: boolean;
|
|
21
|
+
billingAddressRequired: any;
|
|
19
22
|
countryCode: any;
|
|
20
23
|
configuration: {
|
|
21
24
|
socialSecurityNumberMode: import("./types").SocialSecurityMode;
|
|
@@ -30,10 +33,6 @@ declare class BancontactElement extends CardElement {
|
|
|
30
33
|
moveFocus: any;
|
|
31
34
|
showPanel: any;
|
|
32
35
|
};
|
|
33
|
-
groupTypes: string[];
|
|
34
|
-
holderNameRequired: boolean;
|
|
35
|
-
hasCVC: boolean;
|
|
36
|
-
billingAddressRequired: any;
|
|
37
36
|
brand?: string;
|
|
38
37
|
brands?: string[];
|
|
39
38
|
enableStoreDetails?: boolean;
|
|
@@ -8,7 +8,11 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
8
8
|
onBinLookup: () => void;
|
|
9
9
|
SRConfig: {};
|
|
10
10
|
};
|
|
11
|
+
setComponentRef: (ref: any) => void;
|
|
11
12
|
formatProps(props: CardElementProps): {
|
|
13
|
+
holderNameRequired: boolean;
|
|
14
|
+
hasCVC: boolean;
|
|
15
|
+
billingAddressRequired: any;
|
|
12
16
|
type: string;
|
|
13
17
|
countryCode: any;
|
|
14
18
|
configuration: {
|
|
@@ -24,10 +28,6 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
24
28
|
moveFocus: any;
|
|
25
29
|
showPanel: any;
|
|
26
30
|
};
|
|
27
|
-
groupTypes: string[];
|
|
28
|
-
holderNameRequired: boolean;
|
|
29
|
-
hasCVC: boolean;
|
|
30
|
-
billingAddressRequired: any;
|
|
31
31
|
brand?: string;
|
|
32
32
|
brands?: string[];
|
|
33
33
|
enableStoreDetails?: boolean;
|
|
@@ -1,43 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionalComponent } from 'preact';
|
|
2
2
|
import './CardInput.scss';
|
|
3
3
|
import { CardInputProps } from './types';
|
|
4
|
-
declare
|
|
5
|
-
declare namespace CardInput {
|
|
6
|
-
var defaultProps: {
|
|
7
|
-
details: any[];
|
|
8
|
-
type: string;
|
|
9
|
-
hasHolderName: boolean;
|
|
10
|
-
holderNameRequired: boolean;
|
|
11
|
-
enableStoreDetails: boolean;
|
|
12
|
-
hideCVC: boolean;
|
|
13
|
-
hasCVC: boolean;
|
|
14
|
-
hasStoreDetails: boolean;
|
|
15
|
-
storedDetails: any;
|
|
16
|
-
showBrandIcon: boolean;
|
|
17
|
-
positionHolderNameOnTop: boolean;
|
|
18
|
-
billingAddressRequired: boolean;
|
|
19
|
-
billingAddressRequiredFields: string[];
|
|
20
|
-
installmentOptions: {};
|
|
21
|
-
configuration: {
|
|
22
|
-
koreanAuthenticationRequired: boolean;
|
|
23
|
-
socialSecurityNumberMode: import("../../types").SocialSecurityMode;
|
|
24
|
-
};
|
|
25
|
-
onLoad: () => any;
|
|
26
|
-
onConfigSuccess: () => any;
|
|
27
|
-
onAllValid: () => any;
|
|
28
|
-
onFieldValid: () => any;
|
|
29
|
-
onBrand: () => any;
|
|
30
|
-
onError: () => any;
|
|
31
|
-
onBinValue: () => any;
|
|
32
|
-
onBlur: () => any;
|
|
33
|
-
onFocus: () => any;
|
|
34
|
-
onChange: () => any;
|
|
35
|
-
data: {
|
|
36
|
-
billingAddress: {};
|
|
37
|
-
};
|
|
38
|
-
styles: {};
|
|
39
|
-
placeholders: {};
|
|
40
|
-
SRConfig: {};
|
|
41
|
-
};
|
|
42
|
-
}
|
|
4
|
+
declare const CardInput: FunctionalComponent<CardInputProps>;
|
|
43
5
|
export default CardInput;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { h } from 'preact';
|
|
2
|
+
export declare const CardFieldsWrapper: ({ data, valid, errors, handleChangeFor, sfpState, setFocusOn, collateErrors, errorFieldId, cvcPolicy, focusedElement, hasInstallments, handleInstallments, showAmountsInInstallments, mergedSRErrors, moveFocus, showPanel, handleErrorPanelFocus, formData, formErrors, formValid, expiryDatePolicy, dualBrandSelectElements, extensions, selectedBrandValue, showKCP, showBrazilianSSN, socialSecurityNumber, handleOnStoreDetails, billingAddress, handleAddress, billingAddressRef, amount, billingAddressRequired, billingAddressRequiredFields, billingAddressAllowedCountries, brandsConfiguration, enableStoreDetails, hasCVC, hasHolderName, holderNameRequired, installmentOptions, placeholders, positionHolderNameOnTop, showBrandIcon }: {
|
|
3
|
+
data: any;
|
|
4
|
+
valid: any;
|
|
5
|
+
errors: any;
|
|
6
|
+
handleChangeFor: any;
|
|
7
|
+
sfpState: any;
|
|
8
|
+
setFocusOn: any;
|
|
9
|
+
collateErrors: any;
|
|
10
|
+
errorFieldId: any;
|
|
11
|
+
cvcPolicy: any;
|
|
12
|
+
focusedElement: any;
|
|
13
|
+
hasInstallments: any;
|
|
14
|
+
handleInstallments: any;
|
|
15
|
+
showAmountsInInstallments: any;
|
|
16
|
+
mergedSRErrors: any;
|
|
17
|
+
moveFocus: any;
|
|
18
|
+
showPanel: any;
|
|
19
|
+
handleErrorPanelFocus: any;
|
|
20
|
+
formData: any;
|
|
21
|
+
formErrors: any;
|
|
22
|
+
formValid: any;
|
|
23
|
+
expiryDatePolicy: any;
|
|
24
|
+
dualBrandSelectElements: any;
|
|
25
|
+
extensions: any;
|
|
26
|
+
selectedBrandValue: any;
|
|
27
|
+
showKCP: any;
|
|
28
|
+
showBrazilianSSN: any;
|
|
29
|
+
socialSecurityNumber: any;
|
|
30
|
+
handleOnStoreDetails: any;
|
|
31
|
+
billingAddress: any;
|
|
32
|
+
handleAddress: any;
|
|
33
|
+
billingAddressRef: any;
|
|
34
|
+
amount: any;
|
|
35
|
+
billingAddressRequired: any;
|
|
36
|
+
billingAddressRequiredFields: any;
|
|
37
|
+
billingAddressAllowedCountries: any;
|
|
38
|
+
brandsConfiguration: any;
|
|
39
|
+
enableStoreDetails: any;
|
|
40
|
+
hasCVC: any;
|
|
41
|
+
hasHolderName: any;
|
|
42
|
+
holderNameRequired: any;
|
|
43
|
+
installmentOptions: any;
|
|
44
|
+
placeholders: any;
|
|
45
|
+
positionHolderNameOnTop: any;
|
|
46
|
+
showBrandIcon: any;
|
|
47
|
+
}) => h.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import { CardHolderNameProps } from './types';
|
|
3
|
-
export default function CardHolderName({
|
|
3
|
+
export default function CardHolderName({ onBlur, onInput, placeholder, value, required, error, isValid }: CardHolderNameProps): h.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import { StoredCardFieldsProps } from './types';
|
|
3
|
-
export default function StoredCardFields({ brand, hasCVC, onFocusField, errors, valid,
|
|
3
|
+
export default function StoredCardFields({ brand, hasCVC, onFocusField, errors, valid, cvcPolicy, focusedElement, lastFour, expiryMonth, expiryYear }: StoredCardFieldsProps): h.JSX.Element;
|
package/dist/types/components/Card/components/CardInput/components/StoredCardFieldsWrapper.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { h } from 'preact';
|
|
2
|
+
export declare const StoredCardFieldsWrapper: ({ sfpState, setFocusOn, cvcPolicy, focusedElement, hasInstallments, handleInstallments, showAmountsInInstallments, amount, hasCVC, installmentOptions, lastFour, expiryMonth, expiryYear }: {
|
|
3
|
+
sfpState: any;
|
|
4
|
+
setFocusOn: any;
|
|
5
|
+
cvcPolicy: any;
|
|
6
|
+
focusedElement: any;
|
|
7
|
+
hasInstallments: any;
|
|
8
|
+
handleInstallments: any;
|
|
9
|
+
showAmountsInInstallments: any;
|
|
10
|
+
amount: any;
|
|
11
|
+
hasCVC: any;
|
|
12
|
+
installmentOptions: any;
|
|
13
|
+
lastFour: any;
|
|
14
|
+
expiryMonth: any;
|
|
15
|
+
expiryYear: any;
|
|
16
|
+
}) => h.JSX.Element;
|
|
@@ -24,7 +24,7 @@ export interface CardFieldsProps {
|
|
|
24
24
|
export interface CardHolderNameProps {
|
|
25
25
|
error: boolean;
|
|
26
26
|
isValid: boolean;
|
|
27
|
-
|
|
27
|
+
onBlur: (event: Event) => void;
|
|
28
28
|
onInput: (event: Event) => void;
|
|
29
29
|
placeholder?: string;
|
|
30
30
|
required?: boolean;
|
|
@@ -107,7 +107,7 @@ export interface KCPProps {
|
|
|
107
107
|
filled?: boolean;
|
|
108
108
|
focusedElement: any;
|
|
109
109
|
onFocusField: (str: string) => {};
|
|
110
|
-
|
|
110
|
+
onBlur: (event: Event) => void;
|
|
111
111
|
onInput: (event: Event) => void;
|
|
112
112
|
taxNumber?: string;
|
|
113
113
|
error: boolean;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { SocialSecurityMode } from '../../types';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
details: any[];
|
|
4
3
|
type: string;
|
|
4
|
+
setComponentRef: () => void;
|
|
5
5
|
hasHolderName: boolean;
|
|
6
6
|
holderNameRequired: boolean;
|
|
7
7
|
enableStoreDetails: boolean;
|
|
8
|
-
hideCVC: boolean;
|
|
9
8
|
hasCVC: boolean;
|
|
10
|
-
hasStoreDetails: boolean;
|
|
11
|
-
storedDetails: any;
|
|
12
9
|
showBrandIcon: boolean;
|
|
13
10
|
positionHolderNameOnTop: boolean;
|
|
14
11
|
billingAddressRequired: boolean;
|
|
@@ -18,6 +15,7 @@ declare const _default: {
|
|
|
18
15
|
koreanAuthenticationRequired: boolean;
|
|
19
16
|
socialSecurityNumberMode: SocialSecurityMode;
|
|
20
17
|
};
|
|
18
|
+
autoFocus: boolean;
|
|
21
19
|
onLoad: () => any;
|
|
22
20
|
onConfigSuccess: () => any;
|
|
23
21
|
onAllValid: () => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ErrorPanelObj } from '../../../../core/Errors/ErrorPanel';
|
|
2
|
+
import { CbObjOnFocus } from '../../../internal/SecuredFields/lib/types';
|
|
3
|
+
/**
|
|
4
|
+
* Return a function that can act as a callback for the ErrorPanel
|
|
5
|
+
*/
|
|
6
|
+
export declare const getErrorPanelHandler: (isValidating: any, sfp: any, handleFocus: (e: CbObjOnFocus) => void) => (errors: ErrorPanelObj) => void;
|
|
7
|
+
export declare const getAddressHandler: (setFormData: any, setFormValid: any, setFormErrors: any) => (address: any) => void;
|
|
8
|
+
export declare const getFocusHandler: (setFocusedElement: any, onFocus: any, onBlur: any) => (e: CbObjOnFocus) => void;
|
|
9
|
+
export declare const getAutoJumpHandler: (isAutoJumping: any, sfp: any, layout: any) => () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Language from '../../../../language/Language';
|
|
2
|
-
import { CardBrandsConfiguration, CardConfiguration, DualBrandSelectElement
|
|
2
|
+
import { BinLookupResponse, CardBrandsConfiguration, CardConfiguration, DualBrandSelectElement } from '../../types';
|
|
3
3
|
import { PaymentAmount } from '../../../../types';
|
|
4
4
|
import { InstallmentOptions } from './components/types';
|
|
5
5
|
import { ValidationResult } from '../../../internal/PersonalDetails/types';
|
|
@@ -7,6 +7,7 @@ import { CVCPolicyType, DatePolicyType } from '../../../internal/SecuredFields/l
|
|
|
7
7
|
import { ValidationRuleResult } from '../../../../utils/Validator/Validator';
|
|
8
8
|
import Specifications from '../../../internal/Address/Specifications';
|
|
9
9
|
import { AddressSchema, StringObject } from '../../../internal/Address/types';
|
|
10
|
+
import { CbObjOnError, StylesObject } from '../../../internal/SecuredFields/lib/types';
|
|
10
11
|
export interface CardInputValidState {
|
|
11
12
|
holderName?: boolean;
|
|
12
13
|
billingAddress?: boolean;
|
|
@@ -34,48 +35,71 @@ export interface CardInputDataState {
|
|
|
34
35
|
socialSecurityNumber?: string;
|
|
35
36
|
taxNumber?: string;
|
|
36
37
|
}
|
|
37
|
-
|
|
38
|
+
declare type Placeholders = {
|
|
38
39
|
holderName?: string;
|
|
39
|
-
}
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Should be the subset of the props sent to CardInput that are *actually* used by CardInput
|
|
43
|
+
* - either in the comp itself or are passed on to its children
|
|
44
|
+
*/
|
|
40
45
|
export interface CardInputProps {
|
|
41
46
|
amount?: PaymentAmount;
|
|
47
|
+
allowedDOMAccess?: boolean;
|
|
48
|
+
autoFocus?: boolean;
|
|
42
49
|
billingAddressAllowedCountries?: string[];
|
|
43
50
|
billingAddressRequired?: boolean;
|
|
44
51
|
billingAddressRequiredFields?: string[];
|
|
45
52
|
brand?: string;
|
|
53
|
+
brands?: string[];
|
|
46
54
|
brandsConfiguration?: CardBrandsConfiguration;
|
|
55
|
+
clientKey: string;
|
|
47
56
|
configuration?: CardConfiguration;
|
|
48
57
|
countryCode?: string;
|
|
49
58
|
cvcPolicy?: CVCPolicyType;
|
|
50
59
|
data?: CardInputDataState;
|
|
51
60
|
enableStoreDetails?: boolean;
|
|
61
|
+
expiryMonth?: string;
|
|
62
|
+
expiryYear?: string;
|
|
52
63
|
fundingSource?: string;
|
|
53
64
|
hasCVC?: boolean;
|
|
54
65
|
hasHolderName?: boolean;
|
|
55
|
-
holderName?: string;
|
|
56
66
|
holderNameRequired?: boolean;
|
|
57
67
|
i18n?: Language;
|
|
68
|
+
implementationType?: string;
|
|
69
|
+
isCollatingErrors?: boolean;
|
|
58
70
|
installmentOptions?: InstallmentOptions;
|
|
59
|
-
|
|
60
|
-
|
|
71
|
+
keypadFix?: boolean;
|
|
72
|
+
lastFour?: string;
|
|
73
|
+
loadingContext: string;
|
|
74
|
+
legacyInputMode?: boolean;
|
|
75
|
+
minimumExpiryDate?: string;
|
|
76
|
+
onAdditionalSFConfig?: () => {};
|
|
77
|
+
onAdditionalSFRemoved?: () => {};
|
|
78
|
+
onAllValid?: () => {};
|
|
79
|
+
onAutoComplete?: () => {};
|
|
80
|
+
onBinValue?: () => {};
|
|
61
81
|
onBlur?: (e: any) => {};
|
|
82
|
+
onBrand?: () => {};
|
|
83
|
+
onConfigSuccess?: () => {};
|
|
84
|
+
onChange?: (state: any) => {};
|
|
85
|
+
onError?: () => {};
|
|
86
|
+
onFieldValid?: () => {};
|
|
62
87
|
onFocus?: (e: any) => {};
|
|
88
|
+
onLoad?: () => {};
|
|
63
89
|
payButton?: (obj: any) => {};
|
|
64
90
|
placeholders?: Placeholders;
|
|
65
91
|
positionHolderNameOnTop?: boolean;
|
|
92
|
+
setComponentRef?: (ref: any) => void;
|
|
93
|
+
showBrandIcon?: boolean;
|
|
66
94
|
showInstallmentAmounts?: boolean;
|
|
67
95
|
showPayButton?: boolean;
|
|
96
|
+
showWarnings?: boolean;
|
|
97
|
+
specifications?: Specifications;
|
|
98
|
+
SRConfig?: ScreenreaderConfig;
|
|
68
99
|
storedPaymentMethodId?: string;
|
|
69
|
-
styles?:
|
|
100
|
+
styles?: StylesObject;
|
|
101
|
+
trimTrailingSeparator?: boolean;
|
|
70
102
|
type?: string;
|
|
71
|
-
onChange?: (state: any) => {};
|
|
72
|
-
onSubmit?: () => {};
|
|
73
|
-
onBrand?: () => {};
|
|
74
|
-
onBinValue?: () => {};
|
|
75
|
-
details?: object;
|
|
76
|
-
storedDetails?: object;
|
|
77
|
-
SRConfig?: ScreenreaderConfig;
|
|
78
|
-
specifications?: Specifications;
|
|
79
103
|
}
|
|
80
104
|
export interface CardInputState {
|
|
81
105
|
dualBrandSelectElements: DualBrandSelectElement[];
|
|
@@ -93,6 +117,15 @@ export interface CardInputState {
|
|
|
93
117
|
issuingCountryCode: string;
|
|
94
118
|
showSocialSecurityNumber?: boolean;
|
|
95
119
|
}
|
|
120
|
+
export interface CardInputRef {
|
|
121
|
+
sfp?: any;
|
|
122
|
+
setFocusOn?: (who: any) => void;
|
|
123
|
+
showValidation?: (who: any) => void;
|
|
124
|
+
processBinLookupResponse?: (binLookupResponse: BinLookupResponse, isReset: boolean) => void;
|
|
125
|
+
setStatus?: any;
|
|
126
|
+
updateStyles?: (stylesObj: StylesObject) => void;
|
|
127
|
+
handleUnsupportedCard?: (errObj: CbObjOnError) => boolean;
|
|
128
|
+
}
|
|
96
129
|
interface ScreenreaderConfig {
|
|
97
130
|
collateErrors?: boolean;
|
|
98
131
|
moveFocus?: boolean;
|
|
@@ -120,6 +153,7 @@ export interface LayoutObj {
|
|
|
120
153
|
showKCP: boolean;
|
|
121
154
|
showBrazilianSSN: boolean;
|
|
122
155
|
countrySpecificSchemas: AddressSchema;
|
|
156
|
+
billingAddressRequiredFields?: string[];
|
|
123
157
|
}
|
|
124
158
|
export interface SortErrorsObj {
|
|
125
159
|
errors: ErrorObj;
|