@paydock/client-sdk 1.105.1 → 1.105.56-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 (649) hide show
  1. package/README.md +2094 -465
  2. package/bundles/index.cjs +35088 -0
  3. package/bundles/index.cjs.d.ts +4021 -0
  4. package/bundles/index.mjs +35050 -0
  5. package/bundles/index.mjs.d.ts +4021 -0
  6. package/bundles/types/api/api-base.d.ts +54 -0
  7. package/bundles/types/api/api-base.d.ts.map +1 -0
  8. package/{lib → bundles/types}/api/api-charge-internal.d.ts +2 -0
  9. package/bundles/types/api/api-charge-internal.d.ts.map +1 -0
  10. package/{lib → bundles/types}/api/api-charge.d.ts +1 -0
  11. package/bundles/types/api/api-charge.d.ts.map +1 -0
  12. package/bundles/types/api/api-checkout-internal.d.ts +57 -0
  13. package/bundles/types/api/api-checkout-internal.d.ts.map +1 -0
  14. package/bundles/types/api/api-gateway-internal.d.ts +12 -0
  15. package/bundles/types/api/api-gateway-internal.d.ts.map +1 -0
  16. package/{lib → bundles/types}/api/api-internal.d.ts +5 -0
  17. package/bundles/types/api/api-internal.d.ts.map +1 -0
  18. package/{lib → bundles/types}/api/api-service-internal.d.ts +3 -1
  19. package/bundles/types/api/api-service-internal.d.ts.map +1 -0
  20. package/{lib → bundles/types}/api/api.d.ts +1 -0
  21. package/bundles/types/api/api.d.ts.map +1 -0
  22. package/bundles/types/api/index.d.ts +2 -0
  23. package/bundles/types/api/index.d.ts.map +1 -0
  24. package/{lib → bundles/types}/canvas-3ds/canvas-3ds.d.ts +1 -0
  25. package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +1 -0
  26. package/{lib → bundles/types}/canvas-3ds/index.d.ts +1 -0
  27. package/bundles/types/canvas-3ds/index.d.ts.map +1 -0
  28. package/{lib → bundles/types}/canvas-3ds/services/gpayments-service.d.ts +4 -3
  29. package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +1 -0
  30. package/{lib → bundles/types}/canvas-3ds/services/index.d.ts +1 -0
  31. package/bundles/types/canvas-3ds/services/index.d.ts.map +1 -0
  32. package/{lib → bundles/types}/canvas-3ds/services/standalone3ds-service.d.ts +1 -0
  33. package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +1 -0
  34. package/bundles/types/checkout/checkout.d.ts +86 -0
  35. package/bundles/types/checkout/checkout.d.ts.map +1 -0
  36. package/bundles/types/checkout/helpers/instruction-handler.d.ts +23 -0
  37. package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -0
  38. package/bundles/types/checkout/helpers/instruction-module.d.ts +6 -0
  39. package/bundles/types/checkout/helpers/instruction-module.d.ts.map +1 -0
  40. package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts +6 -0
  41. package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts.map +1 -0
  42. package/bundles/types/checkout/helpers/instruction.decorator.d.ts +5 -0
  43. package/bundles/types/checkout/helpers/instruction.decorator.d.ts.map +1 -0
  44. package/bundles/types/checkout/helpers/resource-helper.d.ts +5 -0
  45. package/bundles/types/checkout/helpers/resource-helper.d.ts.map +1 -0
  46. package/bundles/types/checkout/helpers/session-helper.d.ts +5 -0
  47. package/bundles/types/checkout/helpers/session-helper.d.ts.map +1 -0
  48. package/bundles/types/checkout/index.d.ts +2 -0
  49. package/bundles/types/checkout/index.d.ts.map +1 -0
  50. package/bundles/types/checkout/instructions/index.d.ts +3 -0
  51. package/bundles/types/checkout/instructions/index.d.ts.map +1 -0
  52. package/bundles/types/checkout/instructions/v1/index.d.ts +4 -0
  53. package/bundles/types/checkout/instructions/v1/index.d.ts.map +1 -0
  54. package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts +20 -0
  55. package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
  56. package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts +14 -0
  57. package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
  58. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts +18 -0
  59. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +1 -0
  60. package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts +15 -0
  61. package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +1 -0
  62. package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts +11 -0
  63. package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts.map +1 -0
  64. package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts +19 -0
  65. package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +1 -0
  66. package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts +19 -0
  67. package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
  68. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts +26 -0
  69. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +1 -0
  70. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts +18 -0
  71. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -0
  72. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts +18 -0
  73. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +1 -0
  74. package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts +18 -0
  75. package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts.map +1 -0
  76. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts +21 -0
  77. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -0
  78. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts +19 -0
  79. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +1 -0
  80. package/bundles/types/checkout/layout-widgets/additionals.d.ts +3 -0
  81. package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -0
  82. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts +9 -0
  83. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +1 -0
  84. package/bundles/types/checkout/layout-widgets/message.d.ts +34 -0
  85. package/bundles/types/checkout/layout-widgets/message.d.ts.map +1 -0
  86. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +13 -0
  87. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -0
  88. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts +52 -0
  89. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +1 -0
  90. package/bundles/types/checkout/layout-widgets/payment-template.d.ts +3 -0
  91. package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +1 -0
  92. package/{lib → bundles/types}/checkout-button/afterpay/afterpay-checkout-button.d.ts +1 -0
  93. package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +1 -0
  94. package/{lib → bundles/types}/checkout-button/afterpay/afterpay.runner.d.ts +3 -0
  95. package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +1 -0
  96. package/{lib → bundles/types}/checkout-button/checkout-button.d.ts +1 -0
  97. package/bundles/types/checkout-button/checkout-button.d.ts.map +1 -0
  98. package/{lib → bundles/types}/checkout-button/checkout-button.interface.d.ts +1 -0
  99. package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +1 -0
  100. package/{lib → bundles/types}/checkout-button/checkout-contextual-handler.d.ts +5 -0
  101. package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +1 -0
  102. package/{lib → bundles/types}/checkout-button/index.d.ts +2 -1
  103. package/bundles/types/checkout-button/index.d.ts.map +1 -0
  104. package/{lib → bundles/types}/checkout-button/paypal/paypal-checkout-button.d.ts +1 -0
  105. package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +1 -0
  106. package/{lib → bundles/types}/checkout-button/paypal/paypal.runner.d.ts +1 -0
  107. package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +1 -0
  108. package/{lib → bundles/types}/checkout-button/runner/base.runner.d.ts +4 -3
  109. package/bundles/types/checkout-button/runner/base.runner.d.ts.map +1 -0
  110. package/{lib → bundles/types}/checkout-button/runner/contextual.runner.d.ts +4 -2
  111. package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +1 -0
  112. package/{lib → bundles/types}/checkout-button/runner/index.d.ts +1 -0
  113. package/bundles/types/checkout-button/runner/index.d.ts.map +1 -0
  114. package/{lib → bundles/types}/checkout-button/runner/popup.runner.d.ts +5 -4
  115. package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +1 -0
  116. package/{lib → bundles/types}/checkout-button/runner/redirect.runner.d.ts +2 -1
  117. package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +1 -0
  118. package/bundles/types/checkout-button/zipmoney/index.d.ts +4 -0
  119. package/bundles/types/checkout-button/zipmoney/index.d.ts.map +1 -0
  120. package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +1 -0
  121. package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +1 -0
  122. package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +2 -1
  123. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -0
  124. package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +2 -1
  125. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -0
  126. package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney.config.d.ts +1 -0
  127. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -0
  128. package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney.runner.d.ts +2 -1
  129. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -0
  130. package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney.types.d.ts +1 -0
  131. package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +1 -0
  132. package/{lib → bundles/types}/components/ability-guard.d.ts +1 -0
  133. package/bundles/types/components/ability-guard.d.ts.map +1 -0
  134. package/{lib → bundles/types}/components/background.d.ts +1 -0
  135. package/bundles/types/components/background.d.ts.map +1 -0
  136. package/{lib → bundles/types}/components/container.d.ts +1 -0
  137. package/bundles/types/components/container.d.ts.map +1 -0
  138. package/{lib → bundles/types}/components/dispatcher.d.ts +2 -1
  139. package/bundles/types/components/dispatcher.d.ts.map +1 -0
  140. package/{lib → bundles/types}/components/element-style.d.ts +2 -1
  141. package/bundles/types/components/element-style.d.ts.map +1 -0
  142. package/{lib → bundles/types}/components/flypay-iframe-event.d.ts +1 -0
  143. package/bundles/types/components/flypay-iframe-event.d.ts.map +1 -0
  144. package/{lib/components/form-Interceptor.d.ts → bundles/types/components/form-interceptor.d.ts} +1 -0
  145. package/bundles/types/components/form-interceptor.d.ts.map +1 -0
  146. package/{lib → bundles/types}/components/http-core.d.ts +1 -0
  147. package/bundles/types/components/http-core.d.ts.map +1 -0
  148. package/{lib → bundles/types}/components/iframe-event.d.ts +6 -0
  149. package/bundles/types/components/iframe-event.d.ts.map +1 -0
  150. package/{lib → bundles/types}/components/iframe.d.ts +3 -0
  151. package/bundles/types/components/iframe.d.ts.map +1 -0
  152. package/{lib → bundles/types}/components/link.d.ts +6 -3
  153. package/bundles/types/components/link.d.ts.map +1 -0
  154. package/{lib → bundles/types}/components/loader.d.ts +1 -0
  155. package/bundles/types/components/loader.d.ts.map +1 -0
  156. package/{lib → bundles/types}/components/param.d.ts +16 -9
  157. package/bundles/types/components/param.d.ts.map +1 -0
  158. package/{lib → bundles/types}/components/popup.d.ts +1 -0
  159. package/bundles/types/components/popup.d.ts.map +1 -0
  160. package/{lib → bundles/types}/components/storage-dispatcher.d.ts +1 -0
  161. package/bundles/types/components/storage-dispatcher.d.ts.map +1 -0
  162. package/{lib → bundles/types}/components/trigger.d.ts +1 -0
  163. package/bundles/types/components/trigger.d.ts.map +1 -0
  164. package/{lib → bundles/types}/components/vault-display-iframe-event.d.ts +1 -0
  165. package/bundles/types/components/vault-display-iframe-event.d.ts.map +1 -0
  166. package/{lib → bundles/types}/components/wallet-background.d.ts +3 -1
  167. package/bundles/types/components/wallet-background.d.ts.map +1 -0
  168. package/{lib → bundles/types}/components/wallet-trigger.d.ts +1 -0
  169. package/bundles/types/components/wallet-trigger.d.ts.map +1 -0
  170. package/bundles/types/configs/env/environment.cba.d.ts +29 -0
  171. package/bundles/types/configs/env/environment.cba.d.ts.map +1 -0
  172. package/bundles/types/configs/env/environment.interface.d.ts +12 -0
  173. package/bundles/types/configs/env/environment.interface.d.ts.map +1 -0
  174. package/{lib/configs/env/env.d.ts → bundles/types/configs/env/environment.paydock.d.ts} +5 -8
  175. package/bundles/types/configs/env/environment.paydock.d.ts.map +1 -0
  176. package/bundles/types/configs/env/index.d.ts +3 -0
  177. package/bundles/types/configs/env/index.d.ts.map +1 -0
  178. package/{lib → bundles/types}/configs/sdk.d.ts +3 -2
  179. package/bundles/types/configs/sdk.d.ts.map +1 -0
  180. package/{lib → bundles/types}/constants/validators.d.ts +3 -2
  181. package/bundles/types/constants/validators.d.ts.map +1 -0
  182. package/{lib → bundles/types}/external-checkout/builder.d.ts +1 -0
  183. package/bundles/types/external-checkout/builder.d.ts.map +1 -0
  184. package/{lib → bundles/types}/external-checkout/checker.d.ts +1 -0
  185. package/bundles/types/external-checkout/checker.d.ts.map +1 -0
  186. package/bundles/types/external-checkout/index.d.ts +3 -0
  187. package/bundles/types/external-checkout/index.d.ts.map +1 -0
  188. package/{lib → bundles/types}/helper/access-token.d.ts +2 -0
  189. package/bundles/types/helper/access-token.d.ts.map +1 -0
  190. package/{lib → bundles/types}/helper/browser.d.ts +1 -0
  191. package/bundles/types/helper/browser.d.ts.map +1 -0
  192. package/bundles/types/helper/element-id.d.ts +5 -0
  193. package/bundles/types/helper/element-id.d.ts.map +1 -0
  194. package/{lib → bundles/types}/helper/event-emitter.d.ts +2 -0
  195. package/bundles/types/helper/event-emitter.d.ts.map +1 -0
  196. package/{lib → bundles/types}/helper/event.d.ts +1 -0
  197. package/bundles/types/helper/event.d.ts.map +1 -0
  198. package/{lib → bundles/types}/helper/ms.d.ts +1 -0
  199. package/bundles/types/helper/ms.d.ts.map +1 -0
  200. package/{lib → bundles/types}/helper/object.d.ts +1 -0
  201. package/bundles/types/helper/object.d.ts.map +1 -0
  202. package/bundles/types/helper/spiner.util.d.ts +6 -0
  203. package/bundles/types/helper/spiner.util.d.ts.map +1 -0
  204. package/{lib → bundles/types}/helper/url.d.ts +1 -0
  205. package/bundles/types/helper/url.d.ts.map +1 -0
  206. package/{lib → bundles/types}/helper/uuid.d.ts +1 -0
  207. package/bundles/types/helper/uuid.d.ts.map +1 -0
  208. package/bundles/types/helper/widget-logger.d.ts +9 -0
  209. package/bundles/types/helper/widget-logger.d.ts.map +1 -0
  210. package/bundles/types/index-cba.d.ts +17 -0
  211. package/bundles/types/index-cba.d.ts.map +1 -0
  212. package/bundles/types/index.d.ts +18 -0
  213. package/bundles/types/index.d.ts.map +1 -0
  214. package/{lib → bundles/types}/payment-source/builder.d.ts +1 -0
  215. package/bundles/types/payment-source/builder.d.ts.map +1 -0
  216. package/{lib → bundles/types}/payment-source/index.d.ts +1 -0
  217. package/bundles/types/payment-source/index.d.ts.map +1 -0
  218. package/{lib → bundles/types}/payment-source-widget/html-payment-source-widget.d.ts +1 -0
  219. package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +1 -0
  220. package/{lib → bundles/types}/payment-source-widget/index.d.ts +1 -0
  221. package/bundles/types/payment-source-widget/index.d.ts.map +1 -0
  222. package/{lib → bundles/types}/payment-source-widget/interfaces.d.ts +1 -0
  223. package/bundles/types/payment-source-widget/interfaces.d.ts.map +1 -0
  224. package/{lib → bundles/types}/payment-source-widget/payment-source-widget.d.ts +1 -0
  225. package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +1 -0
  226. package/bundles/types/paypal-data-collector/index.d.ts +23 -0
  227. package/bundles/types/paypal-data-collector/index.d.ts.map +1 -0
  228. package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts +59 -0
  229. package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts.map +1 -0
  230. package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts +21 -0
  231. package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts.map +1 -0
  232. package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts +18 -0
  233. package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts.map +1 -0
  234. package/bundles/types/paypal-save-payment-source/index.d.ts +61 -0
  235. package/bundles/types/paypal-save-payment-source/index.d.ts.map +1 -0
  236. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts +86 -0
  237. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts.map +1 -0
  238. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts +84 -0
  239. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts.map +1 -0
  240. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts +37 -0
  241. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts.map +1 -0
  242. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
  243. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
  244. package/bundles/types/secure-remote-commerce/index.d.ts +104 -0
  245. package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -0
  246. package/bundles/types/secure-remote-commerce/interfaces.d.ts +159 -0
  247. package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -0
  248. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +2 -0
  249. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts.map +1 -0
  250. package/{lib/secure-remote-commerce/providers/visa-src/visa-src.d.ts → bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts} +5 -7
  251. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -0
  252. package/{lib → bundles/types}/secure-remote-commerce/providers/src-provider.d.ts +1 -0
  253. package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +1 -0
  254. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +86 -0
  255. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -0
  256. package/bundles/types/shared/http/http-request.d.ts +14 -0
  257. package/bundles/types/shared/http/http-request.d.ts.map +1 -0
  258. package/bundles/types/shared/http/index.d.ts +2 -0
  259. package/bundles/types/shared/http/index.d.ts.map +1 -0
  260. package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts +15 -0
  261. package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts.map +1 -0
  262. package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts +66 -0
  263. package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts.map +1 -0
  264. package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts +14 -0
  265. package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts.map +1 -0
  266. package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts +15 -0
  267. package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts.map +1 -0
  268. package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts +23 -0
  269. package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts.map +1 -0
  270. package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts +15 -0
  271. package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts.map +1 -0
  272. package/bundles/types/shared/services/instrumentation/repositories/index.d.ts +4 -0
  273. package/bundles/types/shared/services/instrumentation/repositories/index.d.ts.map +1 -0
  274. package/{lib → bundles/types}/vault-display-widget/index.d.ts +1 -0
  275. package/bundles/types/vault-display-widget/index.d.ts.map +1 -0
  276. package/{lib → bundles/types}/vault-display-widget/vault-display-widget.d.ts +1 -0
  277. package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +1 -0
  278. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +6 -0
  279. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -0
  280. package/bundles/types/wallet-buttons/index-cba.d.ts +2 -0
  281. package/bundles/types/wallet-buttons/index-cba.d.ts.map +1 -0
  282. package/{lib → bundles/types}/wallet-buttons/index.d.ts +5 -0
  283. package/bundles/types/wallet-buttons/index.d.ts.map +1 -0
  284. package/{lib → bundles/types}/wallet-buttons/interfaces.d.ts +1 -0
  285. package/bundles/types/wallet-buttons/interfaces.d.ts.map +1 -0
  286. package/{lib → bundles/types}/wallet-buttons/wallet-buttons.d.ts +5 -4
  287. package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -0
  288. package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts +330 -0
  289. package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +1 -0
  290. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/afterpay.wallet-service.d.ts +2 -1
  291. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -0
  292. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/apple.wallet-service.d.ts +4 -3
  293. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -0
  294. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/flypay-v2.wallet-service.d.ts +5 -5
  295. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -0
  296. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/flypay.wallet-service.d.ts +7 -6
  297. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -0
  298. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/google.wallet-service.d.ts +5 -4
  299. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -0
  300. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/mastercard.wallet-service.d.ts +1 -0
  301. package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts.map +1 -0
  302. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/paypal.wallet-service.d.ts +2 -1
  303. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -0
  304. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/stripe.wallet-service.d.ts +2 -1
  305. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -0
  306. package/{lib/wallet-buttons → bundles/types/wallet-buttons/wallet-services}/wallet-service.d.ts +5 -4
  307. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -0
  308. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts +195 -0
  309. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts.map +1 -0
  310. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts +10 -0
  311. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -0
  312. package/bundles/types/wallet-buttons-express/index.d.ts +131 -0
  313. package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -0
  314. package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts +6 -0
  315. package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts.map +1 -0
  316. package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts +6 -0
  317. package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts.map +1 -0
  318. package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts +5 -0
  319. package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
  320. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +14 -0
  321. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -0
  322. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +6 -0
  323. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -0
  324. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +6 -0
  325. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -0
  326. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +6 -0
  327. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -0
  328. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +9 -0
  329. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -0
  330. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +6 -0
  331. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -0
  332. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +11 -0
  333. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -0
  334. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +6 -0
  335. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -0
  336. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +22 -0
  337. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -0
  338. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts +50 -0
  339. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -0
  340. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts +3 -0
  341. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts.map +1 -0
  342. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts +6 -0
  343. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts.map +1 -0
  344. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +17 -0
  345. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -0
  346. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts +2 -0
  347. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts.map +1 -0
  348. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts +2 -0
  349. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts.map +1 -0
  350. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts +4 -0
  351. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts.map +1 -0
  352. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +31 -0
  353. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -0
  354. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts +47 -0
  355. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts.map +1 -0
  356. package/{lib → bundles/types}/widget/configuration.d.ts +2 -1
  357. package/bundles/types/widget/configuration.d.ts.map +1 -0
  358. package/{lib → bundles/types}/widget/html-multi-widget.d.ts +6 -4
  359. package/bundles/types/widget/html-multi-widget.d.ts.map +1 -0
  360. package/{lib → bundles/types}/widget/html-widget.d.ts +1 -0
  361. package/bundles/types/widget/html-widget.d.ts.map +1 -0
  362. package/{lib → bundles/types}/widget/index.d.ts +2 -1
  363. package/bundles/types/widget/index.d.ts.map +1 -0
  364. package/{lib → bundles/types}/widget/meta.d.ts +1 -0
  365. package/bundles/types/widget/meta.d.ts.map +1 -0
  366. package/{lib → bundles/types}/widget/multi-widget.d.ts +2 -1
  367. package/bundles/types/widget/multi-widget.d.ts.map +1 -0
  368. package/{lib → bundles/types}/widget/style.d.ts +1 -0
  369. package/bundles/types/widget/style.d.ts.map +1 -0
  370. package/bundles/widget.umd.js +33407 -9468
  371. package/bundles/widget.umd.js.d.ts +4021 -0
  372. package/bundles/widget.umd.js.min.d.ts +4021 -0
  373. package/bundles/widget.umd.min.js +61 -1
  374. package/docs/api-canvas3ds.md +158 -0
  375. package/docs/api-checkout-button.md +912 -0
  376. package/docs/api-examples.md +65 -0
  377. package/docs/api-ps-widget.md +585 -0
  378. package/docs/api-vault-display.md +94 -0
  379. package/docs/api-widget.md +2499 -0
  380. package/docs/api-wrapper.md +78 -0
  381. package/docs/canvas3ds-examples.md +242 -0
  382. package/docs/cba-header.md +13 -0
  383. package/docs/cba-license.md +2 -0
  384. package/docs/checkout-examples.md +248 -0
  385. package/docs/click-to-pay-examples.md +267 -0
  386. package/docs/click-to-pay.md +339 -0
  387. package/docs/header.md +15 -0
  388. package/docs/html/layout.html +79 -0
  389. package/docs/html/marked.js +23 -0
  390. package/docs/html/style.css +365 -0
  391. package/docs/install/npm.content.md +16 -0
  392. package/docs/install/npm.example.md +24 -0
  393. package/docs/install/umd.content.md +20 -0
  394. package/docs/install/umd.example.md +6 -0
  395. package/docs/install.md +43 -0
  396. package/docs/install.readme.t.md +17 -0
  397. package/docs/install.slate.t.md +17 -0
  398. package/docs/license.md +2 -0
  399. package/docs/partials/header.hbs +3 -0
  400. package/docs/paypal-data-collector-examples.md +58 -0
  401. package/docs/paypal-data-collector.md +149 -0
  402. package/docs/paypal-save-payment-source-examples.md +63 -0
  403. package/docs/paypal-save-payment-source.md +256 -0
  404. package/docs/ps-examples.md +129 -0
  405. package/docs/vault-display-example.md +132 -0
  406. package/docs/wallet-buttons-examples.md +636 -0
  407. package/docs/wallet-buttons-express-examples.md +201 -0
  408. package/docs/wallet-buttons-express.md +786 -0
  409. package/docs/wallet-buttons.md +622 -0
  410. package/docs/wallet-cba-buttons-examples.md +388 -0
  411. package/docs/widget-examples.md +134 -0
  412. package/examples/multi-html-widget/simple.html +2 -1
  413. package/package.json +208 -80
  414. package/slate.md +227 -191
  415. package/.nvmrc +0 -1
  416. package/api.d.ts +0 -1
  417. package/api.js +0 -1
  418. package/canvas3ds.d.ts +0 -1
  419. package/canvas3ds.js +0 -1
  420. package/checkout-button.d.ts +0 -1
  421. package/checkout-button.js +0 -1
  422. package/inicialization-guide.md +0 -7
  423. package/lib/api/api-base.d.ts +0 -40
  424. package/lib/api/api-base.js +0 -101
  425. package/lib/api/api-base.js.map +0 -1
  426. package/lib/api/api-charge-internal.js +0 -30
  427. package/lib/api/api-charge-internal.js.map +0 -1
  428. package/lib/api/api-charge.js +0 -49
  429. package/lib/api/api-charge.js.map +0 -1
  430. package/lib/api/api-internal.js +0 -13
  431. package/lib/api/api-internal.js.map +0 -1
  432. package/lib/api/api-service-internal.js +0 -18
  433. package/lib/api/api-service-internal.js.map +0 -1
  434. package/lib/api/api.js +0 -62
  435. package/lib/api/api.js.map +0 -1
  436. package/lib/api/index.d.ts +0 -1
  437. package/lib/api/index.js +0 -2
  438. package/lib/api/index.js.map +0 -1
  439. package/lib/canvas-3ds/canvas-3ds.js +0 -157
  440. package/lib/canvas-3ds/canvas-3ds.js.map +0 -1
  441. package/lib/canvas-3ds/index.js +0 -2
  442. package/lib/canvas-3ds/index.js.map +0 -1
  443. package/lib/canvas-3ds/services/gpayments-service.js +0 -181
  444. package/lib/canvas-3ds/services/gpayments-service.js.map +0 -1
  445. package/lib/canvas-3ds/services/index.js +0 -2
  446. package/lib/canvas-3ds/services/index.js.map +0 -1
  447. package/lib/canvas-3ds/services/standalone3ds-service.js +0 -32
  448. package/lib/canvas-3ds/services/standalone3ds-service.js.map +0 -1
  449. package/lib/checkout-button/afterpay/afterpay-checkout-button.js +0 -50
  450. package/lib/checkout-button/afterpay/afterpay-checkout-button.js.map +0 -1
  451. package/lib/checkout-button/afterpay/afterpay.runner.js +0 -41
  452. package/lib/checkout-button/afterpay/afterpay.runner.js.map +0 -1
  453. package/lib/checkout-button/checkout-button.interface.js +0 -45
  454. package/lib/checkout-button/checkout-button.interface.js.map +0 -1
  455. package/lib/checkout-button/checkout-button.js +0 -266
  456. package/lib/checkout-button/checkout-button.js.map +0 -1
  457. package/lib/checkout-button/checkout-contextual-handler.js +0 -75
  458. package/lib/checkout-button/checkout-contextual-handler.js.map +0 -1
  459. package/lib/checkout-button/index.js +0 -85
  460. package/lib/checkout-button/index.js.map +0 -1
  461. package/lib/checkout-button/paypal/paypal-checkout-button.js +0 -25
  462. package/lib/checkout-button/paypal/paypal-checkout-button.js.map +0 -1
  463. package/lib/checkout-button/paypal/paypal.runner.js +0 -14
  464. package/lib/checkout-button/paypal/paypal.runner.js.map +0 -1
  465. package/lib/checkout-button/runner/base.runner.js +0 -13
  466. package/lib/checkout-button/runner/base.runner.js.map +0 -1
  467. package/lib/checkout-button/runner/contextual.runner.js +0 -40
  468. package/lib/checkout-button/runner/contextual.runner.js.map +0 -1
  469. package/lib/checkout-button/runner/index.js +0 -11
  470. package/lib/checkout-button/runner/index.js.map +0 -1
  471. package/lib/checkout-button/runner/popup.runner.js +0 -68
  472. package/lib/checkout-button/runner/popup.runner.js.map +0 -1
  473. package/lib/checkout-button/runner/redirect.runner.js +0 -15
  474. package/lib/checkout-button/runner/redirect.runner.js.map +0 -1
  475. package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js +0 -64
  476. package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js.map +0 -1
  477. package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js +0 -78
  478. package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js.map +0 -1
  479. package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js +0 -49
  480. package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js.map +0 -1
  481. package/lib/checkout-button/zipmoney/zipmoney.config.js +0 -4
  482. package/lib/checkout-button/zipmoney/zipmoney.config.js.map +0 -1
  483. package/lib/checkout-button/zipmoney/zipmoney.runner.js +0 -23
  484. package/lib/checkout-button/zipmoney/zipmoney.runner.js.map +0 -1
  485. package/lib/checkout-button/zipmoney/zipmoney.types.js +0 -1
  486. package/lib/checkout-button/zipmoney/zipmoney.types.js.map +0 -1
  487. package/lib/components/ability-guard.js +0 -44
  488. package/lib/components/ability-guard.js.map +0 -1
  489. package/lib/components/background.js +0 -193
  490. package/lib/components/background.js.map +0 -1
  491. package/lib/components/container.js +0 -63
  492. package/lib/components/container.js.map +0 -1
  493. package/lib/components/dispatcher.js +0 -39
  494. package/lib/components/dispatcher.js.map +0 -1
  495. package/lib/components/element-style.js +0 -52
  496. package/lib/components/element-style.js.map +0 -1
  497. package/lib/components/flypay-iframe-event.js +0 -28
  498. package/lib/components/flypay-iframe-event.js.map +0 -1
  499. package/lib/components/form-Interceptor.js +0 -38
  500. package/lib/components/form-Interceptor.js.map +0 -1
  501. package/lib/components/http-core.js +0 -57
  502. package/lib/components/http-core.js.map +0 -1
  503. package/lib/components/iframe-event.js +0 -75
  504. package/lib/components/iframe-event.js.map +0 -1
  505. package/lib/components/iframe.js +0 -62
  506. package/lib/components/iframe.js.map +0 -1
  507. package/lib/components/link.js +0 -59
  508. package/lib/components/link.js.map +0 -1
  509. package/lib/components/loader.js +0 -234
  510. package/lib/components/loader.js.map +0 -1
  511. package/lib/components/param.js +0 -147
  512. package/lib/components/param.js.map +0 -1
  513. package/lib/components/popup.js +0 -104
  514. package/lib/components/popup.js.map +0 -1
  515. package/lib/components/storage-dispatcher.js +0 -75
  516. package/lib/components/storage-dispatcher.js.map +0 -1
  517. package/lib/components/trigger.js +0 -49
  518. package/lib/components/trigger.js.map +0 -1
  519. package/lib/components/vault-display-iframe-event.js +0 -27
  520. package/lib/components/vault-display-iframe-event.js.map +0 -1
  521. package/lib/components/wallet-background.js +0 -63
  522. package/lib/components/wallet-background.js.map +0 -1
  523. package/lib/components/wallet-trigger.js +0 -27
  524. package/lib/components/wallet-trigger.js.map +0 -1
  525. package/lib/configs/env/env.js +0 -117
  526. package/lib/configs/env/env.js.map +0 -1
  527. package/lib/configs/sdk.js +0 -16
  528. package/lib/configs/sdk.js.map +0 -1
  529. package/lib/constants/validators.js +0 -42
  530. package/lib/constants/validators.js.map +0 -1
  531. package/lib/external-checkout/builder.js +0 -45
  532. package/lib/external-checkout/builder.js.map +0 -1
  533. package/lib/external-checkout/checker.js +0 -22
  534. package/lib/external-checkout/checker.js.map +0 -1
  535. package/lib/external-checkout/index.d.ts +0 -2
  536. package/lib/external-checkout/index.js +0 -3
  537. package/lib/external-checkout/index.js.map +0 -1
  538. package/lib/helper/access-token.js +0 -44
  539. package/lib/helper/access-token.js.map +0 -1
  540. package/lib/helper/browser.js +0 -79
  541. package/lib/helper/browser.js.map +0 -1
  542. package/lib/helper/event-emitter.js +0 -23
  543. package/lib/helper/event-emitter.js.map +0 -1
  544. package/lib/helper/event.js +0 -23
  545. package/lib/helper/event.js.map +0 -1
  546. package/lib/helper/ms.js +0 -32
  547. package/lib/helper/ms.js.map +0 -1
  548. package/lib/helper/object.js +0 -6
  549. package/lib/helper/object.js.map +0 -1
  550. package/lib/helper/url.js +0 -11
  551. package/lib/helper/url.js.map +0 -1
  552. package/lib/helper/uuid.js +0 -26
  553. package/lib/helper/uuid.js.map +0 -1
  554. package/lib/index.d.ts +0 -15
  555. package/lib/index.js +0 -15
  556. package/lib/index.js.map +0 -1
  557. package/lib/payment-source/builder.js +0 -49
  558. package/lib/payment-source/builder.js.map +0 -1
  559. package/lib/payment-source/index.js +0 -2
  560. package/lib/payment-source/index.js.map +0 -1
  561. package/lib/payment-source-widget/html-payment-source-widget.js +0 -172
  562. package/lib/payment-source-widget/html-payment-source-widget.js.map +0 -1
  563. package/lib/payment-source-widget/index.js +0 -35
  564. package/lib/payment-source-widget/index.js.map +0 -1
  565. package/lib/payment-source-widget/interfaces.js +0 -2
  566. package/lib/payment-source-widget/interfaces.js.map +0 -1
  567. package/lib/payment-source-widget/payment-source-widget.js +0 -142
  568. package/lib/payment-source-widget/payment-source-widget.js.map +0 -1
  569. package/lib/secure-remote-commerce/index.d.ts +0 -1
  570. package/lib/secure-remote-commerce/index.js +0 -2
  571. package/lib/secure-remote-commerce/index.js.map +0 -1
  572. package/lib/secure-remote-commerce/interfaces.d.ts +0 -71
  573. package/lib/secure-remote-commerce/interfaces.js +0 -28
  574. package/lib/secure-remote-commerce/interfaces.js.map +0 -1
  575. package/lib/secure-remote-commerce/providers/src-provider.js +0 -1
  576. package/lib/secure-remote-commerce/providers/src-provider.js.map +0 -1
  577. package/lib/secure-remote-commerce/providers/visa-src/helper.d.ts +0 -7
  578. package/lib/secure-remote-commerce/providers/visa-src/helper.js +0 -36
  579. package/lib/secure-remote-commerce/providers/visa-src/helper.js.map +0 -1
  580. package/lib/secure-remote-commerce/providers/visa-src/index.d.ts +0 -1
  581. package/lib/secure-remote-commerce/providers/visa-src/index.js +0 -2
  582. package/lib/secure-remote-commerce/providers/visa-src/index.js.map +0 -1
  583. package/lib/secure-remote-commerce/providers/visa-src/visa-src.js +0 -113
  584. package/lib/secure-remote-commerce/providers/visa-src/visa-src.js.map +0 -1
  585. package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.d.ts +0 -8
  586. package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js +0 -10
  587. package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js.map +0 -1
  588. package/lib/secure-remote-commerce/secure-remote-commerce.d.ts +0 -163
  589. package/lib/secure-remote-commerce/secure-remote-commerce.js +0 -239
  590. package/lib/secure-remote-commerce/secure-remote-commerce.js.map +0 -1
  591. package/lib/vault-display-widget/index.js +0 -14
  592. package/lib/vault-display-widget/index.js.map +0 -1
  593. package/lib/vault-display-widget/vault-display-widget.js +0 -99
  594. package/lib/vault-display-widget/vault-display-widget.js.map +0 -1
  595. package/lib/wallet-buttons/afterpay.wallet-service.js +0 -152
  596. package/lib/wallet-buttons/afterpay.wallet-service.js.map +0 -1
  597. package/lib/wallet-buttons/apple.wallet-service.js +0 -324
  598. package/lib/wallet-buttons/apple.wallet-service.js.map +0 -1
  599. package/lib/wallet-buttons/flypay-v2.wallet-service.js +0 -165
  600. package/lib/wallet-buttons/flypay-v2.wallet-service.js.map +0 -1
  601. package/lib/wallet-buttons/flypay.wallet-service.js +0 -117
  602. package/lib/wallet-buttons/flypay.wallet-service.js.map +0 -1
  603. package/lib/wallet-buttons/google.wallet-service.js +0 -301
  604. package/lib/wallet-buttons/google.wallet-service.js.map +0 -1
  605. package/lib/wallet-buttons/helpers/flypay-v2.helper.d.ts +0 -3
  606. package/lib/wallet-buttons/helpers/flypay-v2.helper.js +0 -151
  607. package/lib/wallet-buttons/helpers/flypay-v2.helper.js.map +0 -1
  608. package/lib/wallet-buttons/index.js +0 -128
  609. package/lib/wallet-buttons/index.js.map +0 -1
  610. package/lib/wallet-buttons/interfaces.js +0 -1
  611. package/lib/wallet-buttons/interfaces.js.map +0 -1
  612. package/lib/wallet-buttons/mastercard.wallet-service.js +0 -27
  613. package/lib/wallet-buttons/mastercard.wallet-service.js.map +0 -1
  614. package/lib/wallet-buttons/paypal.wallet-service.js +0 -144
  615. package/lib/wallet-buttons/paypal.wallet-service.js.map +0 -1
  616. package/lib/wallet-buttons/stripe.wallet-service.js +0 -100
  617. package/lib/wallet-buttons/stripe.wallet-service.js.map +0 -1
  618. package/lib/wallet-buttons/wallet-buttons.js +0 -479
  619. package/lib/wallet-buttons/wallet-buttons.js.map +0 -1
  620. package/lib/wallet-buttons/wallet-service.js +0 -60
  621. package/lib/wallet-buttons/wallet-service.js.map +0 -1
  622. package/lib/widget/configuration.js +0 -260
  623. package/lib/widget/configuration.js.map +0 -1
  624. package/lib/widget/html-multi-widget.js +0 -422
  625. package/lib/widget/html-multi-widget.js.map +0 -1
  626. package/lib/widget/html-widget.js +0 -127
  627. package/lib/widget/html-widget.js.map +0 -1
  628. package/lib/widget/index.js +0 -132
  629. package/lib/widget/index.js.map +0 -1
  630. package/lib/widget/meta.js +0 -8
  631. package/lib/widget/meta.js.map +0 -1
  632. package/lib/widget/multi-widget.js +0 -437
  633. package/lib/widget/multi-widget.js.map +0 -1
  634. package/lib/widget/style.js +0 -204
  635. package/lib/widget/style.js.map +0 -1
  636. package/payment-source-widget.d.ts +0 -1
  637. package/payment-source-widget.js +0 -1
  638. package/tslint.json +0 -129
  639. package/typings/globals/@auspayplus/open-payments-checkout/index.d.ts +0 -43
  640. package/typings/globals/jasmine/index.d.ts +0 -576
  641. package/typings/globals/jasmine-ajax/index.d.ts +0 -83
  642. package/typings/globals/jquery/index.d.ts +0 -3759
  643. package/typings/index.d.ts +0 -4
  644. package/vault-display-widget.d.ts +0 -1
  645. package/vault-display-widget.js +0 -1
  646. package/vendors/zipmoney.d.ts +0 -18
  647. package/vendors/zipmoney.js +0 -2
  648. package/widget.d.ts +0 -1
  649. package/widget.js +0 -1
@@ -0,0 +1,19 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ import { HtmlWidget } from '../../../widget';
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
+ };
16
+ }): void;
17
+ destroy(): void;
18
+ }
19
+ //# 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/instructions/v1/instruction.card_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAO7C,qBACa,uBAAwB,SAAQ,kBAAkB;IAC7D,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC;IAC7B,OAAO,CAAC,SAAS,CAAM;IAEhB,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;SACnE,CAAC;KACH,GAAG,IAAI;IAkFD,OAAO;CAIf"}
@@ -0,0 +1,19 @@
1
+ import { EventEmitter } from "../../../helper/event-emitter";
2
+ import { InstructionHandler } from "../../helpers/instruction-handler";
3
+ interface InterfaceContext {
4
+ instruction_token: string;
5
+ payload: IntentPayload;
6
+ }
7
+ interface IntentPayload {
8
+ status: string;
9
+ intent_id: string;
10
+ charge_id?: string;
11
+ message: string;
12
+ title: string;
13
+ }
14
+ export declare class instructionDisablePaymentMethod extends InstructionHandler {
15
+ handle(context: InterfaceContext, eventEmitter: EventEmitter): void;
16
+ destroy(): void;
17
+ }
18
+ export {};
19
+ //# 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/instructions/v1/instruction.disable_payment_method_event.emit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAIvE,UAAU,gBAAgB;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,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,+BAAgC,SAAQ,kBAAkB;IAErE,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;IAW5D,OAAO;CACf"}
@@ -0,0 +1,26 @@
1
+ import { InstructionHandler } from "../../helpers/instruction-handler";
2
+ interface InterfaceContext {
3
+ instruction_token: string;
4
+ payload: IntentPayload;
5
+ }
6
+ interface IntentPayload {
7
+ title: string;
8
+ intent_id: string;
9
+ charge_id: string;
10
+ message: string;
11
+ type: 'success' | 'error' | 'in_review';
12
+ customisation?: {
13
+ base: {
14
+ text_color: string;
15
+ font_size: string;
16
+ font_family: string;
17
+ };
18
+ };
19
+ }
20
+ export declare class InstructionGenericShowMessage extends InstructionHandler {
21
+ private timeoutId;
22
+ handle(context: InterfaceContext): void;
23
+ destroy(): void;
24
+ }
25
+ export {};
26
+ //# 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/instructions/v1/instruction.generic.show_message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAOvE,UAAU,gBAAgB;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAA;CACzB;AAED,UAAU,aAAa;IACnB,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;QAAE,IAAI,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;CAC3F;AAED,qBACa,6BAA8B,SAAQ,kBAAkB;IACjE,OAAO,CAAC,SAAS,CAAM;IAEvB,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAwBhC,OAAO;CAMjB"}
@@ -0,0 +1,18 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ export declare class InstructionGooglePayFormShow extends InstructionHandler {
3
+ protected widget: any;
4
+ handle(context: {
5
+ payload: {
6
+ gateway_id: string;
7
+ meta: any;
8
+ charge_token: string;
9
+ };
10
+ instruction_token: string;
11
+ customisation?: {
12
+ base?: object;
13
+ };
14
+ }): void;
15
+ destroy(): void;
16
+ private setStyles;
17
+ }
18
+ //# 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/instructions/v1/instruction.google_pay_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAUvE,qBACa,4BAA6B,SAAQ,kBAAkB;IAClE,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;IAEf,MAAM,CAAC,OAAO,EAAE;QACrB,OAAO,EAAE;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,GAAG,CAAC;YAAC,YAAY,EAAE,MAAM,CAAA;SAAE,CAAC;QACjE,iBAAiB,EAAE,MAAM,CAAC;QAC1B,aAAa,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACnC,GAAG,IAAI;IA6DD,OAAO;IAId,OAAO,CAAC,SAAS;CAWlB"}
@@ -0,0 +1,18 @@
1
+ import { 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/instructions/v1/instruction.merchant_event.emit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,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;IAElE,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;IAsB5D,OAAO;CACf"}
@@ -0,0 +1,18 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ export declare class InstructionPaymentMethodShow extends InstructionHandler {
3
+ handle(context: {
4
+ instruction_token: string;
5
+ payload: {
6
+ allowed_payment_method_types: string[];
7
+ customisation?: {
8
+ base?: {
9
+ button_color?: string;
10
+ border_color?: string;
11
+ background_color?: string;
12
+ };
13
+ };
14
+ };
15
+ }): void;
16
+ destroy(): void;
17
+ }
18
+ //# 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/instructions/v1/instruction.payment_methods.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAOvE,qBACa,4BAA6B,SAAQ,kBAAkB;IAClE,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;IA0BD,OAAO;CACf"}
@@ -0,0 +1,21 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ import { WalletButtons } from '../../../wallet-buttons/wallet-buttons';
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: any;
11
+ charge_token: string;
12
+ };
13
+ instruction_token: string;
14
+ customisation?: {
15
+ base?: object;
16
+ };
17
+ }): void;
18
+ private setStyles;
19
+ destroy(): void;
20
+ }
21
+ //# 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/instructions/v1/instruction.paypal_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAOvE,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;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,GAAG,CAAC;YAAC,YAAY,EAAE,MAAM,CAAA;SAAE,CAAC;QACjE,iBAAiB,EAAE,MAAM,CAAC;QAC1B,aAAa,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACnC,GAAG,IAAI;IA6DR,OAAO,CAAC,SAAS;IAYV,OAAO;CAGf"}
@@ -0,0 +1,19 @@
1
+ import { InstructionHandler } from '../../helpers/instruction-handler';
2
+ export declare class InstructionZipCheckoutFormShow extends InstructionHandler {
3
+ protected widget: any;
4
+ handle(context: {
5
+ public_key: string;
6
+ gateway_id: string;
7
+ payload: {
8
+ gateway_id: string;
9
+ meta: any;
10
+ };
11
+ instruction_token: string;
12
+ customisation?: {
13
+ base?: object;
14
+ };
15
+ }): void;
16
+ destroy(): 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/instructions/v1/instruction.zip_checkout_form.show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAuBvE,qBACa,8BAA+B,SAAQ,kBAAkB;IACpE,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;IAEf,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,GAAG,CAAA;SAAE,CAAC;QAC3C,iBAAiB,EAAE,MAAM,CAAC;QAC1B,aAAa,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACnC,GAAG,IAAI;IA+DD,OAAO;IAId,OAAO,CAAC,qBAAqB;CA+B9B"}
@@ -0,0 +1,3 @@
1
+ declare const _default: "\n<style>\n #standaloneWidget iframe, #list iframe {\n display: block;\n max-width: 640px;\n min-width: 320px;\n width: 100%;\n border-width: 0;\n }\n .spinner-wrapper {\n position: absolute;\n width: calc(100% + 1px);\n height: calc(100% + 1px);\n top: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 999;\n }\n \n .spinner-wrapper svg {\n position: absolute;\n\n height: 50px;\n width: 50px;\n z-index: 1000;\n }\n \n .spinner-wrapper .background {\n margin: 0 !important;\n background: #f9f9f9;\n color: #f9f9f9;\n word-break: break-all;\n white-space: pre-wrap;\n width: 100%;\n height: 100%;\n }\n \n .spinner-wrapper--hidden {\n display: none;\n }\n #standaloneWidget .paypal-buttons {\n padding-bottom: 12px;\n right: 40px;\n max-width: 290px;\n }\n #standaloneWidget #gpay-button-online-api-id {\n max-width: 311px;\n margin-bottom: 11px;\n right: 11px;\n }\n #standaloneWidget .paydock-apple-container {\n max-width: 300px;\n margin-right: 10px;\n margin-bottom: 10px\n }\n</style>\n<div id=\"spinner\" class=\"spinner-wrapper spinner-wrapper--hidden\">\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><radialGradient id='a5' cx='.66' fx='.66' cy='.3125' fy='.3125' gradientTransform='scale(1.5)'><stop offset='0' stop-color='#191919'></stop><stop offset='.3' stop-color='#191919' stop-opacity='.9'></stop><stop offset='.6' stop-color='#191919' stop-opacity='.6'></stop><stop offset='.8' stop-color='#191919' stop-opacity='.3'></stop><stop offset='1' stop-color='#191919' stop-opacity='0'></stop></radialGradient><circle transform-origin='center' fill='none' stroke='url(#a5)' stroke-width='30' stroke-linecap='round' stroke-dasharray='200 1000' stroke-dashoffset='0' cx='100' cy='100' r='70'><animateTransform type='rotate' attributeName='transform' calcMode='spline' dur='1' values='360;0' keyTimes='0;1' keySplines='0 0 1 1' repeatCount='indefinite'></animateTransform></circle><circle transform-origin='center' fill='none' opacity='.2' stroke='#191919' stroke-width='30' stroke-linecap='round' cx='100' cy='100' r='70'></circle></svg>\n <pre class=\"background\"></pre>\n</div>\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/layout-widgets/additionals.ts"],"names":[],"mappings":";AAAA,wBA8DC"}
@@ -0,0 +1,9 @@
1
+ export declare enum DEFAULT_VARIABLES {
2
+ BTN_COLOR = "#00A040",
3
+ BORDER_COLOR = "#BDBDBD",
4
+ BG_COLOR = "#EFF2F7",
5
+ TEXT_COLOR = "#000000",
6
+ FONT_FAMILY = "sans-serif",
7
+ FONT_SIZE = "16px"
8
+ }
9
+ //# sourceMappingURL=default-variables.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-variables.enum.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/default-variables.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IACzB,SAAS,YAAY;IACrB,YAAY,YAAY;IACxB,QAAQ,YAAY;IACpB,UAAU,YAAY;IACtB,WAAW,eAAe;IAC1B,SAAS,SAAS;CACrB"}
@@ -0,0 +1,34 @@
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';
7
+ export interface IEventSizeData extends IEventData {
8
+ height: number;
9
+ }
10
+ export declare const MESSAGE_WIDGET_STYLE: {
11
+ TEXT_COLOR: string;
12
+ FONT_SIZE: string;
13
+ FONT_FAMILY: string;
14
+ };
15
+ export declare class Message {
16
+ protected title: string;
17
+ protected message: string;
18
+ protected type: 'success' | 'error' | 'in_review';
19
+ protected window: Window;
20
+ protected eventEmitter: EventEmitter;
21
+ protected container: Container;
22
+ protected env: string;
23
+ protected alias?: string;
24
+ protected api: ApiInternal;
25
+ protected iFrame: IFrame;
26
+ protected event: IFrameEvent;
27
+ protected link: Link;
28
+ constructor(selector: string, title: string, message: string, type: 'success' | 'error' | 'in_review');
29
+ setEnv(env: string): void;
30
+ setStyles(styles: any): void;
31
+ load(): void;
32
+ useAutoResize(): void;
33
+ }
34
+ //# sourceMappingURL=message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAQ,UAAU,EAAE,WAAW,EAAC,MAAM,+BAA+B,CAAC;AAE7E,OAAO,EAAE,IAAI,EAAuB,MAAM,uBAAuB,CAAC;AAGlE,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAC;AAEF,qBAAa,OAAO;IAcZ,SAAS,CAAC,KAAK,EAAE,MAAM;IACvB,SAAS,CAAC,OAAO,EAAE,MAAM;IACzB,SAAS,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW;IAdrD,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;gBAGjB,QAAQ,EAAE,MAAM,EACN,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW;IAW9C,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,SAAS,CAAC,MAAM,EAAE,GAAG;IAUrB,IAAI;IAIJ,aAAa;CAWvB"}
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ card: string;
3
+ bank_account: string;
4
+ paypal_wallet: string;
5
+ googlepay_wallet: string;
6
+ flypay: string;
7
+ zip_checkout: string;
8
+ applepay_wallet: string;
9
+ afterpay_wallet: string;
10
+ afterpay_checkout: string;
11
+ };
12
+ export default _default;
13
+ //# sourceMappingURL=payment-methods-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods-template.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-methods-template.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,wBA2EE"}
@@ -0,0 +1,52 @@
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 { IFrameEvent } from "../../components/iframe-event";
6
+ declare global {
7
+ interface Window {
8
+ ApplePaySession: any;
9
+ }
10
+ }
11
+ export declare const PAYMENTS_METHODS: {
12
+ APPLE_PAY: string;
13
+ GOOGLE_PAY: string;
14
+ };
15
+ export declare class PaymentMethods {
16
+ protected methods: string[];
17
+ protected styles: {
18
+ button_color?: string;
19
+ border_color?: string;
20
+ background_color?: string;
21
+ font_family?: string;
22
+ font_size?: string;
23
+ text_color?: string;
24
+ };
25
+ protected chosen: (type: string) => void;
26
+ protected window: Window;
27
+ protected eventEmitter: EventEmitter;
28
+ protected container: Container;
29
+ protected env: string;
30
+ protected alias?: string;
31
+ protected api: ApiInternal;
32
+ protected iFrame: IFrame;
33
+ protected event: IFrameEvent;
34
+ protected disablePaymentMethodOptions: boolean;
35
+ constructor(selector: string, methods: string[], styles: {
36
+ button_color?: string;
37
+ border_color?: string;
38
+ background_color?: string;
39
+ font_family?: string;
40
+ font_size?: string;
41
+ text_color?: string;
42
+ }, chosen: (type: string) => void, instruction_token: string, skip?: boolean);
43
+ private init;
44
+ private setListenerButtons;
45
+ setEnv(instruction_token: any): string;
46
+ private setStyles;
47
+ private isApplePaySupported;
48
+ private isGooglePaySupported;
49
+ private setStylesToStandaloneWidget;
50
+ disablePaymentMethod(): void;
51
+ }
52
+ //# sourceMappingURL=payment-methods.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAQ5D,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,eAAe,EAAE,GAAG,CAAC;KACxB;CACJ;AAED,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC;AACF,qBAAa,cAAc;IAcnB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE;IAC3B,SAAS,CAAC,MAAM,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE;IAC5J,SAAS,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI;IAd5C,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;gBAG3C,QAAQ,EAAE,MAAM,EACN,OAAO,EAAE,MAAM,EAAE,EACjB,MAAM,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,EAClJ,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EACxC,iBAAiB,EAAE,MAAM,EACzB,IAAI,GAAE,OAAe;IAYzB,OAAO,CAAC,IAAI;IA0CZ,OAAO,CAAC,kBAAkB;IAmBnB,MAAM,CAAC,iBAAiB,KAAA;IAS/B,OAAO,CAAC,SAAS;IAkCjB,OAAO,CAAC,mBAAmB;YAIb,oBAAoB;IAmBlC,OAAO,CAAC,2BAA2B;IAM5B,oBAAoB;CAmB9B"}
@@ -0,0 +1,3 @@
1
+ declare const _default: "\n<style>\n @import url('https://fonts.cdnfonts.com/css/segoe-ui-4');\n @import url('https://fonts.cdnfonts.com/css/droid-sans-2');\n @import url('https://fonts.cdnfonts.com/css/helvetica-neue-55');\n @import url('https://fonts.googleapis.com/css2?family=Cantarell&family=Fira+Sans&family=Oxygen&family=Roboto&family=Ubuntu&display=swap');\n \n /* RESET DEFAULT STYLES */\n *,\n *:before,\n *:after {\n box-sizing: border-box;\n }\n\n html,\n body,\n div,\n span,\n applet,\n object,\n iframe,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n blockquote,\n pre,\n a,\n abbr,\n acronym,\n address,\n big,\n cite,\n code,\n del,\n dfn,\n em,\n img,\n ins,\n kbd,\n q,\n s,\n samp,\n small,\n strike,\n strong,\n sub,\n sup,\n tt,\n var,\n b,\n u,\n i,\n center,\n dl,\n dt,\n dd,\n ol,\n ul,\n li,\n fieldset,\n form,\n label,\n legend,\n table,\n caption,\n tbody,\n tfoot,\n thead,\n tr,\n th,\n td,\n article,\n aside,\n canvas,\n details,\n embed,\n figure,\n figcaption,\n footer,\n header,\n hgroup,\n menu,\n nav,\n output,\n ruby,\n section,\n summary,\n time,\n mark,\n audio,\n video,\n input {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n hgroup,\n menu,\n nav,\n section {\n display: block;\n }\n\n body {\n line-height: 1;\n }\n\n ol,\n ul {\n list-style: none;\n }\n\n ul {\n padding: 0;\n margin: 0;\n }\n\n /* MAIN STYLES */\n .wrap {\n padding: 10px;\n background-color: {{background_color}};\n }\n\n .widget-body {\n background-color: #fff;\n border: 1px solid {{border_color}};\n }\n\n .payment-source {\n padding: 1em 0.8em;\n display: flex;\n align-items: center;\n height: 70px;\n }\n\n .payment-source:not(:last-child) {\n border-bottom: 1px solid {{border_color}};\n }\n\n .payment-source__wrap {\n display: flex;\n align-items: center;\n font-family: {{font_family}};\n font-size: {{font_size}};\n color: {{text_color}}\n }\n\n .payment-source__radio {\n margin-right: 2em;\n width: 18px;\n min-width: 18px;\n height: 18px;\n border: 1px solid {{button_color}};\n border-radius: 50%;\n appearance: none;\n cursor: pointer;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n }\n }\n\n .payment-source__radio::before {\n content: \"\";\n display: block;\n width: 100%;\n height: 100%;\n background-color: #fff;\n border-radius: 50%;\n }\n\n .payment-source__radio:checked::before {\n border: 4px solid {{button_color}};\n outline: 1px solid {{button_color}};\n }\n\n .payment-source__title {\n margin-right: 2em;\n font-weight: 400;\n line-height: 1.2;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n font-size: 14px;\n }\n }\n\n .payment-source__icon {\n margin-right: 2em;\n max-height: 35px;\n\n @media screen and (max-width: 380px) {\n margin-right: 1em;\n }\n }\n\n .payment-source .card__scheme {\n margin-left: auto;\n display: flex;\n align-items: center;\n }\n\n .payment-source .card__scheme__item:not(:last-child) {\n margin-right: 10px;\n }\n\n .payment-source .card__scheme__img {\n max-width: 50px;\n\n @media screen and (max-width: 460px) {\n max-width: 40px;\n }\n\n @media screen and (max-width: 410px) {\n max-width: 30px;\n }\n }\n\n .payment-source__form {\n margin-top: 1em;\n margin-bottom: 1em;\n margin-left: calc(2em + 18px);\n\n @media screen and (max-width: 380px) {\n margin-left: calc(1em + 18px);\n }\n }\n\n .payment-source__form .form-group:not(:last-child) {\n margin-bottom: 1.5em;\n }\n\n .payment-source__form .form-control {\n padding: 10px 2px 10px 10px;\n height: 40px;\n background: #F9F9F9;\n border: 1px solid {{border_color}};\n }\n\n .payment-source__form .form-control:not(:last-child) {\n margin-right: 1.5em;\n }\n\n .payment-source__form .form-control.col-12 {\n width: calc(100% - 1.5em);\n }\n\n .payment-source__form .form-control.col-3 {\n width: calc(33.33% - 1.5em);\n }\n\n .footer__pay-btn {\n margin-left: auto;\n padding: 10px 2em;\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #F6F0EB;\n font-size: 16px;\n background-color: {{button_color}};\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 0 0 0.5px rgba(0, 0, 0, 0.10);\n border: none;\n border-radius: 6px;\n cursor: pointer;\n }\n\n .footer__pay-btn--paypal {\n padding: 5px 2em;\n background-color: #FFC43A;\n }\n\n .footer__pay-btn--gpay {\n font-size: 22px;\n }\n\n .footer__pay-btn--gpay img {\n margin-left: 5px;\n }\n\n .footer__pay-btn img {\n max-height: 100%;\n }\n</style>\n<main class=\"wrap\">\n <div class=\"widget-body\">\n <ul class=\"payment-sources__list\">\n {{paymentMethods}}\n </ul>\n </div>\n</main>\n</div>\n";
2
+ export default _default;
3
+ //# sourceMappingURL=payment-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-template.d.ts","sourceRoot":"","sources":["../../../src/checkout/layout-widgets/payment-template.ts"],"names":[],"mappings":";AAAA,wBAmTC"}
@@ -33,3 +33,4 @@ declare class AfterpayCheckoutButton extends CheckoutButton {
33
33
  protected buildAdditionalParams(): AdditionalParams;
34
34
  }
35
35
  export { AfterpayCheckoutButton };
36
+ //# sourceMappingURL=afterpay-checkout-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"afterpay-checkout-button.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/afterpay/afterpay-checkout-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;;;;;;;;;;GAYG;AACH,cAAM,sBAAuB,SAAQ,cAAc;IAIjB,SAAS,CAAC,WAAW,EAAE,MAAM;IAAE,SAAS,CAAC,SAAS,EAAE,MAAM;IAHxF,SAAS,CAAC,OAAO,UAAS;IAE1B,kBAAkB,aACN,QAAQ,EAAE,MAAM,EAAY,WAAW,EAAE,MAAM,EAAY,SAAS,GAAE,MAAkB;IAIpG;;;;;;;;;;OAUG;IACI,mCAAmC,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAMjE,SAAS,CAAC,qBAAqB,IAAI,gBAAgB;CAOtD;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1,10 +1,13 @@
1
1
  import { AdditionalParams, IContextualRunner, PopupRunner } from '../runner';
2
2
  import { ICheckout } from '../../external-checkout';
3
+ import { CheckoutContextualHandlerData } from '../checkout-contextual-handler';
3
4
  export declare class AfterpayRunner extends PopupRunner implements IContextualRunner {
4
5
  getSuccessRedirectUri(): string;
5
6
  getErrorRedirectUri(): string;
6
7
  next(checkoutData: ICheckout, params?: AdditionalParams): void;
8
+ onCheckout<T extends CheckoutContextualHandlerData>(event: string, cb: (checkout: ICheckout, data?: T) => void): void;
7
9
  error(error: string, code: string, callback: any): any;
8
10
  run(): void;
9
11
  protected getRedirectUrl(checkout: ICheckout, params?: AdditionalParams): string;
10
12
  }
13
+ //# sourceMappingURL=afterpay.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"afterpay.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/afterpay/afterpay.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAc/E,qBAAa,cAAe,SAAQ,WAAY,YAAW,iBAAiB;IACjE,qBAAqB,IAAI,MAAM;IAO/B,mBAAmB,IAAI,MAAM;IAM7B,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,gBAAgB;IAQvD,UAAU,CAAC,CAAC,SAAS,6BAA6B,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI;IAc9G,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,KAAA;IAQ3C,GAAG,IAAI,IAAI;IAalB,SAAS,CAAC,cAAc,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,gBAAgB,GAAG,MAAM;CASnF"}
@@ -136,3 +136,4 @@ declare class CheckoutButton {
136
136
  * @param {string} [payment_source_token]
137
137
  */
138
138
  export { CheckoutButton };
139
+ //# sourceMappingURL=checkout-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout-button.d.ts","sourceRoot":"","sources":["../../src/checkout-button/checkout-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAyB,aAAa,EAAE,YAAY,EAAqD,MAAM,6BAA6B,CAAC;AAEpJ,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEhF,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAwC,MAAM,UAAU,CAAC;AAKtH,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E;;;;;;;;;;;GAWG;AACH,cAAM,cAAc;IAgBZ,SAAS,CAAC,WAAW,EAAE,MAAM;IAC7B,SAAS,CAAC,SAAS,EAAE,MAAM;IAC3B,SAAS,CAAC,WAAW,EAAE,YAAY;IACnC,SAAS,CAAC,IAAI,EAAE,aAAa;IAlBjC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAU;IAClC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAE/B,SAAS,CAAC,IAAI,EAAE,WAAW,CAAM;IACjC,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,eAAe,CAAC;IAEtD,SAAS,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;IAClC,SAAS,CAAC,eAAe,CAAC,EAAE,yBAAyB,CAAC;IACtD,SAAS,CAAC,GAAG,EAAE,MAAM,CAAe;IACpC,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEzB,kBAAkB,aAEd,QAAQ,EAAE,MAAM,EACN,WAAW,EAAE,MAAM,EACnB,SAAS,GAAE,MAAkB,EAC7B,WAAW,GAAE,YAAkC,EAC/C,IAAI,GAAE,aAAwC;IAQ5D,SAAS,CAAC,YAAY,CAAC,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa;IAmBrE,SAAS,CAAC,qBAAqB,IAAI,gBAAgB;IAInD,SAAS,CAAC,YAAY,CAAC,SAAS,EAAE,SAAS;IAwC3C;;;;OAIG;IAEH;;;;;;;;;;OAUG;IACI,EAAE,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;IAI9D;;;;OAIG;IACI,KAAK;IAKZ;;;;;OAKG;IACI,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAMxD;;;;;;;;;;;OAWG;IACI,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,aAAa,GAAG,aAAa;IAIhE;;;;;;;;OAQG;IACI,sBAAsB,CAAC,IAAI,EAAE,MAAM;IAK1C;;;;;;;;OAQG;IACI,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAKpC;;;;;OAKG;IACI,uBAAuB,CAAC,GAAG,EAAE,MAAM;IAK1C;;;;;;OAMG;IACI,cAAc,CAAC,GAAG,EAAE,MAAM;IAK1B,qBAAqB;IAI5B;;;;;;;OAOG;IACI,eAAe,IAAI,IAAI;IAK9B,SAAS,CAAC,sBAAsB;IAKhC,SAAS,CAAC,qBAAqB;IAIxB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAOlC,MAAM,IAAI,MAAM;IAIvB,OAAO,CAAC,eAAe;IAkBvB,OAAO,CAAC,mBAAmB;CA0B9B;AAED;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -46,3 +46,4 @@ export interface IEventCheckoutFinishData {
46
46
  gateway_type: string;
47
47
  }
48
48
  export declare const CHECKOUT_BTN_LOG_PREFIX = "[Paydock:CheckoutButton]";
49
+ //# sourceMappingURL=checkout-button.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout-button.interface.d.ts","sourceRoot":"","sources":["../../src/checkout-button/checkout-button.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAWjC,CAAC;AAEF;;;;GAIG;AACH,oBAAY,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;CACxB;AAED;;;;;GAKG;AACH,oBAAY,YAAY;IACpB,QAAQ,aAAa;IACrB,MAAM,kBAAkB;IACxB,QAAQ,aAAa;CACxB;AAED,MAAM,WAAW,wBAAwB;IACrC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,uBAAuB,6BAA6B,CAAC"}
@@ -2,10 +2,14 @@ import { IDetails } from '../external-checkout/index';
2
2
  import { Background } from '../components/background';
3
3
  import { IContextualRunner } from './runner';
4
4
  import { EventEmitter } from '../helper/event-emitter';
5
+ import { IDispatcherData } from '../components/dispatcher';
5
6
  interface CheckoutContextualHandlerParams {
6
7
  accessToken: string;
7
8
  gatewayId: string;
8
9
  }
10
+ export interface CheckoutContextualHandlerData extends IDispatcherData {
11
+ isCloseEvent?: boolean;
12
+ }
9
13
  export declare class CheckoutContextualHandler {
10
14
  protected background: Background;
11
15
  protected runner: IContextualRunner;
@@ -20,3 +24,4 @@ export declare class CheckoutContextualHandler {
20
24
  protected createOneTimeToken(token: string): void;
21
25
  }
22
26
  export {};
27
+ //# sourceMappingURL=checkout-contextual-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout-contextual-handler.d.ts","sourceRoot":"","sources":["../../src/checkout-button/checkout-contextual-handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAsC,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAgB,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,UAAU,+BAA+B;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,6BAA8B,SAAQ,eAAe;IAClE,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,qBAAa,yBAAyB;IAK9B,SAAS,CAAC,UAAU,EAAE,UAAU;IAChC,SAAS,CAAC,MAAM,EAAE,iBAAiB;IACnC,SAAS,CAAC,YAAY,EAAE,YAAY;IACpC,SAAS,CAAC,MAAM,EAAE,+BAA+B;IAPrD,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC;gBAGd,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,iBAAiB,EACzB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,+BAA+B;IAO9C,IAAI,CAAC,GAAG,EAAE,MAAM;IAsChB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhC,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,IAAI;IAgBlD,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,MAAM;CAmB7C"}
@@ -1,4 +1,4 @@
1
- export { CHECKOUT_BUTTON_EVENT, IEventCheckoutFinishData } from './checkout-button.interface';
1
+ export { CHECKOUT_BUTTON_EVENT, type IEventCheckoutFinishData } from './checkout-button.interface';
2
2
  export { ZipmoneyCheckoutButton } from './zipmoney/zipmoney-checkout-button';
3
3
  export { AfterpayCheckoutButton } from './afterpay/afterpay-checkout-button';
4
4
  export { PaypalCheckoutButton } from './paypal/paypal-checkout-button';
@@ -82,3 +82,4 @@ export { PaypalCheckoutButton } from './paypal/paypal-checkout-button';
82
82
  * @param {string} [address_country]
83
83
  * @param {string} [phone]
84
84
  */
85
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/checkout-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACnG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAEtE;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH;;;;;;;;;;;;;;;GAeG"}
@@ -18,3 +18,4 @@ declare class PaypalCheckoutButton extends CheckoutButton {
18
18
  /** @constructs */ constructor(selector: string, publicKey: string, gatewayId?: string);
19
19
  }
20
20
  export { PaypalCheckoutButton };
21
+ //# sourceMappingURL=paypal-checkout-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paypal-checkout-button.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/paypal/paypal-checkout-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD;;;;;;;;;;;;GAYG;AACH,cAAM,oBAAqB,SAAQ,cAAc;IAEf,SAAS,CAAC,SAAS,EAAE,MAAM;IAAE,SAAS,CAAC,SAAS,EAAE,MAAM;IADtF,kBAAkB,aACN,QAAQ,EAAE,MAAM,EAAY,SAAS,EAAE,MAAM,EAAY,SAAS,GAAE,MAAkB;CAGrG;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -3,3 +3,4 @@ export declare class PaypalRunner extends PopupRunner implements IContextualRunn
3
3
  getSuccessRedirectUri(): string;
4
4
  getErrorRedirectUri(): string;
5
5
  }
6
+ //# sourceMappingURL=paypal.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paypal.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/paypal/paypal.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAM3D,qBAAa,YAAa,SAAQ,WAAY,YAAW,iBAAiB;IAC/D,qBAAqB,IAAI,MAAM;IAO/B,mBAAmB,IAAI,MAAM;CAKvC"}
@@ -1,7 +1,7 @@
1
1
  import { ICheckout } from '../../external-checkout';
2
- import { Env } from '../../configs/env/env';
3
- export declare type AdditionalParams = Record<string, string | number | boolean>;
4
- export declare type Constructable<T = BaseRunner> = new (...args: any[]) => T;
2
+ import { Env } from '../../configs/env';
3
+ export type AdditionalParams = Record<string, string | number | boolean>;
4
+ export type Constructable<T = BaseRunner> = new (...args: any[]) => T;
5
5
  export interface IRunner {
6
6
  next(checkoutData: ICheckout, params?: AdditionalParams): void;
7
7
  error(error: string, code: string, cb: (close: boolean) => void): void;
@@ -15,3 +15,4 @@ export declare abstract class BaseRunner implements Partial<IRunner> {
15
15
  error(error: string, code: string, callback: any): void;
16
16
  setEnv(env: string, alias?: string): void;
17
17
  }
18
+ //# sourceMappingURL=base.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/base.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAc,MAAM,mBAAmB,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAEzE,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,UAAU,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAEtE,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAE/D,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAEvE,qBAAqB,IAAI,MAAM,CAAC;IAEhC,mBAAmB,IAAI,MAAM,CAAC;IAE9B,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7C;AAED,8BAAsB,UAAW,YAAW,OAAO,CAAC,OAAO,CAAC;IACxD,SAAS,EAAE,GAAG,CAAC;;IAMR,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,KAAA,GAAG,IAAI;IAIlD,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAGnD"}
@@ -1,6 +1,7 @@
1
1
  import { Background } from '../../components/background';
2
2
  import { IRunner, Constructable } from './base.runner';
3
3
  import { ICheckout } from '../../external-checkout';
4
+ import { IDispatcherData } from '../../components/dispatcher';
4
5
  export declare enum RUNNER_EVENT {
5
6
  SUCCESS = "success",
6
7
  DECLINED = "declined",
@@ -14,7 +15,7 @@ export interface IContextualRunner extends IRunner {
14
15
  continue(): void;
15
16
  stop(): void;
16
17
  onStop(cb: () => void): void;
17
- onCheckout(event: string, cb: (checkout: ICheckout) => void): void;
18
+ onCheckout<T extends IDispatcherData>(event: string, cb: (checkout: ICheckout, data?: T) => void): void;
18
19
  setBackgroundTitle(text: string): void;
19
20
  setBackgroundDescription(text: string): void;
20
21
  turnOffBackdrop(): void;
@@ -31,7 +32,8 @@ export declare function ContextualRunner<BR extends Constructable>(Runner?: BR):
31
32
  setBackgroundTitle(text: string): void;
32
33
  setBackgroundDescription(text: string): void;
33
34
  turnOffBackdrop(): void;
34
- widgetEnv: import("../../configs/env/env").Env;
35
+ widgetEnv: import("../../configs/env").Env;
35
36
  setEnv(env: string, alias?: string): void;
36
37
  };
37
38
  } & BR;
39
+ //# sourceMappingURL=contextual.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextual.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/contextual.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiC,MAAM,6BAA6B,CAAC;AACxF,OAAO,EAAc,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,oBAAY,YAAY;IACpB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,UAAU;CAClB;AAED,MAAM,WAAW,iBAAkB,SAAQ,OAAO;IAC9C,GAAG,IAAI,IAAI,CAAC;IAEZ,SAAS,IAAI,OAAO,CAAC;IAErB,QAAQ,IAAI,IAAI,CAAC;IAEjB,IAAI,IAAI,IAAI,CAAC;IAEb,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAE7B,UAAU,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI,CAAC;IAExG,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvC,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7C,eAAe,IAAI,IAAI,CAAC;IAExB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9C;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,aAAa,EAAE,MAAM,GAAE,EAAqB;kBAKpD,GAAG,EAAE;oBAHrB,UAAU;8BACA,MAAM;oBAST,IAAI;gBAER,IAAI;qBAEC,MAAM,QAAQ,MAAM,kBAAa,IAAI;qCAIrB,MAAM;iCAIV,MAAM,GAAG,IAAI;uCAIP,MAAM,GAAG,IAAI;2BAIzB,IAAI;;;;OAKrC"}
@@ -6,3 +6,4 @@ export * from './popup.runner';
6
6
  export * from './redirect.runner';
7
7
  export declare function isContextualRunner(runner: IContextualRunner | IRedirectRunner): runner is IContextualRunner;
8
8
  export declare function isRedirectRunner(runner: IContextualRunner | IRedirectRunner): runner is IRedirectRunner;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAElC,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,eAAe,GAAG,MAAM,IAAI,iBAAiB,CAE3G;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,eAAe,GAAG,MAAM,IAAI,eAAe,CAEvG"}
@@ -1,5 +1,5 @@
1
1
  import { ICheckout } from '../../external-checkout/builder';
2
- import { Dispatcher } from '../../components/dispatcher';
2
+ import { Dispatcher, IDispatcherData } from '../../components/dispatcher';
3
3
  import { Popup } from '../../components/popup';
4
4
  declare const PopupRunner_base: {
5
5
  new (...args: any[]): {
@@ -12,10 +12,10 @@ declare const PopupRunner_base: {
12
12
  setBackgroundTitle(text: string): void;
13
13
  setBackgroundDescription(text: string): void;
14
14
  turnOffBackdrop(): void;
15
- widgetEnv: import("../../configs/env/env").Env;
15
+ widgetEnv: import("../../configs/env").Env;
16
16
  setEnv(env: string, alias?: string): void;
17
17
  };
18
- } & import("./base.runner").Constructable<import("./base.runner").BaseRunner>;
18
+ } & import("./base.runner").Constructable;
19
19
  export declare abstract class PopupRunner extends PopupRunner_base {
20
20
  protected publicKey: string;
21
21
  protected dispatcher: Dispatcher;
@@ -28,7 +28,8 @@ export declare abstract class PopupRunner extends PopupRunner_base {
28
28
  continue(): void;
29
29
  stop(): void;
30
30
  onStop(cb: () => void): void;
31
- onCheckout(event: string, cb: (checkout: ICheckout) => void): void;
31
+ onCheckout<T extends IDispatcherData>(event: string, cb: (checkout: ICheckout, data?: T) => void): void;
32
32
  setEnv(env: string, alias?: string): void;
33
33
  }
34
34
  export {};
35
+ //# sourceMappingURL=popup.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popup.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/popup.runner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;;;;;;AAO/C,8BAAsB,WAAY,SAAQ,gBAAkB;IAKrC,SAAS,CAAC,SAAS,EAAE,MAAM;IAJ9C,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;IACjC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAQ;gBAEf,SAAS,EAAE,MAAM;IAOvC,GAAG,IAAI,IAAI;IAQX,SAAS,IAAI,OAAO;IAIpB,IAAI,CAAC,YAAY,EAAE,SAAS;IAQ5B,QAAQ;IAIR,IAAI,IAAI,IAAI;IAIZ,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAQ5B,UAAU,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI;IAqBhG,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAKnD"}
@@ -10,7 +10,8 @@ export declare function RedirectRunner<BR extends Constructable>(Runner?: BR): {
10
10
  setRedirectUrl(url: string): void;
11
11
  getRedirectUrl(): string;
12
12
  error(error: string, code: string, callback: any): void;
13
- widgetEnv: import("../../configs/env/env").Env;
13
+ widgetEnv: import("../../configs/env").Env;
14
14
  setEnv(env: string, alias?: string): void;
15
15
  };
16
16
  } & BR;
17
+ //# sourceMappingURL=redirect.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirect.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/runner/redirect.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnE,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC5C,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,cAAc,IAAI,MAAM,CAAC;IAEzB,mBAAmB,IAAI,MAAM,CAAC;CACjC;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,aAAa,EAAE,MAAM,GAAE,EAAqB;;6BAGzD,MAAM;4BAEA,MAAM,GAAG,IAAI;0BAIf,MAAM;qBAIX,MAAM,QAAQ,MAAM,kBAAa,IAAI;;;;OAIhE"}
@@ -0,0 +1,4 @@
1
+ export * from './zipmoney-contextual.runner';
2
+ export * from './zipmoney-redirect.runner';
3
+ export * from './zipmoney-checkout-button';
4
+ //# sourceMappingURL=index.d.ts.map