@adyen/adyen-web 6.8.0 → 6.10.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 (440) hide show
  1. package/dist/cjs/adyen.css +21 -17
  2. package/dist/cjs/adyen.css.map +1 -1
  3. package/dist/cjs/index.cjs +2 -2
  4. package/dist/cjs/index.cjs.map +1 -1
  5. package/dist/cjs/index.d.cts +265 -71
  6. package/dist/es/_virtual/index.js +1 -1
  7. package/dist/es/_virtual/index2.js +2 -0
  8. package/dist/es/_virtual/index2.js.map +1 -0
  9. package/dist/es/adyen.css +21 -17
  10. package/dist/es/adyen.css.map +1 -1
  11. package/dist/es/components/Ach/components/AchInput/AchInput.js +1 -1
  12. package/dist/es/components/Ach/components/AchInput/AchInput.js.map +1 -1
  13. package/dist/es/components/Ach/components/AchInput/components/AchSFInput.js +1 -1
  14. package/dist/es/components/Ach/components/AchInput/components/AchSFInput.js.map +1 -1
  15. package/dist/es/components/ApplePay/ApplePay.js +1 -1
  16. package/dist/es/components/ApplePay/ApplePay.js.map +1 -1
  17. package/dist/es/components/ApplePay/components/ApplePayButton.js +1 -1
  18. package/dist/es/components/ApplePay/components/ApplePayButton.js.map +1 -1
  19. package/dist/es/components/ApplePay/defaultProps.js +1 -1
  20. package/dist/es/components/ApplePay/defaultProps.js.map +1 -1
  21. package/dist/es/components/ApplePay/services/ApplePaySdkLoader.js +2 -0
  22. package/dist/es/components/ApplePay/services/ApplePaySdkLoader.js.map +1 -0
  23. package/dist/es/components/ApplePay/services/ApplePayService.js.map +1 -0
  24. package/dist/es/components/ApplePay/utils/format-applepay-contact-to-adyen-format.js +2 -0
  25. package/dist/es/components/ApplePay/utils/format-applepay-contact-to-adyen-format.js.map +1 -0
  26. package/dist/es/components/ApplePay/utils/map-adyen-brands-to-applepay-brands.js +2 -0
  27. package/dist/es/components/ApplePay/utils/map-adyen-brands-to-applepay-brands.js.map +1 -0
  28. package/dist/es/components/ApplePay/utils/payment-request.js +2 -0
  29. package/dist/es/components/ApplePay/utils/payment-request.js.map +1 -0
  30. package/dist/es/components/ApplePay/utils/resolve-supported-version.js +2 -0
  31. package/dist/es/components/ApplePay/utils/resolve-supported-version.js.map +1 -0
  32. package/dist/es/components/BacsDD/components/BacsInput.js +1 -1
  33. package/dist/es/components/BacsDD/components/BacsInput.js.map +1 -1
  34. package/dist/es/components/Boleto/Boleto.js.map +1 -1
  35. package/dist/es/components/Card/components/CardInput/CardInput.js +1 -1
  36. package/dist/es/components/Card/components/CardInput/CardInput.js.map +1 -1
  37. package/dist/es/components/Card/components/CardInput/components/AvailableBrands/AvailableBrands.js +1 -1
  38. package/dist/es/components/Card/components/CardInput/components/AvailableBrands/AvailableBrands.js.map +1 -1
  39. package/dist/es/components/Card/components/CardInput/components/BrandIcon.js +1 -1
  40. package/dist/es/components/Card/components/CardInput/components/BrandIcon.js.map +1 -1
  41. package/dist/es/components/Card/components/CardInput/components/CVC.js +1 -1
  42. package/dist/es/components/Card/components/CardInput/components/CVC.js.map +1 -1
  43. package/dist/es/components/Card/components/CardInput/components/CVCHint.js +1 -1
  44. package/dist/es/components/Card/components/CardInput/components/CVCHint.js.map +1 -1
  45. package/dist/es/components/Card/components/CardInput/components/CardFields.js +1 -1
  46. package/dist/es/components/Card/components/CardInput/components/CardFields.js.map +1 -1
  47. package/dist/es/components/Card/components/CardInput/components/CardNumber.js +1 -1
  48. package/dist/es/components/Card/components/CardInput/components/CardNumber.js.map +1 -1
  49. package/dist/es/components/Card/components/CardInput/components/ExpirationDate.js +1 -1
  50. package/dist/es/components/Card/components/CardInput/components/ExpirationDate.js.map +1 -1
  51. package/dist/es/components/Card/components/CardInput/components/KCPAuthentication.js +1 -1
  52. package/dist/es/components/Card/components/CardInput/components/KCPAuthentication.js.map +1 -1
  53. package/dist/es/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js +1 -1
  54. package/dist/es/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js.map +1 -1
  55. package/dist/es/components/Dropin/components/PaymentMethod/InstantPaymentMethods.js +1 -1
  56. package/dist/es/components/Dropin/components/PaymentMethod/InstantPaymentMethods.js.map +1 -1
  57. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodIcon.js +1 -1
  58. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodIcon.js.map +1 -1
  59. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js +1 -1
  60. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js.map +1 -1
  61. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodList.js +1 -1
  62. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodList.js.map +1 -1
  63. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodName.js +1 -1
  64. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodName.js.map +1 -1
  65. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js +1 -1
  66. package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js.map +1 -1
  67. package/dist/es/components/Giftcard/Giftcard.js +1 -1
  68. package/dist/es/components/Giftcard/Giftcard.js.map +1 -1
  69. package/dist/es/components/Giftcard/components/GiftcardComponent.js +1 -1
  70. package/dist/es/components/Giftcard/components/GiftcardComponent.js.map +1 -1
  71. package/dist/es/components/Giftcard/components/GiftcardNumberField.js +1 -1
  72. package/dist/es/components/Giftcard/components/GiftcardNumberField.js.map +1 -1
  73. package/dist/es/components/Giftcard/components/GiftcardPinField.js +1 -1
  74. package/dist/es/components/Giftcard/components/GiftcardPinField.js.map +1 -1
  75. package/dist/es/components/Giftcard/components/GiftcardResult.js +1 -1
  76. package/dist/es/components/Giftcard/components/GiftcardResult.js.map +1 -1
  77. package/dist/es/components/GooglePay/GooglePay.js +1 -1
  78. package/dist/es/components/GooglePay/GooglePay.js.map +1 -1
  79. package/dist/es/components/MBWay/MBWay.js +1 -1
  80. package/dist/es/components/MBWay/MBWay.js.map +1 -1
  81. package/dist/es/components/MBWay/components/MBWayInput/MBWayInput.js +1 -1
  82. package/dist/es/components/MBWay/components/MBWayInput/MBWayInput.js.map +1 -1
  83. package/dist/es/components/MealVoucherFR/components/MealVoucherExpiryField.js +1 -1
  84. package/dist/es/components/MealVoucherFR/components/MealVoucherExpiryField.js.map +1 -1
  85. package/dist/es/components/PayPal/components/PaypalButtons.js +1 -1
  86. package/dist/es/components/PayPal/components/PaypalButtons.js.map +1 -1
  87. package/dist/es/components/PayTo/PayTo.js +2 -0
  88. package/dist/es/components/PayTo/PayTo.js.map +1 -0
  89. package/dist/es/components/PayTo/components/BSBInput.js +2 -0
  90. package/dist/es/components/PayTo/components/BSBInput.js.map +1 -0
  91. package/dist/es/components/PayTo/components/IdentifierSelector.js +2 -0
  92. package/dist/es/components/PayTo/components/IdentifierSelector.js.map +1 -0
  93. package/dist/es/components/PayTo/components/MandateSummary.js +2 -0
  94. package/dist/es/components/PayTo/components/MandateSummary.js.map +1 -0
  95. package/dist/es/components/PayTo/components/PayIDInput.js +2 -0
  96. package/dist/es/components/PayTo/components/PayIDInput.js.map +1 -0
  97. package/dist/es/components/PayTo/components/PayToComponent.js +2 -0
  98. package/dist/es/components/PayTo/components/PayToComponent.js.map +1 -0
  99. package/dist/es/components/PayTo/components/PayToInstructions.js +2 -0
  100. package/dist/es/components/PayTo/components/PayToInstructions.js.map +1 -0
  101. package/dist/es/components/PayTo/components/PayToNameFields.js +2 -0
  102. package/dist/es/components/PayTo/components/PayToNameFields.js.map +1 -0
  103. package/dist/es/components/PayTo/components/PayToPhone.js +2 -0
  104. package/dist/es/components/PayTo/components/PayToPhone.js.map +1 -0
  105. package/dist/es/components/PayTo/components/validate.js +2 -0
  106. package/dist/es/components/PayTo/components/validate.js.map +1 -0
  107. package/dist/es/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js +1 -1
  108. package/dist/es/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js.map +1 -1
  109. package/dist/es/components/ThreeDS2/components/Form/ThreeDS2Form.js +1 -1
  110. package/dist/es/components/ThreeDS2/components/Form/ThreeDS2Form.js.map +1 -1
  111. package/dist/es/components/UPI/components/UPIComponent/useUpiSegmentedControlOptions.js.map +1 -1
  112. package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js +1 -1
  113. package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js.map +1 -1
  114. package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js +1 -1
  115. package/dist/es/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js.map +1 -1
  116. package/dist/es/components/components-name-map.js +1 -1
  117. package/dist/es/components/components-name-map.js.map +1 -1
  118. package/dist/es/components/index.js +1 -1
  119. package/dist/es/components/internal/Alert/Alert.js +1 -1
  120. package/dist/es/components/internal/Alert/Alert.js.map +1 -1
  121. package/dist/es/components/internal/Await/Await.js +1 -1
  122. package/dist/es/components/internal/Await/Await.js.map +1 -1
  123. package/dist/es/components/internal/Button/Button.js +1 -1
  124. package/dist/es/components/internal/Button/Button.js.map +1 -1
  125. package/dist/es/components/internal/ButtonGroup/ButtonGroup.js +1 -1
  126. package/dist/es/components/internal/ButtonGroup/ButtonGroup.js.map +1 -1
  127. package/dist/es/components/internal/ClickToPay/components/CtPBrand/CtPBrand.js +1 -1
  128. package/dist/es/components/internal/ClickToPay/components/CtPBrand/CtPBrand.js.map +1 -1
  129. package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js +1 -1
  130. package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js.map +1 -1
  131. package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js +1 -1
  132. package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js.map +1 -1
  133. package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js +1 -1
  134. package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js.map +1 -1
  135. package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js +1 -1
  136. package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js.map +1 -1
  137. package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPSection.js +1 -1
  138. package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPSection.js.map +1 -1
  139. package/dist/es/components/internal/CompanyDetails/CompanyDetails.js.map +1 -1
  140. package/dist/es/components/internal/ContentSeparator/ContentSeparator.js +1 -1
  141. package/dist/es/components/internal/ContentSeparator/ContentSeparator.js.map +1 -1
  142. package/dist/es/components/internal/DetailsTable/DetailsTable.js +2 -0
  143. package/dist/es/components/internal/DetailsTable/DetailsTable.js.map +1 -0
  144. package/dist/es/components/internal/ExpandButton/ExpandButton.js +1 -1
  145. package/dist/es/components/internal/ExpandButton/ExpandButton.js.map +1 -1
  146. package/dist/es/components/internal/FormFields/Checkbox/Checkbox.js +1 -1
  147. package/dist/es/components/internal/FormFields/Checkbox/Checkbox.js.map +1 -1
  148. package/dist/es/components/internal/FormFields/Field/Field.js +1 -1
  149. package/dist/es/components/internal/FormFields/Field/Field.js.map +1 -1
  150. package/dist/es/components/internal/FormFields/Fieldset/Fieldset.js +1 -1
  151. package/dist/es/components/internal/FormFields/Fieldset/Fieldset.js.map +1 -1
  152. package/dist/es/components/internal/FormFields/InputBase.js +1 -1
  153. package/dist/es/components/internal/FormFields/InputBase.js.map +1 -1
  154. package/dist/es/components/internal/FormFields/RadioGroup/RadioGroup.js +1 -1
  155. package/dist/es/components/internal/FormFields/RadioGroup/RadioGroup.js.map +1 -1
  156. package/dist/es/components/internal/FormFields/Select/Select.js +1 -1
  157. package/dist/es/components/internal/FormFields/Select/Select.js.map +1 -1
  158. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +1 -1
  159. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js.map +1 -1
  160. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +1 -1
  161. package/dist/es/components/internal/FormFields/Select/components/SelectList.js.map +1 -1
  162. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +1 -1
  163. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js.map +1 -1
  164. package/dist/es/components/internal/IFrame/Iframe.js +1 -1
  165. package/dist/es/components/internal/IFrame/Iframe.js.map +1 -1
  166. package/dist/es/components/internal/Icon/Icon.js +1 -1
  167. package/dist/es/components/internal/Icon/Icon.js.map +1 -1
  168. package/dist/es/components/internal/Img/Img.js +1 -1
  169. package/dist/es/components/internal/Img/Img.js.map +1 -1
  170. package/dist/es/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.js +1 -1
  171. package/dist/es/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.js.map +1 -1
  172. package/dist/es/components/internal/LoadingWrapper/LoadingWrapper.js +1 -1
  173. package/dist/es/components/internal/LoadingWrapper/LoadingWrapper.js.map +1 -1
  174. package/dist/es/components/internal/Modal/Modal.js +1 -1
  175. package/dist/es/components/internal/Modal/Modal.js.map +1 -1
  176. package/dist/es/components/internal/OpenInvoice/OpenInvoice.js +1 -1
  177. package/dist/es/components/internal/OpenInvoice/OpenInvoice.js.map +1 -1
  178. package/dist/es/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
  179. package/dist/es/components/internal/PhoneInput/PhoneInputFields.js +2 -0
  180. package/dist/es/components/internal/PhoneInput/PhoneInputFields.js.map +1 -0
  181. package/dist/es/components/internal/PhoneInput/PhoneInputForm.js +2 -0
  182. package/dist/es/components/internal/PhoneInput/PhoneInputForm.js.map +1 -0
  183. package/dist/es/components/internal/PhoneInput/validate.js +1 -1
  184. package/dist/es/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js +1 -1
  185. package/dist/es/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js.map +1 -1
  186. package/dist/es/components/internal/SecuredFields/lib/CSF/utils/cardType.js +1 -1
  187. package/dist/es/components/internal/SecuredFields/lib/CSF/utils/cardType.js.map +1 -1
  188. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +1 -1
  189. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js.map +1 -1
  190. package/dist/es/components/internal/SendCopyToEmail/SendCopyToEmail.js +1 -1
  191. package/dist/es/components/internal/SendCopyToEmail/SendCopyToEmail.js.map +1 -1
  192. package/dist/es/components/internal/UIElement/UIElement.js.map +1 -1
  193. package/dist/es/components/internal/Voucher/Voucher.js +1 -1
  194. package/dist/es/components/internal/Voucher/Voucher.js.map +1 -1
  195. package/dist/es/components/tx-variants.js +1 -1
  196. package/dist/es/components/tx-variants.js.map +1 -1
  197. package/dist/es/core/ProcessResponse/PaymentMethods/filters.js +1 -1
  198. package/dist/es/core/ProcessResponse/PaymentMethods/filters.js.map +1 -1
  199. package/dist/es/core/Services/analytics/collect-id.js +1 -1
  200. package/dist/es/core/Services/analytics/collect-id.js.map +1 -1
  201. package/dist/es/core/core.js +1 -1
  202. package/dist/es/core/core.js.map +1 -1
  203. package/dist/es/core/utils.js +1 -1
  204. package/dist/es/core/utils.js.map +1 -1
  205. package/dist/es/external/classnames/index.js +2 -2
  206. package/dist/es/external/classnames/index.js.map +1 -1
  207. package/dist/es/index.d.ts +265 -71
  208. package/dist/es/index.js +1 -1
  209. package/dist/es/utils/Validator/ValidationRuleResult.js.map +1 -1
  210. package/dist/es/utils/Validator/Validator.js.map +1 -1
  211. package/dist/es/utils/inIframe.js +2 -0
  212. package/dist/es/utils/inIframe.js.map +1 -0
  213. package/dist/es-legacy/_virtual/index.js +1 -1
  214. package/dist/es-legacy/_virtual/index2.js +2 -0
  215. package/dist/es-legacy/_virtual/index2.js.map +1 -0
  216. package/dist/es-legacy/adyen.css +21 -17
  217. package/dist/es-legacy/adyen.css.map +1 -1
  218. package/dist/es-legacy/components/Ach/components/AchInput/AchInput.js +1 -1
  219. package/dist/es-legacy/components/Ach/components/AchInput/AchInput.js.map +1 -1
  220. package/dist/es-legacy/components/Ach/components/AchInput/components/AchSFInput.js +1 -1
  221. package/dist/es-legacy/components/Ach/components/AchInput/components/AchSFInput.js.map +1 -1
  222. package/dist/es-legacy/components/ApplePay/ApplePay.js +1 -1
  223. package/dist/es-legacy/components/ApplePay/ApplePay.js.map +1 -1
  224. package/dist/es-legacy/components/ApplePay/components/ApplePayButton.js +1 -1
  225. package/dist/es-legacy/components/ApplePay/components/ApplePayButton.js.map +1 -1
  226. package/dist/es-legacy/components/ApplePay/defaultProps.js +1 -1
  227. package/dist/es-legacy/components/ApplePay/defaultProps.js.map +1 -1
  228. package/dist/es-legacy/components/ApplePay/services/ApplePaySdkLoader.js +2 -0
  229. package/dist/es-legacy/components/ApplePay/services/ApplePaySdkLoader.js.map +1 -0
  230. package/dist/es-legacy/components/ApplePay/services/ApplePayService.js.map +1 -0
  231. package/dist/es-legacy/components/ApplePay/utils/format-applepay-contact-to-adyen-format.js +2 -0
  232. package/dist/es-legacy/components/ApplePay/utils/format-applepay-contact-to-adyen-format.js.map +1 -0
  233. package/dist/es-legacy/components/ApplePay/utils/map-adyen-brands-to-applepay-brands.js +2 -0
  234. package/dist/es-legacy/components/ApplePay/utils/map-adyen-brands-to-applepay-brands.js.map +1 -0
  235. package/dist/es-legacy/components/ApplePay/utils/payment-request.js +2 -0
  236. package/dist/es-legacy/components/ApplePay/utils/payment-request.js.map +1 -0
  237. package/dist/es-legacy/components/ApplePay/utils/resolve-supported-version.js +2 -0
  238. package/dist/es-legacy/components/ApplePay/utils/resolve-supported-version.js.map +1 -0
  239. package/dist/es-legacy/components/BacsDD/components/BacsInput.js +1 -1
  240. package/dist/es-legacy/components/BacsDD/components/BacsInput.js.map +1 -1
  241. package/dist/es-legacy/components/Boleto/Boleto.js.map +1 -1
  242. package/dist/es-legacy/components/Card/components/CardInput/CardInput.js +1 -1
  243. package/dist/es-legacy/components/Card/components/CardInput/CardInput.js.map +1 -1
  244. package/dist/es-legacy/components/Card/components/CardInput/components/AvailableBrands/AvailableBrands.js +1 -1
  245. package/dist/es-legacy/components/Card/components/CardInput/components/AvailableBrands/AvailableBrands.js.map +1 -1
  246. package/dist/es-legacy/components/Card/components/CardInput/components/BrandIcon.js +1 -1
  247. package/dist/es-legacy/components/Card/components/CardInput/components/BrandIcon.js.map +1 -1
  248. package/dist/es-legacy/components/Card/components/CardInput/components/CVC.js +1 -1
  249. package/dist/es-legacy/components/Card/components/CardInput/components/CVC.js.map +1 -1
  250. package/dist/es-legacy/components/Card/components/CardInput/components/CVCHint.js +1 -1
  251. package/dist/es-legacy/components/Card/components/CardInput/components/CVCHint.js.map +1 -1
  252. package/dist/es-legacy/components/Card/components/CardInput/components/CardFields.js +1 -1
  253. package/dist/es-legacy/components/Card/components/CardInput/components/CardFields.js.map +1 -1
  254. package/dist/es-legacy/components/Card/components/CardInput/components/CardNumber.js +1 -1
  255. package/dist/es-legacy/components/Card/components/CardInput/components/CardNumber.js.map +1 -1
  256. package/dist/es-legacy/components/Card/components/CardInput/components/ExpirationDate.js +1 -1
  257. package/dist/es-legacy/components/Card/components/CardInput/components/ExpirationDate.js.map +1 -1
  258. package/dist/es-legacy/components/Card/components/CardInput/components/KCPAuthentication.js +1 -1
  259. package/dist/es-legacy/components/Card/components/CardInput/components/KCPAuthentication.js.map +1 -1
  260. package/dist/es-legacy/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js +1 -1
  261. package/dist/es-legacy/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js.map +1 -1
  262. package/dist/es-legacy/components/Dropin/components/PaymentMethod/InstantPaymentMethods.js +1 -1
  263. package/dist/es-legacy/components/Dropin/components/PaymentMethod/InstantPaymentMethods.js.map +1 -1
  264. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodIcon.js +1 -1
  265. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodIcon.js.map +1 -1
  266. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js +1 -1
  267. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js.map +1 -1
  268. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodList.js +1 -1
  269. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodList.js.map +1 -1
  270. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodName.js +1 -1
  271. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodName.js.map +1 -1
  272. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js +1 -1
  273. package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js.map +1 -1
  274. package/dist/es-legacy/components/Giftcard/Giftcard.js +1 -1
  275. package/dist/es-legacy/components/Giftcard/Giftcard.js.map +1 -1
  276. package/dist/es-legacy/components/Giftcard/components/GiftcardComponent.js +1 -1
  277. package/dist/es-legacy/components/Giftcard/components/GiftcardComponent.js.map +1 -1
  278. package/dist/es-legacy/components/Giftcard/components/GiftcardNumberField.js +1 -1
  279. package/dist/es-legacy/components/Giftcard/components/GiftcardNumberField.js.map +1 -1
  280. package/dist/es-legacy/components/Giftcard/components/GiftcardPinField.js +1 -1
  281. package/dist/es-legacy/components/Giftcard/components/GiftcardPinField.js.map +1 -1
  282. package/dist/es-legacy/components/Giftcard/components/GiftcardResult.js +1 -1
  283. package/dist/es-legacy/components/Giftcard/components/GiftcardResult.js.map +1 -1
  284. package/dist/es-legacy/components/GooglePay/GooglePay.js +1 -1
  285. package/dist/es-legacy/components/GooglePay/GooglePay.js.map +1 -1
  286. package/dist/es-legacy/components/MBWay/MBWay.js +1 -1
  287. package/dist/es-legacy/components/MBWay/MBWay.js.map +1 -1
  288. package/dist/es-legacy/components/MBWay/components/MBWayInput/MBWayInput.js +1 -1
  289. package/dist/es-legacy/components/MBWay/components/MBWayInput/MBWayInput.js.map +1 -1
  290. package/dist/es-legacy/components/MealVoucherFR/components/MealVoucherExpiryField.js +1 -1
  291. package/dist/es-legacy/components/MealVoucherFR/components/MealVoucherExpiryField.js.map +1 -1
  292. package/dist/es-legacy/components/PayPal/components/PaypalButtons.js +1 -1
  293. package/dist/es-legacy/components/PayPal/components/PaypalButtons.js.map +1 -1
  294. package/dist/es-legacy/components/PayTo/PayTo.js +2 -0
  295. package/dist/es-legacy/components/PayTo/PayTo.js.map +1 -0
  296. package/dist/es-legacy/components/PayTo/components/BSBInput.js +2 -0
  297. package/dist/es-legacy/components/PayTo/components/BSBInput.js.map +1 -0
  298. package/dist/es-legacy/components/PayTo/components/IdentifierSelector.js +2 -0
  299. package/dist/es-legacy/components/PayTo/components/IdentifierSelector.js.map +1 -0
  300. package/dist/es-legacy/components/PayTo/components/MandateSummary.js +2 -0
  301. package/dist/es-legacy/components/PayTo/components/MandateSummary.js.map +1 -0
  302. package/dist/es-legacy/components/PayTo/components/PayIDInput.js +2 -0
  303. package/dist/es-legacy/components/PayTo/components/PayIDInput.js.map +1 -0
  304. package/dist/es-legacy/components/PayTo/components/PayToComponent.js +2 -0
  305. package/dist/es-legacy/components/PayTo/components/PayToComponent.js.map +1 -0
  306. package/dist/es-legacy/components/PayTo/components/PayToInstructions.js +2 -0
  307. package/dist/es-legacy/components/PayTo/components/PayToInstructions.js.map +1 -0
  308. package/dist/es-legacy/components/PayTo/components/PayToNameFields.js +2 -0
  309. package/dist/es-legacy/components/PayTo/components/PayToNameFields.js.map +1 -0
  310. package/dist/es-legacy/components/PayTo/components/PayToPhone.js +2 -0
  311. package/dist/es-legacy/components/PayTo/components/PayToPhone.js.map +1 -0
  312. package/dist/es-legacy/components/PayTo/components/validate.js +2 -0
  313. package/dist/es-legacy/components/PayTo/components/validate.js.map +1 -0
  314. package/dist/es-legacy/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js +1 -1
  315. package/dist/es-legacy/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js.map +1 -1
  316. package/dist/es-legacy/components/ThreeDS2/components/Form/ThreeDS2Form.js +1 -1
  317. package/dist/es-legacy/components/ThreeDS2/components/Form/ThreeDS2Form.js.map +1 -1
  318. package/dist/es-legacy/components/UPI/components/UPIComponent/useUpiSegmentedControlOptions.js.map +1 -1
  319. package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js +1 -1
  320. package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppItem/UPIIntentAppItem.js.map +1 -1
  321. package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js +1 -1
  322. package/dist/es-legacy/components/UPI/components/UPIIntentAppList/UPIIntentAppList.js.map +1 -1
  323. package/dist/es-legacy/components/components-name-map.js +1 -1
  324. package/dist/es-legacy/components/components-name-map.js.map +1 -1
  325. package/dist/es-legacy/components/index.js +1 -1
  326. package/dist/es-legacy/components/internal/Alert/Alert.js +1 -1
  327. package/dist/es-legacy/components/internal/Alert/Alert.js.map +1 -1
  328. package/dist/es-legacy/components/internal/Await/Await.js +1 -1
  329. package/dist/es-legacy/components/internal/Await/Await.js.map +1 -1
  330. package/dist/es-legacy/components/internal/Button/Button.js +1 -1
  331. package/dist/es-legacy/components/internal/Button/Button.js.map +1 -1
  332. package/dist/es-legacy/components/internal/ButtonGroup/ButtonGroup.js +1 -1
  333. package/dist/es-legacy/components/internal/ButtonGroup/ButtonGroup.js.map +1 -1
  334. package/dist/es-legacy/components/internal/ClickToPay/components/CtPBrand/CtPBrand.js +1 -1
  335. package/dist/es-legacy/components/internal/ClickToPay/components/CtPBrand/CtPBrand.js.map +1 -1
  336. package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js +1 -1
  337. package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js.map +1 -1
  338. package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js +1 -1
  339. package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js.map +1 -1
  340. package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js +1 -1
  341. package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js.map +1 -1
  342. package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js +1 -1
  343. package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js.map +1 -1
  344. package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPSection.js +1 -1
  345. package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPSection.js.map +1 -1
  346. package/dist/es-legacy/components/internal/CompanyDetails/CompanyDetails.js.map +1 -1
  347. package/dist/es-legacy/components/internal/ContentSeparator/ContentSeparator.js +1 -1
  348. package/dist/es-legacy/components/internal/ContentSeparator/ContentSeparator.js.map +1 -1
  349. package/dist/es-legacy/components/internal/DetailsTable/DetailsTable.js +2 -0
  350. package/dist/es-legacy/components/internal/DetailsTable/DetailsTable.js.map +1 -0
  351. package/dist/es-legacy/components/internal/ExpandButton/ExpandButton.js +1 -1
  352. package/dist/es-legacy/components/internal/ExpandButton/ExpandButton.js.map +1 -1
  353. package/dist/es-legacy/components/internal/FormFields/Checkbox/Checkbox.js +1 -1
  354. package/dist/es-legacy/components/internal/FormFields/Checkbox/Checkbox.js.map +1 -1
  355. package/dist/es-legacy/components/internal/FormFields/Field/Field.js +1 -1
  356. package/dist/es-legacy/components/internal/FormFields/Field/Field.js.map +1 -1
  357. package/dist/es-legacy/components/internal/FormFields/Fieldset/Fieldset.js +1 -1
  358. package/dist/es-legacy/components/internal/FormFields/Fieldset/Fieldset.js.map +1 -1
  359. package/dist/es-legacy/components/internal/FormFields/InputBase.js +1 -1
  360. package/dist/es-legacy/components/internal/FormFields/InputBase.js.map +1 -1
  361. package/dist/es-legacy/components/internal/FormFields/RadioGroup/RadioGroup.js +1 -1
  362. package/dist/es-legacy/components/internal/FormFields/RadioGroup/RadioGroup.js.map +1 -1
  363. package/dist/es-legacy/components/internal/FormFields/Select/Select.js +1 -1
  364. package/dist/es-legacy/components/internal/FormFields/Select/Select.js.map +1 -1
  365. package/dist/es-legacy/components/internal/FormFields/Select/components/SelectButton.js +1 -1
  366. package/dist/es-legacy/components/internal/FormFields/Select/components/SelectButton.js.map +1 -1
  367. package/dist/es-legacy/components/internal/FormFields/Select/components/SelectList.js +1 -1
  368. package/dist/es-legacy/components/internal/FormFields/Select/components/SelectList.js.map +1 -1
  369. package/dist/es-legacy/components/internal/FormFields/Select/components/SelectListItem.js +1 -1
  370. package/dist/es-legacy/components/internal/FormFields/Select/components/SelectListItem.js.map +1 -1
  371. package/dist/es-legacy/components/internal/IFrame/Iframe.js +1 -1
  372. package/dist/es-legacy/components/internal/IFrame/Iframe.js.map +1 -1
  373. package/dist/es-legacy/components/internal/Icon/Icon.js +1 -1
  374. package/dist/es-legacy/components/internal/Icon/Icon.js.map +1 -1
  375. package/dist/es-legacy/components/internal/Img/Img.js +1 -1
  376. package/dist/es-legacy/components/internal/Img/Img.js.map +1 -1
  377. package/dist/es-legacy/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.js +1 -1
  378. package/dist/es-legacy/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.js.map +1 -1
  379. package/dist/es-legacy/components/internal/LoadingWrapper/LoadingWrapper.js +1 -1
  380. package/dist/es-legacy/components/internal/LoadingWrapper/LoadingWrapper.js.map +1 -1
  381. package/dist/es-legacy/components/internal/Modal/Modal.js +1 -1
  382. package/dist/es-legacy/components/internal/Modal/Modal.js.map +1 -1
  383. package/dist/es-legacy/components/internal/OpenInvoice/OpenInvoice.js +1 -1
  384. package/dist/es-legacy/components/internal/OpenInvoice/OpenInvoice.js.map +1 -1
  385. package/dist/es-legacy/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
  386. package/dist/es-legacy/components/internal/PhoneInput/PhoneInputFields.js +2 -0
  387. package/dist/es-legacy/components/internal/PhoneInput/PhoneInputFields.js.map +1 -0
  388. package/dist/es-legacy/components/internal/PhoneInput/PhoneInputForm.js +2 -0
  389. package/dist/es-legacy/components/internal/PhoneInput/PhoneInputForm.js.map +1 -0
  390. package/dist/es-legacy/components/internal/PhoneInput/validate.js +1 -1
  391. package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js +1 -1
  392. package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js.map +1 -1
  393. package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/cardType.js +1 -1
  394. package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/cardType.js.map +1 -1
  395. package/dist/es-legacy/components/internal/SegmentedControl/SegmentedControl.js +1 -1
  396. package/dist/es-legacy/components/internal/SegmentedControl/SegmentedControl.js.map +1 -1
  397. package/dist/es-legacy/components/internal/SendCopyToEmail/SendCopyToEmail.js +1 -1
  398. package/dist/es-legacy/components/internal/SendCopyToEmail/SendCopyToEmail.js.map +1 -1
  399. package/dist/es-legacy/components/internal/UIElement/UIElement.js.map +1 -1
  400. package/dist/es-legacy/components/internal/Voucher/Voucher.js +1 -1
  401. package/dist/es-legacy/components/internal/Voucher/Voucher.js.map +1 -1
  402. package/dist/es-legacy/components/tx-variants.js +1 -1
  403. package/dist/es-legacy/components/tx-variants.js.map +1 -1
  404. package/dist/es-legacy/core/ProcessResponse/PaymentMethods/filters.js +1 -1
  405. package/dist/es-legacy/core/ProcessResponse/PaymentMethods/filters.js.map +1 -1
  406. package/dist/es-legacy/core/Services/analytics/collect-id.js +1 -1
  407. package/dist/es-legacy/core/Services/analytics/collect-id.js.map +1 -1
  408. package/dist/es-legacy/core/core.js +1 -1
  409. package/dist/es-legacy/core/core.js.map +1 -1
  410. package/dist/es-legacy/core/utils.js +1 -1
  411. package/dist/es-legacy/core/utils.js.map +1 -1
  412. package/dist/es-legacy/external/classnames/index.js +2 -2
  413. package/dist/es-legacy/external/classnames/index.js.map +1 -1
  414. package/dist/es-legacy/index.js +1 -1
  415. package/dist/es-legacy/utils/Validator/ValidationRuleResult.js.map +1 -1
  416. package/dist/es-legacy/utils/Validator/Validator.js.map +1 -1
  417. package/dist/es-legacy/utils/inIframe.js +2 -0
  418. package/dist/es-legacy/utils/inIframe.js.map +1 -0
  419. package/package.json +29 -23
  420. package/styles/adyen.css +21 -17
  421. package/dist/es/components/ApplePay/ApplePayService.js.map +0 -1
  422. package/dist/es/components/ApplePay/config.js +0 -2
  423. package/dist/es/components/ApplePay/config.js.map +0 -1
  424. package/dist/es/components/ApplePay/payment-request.js +0 -2
  425. package/dist/es/components/ApplePay/payment-request.js.map +0 -1
  426. package/dist/es/components/ApplePay/utils.js +0 -2
  427. package/dist/es/components/ApplePay/utils.js.map +0 -1
  428. package/dist/es/components/internal/PhoneInput/PhoneInput.js +0 -2
  429. package/dist/es/components/internal/PhoneInput/PhoneInput.js.map +0 -1
  430. package/dist/es-legacy/components/ApplePay/ApplePayService.js.map +0 -1
  431. package/dist/es-legacy/components/ApplePay/config.js +0 -2
  432. package/dist/es-legacy/components/ApplePay/config.js.map +0 -1
  433. package/dist/es-legacy/components/ApplePay/payment-request.js +0 -2
  434. package/dist/es-legacy/components/ApplePay/payment-request.js.map +0 -1
  435. package/dist/es-legacy/components/ApplePay/utils.js +0 -2
  436. package/dist/es-legacy/components/ApplePay/utils.js.map +0 -1
  437. package/dist/es-legacy/components/internal/PhoneInput/PhoneInput.js +0 -2
  438. package/dist/es-legacy/components/internal/PhoneInput/PhoneInput.js.map +0 -1
  439. /package/dist/es/components/ApplePay/{ApplePayService.js → services/ApplePayService.js} +0 -0
  440. /package/dist/es-legacy/components/ApplePay/{ApplePayService.js → services/ApplePayService.js} +0 -0
@@ -1,3 +1,5 @@
1
+ /// <reference types="applepayjs" />
2
+ /// <reference types="googlepay" />
1
3
  import * as preact from 'preact';
2
4
  import { h, ComponentChild, FunctionComponent } from 'preact';
3
5
 
@@ -8,7 +10,7 @@ declare class ValidationRuleResult {
8
10
  private readonly shouldValidate;
9
11
  isValid: boolean;
10
12
  errorMessage: string | ErrorMessageObject;
11
- constructor(rule: any, value: any, mode: any, context: any);
13
+ constructor(rule: ValidatorRule, value: string, mode: ValidatorMode, context: any);
12
14
  /**
13
15
  * Whether the validation is considered an error.
14
16
  * A field is only considered to be an error if the validation rule applies to the current mode i.e. 'blur' or 'input'.
@@ -18,10 +20,17 @@ declare class ValidationRuleResult {
18
20
  hasError(isValidatingForm?: boolean): boolean;
19
21
  }
20
22
 
23
+ type ValidatorMode = 'blur' | 'input';
21
24
  type ErrorMessageObject = {
22
25
  translationKey: string;
23
26
  translationObject: any;
24
27
  };
28
+ type ValidateFunction = (value: string, context: any) => boolean;
29
+ interface ValidatorRule {
30
+ validate: ValidateFunction;
31
+ errorMessage?: string | ErrorMessageObject;
32
+ modes: ValidatorMode[];
33
+ }
25
34
 
26
35
  type OnAddressLookupType = (value: string, actions: {
27
36
  resolve: (value: Array<AddressLookupItem>) => void;
@@ -1385,6 +1394,7 @@ declare enum TxVariants {
1385
1394
  blik = "blik",
1386
1395
  mbway = "mbway",
1387
1396
  ancv = "ancv",
1397
+ payto = "payto",
1388
1398
  upi = "upi",// also QR
1389
1399
  upi_qr = "upi_qr",// also QR
1390
1400
  upi_collect = "upi_collect",// also QR
@@ -1709,11 +1719,6 @@ declare class ANCVElement extends UIElement<ANCVConfiguration> {
1709
1719
  render(): h.JSX.Element;
1710
1720
  }
1711
1721
 
1712
- declare global {
1713
- interface Window {
1714
- ApplePaySession?: ApplePaySession;
1715
- }
1716
- }
1717
1722
  type Initiative = 'web' | 'messaging';
1718
1723
  type ApplePayPaymentOrderDetails = {
1719
1724
  orderTypeIdentifier: string;
@@ -1725,6 +1730,7 @@ type ApplePayPaymentAuthorizationResult = ApplePayJS.ApplePayPaymentAuthorizatio
1725
1730
  orderDetails?: ApplePayPaymentOrderDetails;
1726
1731
  };
1727
1732
  type ApplePayButtonType = 'plain' | 'buy' | 'donate' | 'check-out' | 'book' | 'subscribe' | 'add-money' | 'contribute' | 'order' | 'reload' | 'rent' | 'support' | 'tip' | 'top-up';
1733
+ type ApplePayButtonStyle = 'black' | 'white' | 'white-outline';
1728
1734
  interface ApplePayConfiguration extends UIElementProps {
1729
1735
  /**
1730
1736
  * Enables the ApplePay Express Flow & also used for analytics
@@ -1806,11 +1812,22 @@ interface ApplePayConfiguration extends UIElementProps {
1806
1812
  * Shipping contact information for the user.
1807
1813
  */
1808
1814
  shippingContact?: ApplePayJS.ApplePayPaymentContact;
1815
+ /**
1816
+ * It can be used to render the Apple Pay Code in a new window rather than as an overlay modal
1817
+ * Recommended to be used in case of using Apple Pay within an iframe, where the modal may not be presented correctly over the parent website
1818
+ *
1819
+ * @defaultValue 'modal'
1820
+ */
1821
+ renderApplePayCodeAs?: ApplePayWebConfiguration['renderApplePayCodeAs'];
1809
1822
  /**
1810
1823
  * Optional user-defined data.
1811
1824
  */
1812
1825
  applicationData?: string;
1813
1826
  onClick?: (resolve: any, reject: any) => void;
1827
+ /**
1828
+ * A callback function the Apple Pay SDK calls when the Apple Pay code modal or window closes.
1829
+ */
1830
+ onApplePayCodeClose?: ApplePayWebConfiguration['onApplePayCodeClose'];
1814
1831
  /**
1815
1832
  * Callback called when ApplePay authorize the payment.
1816
1833
  * Must be resolved/rejected with the action object.
@@ -1861,8 +1878,12 @@ interface ApplePayConfiguration extends UIElementProps {
1861
1878
  * @param event The event parameter contains the shippingMethod attribute.
1862
1879
  */
1863
1880
  onShippingMethodSelected?: (resolve: any, reject: any, event: ApplePayJS.ApplePayShippingMethodSelectedEvent) => void;
1864
- buttonColor?: 'black' | 'white' | 'white-with-line';
1881
+ buttonColor?: ApplePayButtonStyle;
1865
1882
  buttonType?: ApplePayButtonType;
1883
+ /**
1884
+ * Used to tweak the text of the button types that contain text ('Continue with', 'Book with', etc)
1885
+ */
1886
+ buttonLocale?: string;
1866
1887
  }
1867
1888
  interface ApplePayElementData {
1868
1889
  paymentMethod: {
@@ -1879,21 +1900,54 @@ interface ApplePaySessionRequest {
1879
1900
  initiative: Initiative;
1880
1901
  merchantIdentifier: string;
1881
1902
  }
1903
+ interface ApplePayWebConfiguration {
1904
+ renderApplePayCodeAs?: 'modal' | 'window';
1905
+ onApplePayCodeClose?(): void;
1906
+ }
1882
1907
 
1883
1908
  declare class ApplePayElement extends UIElement<ApplePayConfiguration> {
1884
1909
  static type: TxVariants;
1885
1910
  protected static defaultProps: ApplePayConfiguration;
1911
+ private sdkLoader;
1912
+ private applePayVersionNumber;
1886
1913
  constructor(checkout: ICore, props?: ApplePayConfiguration);
1887
1914
  /**
1888
1915
  * Formats the component props
1889
1916
  */
1890
- protected formatProps(props: any): any;
1917
+ protected formatProps(props: any): ApplePayConfiguration;
1891
1918
  /**
1892
1919
  * Formats the component data output
1893
1920
  */
1894
1921
  protected formatData(): ApplePayElementData;
1895
1922
  protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
1896
1923
  submit: () => void;
1924
+ get isValid(): boolean;
1925
+ /**
1926
+ * This API is only intended for upstreaming or defaulting to Apple Pay, all other scenarios should continue to
1927
+ * use canMakePayments(). For Safari browsers, this API will indicate whether there is a card available to make
1928
+ * payments. For third-party browsers a new status of paymentCredentialStatusUnknown will be returned. This does
1929
+ * not mean there are no cards available, it means the status cannot be determined and as such defaulting
1930
+ * and upstreaming should still be considered.
1931
+ *
1932
+ * {@link https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/4440085-applepaycapabilities}
1933
+ * @param merchantIdentifier
1934
+ */
1935
+ applePayCapabilities(merchantIdentifier?: string): Promise<ApplePayJS.PaymentCredentialStatusResponse>;
1936
+ /**
1937
+ * Determines if Apple Pay component can be displayed or not
1938
+ */
1939
+ isAvailable(): Promise<void>;
1940
+ /**
1941
+ * Sets the Apple Pay version available for the shopper.
1942
+ * This code needs to be executed once the Apple Pay SDK is fully loaded
1943
+ * @private
1944
+ */
1945
+ private defineApplePayVersionNumber;
1946
+ /**
1947
+ * Sets the configuration/callbacks that pertain to the Apple Pay code overlay/modal.
1948
+ * @private
1949
+ */
1950
+ private configureApplePayWebOptions;
1897
1951
  private startSession;
1898
1952
  /**
1899
1953
  * Call the 'onAuthorized' callback if available.
@@ -1910,21 +1964,6 @@ declare class ApplePayElement extends UIElement<ApplePayConfiguration> {
1910
1964
  */
1911
1965
  private collectOrderTrackingDetailsIfNeeded;
1912
1966
  private validateMerchant;
1913
- /**
1914
- * Validation
1915
- *
1916
- * @remarks
1917
- * Apple Pay does not require any specific validation
1918
- */
1919
- get isValid(): boolean;
1920
- /**
1921
- * Determine a shopper's ability to return a form of payment from Apple Pay.
1922
- * @returns Promise Resolve/Reject whether the shopper can use Apple Pay
1923
- */
1924
- isAvailable(): Promise<void>;
1925
- /**
1926
- * Renders the Apple Pay button or nothing in the Dropin
1927
- */
1928
1967
  render(): h.JSX.Element;
1929
1968
  }
1930
1969
 
@@ -2033,6 +2072,69 @@ interface BankTransferSchema {
2033
2072
  shopperEmail?: string;
2034
2073
  }
2035
2074
 
2075
+ interface VoucherDetail {
2076
+ label: string;
2077
+ value: string;
2078
+ }
2079
+ interface VoucherProps {
2080
+ /** Payment method used to generate the voucher. */
2081
+ paymentMethodType: string;
2082
+ /** Payment method image to be displayed on the voucher. */
2083
+ imageUrl?: string;
2084
+ /** If applicable, it will render an issuer image next to the payment method image. */
2085
+ issuerImageUrl?: string;
2086
+ /** Voucher instructions URL. */
2087
+ instructionsUrl?: string;
2088
+ /** Download URL for the voucher. It will display a button allowing the shopper to download it. */
2089
+ downloadUrl?: string;
2090
+ /** Text that will be displayed on the above Download button. */
2091
+ downloadButtonText?: string;
2092
+ /** Introduction text on the voucher. */
2093
+ introduction?: string;
2094
+ /** Payment reference. */
2095
+ reference?: string;
2096
+ /** URL to a barcode image representing the payment reference. */
2097
+ barcode?: string;
2098
+ /** Total amount displayed on the voucher. */
2099
+ amount?: string;
2100
+ /** Any additional surcharge to the amount. */
2101
+ surcharge?: any;
2102
+ /** List of details that will be rendered on the voucher. */
2103
+ voucherDetails?: VoucherDetail[];
2104
+ /** Additional CSS classes. */
2105
+ className?: string;
2106
+ /** Show/Hide a button to copy the payment reference. It will only show if a reference is available. */
2107
+ copyBtn?: boolean;
2108
+ onActionHandled?: (rtnObj: ActionHandledReturnObject) => void;
2109
+ }
2110
+ interface VoucherConfiguration extends UIElementProps {
2111
+ reference?: string;
2112
+ url?: string;
2113
+ paymentMethodType?: string;
2114
+ }
2115
+ type CommonVoucherProps = Pick<VoucherProps, 'paymentMethodType' | 'introduction' | 'imageUrl' | 'amount' | 'reference' | 'onActionHandled'>;
2116
+
2117
+ interface BoletoConfiguration extends VoucherConfiguration {
2118
+ /**
2119
+ * Set to false if you have already collected the shopper's first name, last name, and CPF/CNPJ (socialSecurityNumber).
2120
+ * @default true
2121
+ */
2122
+ personalDetailsRequired?: boolean;
2123
+ /**
2124
+ * Set this to false if you have already collected the shopper's street, house number or name, city, postal code, and state or province.
2125
+ * @default true
2126
+ */
2127
+ billingAddressRequired?: boolean;
2128
+ /**
2129
+ * Set this to false if you have already collected the shopper's email address.
2130
+ * @default true
2131
+ */
2132
+ showEmailAddress?: boolean;
2133
+ /**
2134
+ * Object to pre-fill shopper details on the form
2135
+ */
2136
+ data?: BoletoInputDataState;
2137
+ }
2036
2138
  interface BoletoElementProps {
2037
2139
  type: string;
2038
2140
  i18n: Language;
@@ -2042,9 +2144,9 @@ interface BoletoElementProps {
2042
2144
  interface BoletoInputDataState {
2043
2145
  firstName?: string;
2044
2146
  lastName?: string;
2045
- shopperEmail?: string;
2046
- socialSecurityNumber?: string;
2047
2147
  billingAddress?: AddressData;
2148
+ socialSecurityNumber?: string;
2149
+ shopperEmail?: string;
2048
2150
  }
2049
2151
  interface BoletoInputValidState {
2050
2152
  firstName?: boolean;
@@ -2243,6 +2345,10 @@ type CustomCardConfiguration = {
2243
2345
  * - merchant set config option
2244
2346
  */
2245
2347
  minimumExpiryDate?: string;
2348
+ /**
2349
+ * Called when the holderName field is autofilled
2350
+ */
2351
+ onAutoComplete?: (event: CardAutoCompleteData) => void;
2246
2352
  /**
2247
2353
  * After binLookup call - provides the brand(s) we detect the user is entering, and if we support the brand(s)
2248
2354
  * - merchant set config option
@@ -2503,6 +2609,18 @@ interface GooglePayConfiguration extends UIElementProps {
2503
2609
  * @defaultValue false
2504
2610
  */
2505
2611
  isExpress?: boolean;
2612
+ /**
2613
+ * Defines the size of the challenge Component
2614
+ *
2615
+ * 01: [250px, 400px]
2616
+ * 02: [390px, 400px]
2617
+ * 03: [500px, 600px]
2618
+ * 04: [600px, 400px]
2619
+ * 05: [100%, 100%]
2620
+ *
2621
+ * @defaultValue '02'
2622
+ */
2623
+ challengeWindowSize?: '01' | '02' | '03' | '04' | '05';
2506
2624
  /**
2507
2625
  * @see https://developers.google.com/pay/api/web/reference/request-objects#IsReadyToPayRequest
2508
2626
  * @defaultValue false
@@ -2610,7 +2728,14 @@ interface GooglePayConfiguration extends UIElementProps {
2610
2728
  buttonRootNode?: HTMLDocument | ShadowRoot;
2611
2729
  buttonLocale?: string;
2612
2730
  buttonRadius?: number;
2613
- onClick?: (resolve: any, reject: any) => void;
2731
+ /**
2732
+ * Called when the shopper clicks the Google Pay button. Call resolve() or reject() to continue or stop the payment flow.
2733
+ *
2734
+ * @param resolve - Display the Google payment sheet
2735
+ * @param reject - Don't display the Google payment sheet
2736
+ * @returns
2737
+ */
2738
+ onClick?: (resolve: () => void, reject: () => void) => void;
2614
2739
  /**
2615
2740
  * Callback called when GooglePay authorizes the payment.
2616
2741
  * Must be resolved/rejected with the action object.
@@ -3195,6 +3320,61 @@ interface UPIConfiguration extends UIElementProps {
3195
3320
  brandLogo?: string;
3196
3321
  }
3197
3322
 
3323
+ declare enum PayToIdentifierEnum {
3324
+ phone = "phone",
3325
+ email = "email",
3326
+ abn = "abn",
3327
+ orgid = "orgid"
3328
+ }
3329
+
3330
+ interface PayIdFormData {
3331
+ email: string;
3332
+ phone: string;
3333
+ abn: string;
3334
+ orgid: string;
3335
+ firstName: string;
3336
+ lastName: string;
3337
+ phoneNumber?: string;
3338
+ phonePrefix?: string;
3339
+ selectedIdentifier: PayToIdentifierEnum;
3340
+ }
3341
+
3342
+ interface BSBFormData {
3343
+ bsb: string;
3344
+ bankAccountNumber: string;
3345
+ firstName: string;
3346
+ lastName: string;
3347
+ }
3348
+
3349
+ type PayToInputOption = 'payid-option' | 'bsb-option';
3350
+ type PayToComponentData = {
3351
+ selectedInput: PayToInputOption;
3352
+ };
3353
+
3354
+ type MandateFrequencyType = 'adhoc' | 'daily' | 'weekly' | 'biWeekly' | 'monthly' | 'quarterly' | 'halfYearly' | 'yearly';
3355
+ interface MandateType {
3356
+ amount: string;
3357
+ amountRule: string;
3358
+ frequency: MandateFrequencyType;
3359
+ startsAt?: string;
3360
+ endsAt: string;
3361
+ remarks: string;
3362
+ count?: string;
3363
+ }
3364
+ type PayToPlaceholdersType = {
3365
+ [K in keyof PayToData]: string;
3366
+ };
3367
+ interface PayToConfiguration extends UIElementProps {
3368
+ paymentData?: any;
3369
+ data?: PayToData;
3370
+ placeholders?: PayToPlaceholdersType;
3371
+ mandate?: MandateType;
3372
+ payee?: string;
3373
+ }
3374
+ interface PayToData extends PayIdFormData, BSBFormData, PayToComponentData {
3375
+ shopperAccountIdentifier: string;
3376
+ }
3377
+
3198
3378
  interface StatusObjectProps {
3199
3379
  payload: string;
3200
3380
  resultCode: string;
@@ -3223,6 +3403,10 @@ interface AwaitComponentProps {
3223
3403
  awaitText: string;
3224
3404
  ref: any;
3225
3405
  onActionHandled?: (rtnObj: ActionHandledReturnObject) => void;
3406
+ instructions?: string | (() => h.JSX.Element);
3407
+ endSlot?: () => h.JSX.Element;
3408
+ amount?: PaymentAmount;
3409
+ showAmount?: boolean;
3226
3410
  }
3227
3411
  interface AwaitConfiguration extends UIElementProps {
3228
3412
  paymentData?: string;
@@ -3231,48 +3415,6 @@ interface AwaitConfiguration extends UIElementProps {
3231
3415
  url?: string;
3232
3416
  }
3233
3417
 
3234
- interface VoucherDetail {
3235
- label: string;
3236
- value: string;
3237
- }
3238
- interface VoucherProps {
3239
- /** Payment method used to generate the voucher. */
3240
- paymentMethodType: string;
3241
- /** Payment method image to be displayed on the voucher. */
3242
- imageUrl?: string;
3243
- /** If applicable, it will render an issuer image next to the payment method image. */
3244
- issuerImageUrl?: string;
3245
- /** Voucher instructions URL. */
3246
- instructionsUrl?: string;
3247
- /** Download URL for the voucher. It will display a button allowing the shopper to download it. */
3248
- downloadUrl?: string;
3249
- /** Text that will be displayed on the above Download button. */
3250
- downloadButtonText?: string;
3251
- /** Introduction text on the voucher. */
3252
- introduction?: string;
3253
- /** Payment reference. */
3254
- reference?: string;
3255
- /** URL to a barcode image representing the payment reference. */
3256
- barcode?: string;
3257
- /** Total amount displayed on the voucher. */
3258
- amount?: string;
3259
- /** Any additional surcharge to the amount. */
3260
- surcharge?: any;
3261
- /** List of details that will be rendered on the voucher. */
3262
- voucherDetails?: VoucherDetail[];
3263
- /** Additional CSS classes. */
3264
- className?: string;
3265
- /** Show/Hide a button to copy the payment reference. It will only show if a reference is available. */
3266
- copyBtn?: boolean;
3267
- onActionHandled?: (rtnObj: ActionHandledReturnObject) => void;
3268
- }
3269
- interface VoucherConfiguration extends UIElementProps {
3270
- reference?: string;
3271
- url?: string;
3272
- paymentMethodType?: string;
3273
- }
3274
- type CommonVoucherProps = Pick<VoucherProps, 'paymentMethodType' | 'introduction' | 'imageUrl' | 'amount' | 'reference' | 'onActionHandled'>;
3275
-
3276
3418
  declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
3277
3419
  static type: TxVariants;
3278
3420
  private readonly cashAppService;
@@ -3625,6 +3767,10 @@ declare class GooglePay extends UIElement<GooglePayConfiguration> {
3625
3767
  origin: string;
3626
3768
  };
3627
3769
  protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
3770
+ /**
3771
+ * Displays the Google Pay payment sheet overlay
3772
+ */
3773
+ private showGooglePayPaymentSheet;
3628
3774
  submit: () => void;
3629
3775
  /**
3630
3776
  * Method called when the payment is authorized in the payment sheet
@@ -3718,6 +3864,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
3718
3864
  loadingContext?: string;
3719
3865
  maskSecurityCode?: boolean;
3720
3866
  minimumExpiryDate?: string;
3867
+ onAutoComplete?: (event: CardAutoCompleteData) => void;
3721
3868
  onBinLookup?: (event: CardBinLookupData) => void;
3722
3869
  onBinValue?: (event: CardBinValueData) => void;
3723
3870
  onBrand?: (event: CardBrandData) => void;
@@ -4098,7 +4245,7 @@ declare class DokuElement extends UIElement<VoucherConfiguration> {
4098
4245
  render(): h.JSX.Element;
4099
4246
  }
4100
4247
 
4101
- declare class BoletoElement extends UIElement<VoucherConfiguration> {
4248
+ declare class BoletoElement extends UIElement<BoletoConfiguration> {
4102
4249
  static type: TxVariants;
4103
4250
  static txVariants: TxVariants[];
4104
4251
  get isValid(): boolean;
@@ -4175,8 +4322,12 @@ declare class GiftcardElement extends UIElement<GiftCardConfiguration> {
4175
4322
  private onOrderRequest;
4176
4323
  balanceCheck(): void;
4177
4324
  private onBalanceCheck;
4325
+ /**
4326
+ * Check if it should call onRequiringConfirmation
4327
+ */
4178
4328
  private handleOnRequiringConfirmation;
4179
4329
  submit(): boolean;
4330
+ private makeSubmitCall;
4180
4331
  payButton: (props: any) => h.JSX.Element;
4181
4332
  render(): h.JSX.Element;
4182
4333
  }
@@ -4910,6 +5061,42 @@ declare class PayByBankUS extends RedirectElement {
4910
5061
  render(): h.JSX.Element;
4911
5062
  }
4912
5063
 
5064
+ /**
5065
+ *
5066
+ */
5067
+ declare class PayToElement extends UIElement<PayToConfiguration> {
5068
+ static readonly type = TxVariants.payto;
5069
+ protected static defaultProps: {
5070
+ placeholders: {};
5071
+ };
5072
+ formatProps(props: any): any;
5073
+ /**
5074
+ * Formats the component data output
5075
+ */
5076
+ formatData(): {
5077
+ paymentMethod: {
5078
+ type: TxVariants;
5079
+ storedPaymentMethodId: string;
5080
+ shopperAccountIdentifier?: undefined;
5081
+ };
5082
+ shopperName?: undefined;
5083
+ } | {
5084
+ paymentMethod: {
5085
+ type: TxVariants;
5086
+ shopperAccountIdentifier: string;
5087
+ storedPaymentMethodId?: undefined;
5088
+ };
5089
+ shopperName: {
5090
+ firstName: any;
5091
+ lastName: any;
5092
+ };
5093
+ };
5094
+ get isValid(): boolean;
5095
+ get displayName(): string;
5096
+ get additionalInfo(): string;
5097
+ render(): h.JSX.Element;
5098
+ }
5099
+
4913
5100
  /** Components */
4914
5101
 
4915
5102
  /**
@@ -5041,6 +5228,7 @@ declare const ComponentsMap: {
5041
5228
  blik: typeof BlikElement;
5042
5229
  mbway: typeof MBWayElement;
5043
5230
  ancv: typeof ANCVElement;
5231
+ payto: typeof PayToElement;
5044
5232
  upi: typeof UPI;
5045
5233
  upi_qr: typeof UPI;
5046
5234
  upi_collect: typeof UPI;
@@ -5607,7 +5795,13 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
5607
5795
  isAvailable(): Promise<void>;
5608
5796
  setState(newState: object): void;
5609
5797
  showValidation(): this;
5798
+ /**
5799
+ * elementRef is a ref to the subclass that extends UIElement e.g. Card.tsx
5800
+ */
5610
5801
  setElementStatus(status: UIElementStatus, props?: any): this;
5802
+ /**
5803
+ * componentRef is a ref to the primary component inside that subclass e.g. CardInput.tsx
5804
+ */
5611
5805
  setStatus(status: UIElementStatus, props?: any): this;
5612
5806
  protected onChange(): void;
5613
5807
  protected setUpAnalytics(setUpAnalyticsObj: AnalyticsInitialEvent): Promise<any>;
@@ -6333,7 +6527,7 @@ declare const index_d_ThreeDS2DeviceFingerprint: typeof ThreeDS2DeviceFingerprin
6333
6527
  type index_d_UPI = UPI;
6334
6528
  declare const index_d_UPI: typeof UPI;
6335
6529
  declare namespace index_d {
6336
- export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, index_d_Affirm as Affirm, index_d_AfterPay as AfterPay, index_d_AfterPayB2B as AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, index_d_Atome as Atome, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, index_d_CashAppPay as CashAppPay, ClickToPayElement as ClickToPay, index_d_CustomCard as CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, GiftcardElement as Giftcard, GiropayElement as Giropay, index_d_GooglePay as GooglePay, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, index_d_OnlineBankingFI as OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, index_d_OnlineBankingPL as OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, index_d_PayByBank as PayByBank, index_d_PayByBankUS as PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PromptPayElement as PromptPay, index_d_RatePay as RatePay, index_d_RatePayDirectDebit as RatePayDirectDebit, RedirectElement as Redirect, index_d_Riverty as Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, index_d_ThreeDS2Challenge as ThreeDS2Challenge, index_d_ThreeDS2DeviceFingerprint as ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, index_d_UPI as UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat };
6530
+ export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, index_d_Affirm as Affirm, index_d_AfterPay as AfterPay, index_d_AfterPayB2B as AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, index_d_Atome as Atome, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, index_d_CashAppPay as CashAppPay, ClickToPayElement as ClickToPay, index_d_CustomCard as CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, GiftcardElement as Giftcard, GiropayElement as Giropay, index_d_GooglePay as GooglePay, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, index_d_OnlineBankingFI as OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, index_d_OnlineBankingPL as OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, index_d_PayByBank as PayByBank, index_d_PayByBankUS as PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayToElement as PayTo, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PromptPayElement as PromptPay, index_d_RatePay as RatePay, index_d_RatePayDirectDebit as RatePayDirectDebit, RedirectElement as Redirect, index_d_Riverty as Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, index_d_ThreeDS2Challenge as ThreeDS2Challenge, index_d_ThreeDS2DeviceFingerprint as ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, index_d_UPI as UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat };
6337
6531
  }
6338
6532
 
6339
6533
  declare class Core implements ICore {
@@ -6431,4 +6625,4 @@ declare namespace AdyenCheckout {
6431
6625
  var setBundleType: (type: string) => void;
6432
6626
  }
6433
6627
 
6434
- export { ANCVElement as ANCV, type ANCVConfiguration, type ANCVDataState, AchElement as Ach, type AchConfiguration, type ActionDescriptionType, type ActionHandledReturnObject, type AdditionalDetailsActions, type AdditionalDetailsData, AddressElement as Address, type AddressData, type AddressField, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, type AmazonPayBackendConfiguration, type AmazonPayButtonProps, type AmazonPayButtonSettings, type AmazonPayComponentProps, type AmazonPayConfiguration, type AmazonPayElementData, type AnalyticsModule, type App, ApplePayElement as ApplePay, type ApplePayButtonType, type ApplePayConfiguration, type ApplePayElementData, type ApplePayPaymentAuthorizationResult, type ApplePayPaymentOrderDetails, type ApplePaySessionRequest, Atome, type AwaitComponentProps, type AwaitConfiguration, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, type BankDetailsSchema, BankTransferElement as BankTransfer, type BankTransferConfiguration, type BankTransferSchema, type BankTransferState, BCMCMobileElement as BcmcMobile, type BeforeSubmitActions, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, type BinLookupResponse, type BinLookupResponseRaw, BlikElement as Blik, BoletoElement as Boleto, type BoletoElementProps, type BoletoInputDataState, type BoletoInputErrorState, type BoletoInputValidState, type BrandConfiguration, type BrandObject, type BrowserInfo, type CReqData, CardElement as Card, type CardAllValidData, type CardAutoCompleteData, type CardBackendConfiguration, type CardBinLookupData, type CardBinValueData, type CardBrandData, type CardBrandsConfiguration, type CardConfigSuccessData, type CardConfiguration, type CardElementData, type CardErrorData, type CardFieldValidData, type CardFocusData, type CardLoadData, CashAppPay, type CashAppPayConfiguration, type CashAppPayElementData, type CashAppPayEventData, type ChallengeData, type ChallengeResolveData, type ChangeActionOptions, type ChangePaymentDetailsButtonProps, type ChargeAmount, type CheckoutAdvancedFlowResponse, type CheckoutDetailsRequest, type CheckoutSessionConfig, ClickToPayElement as ClickToPay, type ClickToPayConfiguration, type ClickToPayPaymentData, type ClickToPayProps, type ClickToPayScheme, type CommonVoucherProps, type ComponentFocusObject, type ComponentMethodsRef, type CoreConfiguration, type Currency, CustomCard, type CustomCardConfiguration, type CustomTranslations, type DecodeObject, type DeliverySpecifications, DokuElement as Doku, type DokuVoucherResultProps, DonationElement as Donation, type DonationConfiguration, DotpayElement as Dotpay, DragonpayElement as Dragonpay, type DragonpayConfiguraton, type DragonpayInputData, type DragonpayInputIssuerItem, type DragonpayInputProps, type DragonpayVoucherResultProps, DropinElement as Dropin, type DropinComponentProps, type DropinComponentState, type DropinConfiguration, type DropinStatusProps, type DualBrandSelectElement, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, type EcontextConfiguration, type EcontextInputSchema, type EcontextVoucherResultProps, type ErrorCodeObject, type ExtendedMerchantInfo, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, type FieldsetVisibility, type FingerPrintData, type FingerprintResolveData, type FundingSource, type GiftCardConfiguration, type GiftCardElementData, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, type GooglePayConfiguration, type GooglePaymentDataRequest, type ICore, type IDropin, type InstantPaymentTypes, type Intent, type IssuerListConfiguration, type IssuerListData, KlarnaPayments as Klarna, type KlarnaAction, type KlarnaAdditionalDetailsData, type KlarnaComponentRef, type KlarnaConfiguration, type KlarnaSdkData, type KlarnaWidgetAuthorizeResponse, type KlarnaWidgetProps, type LedgerCurrencies, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, type MultibancoVoucherResultProps, type OnChangeData, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, type OpenInvoiceActiveFieldsets, type OpenInvoiceConfiguration, type OpenInvoiceFieldsetsRefs, type OpenInvoiceProps, type OpenInvoiceStateData, type OpenInvoiceStateError, type OpenInvoiceStateValid, type OpenInvoiceVisibility, type Order, type OrderButtonProps, type OrderStatus, OxxoElement as Oxxo, type OxxoVoucherResultProps, type PayButtonFunctionProps, PayByBank, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, type PayPalConfiguration, type PayloadJSON, type PaymentAction, type PaymentActionsType, type PaymentAmount, type PaymentAmountExtended, type PaymentCompletedData, type PaymentData, type PaymentFailedData, type PaymentMethod, type PaymentMethodData, type PaymentMethodGroup, type PaymentMethodOptions, type PaymentMethods$1 as PaymentMethods, type PaymentMethodsConfiguration, type PaymentMethodsRequestData, type PaymentMethodsResponse, type PaymentResponseData, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, type PersonalDetailsSchema, PixElement as Pix, type PixConfiguration, type PixElementData, type PostMsgParseErrorObject, type ProcessedResponse, PromptPayElement as PromptPay, type QRLoaderConfiguration, RatePay, RatePayDirectDebit, type RawPaymentResponse, type RecurringMetadata, RedirectElement as Redirect, type RedirectConfiguration, type Region, type ResultCode, type ResultObject, type ResultValue, Riverty, type SepaConfiguration, SepaElement as SepaDirectDebit, type SepaElementData, type SessionsResponse, type SignOutButtonProps, type SocialSecurityMode, type StatusObject, type StoredPaymentMethod, type SubmitActions, type SubmitData, type SupportedLocale, SwishElement as Swish, ThreeDS2Challenge, type ThreeDS2ChallengeConfiguration, ThreeDS2DeviceFingerprint, type ThreeDS2DeviceFingerprintConfiguration, type ThreeDS2FingerprintResponse, type ThreeDS2FlowObject, type ThreeDS2Token, TrustlyElement as Trustly, TwintElement as Twint, UIElement, type UIElementProps, type UIElementStatus, UPI, type UPIConfiguration, type UpdateAmazonCheckoutSessionRequest, type UpiMode, type UpiPaymentData, type UpiType, type ValidationError, VippsElement as Vipps, type VoucherConfiguration, type VoucherDetail, type VoucherProps, WalletINElement as WalletIN, WeChatPayElement as WeChat, type balanceCheckResponseType, index_d as components, type onBalanceCheckCallbackType, type onOrderCancelData, type onOrderCancelType, type onOrderRequestCallbackType, type onRequiringConfirmationCallbackType };
6628
+ export { ANCVElement as ANCV, type ANCVConfiguration, type ANCVDataState, AchElement as Ach, type AchConfiguration, type ActionDescriptionType, type ActionHandledReturnObject, type AdditionalDetailsActions, type AdditionalDetailsData, AddressElement as Address, type AddressData, type AddressField, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, type AmazonPayBackendConfiguration, type AmazonPayButtonProps, type AmazonPayButtonSettings, type AmazonPayComponentProps, type AmazonPayConfiguration, type AmazonPayElementData, type AnalyticsModule, type App, ApplePayElement as ApplePay, type ApplePayButtonStyle, type ApplePayButtonType, type ApplePayConfiguration, type ApplePayElementData, type ApplePayPaymentAuthorizationResult, type ApplePayPaymentOrderDetails, type ApplePaySessionRequest, type ApplePayWebConfiguration, Atome, type AwaitComponentProps, type AwaitConfiguration, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, type BankDetailsSchema, BankTransferElement as BankTransfer, type BankTransferConfiguration, type BankTransferSchema, type BankTransferState, BCMCMobileElement as BcmcMobile, type BeforeSubmitActions, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, type BinLookupResponse, type BinLookupResponseRaw, BlikElement as Blik, BoletoElement as Boleto, type BoletoConfiguration, type BoletoElementProps, type BoletoInputDataState, type BoletoInputErrorState, type BoletoInputValidState, type BrandConfiguration, type BrandObject, type BrowserInfo, type CReqData, CardElement as Card, type CardAllValidData, type CardAutoCompleteData, type CardBackendConfiguration, type CardBinLookupData, type CardBinValueData, type CardBrandData, type CardBrandsConfiguration, type CardConfigSuccessData, type CardConfiguration, type CardElementData, type CardErrorData, type CardFieldValidData, type CardFocusData, type CardLoadData, CashAppPay, type CashAppPayConfiguration, type CashAppPayElementData, type CashAppPayEventData, type ChallengeData, type ChallengeResolveData, type ChangeActionOptions, type ChangePaymentDetailsButtonProps, type ChargeAmount, type CheckoutAdvancedFlowResponse, type CheckoutDetailsRequest, type CheckoutSessionConfig, ClickToPayElement as ClickToPay, type ClickToPayConfiguration, type ClickToPayPaymentData, type ClickToPayProps, type ClickToPayScheme, type CommonVoucherProps, type ComponentFocusObject, type ComponentMethodsRef, type CoreConfiguration, type Currency, CustomCard, type CustomCardConfiguration, type CustomTranslations, type DecodeObject, type DeliverySpecifications, DokuElement as Doku, type DokuVoucherResultProps, DonationElement as Donation, type DonationConfiguration, DotpayElement as Dotpay, DragonpayElement as Dragonpay, type DragonpayConfiguraton, type DragonpayInputData, type DragonpayInputIssuerItem, type DragonpayInputProps, type DragonpayVoucherResultProps, DropinElement as Dropin, type DropinComponentProps, type DropinComponentState, type DropinConfiguration, type DropinStatusProps, type DualBrandSelectElement, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, type EcontextConfiguration, type EcontextInputSchema, type EcontextVoucherResultProps, type ErrorCodeObject, type ExtendedMerchantInfo, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, type FieldsetVisibility, type FingerPrintData, type FingerprintResolveData, type FundingSource, type GiftCardConfiguration, type GiftCardElementData, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, type GooglePayConfiguration, type GooglePaymentDataRequest, type ICore, type IDropin, type InstantPaymentTypes, type Intent, type IssuerListConfiguration, type IssuerListData, KlarnaPayments as Klarna, type KlarnaAction, type KlarnaAdditionalDetailsData, type KlarnaComponentRef, type KlarnaConfiguration, type KlarnaSdkData, type KlarnaWidgetAuthorizeResponse, type KlarnaWidgetProps, type LedgerCurrencies, MBWayElement as MBWay, type MandateFrequencyType, type MandateType, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, type MultibancoVoucherResultProps, type OnChangeData, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, type OpenInvoiceActiveFieldsets, type OpenInvoiceConfiguration, type OpenInvoiceFieldsetsRefs, type OpenInvoiceProps, type OpenInvoiceStateData, type OpenInvoiceStateError, type OpenInvoiceStateValid, type OpenInvoiceVisibility, type Order, type OrderButtonProps, type OrderStatus, OxxoElement as Oxxo, type OxxoVoucherResultProps, type PayButtonFunctionProps, PayByBank, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, type PayPalConfiguration, PayToElement as PayTo, type PayToConfiguration, type PayToData, type PayToPlaceholdersType, type PayloadJSON, type PaymentAction, type PaymentActionsType, type PaymentAmount, type PaymentAmountExtended, type PaymentCompletedData, type PaymentData, type PaymentFailedData, type PaymentMethod, type PaymentMethodData, type PaymentMethodGroup, type PaymentMethodOptions, type PaymentMethods$1 as PaymentMethods, type PaymentMethodsConfiguration, type PaymentMethodsRequestData, type PaymentMethodsResponse, type PaymentResponseData, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, type PersonalDetailsSchema, PixElement as Pix, type PixConfiguration, type PixElementData, type PostMsgParseErrorObject, type ProcessedResponse, PromptPayElement as PromptPay, type QRLoaderConfiguration, RatePay, RatePayDirectDebit, type RawPaymentResponse, type RecurringMetadata, RedirectElement as Redirect, type RedirectConfiguration, type Region, type ResultCode, type ResultObject, type ResultValue, Riverty, type SepaConfiguration, SepaElement as SepaDirectDebit, type SepaElementData, type SessionsResponse, type SignOutButtonProps, type SocialSecurityMode, type StatusObject, type StoredPaymentMethod, type SubmitActions, type SubmitData, type SupportedLocale, SwishElement as Swish, ThreeDS2Challenge, type ThreeDS2ChallengeConfiguration, ThreeDS2DeviceFingerprint, type ThreeDS2DeviceFingerprintConfiguration, type ThreeDS2FingerprintResponse, type ThreeDS2FlowObject, type ThreeDS2Token, TrustlyElement as Trustly, TwintElement as Twint, UIElement, type UIElementProps, type UIElementStatus, UPI, type UPIConfiguration, type UpdateAmazonCheckoutSessionRequest, type UpiMode, type UpiPaymentData, type UpiType, type ValidationError, VippsElement as Vipps, type VoucherConfiguration, type VoucherDetail, type VoucherProps, WalletINElement as WalletIN, WeChatPayElement as WeChat, type balanceCheckResponseType, index_d as components, type onBalanceCheckCallbackType, type onOrderCancelData, type onOrderCancelType, type onOrderRequestCallbackType, type onRequiringConfirmationCallbackType };
package/dist/es/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as o from"./components/index.js";export{o as components};export{AdyenCheckout}from"./core/AdyenCheckout.js";export{CardElement as Card}from"./components/Card/Card.js";export{default as Bancontact}from"./components/Card/Bancontact.js";export{CustomCard}from"./components/CustomCard/CustomCard.js";export{default as ThreeDS2Challenge}from"./components/ThreeDS2/ThreeDS2Challenge.js";export{default as ThreeDS2DeviceFingerprint}from"./components/ThreeDS2/ThreeDS2DeviceFingerprint.js";export{AchElement as Ach}from"./components/Ach/Ach.js";export{default as BacsDirectDebit}from"./components/BacsDD/BacsDD.js";export{default as SepaDirectDebit}from"./components/Sepa/Sepa.js";export{default as Affirm}from"./components/Affirm/Affirm.js";export{default as AfterPay}from"./components/AfterPay/AfterPay.js";export{default as AfterPayB2B}from"./components/AfterPay/AfterPayB2B.js";export{default as Atome}from"./components/Atome/Atome.js";export{default as FacilPay3x}from"./components/FacilyPay/FacilyPay3x.js";export{default as FacilPay4x}from"./components/FacilyPay/FacilyPay4x.js";export{default as FacilPay6x}from"./components/FacilyPay/FacilyPay6x.js";export{default as FacilPay10x}from"./components/FacilyPay/FacilyPay10x.js";export{default as FacilPay12x}from"./components/FacilyPay/FacilyPay12x.js";export{default as RatePay}from"./components/RatePay/RatePay.js";export{default as RatePayDirectDebit}from"./components/RatePay/RatePayDirectDebit.js";export{default as Riverty}from"./components/Riverty/Riverty.js";export{AmazonPayElement as AmazonPay}from"./components/AmazonPay/AmazonPay.js";export{default as ApplePay}from"./components/ApplePay/ApplePay.js";export{CashAppPay}from"./components/CashAppPay/CashAppPay.js";export{ClickToPayElement as ClickToPay}from"./components/ClickToPay/ClickToPay.js";export{default as GooglePay}from"./components/GooglePay/GooglePay.js";export{default as PayPal}from"./components/PayPal/Paypal.js";export{BoletoElement as Boleto}from"./components/Boleto/Boleto.js";export{DokuElement as Doku}from"./components/Doku/Doku.js";export{OxxoElement as Oxxo}from"./components/Oxxo/Oxxo.js";export{default as BillDeskOnline}from"./components/BillDesk/BillDeskOnline.js";export{default as BillDeskWallet}from"./components/BillDesk/BillDeskWallet.js";export{default as Dotpay}from"./components/Dotpay/index.js";export{default as EPS}from"./components/EPS/index.js";export{default as MolPayEBankingMY}from"./components/MolPayEBanking/MolPayEBankingMY.js";export{default as MolPayEBankingTH}from"./components/MolPayEBanking/MolPayEBankingTH.js";export{default as MolPayEBankingVN}from"./components/MolPayEBanking/MolPayEBankingVN.js";export{default as OnlineBankingCZ}from"./components/OnlineBankingCZ/index.js";export{default as OnlineBankingIN}from"./components/OnlineBankingIN/index.js";export{default as OnlineBankingPL}from"./components/OnlineBankingPL/OnlineBankingPL.js";export{default as OnlineBankingSK}from"./components/OnlineBankingSK/index.js";export{default as OnlineBankingFI}from"./components/OnlineBankingFI/OnlineBankingFI.js";export{default as PayByBank}from"./components/PayByBank/PayByBank.js";export{default as PayuCashcard}from"./components/PayU/PayuCashcard.js";export{default as PayuNetBanking}from"./components/PayU/PayuNetBanking.js";export{default as WalletIN}from"./components/WalletIN/index.js";export{DragonpayElement as Dragonpay}from"./components/Dragonpay/Dragonpay.js";export{EcontextElement as Econtext}from"./components/Econtext/Econtext.js";export{default as Giropay}from"./components/Giropay/Giropay.js";export{MultibancoElement as Multibanco}from"./components/Multibanco/Multibanco.js";export{default as Redirect}from"./components/Redirect/Redirect.js";export{default as Twint}from"./components/Twint/Twint.js";export{default as Vipps}from"./components/Vipps/Vipps.js";export{default as Trustly}from"./components/Trustly/Trustly.js";export{default as PayByBankUS}from"./components/PayByBankUS/PayByBankUS.js";export{default as Klarna}from"./components/Klarna/KlarnaPayments.js";export{default as BcmcMobile}from"./components/BcmcMobile/BcmcMobile.js";export{default as Pix}from"./components/Pix/Pix.js";export{default as Swish}from"./components/Swish/Swish.js";export{default as WeChat}from"./components/WeChat/WeChat.js";export{default as PromptPay}from"./components/PromptPay/PromptPay.js";export{default as PayNow}from"./components/PayNow/PayNow.js";export{default as DuitNow}from"./components/DuitNow/DuitNow.js";export{default as PayMe}from"./components/PayMe/PayMe.js";export{default as Blik}from"./components/Blik/Blik.js";export{MBWayElement as MBWay}from"./components/MBWay/MBWay.js";export{default as UPI}from"./components/UPI/UPI.js";export{ANCVElement as ANCV}from"./components/ANCV/ANCV.js";export{GiftcardElement as Giftcard}from"./components/Giftcard/Giftcard.js";export{MealVoucherFRElement as MealVoucherFR}from"./components/MealVoucherFR/MealVoucherFR.js";export{AddressElement as Address}from"./components/Address/Address.js";export{BankTransferElement as BankTransfer}from"./components/BankTransfer/BankTransfer.js";export{default as Donation}from"./components/Donation/Donation.js";export{default as Dropin}from"./components/Dropin/Dropin.js";export{PersonalDetailsElement as PersonalDetails}from"./components/PersonalDetails/PersonalDetails.js";
1
+ import*as o from"./components/index.js";export{o as components};export{AdyenCheckout}from"./core/AdyenCheckout.js";export{CardElement as Card}from"./components/Card/Card.js";export{default as Bancontact}from"./components/Card/Bancontact.js";export{CustomCard}from"./components/CustomCard/CustomCard.js";export{default as ThreeDS2Challenge}from"./components/ThreeDS2/ThreeDS2Challenge.js";export{default as ThreeDS2DeviceFingerprint}from"./components/ThreeDS2/ThreeDS2DeviceFingerprint.js";export{AchElement as Ach}from"./components/Ach/Ach.js";export{default as BacsDirectDebit}from"./components/BacsDD/BacsDD.js";export{default as SepaDirectDebit}from"./components/Sepa/Sepa.js";export{default as Affirm}from"./components/Affirm/Affirm.js";export{default as AfterPay}from"./components/AfterPay/AfterPay.js";export{default as AfterPayB2B}from"./components/AfterPay/AfterPayB2B.js";export{default as Atome}from"./components/Atome/Atome.js";export{default as FacilPay3x}from"./components/FacilyPay/FacilyPay3x.js";export{default as FacilPay4x}from"./components/FacilyPay/FacilyPay4x.js";export{default as FacilPay6x}from"./components/FacilyPay/FacilyPay6x.js";export{default as FacilPay10x}from"./components/FacilyPay/FacilyPay10x.js";export{default as FacilPay12x}from"./components/FacilyPay/FacilyPay12x.js";export{default as RatePay}from"./components/RatePay/RatePay.js";export{default as RatePayDirectDebit}from"./components/RatePay/RatePayDirectDebit.js";export{default as Riverty}from"./components/Riverty/Riverty.js";export{AmazonPayElement as AmazonPay}from"./components/AmazonPay/AmazonPay.js";export{default as ApplePay}from"./components/ApplePay/ApplePay.js";export{CashAppPay}from"./components/CashAppPay/CashAppPay.js";export{ClickToPayElement as ClickToPay}from"./components/ClickToPay/ClickToPay.js";export{default as GooglePay}from"./components/GooglePay/GooglePay.js";export{default as PayPal}from"./components/PayPal/Paypal.js";export{BoletoElement as Boleto}from"./components/Boleto/Boleto.js";export{DokuElement as Doku}from"./components/Doku/Doku.js";export{OxxoElement as Oxxo}from"./components/Oxxo/Oxxo.js";export{default as BillDeskOnline}from"./components/BillDesk/BillDeskOnline.js";export{default as BillDeskWallet}from"./components/BillDesk/BillDeskWallet.js";export{default as Dotpay}from"./components/Dotpay/index.js";export{default as EPS}from"./components/EPS/index.js";export{default as MolPayEBankingMY}from"./components/MolPayEBanking/MolPayEBankingMY.js";export{default as MolPayEBankingTH}from"./components/MolPayEBanking/MolPayEBankingTH.js";export{default as MolPayEBankingVN}from"./components/MolPayEBanking/MolPayEBankingVN.js";export{default as OnlineBankingCZ}from"./components/OnlineBankingCZ/index.js";export{default as OnlineBankingIN}from"./components/OnlineBankingIN/index.js";export{default as OnlineBankingPL}from"./components/OnlineBankingPL/OnlineBankingPL.js";export{default as OnlineBankingSK}from"./components/OnlineBankingSK/index.js";export{default as OnlineBankingFI}from"./components/OnlineBankingFI/OnlineBankingFI.js";export{default as PayByBank}from"./components/PayByBank/PayByBank.js";export{default as PayuCashcard}from"./components/PayU/PayuCashcard.js";export{default as PayuNetBanking}from"./components/PayU/PayuNetBanking.js";export{default as WalletIN}from"./components/WalletIN/index.js";export{DragonpayElement as Dragonpay}from"./components/Dragonpay/Dragonpay.js";export{EcontextElement as Econtext}from"./components/Econtext/Econtext.js";export{default as Giropay}from"./components/Giropay/Giropay.js";export{MultibancoElement as Multibanco}from"./components/Multibanco/Multibanco.js";export{default as Redirect}from"./components/Redirect/Redirect.js";export{default as Twint}from"./components/Twint/Twint.js";export{default as Vipps}from"./components/Vipps/Vipps.js";export{default as Trustly}from"./components/Trustly/Trustly.js";export{default as PayByBankUS}from"./components/PayByBankUS/PayByBankUS.js";export{default as Klarna}from"./components/Klarna/KlarnaPayments.js";export{default as BcmcMobile}from"./components/BcmcMobile/BcmcMobile.js";export{default as Pix}from"./components/Pix/Pix.js";export{default as Swish}from"./components/Swish/Swish.js";export{default as WeChat}from"./components/WeChat/WeChat.js";export{default as PromptPay}from"./components/PromptPay/PromptPay.js";export{default as PayNow}from"./components/PayNow/PayNow.js";export{default as DuitNow}from"./components/DuitNow/DuitNow.js";export{default as PayMe}from"./components/PayMe/PayMe.js";export{default as Blik}from"./components/Blik/Blik.js";export{MBWayElement as MBWay}from"./components/MBWay/MBWay.js";export{default as UPI}from"./components/UPI/UPI.js";export{ANCVElement as ANCV}from"./components/ANCV/ANCV.js";export{PayToElement as PayTo}from"./components/PayTo/PayTo.js";export{GiftcardElement as Giftcard}from"./components/Giftcard/Giftcard.js";export{MealVoucherFRElement as MealVoucherFR}from"./components/MealVoucherFR/MealVoucherFR.js";export{AddressElement as Address}from"./components/Address/Address.js";export{BankTransferElement as BankTransfer}from"./components/BankTransfer/BankTransfer.js";export{default as Donation}from"./components/Donation/Donation.js";export{default as Dropin}from"./components/Dropin/Dropin.js";export{PersonalDetailsElement as PersonalDetails}from"./components/PersonalDetails/PersonalDetails.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValidationRuleResult.js","sources":["../../../../src/utils/Validator/ValidationRuleResult.ts"],"sourcesContent":["import { ErrorMessageObject } from './types';\n\n/**\n * Holds the result of a validation\n */\nexport class ValidationRuleResult {\n private readonly shouldValidate: boolean;\n public isValid: boolean;\n public errorMessage: string | ErrorMessageObject;\n\n constructor(rule, value, mode, context) {\n this.shouldValidate = rule.modes.includes(mode);\n this.isValid = rule.validate(value, context);\n this.errorMessage = rule.errorMessage;\n }\n\n /**\n * Whether the validation is considered an error.\n * A field is only considered to be an error if the validation rule applies to the current mode i.e. 'blur' or 'input'.\n * Also, if a validation function returns a null value e.g. when the field is empty, then the field will not be considered to be in error\n * unless the whole form is being validated\n */\n hasError(isValidatingForm = false): boolean {\n return isValidatingForm ? !this.isValid && this.shouldValidate : this.isValid != null && !this.isValid && this.shouldValidate;\n }\n}\n"],"names":["ValidationRuleResult","hasError","isValidatingForm","this","isValid","shouldValidate","constructor","rule","value","mode","context","_define_property","errorMessage","modes","includes","validate"],"mappings":"wHAKO,MAAMA,EAiBTC,QAAAA,CAASC,GAAmB,GACxB,OAAOA,GAAoBC,KAAKC,SAAWD,KAAKE,eAAiC,MAAhBF,KAAKC,UAAoBD,KAAKC,SAAWD,KAAKE,cACnH,CAdAC,WAAAA,CAAYC,EAAMC,EAAOC,EAAMC,GAJ/BC,EAAAR,KAAiBE,sBAAjB,GACAM,EAAAR,KAAOC,eAAP,GACAO,EAAAR,KAAOS,oBAAP,GAGIT,KAAKE,eAAiBE,EAAKM,MAAMC,SAASL,GAC1CN,KAAKC,QAAUG,EAAKQ,SAASP,EAAOE,GACpCP,KAAKS,aAAeL,EAAKK,YAC7B"}
1
+ {"version":3,"file":"ValidationRuleResult.js","sources":["../../../../src/utils/Validator/ValidationRuleResult.ts"],"sourcesContent":["import { ErrorMessageObject, ValidatorRule, ValidatorMode } from './types';\n\n/**\n * Holds the result of a validation\n */\nexport class ValidationRuleResult {\n private readonly shouldValidate: boolean;\n public isValid: boolean;\n public errorMessage: string | ErrorMessageObject;\n\n constructor(rule: ValidatorRule, value: string, mode: ValidatorMode, context) {\n this.shouldValidate = rule.modes.includes(mode);\n this.isValid = rule.validate(value, context);\n this.errorMessage = rule.errorMessage;\n }\n\n /**\n * Whether the validation is considered an error.\n * A field is only considered to be an error if the validation rule applies to the current mode i.e. 'blur' or 'input'.\n * Also, if a validation function returns a null value e.g. when the field is empty, then the field will not be considered to be in error\n * unless the whole form is being validated\n */\n hasError(isValidatingForm = false): boolean {\n return isValidatingForm ? !this.isValid && this.shouldValidate : this.isValid != null && !this.isValid && this.shouldValidate;\n }\n}\n"],"names":["ValidationRuleResult","hasError","isValidatingForm","this","isValid","shouldValidate","constructor","rule","value","mode","context","_define_property","errorMessage","modes","includes","validate"],"mappings":"wHAKO,MAAMA,EAiBTC,QAAAA,CAASC,GAAmB,GACxB,OAAOA,GAAoBC,KAAKC,SAAWD,KAAKE,eAAiC,MAAhBF,KAAKC,UAAoBD,KAAKC,SAAWD,KAAKE,cACnH,CAdAC,WAAAA,CAAYC,EAAqBC,EAAeC,EAAqBC,GAJrEC,EAAAR,KAAiBE,sBAAjB,GACAM,EAAAR,KAAOC,eAAP,GACAO,EAAAR,KAAOS,oBAAP,GAGIT,KAAKE,eAAiBE,EAAKM,MAAMC,SAASL,GAC1CN,KAAKC,QAAUG,EAAKQ,SAASP,EAAOE,GACpCP,KAAKS,aAAeL,EAAKK,YAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Validator.js","sources":["../../../../src/utils/Validator/Validator.ts"],"sourcesContent":["import { ValidatorRules, ValidatorRule, FieldContext, FieldData } from './types';\nimport { ValidationRuleResult } from './ValidationRuleResult';\n\nclass ValidationResult {\n private validationResults: ValidationRuleResult[];\n\n constructor(results: ValidationRuleResult[]) {\n this.validationResults = results;\n }\n\n /** Checks if all validation rules have passed */\n get isValid(): boolean {\n return this.validationResults.reduce((acc, result) => acc && result.isValid, true);\n }\n\n /** Checks if any validation rule returned an error */\n hasError(isValidatingForm = false): boolean {\n return Boolean(this.getError(isValidatingForm));\n }\n\n /** Returns the first validation result that returned an error */\n getError(isValidatingForm = false) {\n return this.validationResults.find(result => result.hasError(isValidatingForm));\n }\n\n /** Returns all validation results that returned an error */\n getAllErrors() {\n return this.validationResults.filter(result => result.hasError());\n }\n}\n\nclass Validator {\n public rules: ValidatorRules = {\n default: {\n validate: () => true,\n modes: ['blur', 'input']\n }\n };\n\n constructor(rules) {\n this.setRules(rules);\n }\n\n setRules(newRules) {\n this.rules = {\n ...this.rules,\n ...newRules\n };\n }\n\n /**\n * Get all validation rules for a field\n */\n private getRulesFor(field: string): ValidatorRule[] {\n let fieldRules: ValidatorRule | ValidatorRule[] = this.rules[field] ?? this.rules['default'];\n\n if (!Array.isArray(fieldRules)) {\n fieldRules = [fieldRules];\n }\n\n return fieldRules;\n }\n\n /**\n * Validates a field\n */\n validate({ key, value, mode = 'blur' }: FieldData, context?: FieldContext) {\n const fieldRules = this.getRulesFor(key);\n const validationRulesResult = fieldRules.map(rule => new ValidationRuleResult(rule, value, mode, context));\n\n return new ValidationResult(validationRulesResult);\n }\n}\n\nexport default Validator;\n"],"names":["ValidationResult","isValid","this","validationResults","reduce","acc","result","hasError","isValidatingForm","Boolean","getError","find","getAllErrors","filter","constructor","results","_define_property","Validator","setRules","newRules","rules","getRulesFor","field","fieldRules","Array","isArray","validate","key","value","mode","context","validationRulesResult","map","rule","ValidationRuleResult","default","modes"],"mappings":"yLAGA,MAAMA,EAQF,WAAIC,GACA,OAAOC,KAAKC,kBAAkBC,QAAO,CAACC,EAAKC,IAAWD,GAAOC,EAAOL,UAAS,EACjF,CAGAM,QAAAA,CAASC,GAAmB,GACxB,OAAOC,QAAQP,KAAKQ,SAASF,GACjC,CAGAE,QAAAA,CAASF,GAAmB,GACxB,OAAON,KAAKC,kBAAkBQ,MAAKL,GAAUA,EAAOC,SAASC,IACjE,CAGAI,YAAAA,GACI,OAAOV,KAAKC,kBAAkBU,QAAOP,GAAUA,EAAOC,YAC1D,CAtBAO,WAAAA,CAAYC,GAFZC,EAAAd,KAAQC,yBAAR,GAGID,KAAKC,kBAAoBY,CAC7B,EAuBJ,MAAME,EAYFC,QAAAA,CAASC,GACLjB,KAAKkB,MAAQ,IACNlB,KAAKkB,SACLD,EAEX,CAKQE,WAAAA,CAAYC,GAChB,IAAIC,EAA8CrB,KAAKkB,MAAME,IAAUpB,KAAKkB,MAAgB,QAM5F,OAJKI,MAAMC,QAAQF,KACfA,EAAa,CAACA,IAGXA,CACX,CAKAG,QAAAA,EAASC,IAAEA,EAAGC,MAAEA,EAAKC,KAAEA,EAAO,QAAqBC,GAC/C,MACMC,EADa7B,KAAKmB,YAAYM,GACKK,KAAIC,GAAQ,IAAIC,EAAqBD,EAAML,EAAOC,EAAMC,KAEjG,OAAO,IAAI9B,EAAiB+B,EAChC,CAhCAjB,WAAAA,CAAYM,GAPZJ,EAAAd,KAAOkB,QAAwB,CAC3Be,QAAS,CACLT,SAAU,KAAM,EAChBU,MAAO,CAAC,OAAQ,YAKpBlC,KAAKgB,SAASE,EAClB"}
1
+ {"version":3,"file":"Validator.js","sources":["../../../../src/utils/Validator/Validator.ts"],"sourcesContent":["import { ValidatorRules, ValidatorRule, FieldContext, FieldData } from './types';\nimport { ValidationRuleResult } from './ValidationRuleResult';\n\nclass ValidationResult {\n private validationResults: ValidationRuleResult[];\n\n constructor(results: ValidationRuleResult[]) {\n this.validationResults = results;\n }\n\n /** Checks if all validation rules have passed */\n get isValid(): boolean {\n return this.validationResults.reduce((acc, result) => acc && result.isValid, true);\n }\n\n /** Checks if any validation rule returned an error */\n hasError(isValidatingForm = false): boolean {\n return Boolean(this.getError(isValidatingForm));\n }\n\n /** Returns the first validation result that returned an error */\n getError(isValidatingForm = false) {\n return this.validationResults.find(result => result.hasError(isValidatingForm));\n }\n\n /** Returns all validation results that returned an error */\n getAllErrors() {\n return this.validationResults.filter(result => result.hasError());\n }\n}\n\nclass Validator {\n public rules: ValidatorRules = {\n default: {\n validate: () => true,\n modes: ['blur', 'input']\n }\n };\n\n constructor(rules) {\n this.setRules(rules);\n }\n\n setRules(newRules) {\n this.rules = {\n ...this.rules,\n ...newRules\n };\n }\n\n /**\n * Get all validation rules for a field\n */\n private getRulesFor(field: string): ValidatorRule[] {\n let fieldRules: ValidatorRule | ValidatorRule[] = this.rules[field] ?? this.rules['default'];\n\n if (!Array.isArray(fieldRules)) {\n fieldRules = [fieldRules];\n }\n\n return fieldRules;\n }\n\n /**\n * Validates a field\n */\n validate({ key, value, mode = 'blur' }: FieldData, context?: FieldContext) {\n const fieldRules = this.getRulesFor(key);\n // create an ValidationRuleResult, we run the actual validation inside of it\n // validate is called in the constructor of ValidationRuleResult\n // line rule.validate(value, context);\n //\n const validationRulesResult = fieldRules.map(rule => new ValidationRuleResult(rule, value, mode, context));\n\n return new ValidationResult(validationRulesResult);\n }\n}\n\nexport default Validator;\n"],"names":["ValidationResult","isValid","this","validationResults","reduce","acc","result","hasError","isValidatingForm","Boolean","getError","find","getAllErrors","filter","constructor","results","_define_property","Validator","setRules","newRules","rules","getRulesFor","field","fieldRules","Array","isArray","validate","key","value","mode","context","validationRulesResult","map","rule","ValidationRuleResult","default","modes"],"mappings":"yLAGA,MAAMA,EAQF,WAAIC,GACA,OAAOC,KAAKC,kBAAkBC,QAAO,CAACC,EAAKC,IAAWD,GAAOC,EAAOL,UAAS,EACjF,CAGAM,QAAAA,CAASC,GAAmB,GACxB,OAAOC,QAAQP,KAAKQ,SAASF,GACjC,CAGAE,QAAAA,CAASF,GAAmB,GACxB,OAAON,KAAKC,kBAAkBQ,MAAKL,GAAUA,EAAOC,SAASC,IACjE,CAGAI,YAAAA,GACI,OAAOV,KAAKC,kBAAkBU,QAAOP,GAAUA,EAAOC,YAC1D,CAtBAO,WAAAA,CAAYC,GAFZC,EAAAd,KAAQC,yBAAR,GAGID,KAAKC,kBAAoBY,CAC7B,EAuBJ,MAAME,EAYFC,QAAAA,CAASC,GACLjB,KAAKkB,MAAQ,IACNlB,KAAKkB,SACLD,EAEX,CAKQE,WAAAA,CAAYC,GAChB,IAAIC,EAA8CrB,KAAKkB,MAAME,IAAUpB,KAAKkB,MAAgB,QAM5F,OAJKI,MAAMC,QAAQF,KACfA,EAAa,CAACA,IAGXA,CACX,CAKAG,QAAAA,EAASC,IAAEA,EAAGC,MAAEA,EAAKC,KAAEA,EAAO,QAAqBC,GAC/C,MAKMC,EALa7B,KAAKmB,YAAYM,GAKKK,KAAIC,GAAQ,IAAIC,EAAqBD,EAAML,EAAOC,EAAMC,KAEjG,OAAO,IAAI9B,EAAiB+B,EAChC,CApCAjB,WAAAA,CAAYM,GAPZJ,EAAAd,KAAOkB,QAAwB,CAC3Be,QAAS,CACLT,SAAU,KAAM,EAChBU,MAAO,CAAC,OAAQ,YAKpBlC,KAAKgB,SAASE,EAClB"}
@@ -0,0 +1,2 @@
1
+ const o=()=>window.self!==window.top;export{o as inIframe};
2
+ //# sourceMappingURL=inIframe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inIframe.js","sources":["../../../src/utils/inIframe.ts"],"sourcesContent":["const inIframe = () => window.self !== window.top;\n\nexport { inIframe };\n"],"names":["inIframe","window","self","top"],"mappings":"AAAA,MAAMA,EAAW,IAAMC,OAAOC,OAASD,OAAOE"}
@@ -1,2 +1,2 @@
1
- var e={exports:{}};export{e as __module};
1
+ import{getDefaultExportFromCjs as e}from"./_commonjsHelpers.js";import{__require as r}from"../external/classnames/index.js";var s=e(r());export{s as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ var e={exports:{}};export{e as __module};
2
+ //# sourceMappingURL=index2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}