@paydock/client-sdk 1.128.2 → 1.131.0-beta

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 (246) hide show
  1. package/README.md +529 -0
  2. package/bundles/index.cjs +2661 -401
  3. package/bundles/index.cjs.d.ts +395 -194
  4. package/bundles/index.mjs +2660 -401
  5. package/bundles/index.mjs.d.ts +395 -194
  6. package/bundles/types/api/api-internal.d.ts +3 -1
  7. package/bundles/types/api/api-internal.d.ts.map +1 -1
  8. package/bundles/types/api/api-payment-source-internal.d.ts +8 -0
  9. package/bundles/types/api/api-payment-source-internal.d.ts.map +1 -0
  10. package/bundles/types/checkout/checkout.d.ts +8 -14
  11. package/bundles/types/checkout/checkout.d.ts.map +1 -1
  12. package/bundles/types/checkout/helpers/instruction-debugger.d.ts +4 -0
  13. package/bundles/types/checkout/helpers/instruction-debugger.d.ts.map +1 -0
  14. package/bundles/types/checkout/helpers/instruction-handler.d.ts +4 -4
  15. package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -1
  16. package/bundles/types/checkout/images/card-icons.d.ts +10 -0
  17. package/bundles/types/checkout/images/card-icons.d.ts.map +1 -0
  18. package/bundles/types/checkout/index.d.ts +2 -1
  19. package/bundles/types/checkout/index.d.ts.map +1 -1
  20. package/bundles/types/checkout/models/checkout.models.d.ts +14 -0
  21. package/bundles/types/checkout/models/checkout.models.d.ts.map +1 -0
  22. package/bundles/types/checkout/utils/checkout-styles.util.d.ts +2 -0
  23. package/bundles/types/checkout/utils/checkout-styles.util.d.ts.map +1 -0
  24. package/bundles/types/checkout/utils/checkout-version-handler.util.d.ts +3 -0
  25. package/bundles/types/checkout/utils/checkout-version-handler.util.d.ts.map +1 -0
  26. package/bundles/types/checkout/v1/helpers/widget-structure-handler.d.ts +10 -0
  27. package/bundles/types/checkout/v1/helpers/widget-structure-handler.d.ts.map +1 -0
  28. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/index.d.ts.map +1 -1
  29. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.afterpay_checkout_form.show.d.ts +2 -2
  30. package/bundles/types/checkout/v1/instructions/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
  31. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.afterpay_wallet_form.show.d.ts +3 -2
  32. package/bundles/types/checkout/v1/instructions/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
  33. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.apple_pay_form.show.d.ts +3 -2
  34. package/bundles/types/checkout/v1/instructions/instruction.apple_pay_form.show.d.ts.map +1 -0
  35. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.bank_account_form.show.d.ts +2 -2
  36. package/bundles/types/checkout/v1/instructions/instruction.bank_account_form.show.d.ts.map +1 -0
  37. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.canvas_3ds.show.d.ts.map +1 -1
  38. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.card_form.show.d.ts +1 -1
  39. package/bundles/types/checkout/v1/instructions/instruction.card_form.show.d.ts.map +1 -0
  40. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.disable_payment_method_event.emit.d.ts +2 -2
  41. package/bundles/types/checkout/v1/instructions/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
  42. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.fraud_service.show.d.ts.map +1 -1
  43. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.generic.show_message.d.ts +1 -1
  44. package/bundles/types/checkout/v1/instructions/instruction.generic.show_message.d.ts.map +1 -0
  45. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.google_pay_form.show.d.ts +3 -2
  46. package/bundles/types/checkout/v1/instructions/instruction.google_pay_form.show.d.ts.map +1 -0
  47. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.merchant_event.emit.d.ts +2 -2
  48. package/bundles/types/checkout/v1/instructions/instruction.merchant_event.emit.d.ts.map +1 -0
  49. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.payment_methods.show.d.ts.map +1 -1
  50. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.paypal_form.show.d.ts +2 -2
  51. package/bundles/types/checkout/v1/instructions/instruction.paypal_form.show.d.ts.map +1 -0
  52. package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.zip_checkout_form.show.d.ts +3 -2
  53. package/bundles/types/checkout/v1/instructions/instruction.zip_checkout_form.show.d.ts.map +1 -0
  54. package/bundles/types/checkout/v1/layout-widgets/additionals.d.ts +3 -0
  55. package/bundles/types/checkout/v1/layout-widgets/additionals.d.ts.map +1 -0
  56. package/bundles/types/checkout/v1/layout-widgets/default-variables.enum.d.ts.map +1 -0
  57. package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/message.d.ts +6 -6
  58. package/bundles/types/checkout/v1/layout-widgets/message.d.ts.map +1 -0
  59. package/bundles/types/checkout/v1/layout-widgets/payment-methods-template.d.ts.map +1 -0
  60. package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-methods.d.ts +5 -5
  61. package/bundles/types/checkout/v1/layout-widgets/payment-methods.d.ts.map +1 -0
  62. package/bundles/types/checkout/v1/layout-widgets/payment-template.d.ts.map +1 -0
  63. package/bundles/types/checkout/v1/models/checkout.models.d.ts +5 -0
  64. package/bundles/types/checkout/v1/models/checkout.models.d.ts.map +1 -0
  65. package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts +4 -0
  66. package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts.map +1 -0
  67. package/bundles/types/checkout/v3/components/list-items-wrapper/list-items-wrapper.d.ts +8 -0
  68. package/bundles/types/checkout/v3/components/list-items-wrapper/list-items-wrapper.d.ts.map +1 -0
  69. package/bundles/types/checkout/v3/components/payment-methods-list/payment-methods-list.d.ts +3 -0
  70. package/bundles/types/checkout/v3/components/payment-methods-list/payment-methods-list.d.ts.map +1 -0
  71. package/bundles/types/checkout/v3/components/payments-wrapper/payments-wrapper.d.ts +9 -0
  72. package/bundles/types/checkout/v3/components/payments-wrapper/payments-wrapper.d.ts.map +1 -0
  73. package/bundles/types/checkout/v3/helpers/widget-structure-handler.d.ts +10 -0
  74. package/bundles/types/checkout/v3/helpers/widget-structure-handler.d.ts.map +1 -0
  75. package/bundles/types/checkout/v3/instructions/index.d.ts +4 -0
  76. package/bundles/types/checkout/v3/instructions/index.d.ts.map +1 -0
  77. package/bundles/types/checkout/v3/instructions/instruction.afterpay_checkout_form.show.d.ts +20 -0
  78. package/bundles/types/checkout/v3/instructions/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
  79. package/bundles/types/checkout/v3/instructions/instruction.afterpay_wallet_form.show.d.ts +17 -0
  80. package/bundles/types/checkout/v3/instructions/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
  81. package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts +17 -0
  82. package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts.map +1 -0
  83. package/bundles/types/checkout/v3/instructions/instruction.bank_account_form.show.d.ts +14 -0
  84. package/bundles/types/checkout/v3/instructions/instruction.bank_account_form.show.d.ts.map +1 -0
  85. package/bundles/types/checkout/v3/instructions/instruction.canvas_3ds.show.d.ts +12 -0
  86. package/bundles/types/checkout/v3/instructions/instruction.canvas_3ds.show.d.ts.map +1 -0
  87. package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts +24 -0
  88. package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts.map +1 -0
  89. package/bundles/types/checkout/v3/instructions/instruction.disable_payment_method_event.emit.d.ts +21 -0
  90. package/bundles/types/checkout/v3/instructions/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
  91. package/bundles/types/checkout/v3/instructions/instruction.fraud_service.show.d.ts +21 -0
  92. package/bundles/types/checkout/v3/instructions/instruction.fraud_service.show.d.ts.map +1 -0
  93. package/bundles/types/checkout/v3/instructions/instruction.generic.show_message.d.ts +27 -0
  94. package/bundles/types/checkout/v3/instructions/instruction.generic.show_message.d.ts.map +1 -0
  95. package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts +17 -0
  96. package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts.map +1 -0
  97. package/bundles/types/checkout/v3/instructions/instruction.merchant_event.emit.d.ts +18 -0
  98. package/bundles/types/checkout/v3/instructions/instruction.merchant_event.emit.d.ts.map +1 -0
  99. package/bundles/types/checkout/v3/instructions/instruction.payment_methods.show.d.ts +23 -0
  100. package/bundles/types/checkout/v3/instructions/instruction.payment_methods.show.d.ts.map +1 -0
  101. package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts +19 -0
  102. package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts.map +1 -0
  103. package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts +22 -0
  104. package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts.map +1 -0
  105. package/bundles/types/checkout/v3/instructions/instruction.zip_checkout_form.show.d.ts +19 -0
  106. package/bundles/types/checkout/v3/instructions/instruction.zip_checkout_form.show.d.ts.map +1 -0
  107. package/bundles/types/checkout/v3/models/card.model.d.ts +20 -0
  108. package/bundles/types/checkout/v3/models/card.model.d.ts.map +1 -0
  109. package/bundles/types/checkout/v3/models/checkout-styles.model.d.ts +9 -0
  110. package/bundles/types/checkout/v3/models/checkout-styles.model.d.ts.map +1 -0
  111. package/bundles/types/checkout/v3/models/checkout.models.d.ts +4 -0
  112. package/bundles/types/checkout/v3/models/checkout.models.d.ts.map +1 -0
  113. package/bundles/types/checkout/v3/models/payment-methods.model.d.ts +13 -0
  114. package/bundles/types/checkout/v3/models/payment-methods.model.d.ts.map +1 -0
  115. package/bundles/types/checkout/v3/styles/additionals.d.ts +3 -0
  116. package/bundles/types/checkout/v3/styles/additionals.d.ts.map +1 -0
  117. package/bundles/types/checkout/v3/utils/checkout-customisation-styles.util.d.ts +3 -0
  118. package/bundles/types/checkout/v3/utils/checkout-customisation-styles.util.d.ts.map +1 -0
  119. package/bundles/types/components/param.d.ts +5 -0
  120. package/bundles/types/components/param.d.ts.map +1 -1
  121. package/bundles/types/configs/env/environment.uba.d.ts +28 -0
  122. package/bundles/types/configs/env/environment.uba.d.ts.map +1 -0
  123. package/bundles/types/constants/validators.d.ts +2 -2
  124. package/bundles/types/constants/validators.d.ts.map +1 -1
  125. package/bundles/types/fraud-prevention/providers/forter/templates/{forter-snippet-2025-02-06t14:19:34z.template.d.ts → forter-snippet-20250206141934.template.d.ts} +1 -1
  126. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-20250206141934.template.d.ts.map +1 -0
  127. package/bundles/types/helper/card-scheme.d.ts +76 -0
  128. package/bundles/types/helper/card-scheme.d.ts.map +1 -0
  129. package/bundles/types/index.d.ts +1 -0
  130. package/bundles/types/index.d.ts.map +1 -1
  131. package/bundles/types/open-wallets/base/base-open-wallet.d.ts +33 -0
  132. package/bundles/types/open-wallets/base/base-open-wallet.d.ts.map +1 -0
  133. package/bundles/types/open-wallets/enum/event.enum.d.ts +8 -0
  134. package/bundles/types/open-wallets/enum/event.enum.d.ts.map +1 -0
  135. package/bundles/types/open-wallets/index.d.ts +6 -0
  136. package/bundles/types/open-wallets/index.d.ts.map +1 -0
  137. package/bundles/types/open-wallets/interfaces/base-service-config.interface.d.ts +30 -0
  138. package/bundles/types/open-wallets/interfaces/base-service-config.interface.d.ts.map +1 -0
  139. package/bundles/types/open-wallets/interfaces/base-wallet-meta.interface.d.ts +5 -0
  140. package/bundles/types/open-wallets/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
  141. package/bundles/types/open-wallets/interfaces/events.interface.d.ts +34 -0
  142. package/bundles/types/open-wallets/interfaces/events.interface.d.ts.map +1 -0
  143. package/bundles/types/open-wallets/interfaces/index.d.ts +8 -0
  144. package/bundles/types/open-wallets/interfaces/index.d.ts.map +1 -0
  145. package/bundles/types/open-wallets/interfaces/payment-source.interface.d.ts +5 -0
  146. package/bundles/types/open-wallets/interfaces/payment-source.interface.d.ts.map +1 -0
  147. package/bundles/types/open-wallets/services/index.d.ts +9 -0
  148. package/bundles/types/open-wallets/services/index.d.ts.map +1 -0
  149. package/bundles/types/open-wallets/types/index.d.ts +5 -0
  150. package/bundles/types/open-wallets/types/index.d.ts.map +1 -0
  151. package/bundles/types/open-wallets/types/ott-backend.type.d.ts +26 -0
  152. package/bundles/types/open-wallets/types/ott-backend.type.d.ts.map +1 -0
  153. package/bundles/types/open-wallets/types/ott-response.type.d.ts +8 -0
  154. package/bundles/types/open-wallets/types/ott-response.type.d.ts.map +1 -0
  155. package/bundles/types/open-wallets/types/wallet-type.type.d.ts +6 -0
  156. package/bundles/types/open-wallets/types/wallet-type.type.d.ts.map +1 -0
  157. package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -1
  158. package/bundles/types/shared-ui/components/button.d.ts +23 -0
  159. package/bundles/types/shared-ui/components/button.d.ts.map +1 -0
  160. package/bundles/types/shared-ui/components/item-info-blocks.d.ts +20 -0
  161. package/bundles/types/shared-ui/components/item-info-blocks.d.ts.map +1 -0
  162. package/bundles/types/shared-ui/components/list-item.d.ts +13 -0
  163. package/bundles/types/shared-ui/components/list-item.d.ts.map +1 -0
  164. package/bundles/types/shared-ui/components/loading-spinner.d.ts +12 -0
  165. package/bundles/types/shared-ui/components/loading-spinner.d.ts.map +1 -0
  166. package/bundles/types/shared-ui/components/message-card.d.ts +19 -0
  167. package/bundles/types/shared-ui/components/message-card.d.ts.map +1 -0
  168. package/bundles/types/shared-ui/components/svg-container.d.ts +2 -0
  169. package/bundles/types/shared-ui/components/svg-container.d.ts.map +1 -0
  170. package/bundles/types/shared-ui/components/widget-wrapper.d.ts +2 -0
  171. package/bundles/types/shared-ui/components/widget-wrapper.d.ts.map +1 -0
  172. package/bundles/types/shared-ui/models/widget-root.model.d.ts +12 -0
  173. package/bundles/types/shared-ui/models/widget-root.model.d.ts.map +1 -0
  174. package/bundles/types/shared-ui/styles/widget-root-styles.d.ts +3 -0
  175. package/bundles/types/shared-ui/styles/widget-root-styles.d.ts.map +1 -0
  176. package/bundles/types/shared-ui/utils/loading-spinner.util.d.ts +8 -0
  177. package/bundles/types/shared-ui/utils/loading-spinner.util.d.ts.map +1 -0
  178. package/bundles/types/wallet-buttons/enums.d.ts +2 -1
  179. package/bundles/types/wallet-buttons/enums.d.ts.map +1 -1
  180. package/bundles/types/wallet-buttons/wallet-buttons.d.ts +12 -6
  181. package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -1
  182. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +2 -2
  183. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -1
  184. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +3 -3
  185. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -1
  186. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +2 -2
  187. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -1
  188. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +7 -7
  189. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -1
  190. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -1
  191. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +2 -2
  192. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -1
  193. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +3 -3
  194. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -1
  195. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +6 -6
  196. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -1
  197. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +1 -0
  198. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -1
  199. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +20 -0
  200. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -1
  201. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -1
  202. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +3 -0
  203. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -1
  204. package/bundles/types/widget/configuration.d.ts +2 -0
  205. package/bundles/types/widget/configuration.d.ts.map +1 -1
  206. package/bundles/types/widget/html-multi-widget.d.ts +7 -5
  207. package/bundles/types/widget/html-multi-widget.d.ts.map +1 -1
  208. package/bundles/types/widget/html-widget.d.ts +1 -0
  209. package/bundles/types/widget/html-widget.d.ts.map +1 -1
  210. package/bundles/types/widget/multi-widget.d.ts +8 -0
  211. package/bundles/types/widget/multi-widget.d.ts.map +1 -1
  212. package/bundles/widget.umd.js +2661 -401
  213. package/bundles/widget.umd.js.d.ts +395 -194
  214. package/bundles/widget.umd.js.min.d.ts +395 -194
  215. package/bundles/widget.umd.min.js +1 -1
  216. package/docs/wallet-buttons-express-examples.md +528 -0
  217. package/docs/wallet-buttons.md +1 -0
  218. package/package.json +3 -2
  219. package/bundles/types/checkout/instructions/index.d.ts +0 -3
  220. package/bundles/types/checkout/instructions/index.d.ts.map +0 -1
  221. package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +0 -1
  222. package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +0 -1
  223. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +0 -1
  224. package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +0 -1
  225. package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +0 -1
  226. package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +0 -1
  227. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +0 -1
  228. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +0 -1
  229. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +0 -1
  230. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +0 -1
  231. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +0 -1
  232. package/bundles/types/checkout/layout-widgets/additionals.d.ts +0 -3
  233. package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +0 -1
  234. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +0 -1
  235. package/bundles/types/checkout/layout-widgets/message.d.ts.map +0 -1
  236. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +0 -1
  237. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +0 -1
  238. package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +0 -1
  239. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +0 -1
  240. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/index.d.ts +0 -0
  241. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.canvas_3ds.show.d.ts +0 -0
  242. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.fraud_service.show.d.ts +0 -0
  243. /package/bundles/types/checkout/{instructions/v1 → v1/instructions}/instruction.payment_methods.show.d.ts +0 -0
  244. /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/default-variables.enum.d.ts +0 -0
  245. /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-methods-template.d.ts +0 -0
  246. /package/bundles/types/checkout/{layout-widgets → v1/layout-widgets}/payment-template.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- import { Container } from '../../components/container';
2
- import { EventEmitter } from '../../helper/event-emitter';
3
- import { ApiInternal } from "../../api/api-internal";
4
- import { IFrame } from "../../components/iframe";
5
- import { IEventData, IFrameEvent } from "../../components/iframe-event";
6
- import { Link } from '../../components/link';
1
+ import type { ApiInternal } from '../../../api/api-internal';
2
+ import { Container } from '../../../components/container';
3
+ import { IFrame } from '../../../components/iframe';
4
+ import { type IEventData, IFrameEvent } from '../../../components/iframe-event';
5
+ import { Link } from '../../../components/link';
6
+ import type { EventEmitter } from '../../../helper/event-emitter';
7
7
  export interface IEventSizeData extends IEventData {
8
8
  height: number;
9
9
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v1/layout-widgets/message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAS,KAAK,UAAU,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,IAAI,EAAuB,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,WAAW,cAAe,SAAQ,UAAU;IAChD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAC;AAEF,qBAAa,OAAO;IAahB,SAAS,CAAC,KAAK,EAAE,MAAM;IACvB,SAAS,CAAC,OAAO,EAAE,MAAM;IACzB,SAAS,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW;IAdnD,SAAS,CAAC,MAAM,EAAE,MAAM,CAAU;IAClC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,SAAS,CAAC,GAAG,EAAE,MAAM,CAAe;IACpC,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,GAAG,EAAE,WAAW,CAAC;IAC3B,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;gBAGnB,QAAQ,EAAE,MAAM,EACN,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW;IAW5C,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,SAAS,CAAC,MAAM,KAAA;IAYhB,IAAI;IAIJ,aAAa;CAcrB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods-template.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v1/layout-widgets/payment-methods-template.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,wBA+IE"}
@@ -1,9 +1,9 @@
1
1
  /// <reference types="applepayjs" />
2
- import type { ApiInternal } from '../../api/api-internal';
3
- import { Container } from '../../components/container';
4
- import { IFrame } from '../../components/iframe';
5
- import type { IFrameEvent } from '../../components/iframe-event';
6
- import type { EventEmitter } from '../../helper/event-emitter';
2
+ import type { ApiInternal } from '../../../api/api-internal';
3
+ import { Container } from '../../../components/container';
4
+ import { IFrame } from '../../../components/iframe';
5
+ import type { IFrameEvent } from '../../../components/iframe-event';
6
+ import type { EventEmitter } from '../../../helper/event-emitter';
7
7
  declare global {
8
8
  interface Window {
9
9
  ApplePaySession: ApplePaySession;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v1/layout-widgets/payment-methods.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAGpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAOlE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,eAAe,EAAE,eAAe,CAAC;KAClC;CACF;AAED,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC;AASF,qBAAa,cAAc;IAavB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE;IAC3B,SAAS,CAAC,MAAM,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IACD,SAAS,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI;IArB1C,SAAS,CAAC,MAAM,EAAE,MAAM,CAAU;IAClC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,SAAS,CAAC,GAAG,EAAE,MAAM,CAAe;IACpC,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,GAAG,EAAE,WAAW,CAAC;IAC3B,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,2BAA2B,EAAE,OAAO,CAAC;gBAG7C,QAAQ,EAAE,MAAM,EACN,OAAO,EAAE,MAAM,EAAE,EACjB,MAAM,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,EACS,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EACxC,iBAAiB,EAAE,MAAM,EACzB,IAAI,UAAQ;IAYd,OAAO,CAAC,IAAI;IAuCZ,OAAO,CAAC,kBAAkB;IAuBnB,MAAM,CAAC,iBAAiB,KAAA;IAU/B,OAAO,CAAC,SAAS;IAoCjB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,2BAA2B;IAOnC,OAAO,CAAC,sBAAsB;IAUvB,oBAAoB;IAqC3B,OAAO,CAAC,qBAAqB;IAM7B,OAAO,CAAC,iCAAiC;CAO1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-template.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v1/layout-widgets/payment-template.ts"],"names":[],"mappings":";AAAA,wBAoTE"}
@@ -0,0 +1,5 @@
1
+ export declare const SELECTORS: {
2
+ LIST: string;
3
+ WIDGETS: string;
4
+ };
5
+ //# sourceMappingURL=checkout.models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout.models.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v1/models/checkout.models.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;CAGrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ApiInternal } from '../../../../api/api-internal';
2
+ import type { Checkout } from '../../../checkout';
3
+ export declare function addGoBackToPaymentsButton(selector: string, checkout: Checkout, api: ApiInternal): void;
4
+ //# sourceMappingURL=go-back-to-payments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"go-back-to-payments.d.ts","sourceRoot":"","sources":["../../../../../src/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAOhE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,WAAW,QAYjB"}
@@ -0,0 +1,8 @@
1
+ type ListItemsWrapperOptions = {
2
+ class: string;
3
+ children: HTMLLIElement[];
4
+ styles?: Partial<CSSStyleDeclaration>;
5
+ };
6
+ export declare function createListItemsWrapper(listItemsWrapperOptions: ListItemsWrapperOptions): HTMLDivElement;
7
+ export {};
8
+ //# sourceMappingURL=list-items-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-items-wrapper.d.ts","sourceRoot":"","sources":["../../../../../src/checkout/v3/components/list-items-wrapper/list-items-wrapper.ts"],"names":[],"mappings":"AAEA,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC,CAAC;AASF,wBAAgB,sBAAsB,CACpC,uBAAuB,EAAE,uBAAuB,GAC/C,cAAc,CAehB"}
@@ -0,0 +1,3 @@
1
+ import { type AvailablePaymentMethods } from '../../models/payment-methods.model';
2
+ export declare function createPaymentMethodsList(selector: string, paymentMethods: AvailablePaymentMethods[], callback: (paymentMethod: string) => void, styles?: Partial<CSSStyleDeclaration>): HTMLLIElement[];
3
+ //# sourceMappingURL=payment-methods-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods-list.d.ts","sourceRoot":"","sources":["../../../../../src/checkout/v3/components/payment-methods-list/payment-methods-list.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,uBAAuB,EAG7B,MAAM,oCAAoC,CAAC;AAE5C,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,uBAAuB,EAAE,EACzC,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,EACzC,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GACpC,aAAa,EAAE,CA8BjB"}
@@ -0,0 +1,9 @@
1
+ type PaymentContainerOptions = {
2
+ id?: string;
3
+ text?: string;
4
+ children?: HTMLElement[];
5
+ styles?: Partial<CSSStyleDeclaration>;
6
+ };
7
+ export declare function createPaymentsWrapper(paymentContainerOptions: PaymentContainerOptions): HTMLDivElement;
8
+ export {};
9
+ //# sourceMappingURL=payments-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments-wrapper.d.ts","sourceRoot":"","sources":["../../../../../src/checkout/v3/components/payments-wrapper/payments-wrapper.ts"],"names":[],"mappings":"AAEA,KAAK,uBAAuB,GAAG;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACvC,CAAC;AASF,wBAAgB,qBAAqB,CACnC,uBAAuB,EAAE,uBAAuB,GAC/C,cAAc,CAehB"}
@@ -0,0 +1,10 @@
1
+ import type { ApiInternal } from '../../../api/api-internal';
2
+ import type { Checkout } from '../../../checkout';
3
+ import type { Instruction, InstructionDecorated, InstructionDestroyable, InstructionHandler } from '../../helpers/instruction-handler';
4
+ import type { WidgetVersionHandler } from '../../models/checkout.models';
5
+ export declare class WidgetStructureHandlerV3 implements WidgetVersionHandler {
6
+ createWidgetStructure(selector: string): void;
7
+ changeLoadingSpinnerVisibility(show?: boolean): void;
8
+ getInstructionClass(instructionClass: Instruction, api: ApiInternal, checkout: Checkout): InstructionHandler & InstructionDestroyable & InstructionDecorated;
9
+ }
10
+ //# sourceMappingURL=widget-structure-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-structure-handler.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/helpers/widget-structure-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAOlD,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAqBzE,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,qBAAqB,CAAC,QAAQ,EAAE,MAAM;IAmBtC,8BAA8B,CAAC,IAAI,UAAO;IAI1C,mBAAmB,CACjB,gBAAgB,EAAE,WAAW,EAC7B,GAAG,EAAE,WAAW,EAChB,QAAQ,EAAE,QAAQ,GACjB,kBAAkB,GAAG,sBAAsB,GAAG,oBAAoB;CAGtE"}
@@ -0,0 +1,4 @@
1
+ import { InstructionModule as Module } from '../../helpers/instruction-module';
2
+ export declare class InstructionModuleV3 extends Module {
3
+ }
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAkB/E,qBAiBa,mBAAoB,SAAQ,MAAM;CAAG"}
@@ -0,0 +1,20 @@
1
+ import { AfterpayCheckoutButton } from '../../../checkout-button/afterpay/afterpay-checkout-button';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ import type { ICheckoutCustomStyles } from '../models/checkout-styles.model';
4
+ export declare class InstructionAfterpayCheckoutFormShow extends InstructionHandler {
5
+ protected widget: AfterpayCheckoutButton;
6
+ handle(context: {
7
+ public_key: string;
8
+ gateway_id: string;
9
+ payload: {
10
+ gateway_id: string;
11
+ meta: unknown;
12
+ customisation?: {
13
+ base?: ICheckoutCustomStyles;
14
+ };
15
+ };
16
+ instruction_token: string;
17
+ }): void;
18
+ private createWidgetStructure;
19
+ }
20
+ //# sourceMappingURL=instruction.afterpay_checkout_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.afterpay_checkout_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.afterpay_checkout_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AASpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAKvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAQ7E,qBACa,mCAAoC,SAAQ,kBAAkB;IACzE,SAAS,CAAC,MAAM,EAAE,sBAAsB,CAAC;IAElC,MAAM,CAAC,OAAO,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE;YACP,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,EAAE,OAAO,CAAC;YACd,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,qBAAqB,CAAA;aAAE,CAAC;SAClD,CAAC;QACF,iBAAiB,EAAE,MAAM,CAAC;KAC3B,GAAG,IAAI;IA0DR,OAAO,CAAC,qBAAqB;CAa9B"}
@@ -0,0 +1,17 @@
1
+ import { WalletButtons } from '../../../wallet-buttons/wallet-buttons';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ import type { ICheckoutCustomStyles } from '../models/checkout-styles.model';
4
+ export declare class InstructionAfterpayWalletFormShow extends InstructionHandler {
5
+ protected widget: WalletButtons;
6
+ handle(context: {
7
+ payload: {
8
+ charge_token: string;
9
+ meta?: unknown;
10
+ customisation?: {
11
+ base?: ICheckoutCustomStyles;
12
+ };
13
+ };
14
+ instruction_token: string;
15
+ }): void;
16
+ }
17
+ //# sourceMappingURL=instruction.afterpay_wallet_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.afterpay_wallet_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.afterpay_wallet_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,qBACa,iCAAkC,SAAQ,kBAAkB;IACvE,SAAS,CAAC,MAAM,EAAE,aAAa,CAAC;IAEzB,MAAM,CAAC,OAAO,EAAE;QACrB,OAAO,EAAE;YACP,YAAY,EAAE,MAAM,CAAC;YACrB,IAAI,CAAC,EAAE,OAAO,CAAC;YACf,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,qBAAqB,CAAA;aAAE,CAAC;SAClD,CAAC;QACF,iBAAiB,EAAE,MAAM,CAAC;KAC3B,GAAG,IAAI;CAaT"}
@@ -0,0 +1,17 @@
1
+ import { WalletButtons } from '../../../wallet-buttons/wallet-buttons';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionApplePayFormShow extends InstructionHandler {
4
+ protected widget: WalletButtons;
5
+ handle(context: {
6
+ payload: {
7
+ gateway_id: string;
8
+ meta: unknown;
9
+ charge_token: string;
10
+ customisation?: {
11
+ base?: object;
12
+ };
13
+ };
14
+ instruction_token: string;
15
+ }): void;
16
+ }
17
+ //# sourceMappingURL=instruction.apple_pay_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.apple_pay_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.apple_pay_form.show.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAIvE,qBACa,2BAA4B,SAAQ,kBAAkB;IACjE,SAAS,CAAC,MAAM,EAAE,aAAa,CAAC;IAEzB,MAAM,CAAC,OAAO,EAAE;QACrB,OAAO,EAAE;YACP,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,EAAE,OAAO,CAAC;YACd,YAAY,EAAE,MAAM,CAAC;YACrB,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;SACnC,CAAC;QACF,iBAAiB,EAAE,MAAM,CAAC;KAC3B,GAAG,IAAI;CA8DT"}
@@ -0,0 +1,14 @@
1
+ import { HtmlWidget } from '../../../widget';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionBankAccountFormShow extends InstructionHandler {
4
+ protected widget: HtmlWidget;
5
+ handle(context: {
6
+ instruction_token: string;
7
+ payload: {
8
+ customisation?: {
9
+ base?: object;
10
+ };
11
+ };
12
+ }): void;
13
+ }
14
+ //# sourceMappingURL=instruction.bank_account_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.bank_account_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.bank_account_form.show.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,qBACa,8BAA+B,SAAQ,kBAAkB;IACpE,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC;IAEtB,MAAM,CAAC,OAAO,EAAE;QACrB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE;YAAE,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,CAAC;KAChD,GAAG,IAAI;CA8CT"}
@@ -0,0 +1,12 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ export declare class InstructionCanvas3dsShow extends InstructionHandler {
3
+ handle(context: {
4
+ instruction_token: string;
5
+ payload: {
6
+ _3ds_token: string;
7
+ };
8
+ }): void;
9
+ private decodeBase64Token;
10
+ private observeIframeAndResize;
11
+ }
12
+ //# sourceMappingURL=instruction.canvas_3ds.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.canvas_3ds.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.canvas_3ds.show.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AASvE,qBACa,wBAAyB,SAAQ,kBAAkB;IACvD,MAAM,CAAC,OAAO,EAAE;QACrB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE;YACP,UAAU,EAAE,MAAM,CAAC;SACpB,CAAC;KACH,GAAG,IAAI;IA6FR,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,sBAAsB;CA6B/B"}
@@ -0,0 +1,24 @@
1
+ import { HtmlWidget } from '../../../widget';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionCardFormShow extends InstructionHandler {
4
+ protected widget: HtmlWidget;
5
+ private timeoutId;
6
+ handle(context: {
7
+ instruction_token: string;
8
+ payload: {
9
+ customisation?: {
10
+ base?: object;
11
+ };
12
+ form_fields: {
13
+ [key: string]: undefined | 'enable' | 'required';
14
+ };
15
+ form_values: {
16
+ [key: string]: undefined | string;
17
+ };
18
+ enable_saved_card_consent_checkbox: boolean;
19
+ };
20
+ }): void;
21
+ destroy(): void;
22
+ private addSubmitButton;
23
+ }
24
+ //# sourceMappingURL=instruction.card_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.card_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.card_form.show.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,EAAW,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,qBACa,uBAAwB,SAAQ,kBAAkB;IAC7D,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC;IAC7B,OAAO,CAAC,SAAS,CAAiB;IAE3B,MAAM,CAAC,OAAO,EAAE;QACrB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE;YACP,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;YAClC,WAAW,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAA;aAAE,CAAC;YAClE,WAAW,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAA;aAAC,CAAC;YAClD,kCAAkC,EAAE,OAAO,CAAC;SAC7C,CAAC;KACH,GAAG,IAAI;IAwHR,OAAO;IAKP,OAAO,CAAC,eAAe;CAexB"}
@@ -0,0 +1,21 @@
1
+ import type { EventEmitter } from '../../../helper/event-emitter';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ interface InterfaceContext {
4
+ instruction_token: string;
5
+ payload: IntentPayload;
6
+ next_instruction?: boolean;
7
+ }
8
+ interface IntentPayload {
9
+ status: string;
10
+ intent_id: string;
11
+ charge_id?: string;
12
+ message: string;
13
+ title: string;
14
+ }
15
+ export declare class instructionDisablePaymentMethod extends InstructionHandler {
16
+ handle(context: InterfaceContext, eventEmitter: EventEmitter): void;
17
+ destroy(): void;
18
+ private disablePaymentMethods;
19
+ }
20
+ export {};
21
+ //# sourceMappingURL=instruction.disable_payment_method_event.emit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.disable_payment_method_event.emit.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.disable_payment_method_event.emit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,UAAU,gBAAgB;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBACa,+BAAgC,SAAQ,kBAAkB;IACrE,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;IAY5D,OAAO;IAEd,OAAO,CAAC,qBAAqB;CAK9B"}
@@ -0,0 +1,21 @@
1
+ import { FraudPreventionService } from '../../../fraud-prevention/fraud-prevention.service';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionFraudServiceShow extends InstructionHandler {
4
+ protected fps: FraudPreventionService;
5
+ handle(context: {
6
+ public_key: string;
7
+ gateway_id: string;
8
+ payload: {
9
+ gateway_id: string;
10
+ meta: object;
11
+ charge_token: string;
12
+ };
13
+ instruction_token: string;
14
+ customisation?: {
15
+ base?: object;
16
+ };
17
+ next_instruction?: boolean;
18
+ }): void;
19
+ destroy(): void;
20
+ }
21
+ //# sourceMappingURL=instruction.fraud_service.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.fraud_service.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.fraud_service.show.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAE5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,qBACa,2BAA4B,SAAQ,kBAAkB;IACjE,SAAS,CAAC,GAAG,EAAE,sBAAsB,CAAC;IAE/B,MAAM,CAAC,OAAO,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,YAAY,EAAE,MAAM,CAAA;SAAE,CAAC;QACpE,iBAAiB,EAAE,MAAM,CAAC;QAC1B,aAAa,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,GAAG,IAAI;IA6DD,OAAO;CAGf"}
@@ -0,0 +1,27 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ interface InterfaceContext {
3
+ instruction_token: string;
4
+ payload: IntentPayload;
5
+ next_instruction?: boolean;
6
+ }
7
+ interface IntentPayload {
8
+ title: string;
9
+ intent_id: string;
10
+ charge_id: string;
11
+ message: string;
12
+ type: 'success' | 'error' | 'in_review';
13
+ customisation?: {
14
+ base: {
15
+ text_color: string;
16
+ font_size: string;
17
+ font_family: string;
18
+ };
19
+ };
20
+ }
21
+ export declare class InstructionGenericShowMessage extends InstructionHandler {
22
+ handle(context: InterfaceContext): void;
23
+ destroy(): void;
24
+ private removeExistingMessageCard;
25
+ }
26
+ export {};
27
+ //# sourceMappingURL=instruction.generic.show_message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.generic.show_message.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.generic.show_message.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,UAAU,gBAAgB;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;IACxC,aAAa,CAAC,EAAE;QACd,IAAI,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC;KACtE,CAAC;CACH;AAOD,qBACa,6BAA8B,SAAQ,kBAAkB;IACnE,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAuBvC,OAAO;IAEP,OAAO,CAAC,yBAAyB;CAQlC"}
@@ -0,0 +1,17 @@
1
+ import { WalletButtons } from '../../../wallet-buttons/wallet-buttons';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionGooglePayFormShow extends InstructionHandler {
4
+ protected widget: WalletButtons;
5
+ handle(context: {
6
+ payload: {
7
+ gateway_id: string;
8
+ meta: unknown;
9
+ charge_token: string;
10
+ customisation?: {
11
+ base?: object;
12
+ };
13
+ };
14
+ instruction_token: string;
15
+ }): void;
16
+ }
17
+ //# sourceMappingURL=instruction.google_pay_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.google_pay_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.google_pay_form.show.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAIvE,qBACa,4BAA6B,SAAQ,kBAAkB;IAClE,SAAS,CAAC,MAAM,EAAE,aAAa,CAAC;IAEzB,MAAM,CAAC,OAAO,EAAE;QACrB,OAAO,EAAE;YACP,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,EAAE,OAAO,CAAC;YACd,YAAY,EAAE,MAAM,CAAC;YACrB,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;SACnC,CAAC;QACF,iBAAiB,EAAE,MAAM,CAAC;KAC3B,GAAG,IAAI;CA+DT"}
@@ -0,0 +1,18 @@
1
+ import type { EventEmitter } from '../../../helper/event-emitter';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ interface InterfaceContext {
4
+ payload: IntentPayload;
5
+ }
6
+ interface IntentPayload {
7
+ status: string;
8
+ intent_id: string;
9
+ charge_id?: string;
10
+ message: string;
11
+ title: string;
12
+ }
13
+ export declare class InstructionMerchantEventEmit extends InstructionHandler {
14
+ handle(context: InterfaceContext, eventEmitter: EventEmitter): void;
15
+ destroy(): void;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=instruction.merchant_event.emit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.merchant_event.emit.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.merchant_event.emit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,UAAU,gBAAgB;IACxB,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBACa,4BAA6B,SAAQ,kBAAkB;IAClE,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;IAsB5D,OAAO;CACf"}
@@ -0,0 +1,23 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ export declare class InstructionPaymentMethodShow extends InstructionHandler {
3
+ private timeoutId;
4
+ handle(context: {
5
+ instruction_token: string;
6
+ payload: {
7
+ allowed_payment_method_types: string[];
8
+ customisation?: {
9
+ base?: {
10
+ button_color?: string;
11
+ border_color?: string;
12
+ background_color?: string;
13
+ };
14
+ };
15
+ };
16
+ }): void;
17
+ destroy(): void;
18
+ private setPaymentMethodsOrder;
19
+ private paymentMethodChosen;
20
+ private buildPaymentMethodsList;
21
+ private isApplePaySupported;
22
+ }
23
+ //# sourceMappingURL=instruction.payment_methods.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.payment_methods.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.payment_methods.show.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AASvE,qBACa,4BAA6B,SAAQ,kBAAkB;IAClE,OAAO,CAAC,SAAS,CAAiB;IAElC,MAAM,CAAC,OAAO,EAAE;QACd,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE;YACP,4BAA4B,EAAE,MAAM,EAAE,CAAC;YACvC,aAAa,CAAC,EAAE;gBACd,IAAI,CAAC,EAAE;oBACL,YAAY,CAAC,EAAE,MAAM,CAAC;oBACtB,YAAY,CAAC,EAAE,MAAM,CAAC;oBACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;iBAC3B,CAAC;aACH,CAAC;SACH,CAAC;KACH,GAAG,IAAI;IAqBR,OAAO;IAKP,OAAO,CAAC,sBAAsB;YAYhB,mBAAmB;IAoBjC,OAAO,CAAC,uBAAuB;IAiB/B,OAAO,CAAC,mBAAmB;CAG5B"}
@@ -0,0 +1,19 @@
1
+ import { WalletButtons } from '../../../wallet-buttons/wallet-buttons';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionPaypalFormShow extends InstructionHandler {
4
+ protected widget: WalletButtons;
5
+ handle(context: {
6
+ public_key: string;
7
+ gateway_id: string;
8
+ payload: {
9
+ gateway_id: string;
10
+ meta: unknown;
11
+ charge_token: string;
12
+ customisation?: {
13
+ base?: object;
14
+ };
15
+ };
16
+ instruction_token: string;
17
+ }): void;
18
+ }
19
+ //# sourceMappingURL=instruction.paypal_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.paypal_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.paypal_form.show.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAIvE,qBACa,yBAA0B,SAAQ,kBAAkB;IAC/D,SAAS,CAAC,MAAM,EAAE,aAAa,CAAC;IAEzB,MAAM,CAAC,OAAO,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE;YACP,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,EAAE,OAAO,CAAC;YACd,YAAY,EAAE,MAAM,CAAC;YACrB,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;SACnC,CAAC;QACF,iBAAiB,EAAE,MAAM,CAAC;KAC3B,GAAG,IAAI;CAoET"}
@@ -0,0 +1,22 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ import { type SavedCard } from '../models/card.model';
3
+ export declare class InstructionSavedCardFormShow extends InstructionHandler {
4
+ handle(context: {
5
+ instruction_token: string;
6
+ payload: {
7
+ cards: SavedCard[];
8
+ customisation?: {
9
+ base?: {
10
+ button_color?: string;
11
+ border_color?: string;
12
+ background_color?: string;
13
+ };
14
+ };
15
+ };
16
+ }): void;
17
+ private savedCardSelected;
18
+ private buildSavedCardsList;
19
+ private createSavedCardsListItems;
20
+ private cardSchemaMap;
21
+ }
22
+ //# sourceMappingURL=instruction.saved_card_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.saved_card_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.saved_card_form.show.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAIvE,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,sBAAsB,CAAC;AAE9B,qBACa,4BAA6B,SAAQ,kBAAkB;IAClE,MAAM,CAAC,OAAO,EAAE;QACd,iBAAiB,EAAE,MAAM,CAAC;QAC1B,OAAO,EAAE;YACP,KAAK,EAAE,SAAS,EAAE,CAAC;YACnB,aAAa,CAAC,EAAE;gBACd,IAAI,CAAC,EAAE;oBACL,YAAY,CAAC,EAAE,MAAM,CAAC;oBACtB,YAAY,CAAC,EAAE,MAAM,CAAC;oBACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;iBAC3B,CAAC;aACH,CAAC;SACH,CAAC;KACH,GAAG,IAAI;YAOM,iBAAiB;IAoB/B,OAAO,CAAC,mBAAmB;IAkB3B,OAAO,CAAC,yBAAyB;IAwCjC,OAAO,CAAC,aAAa,CAW2B;CACjD"}
@@ -0,0 +1,19 @@
1
+ import { ZipmoneyCheckoutButton } from '../../../checkout-button/zipmoney/zipmoney-checkout-button';
2
+ import { InstructionHandler } from '../../helpers/instruction-handler';
3
+ export declare class InstructionZipCheckoutFormShow extends InstructionHandler {
4
+ protected widget: ZipmoneyCheckoutButton;
5
+ handle(context: {
6
+ public_key: string;
7
+ gateway_id: string;
8
+ payload: {
9
+ gateway_id: string;
10
+ meta: unknown;
11
+ customisation?: {
12
+ base?: object;
13
+ };
14
+ };
15
+ instruction_token: string;
16
+ }): void;
17
+ private createWidgetStructure;
18
+ }
19
+ //# sourceMappingURL=instruction.zip_checkout_form.show.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.zip_checkout_form.show.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/instructions/instruction.zip_checkout_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AASpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAYvE,qBACa,8BAA+B,SAAQ,kBAAkB;IACpE,SAAS,CAAC,MAAM,EAAE,sBAAsB,CAAC;IAElC,MAAM,CAAC,OAAO,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,OAAO,CAAC;YAAC,aAAa,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,CAAC;QAClF,iBAAiB,EAAE,MAAM,CAAC;KAC3B,GAAG,IAAI;IA2DR,OAAO,CAAC,qBAAqB;CAoB9B"}
@@ -0,0 +1,20 @@
1
+ export interface SavedCard {
2
+ id: string;
3
+ schema: AvailableCardSchema;
4
+ last4: string;
5
+ expiration: string;
6
+ }
7
+ export declare enum AvailableCardSchema {
8
+ Amex = "amex",
9
+ Ausbc = "ausbc",
10
+ Diners = "diners",
11
+ Discover = "discover",
12
+ Japcb = "japcb",
13
+ Laser = "laser",
14
+ Mastercard = "mastercard",
15
+ Solo = "solo",
16
+ Visa = "visa",
17
+ Eftpos = "eftpos"
18
+ }
19
+ export declare const IMG_MAPPING: Record<string, string>;
20
+ //# sourceMappingURL=card.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.model.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/models/card.model.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW9C,CAAC"}
@@ -0,0 +1,9 @@
1
+ export interface ICheckoutCustomStyles {
2
+ background_color?: string;
3
+ border_color?: string;
4
+ button_color?: string;
5
+ font_family?: string;
6
+ font_size?: string;
7
+ text_color?: string;
8
+ }
9
+ //# sourceMappingURL=checkout-styles.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout-styles.model.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/models/checkout-styles.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,4 @@
1
+ export declare const SELECTORS: {
2
+ WIDGET: string;
3
+ };
4
+ //# sourceMappingURL=checkout.models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout.models.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/models/checkout.models.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;CAErB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare enum AvailablePaymentMethods {
2
+ Card = "card",
3
+ Afterpay = "afterpay_checkout",
4
+ ApplePay = "applepay_wallet",
5
+ GooglePay = "googlepay_wallet",
6
+ PayPal = "paypal_wallet",
7
+ Zip = "zip_checkout",
8
+ SavedCard = "saved_card"
9
+ }
10
+ export declare const PAYMENT_METHOD_ORDER: AvailablePaymentMethods[];
11
+ export declare const TEXT_MAPPING: Record<string, string>;
12
+ export declare const ICON_MAPPING: Record<string, string>;
13
+ //# sourceMappingURL=payment-methods.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods.model.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/models/payment-methods.model.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,QAAQ,sBAAsB;IAC9B,QAAQ,oBAAoB;IAC5B,SAAS,qBAAqB;IAC9B,MAAM,kBAAkB;IACxB,GAAG,iBAAiB;IACpB,SAAS,eAAe;CACzB;AAED,eAAO,MAAM,oBAAoB,2BAOhC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG/C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+F/C,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: "\n<style>\n #standaloneWidget,\n #standaloneWidget > * {\n animation: ease-in fadeInOpacity 0.5s;\n }\n \n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n \n #standaloneWidget iframe[title=\"3d secure authentication\"],\n #standaloneWidget .threeDSecure-iframe {\n height: 420px;\n }\n\n #standaloneWidget iframe, #list iframe {\n display: block;\n max-width: 640px;\n min-width: 200px;\n width: 100%;\n border-width: 0;\n }\n\n @media screen and (max-width: 450px) {\n #standaloneWidget button {\n width: 100% !important;\n }\n }\n \n #standaloneWidget .paypal-buttons {\n height: 70px !important;\n border-radius: 12px;\n box-shadow: var(--pd-button-box-shadow, 0 4px 6px rgba(0, 0, 0, 0.1));\n }\n\n #standaloneWidget .paypal-buttons:hover {\n box-shadow: var(--pd-button-box-shadow-hover, 0 6px 10px rgba(0, 0, 0, 0.15));\n transform: translateY(-2px);\n }\n \n #standaloneWidget #gpay-button-online-api-id {\n height: 70px;\n padding: 17px 0;\n border-radius: 12px;\n box-shadow: var(--pd-button-box-shadow, 0 4px 6px rgba(0, 0, 0, 0.1));\n transition: all 0.2s ease-in-out;\n }\n \n #standaloneWidget #gpay-button-online-api-id.hover {\n box-shadow: var(--pd-button-box-shadow-hover, 0 6px 10px rgba(0, 0, 0, 0.15));\n transform: translateY(-2px);\n }\n \n #standaloneWidget apple-pay-button {\n --apple-pay-button-height: 70px;\n --apple-pay-button-border-radius: 12px;\n --apple-pay-button-padding: 0;\n box-shadow: var(--pd-button-box-shadow, 0 4px 6px rgba(0, 0, 0, 0.1));\n transition: all 0.2s ease-in-out;\n }\n \n #standaloneWidget apple-pay-button:hover {\n box-shadow: var(--pd-button-box-shadow-hover, 0 6px 10px rgba(0, 0, 0, 0.15));\n transform: translateY(-2px);\n }\n</style>\n";
2
+ export default _default;
3
+ //# sourceMappingURL=additionals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"additionals.d.ts","sourceRoot":"","sources":["../../../../src/checkout/v3/styles/additionals.ts"],"names":[],"mappings":";AAAA,wBAwEE"}
@@ -0,0 +1,3 @@
1
+ import type { ICheckoutCustomStyles } from '../models/checkout-styles.model';
2
+ export declare function setCheckoutCustomisation(checkoutSelector: string, customStyles: ICheckoutCustomStyles): void;
3
+ //# sourceMappingURL=checkout-customisation-styles.util.d.ts.map