@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
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../payment-source-widget/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAIvE;;;;;;;;;;GAUG;AAIH;;;;;;;;;;;GAWG;AAIH;;;;;;;;GAQG"}
@@ -1,2 +0,0 @@
1
- ;
2
- //# sourceMappingURL=../../src/lib/payment-source-widget/interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../payment-source-widget/interfaces.ts"],"names":[],"mappings":"AAWC,CAAC"}
@@ -1,142 +0,0 @@
1
- import { AccessToken } from './../helper/access-token';
2
- import { Link, PAYMENT_SOURCE_LINK } from '../components/link';
3
- import { PAYMENT_SOURCE_TYPE, STYLE } from '../components/param';
4
- import { ObjectHelper } from '../helper/object';
5
- import { SDK } from '../configs/sdk';
6
- /**
7
- *
8
- * Class PaymentSourceWidget include method for for creating iframe url
9
- * @constructor
10
- *
11
- * @param {string} publicKey - PayDock users public key
12
- * @param {string} customer - PayDock's customer_id or customer_reference (In order to use the customer_reference, you must explicitly specify useReference as true)
13
- * @param {boolean} [useReference=false]
14
- *
15
- * @example
16
- * var widget = new PaymentSourceWidget('publicKey','customerId');
17
- * // or
18
- * var widget = new PaymentSourceWidget('publicKey', customerReference, true);
19
- */
20
- class PaymentSourceWidget {
21
- /** @constructs */ // constructs added for correct parse classes jsdoc2md
22
- constructor(accessToken, queryToken) {
23
- this.configs = [];
24
- this.configTokens = [];
25
- this.link = new Link(PAYMENT_SOURCE_LINK);
26
- this.link.setParams(Object.assign({ query_token: queryToken }, (AccessToken.validateJWT(accessToken) ? { access_token: accessToken } : { public_key: accessToken })));
27
- if (SDK.version) {
28
- this.link.setParams({
29
- sdk_version: SDK.version,
30
- sdk_type: SDK.type,
31
- });
32
- }
33
- }
34
- /**
35
- * Object contain styles for widget
36
- *
37
- * @example
38
- * widget.setStyles({
39
- * background_color: 'rgb(0, 0, 0)',
40
- * border_color: 'yellow',
41
- * text_color: '#FFFFAA',
42
- * icon_size: 'small',
43
- * font_size: '20px'
44
- * });
45
- * @param {IStyles} fields - name of styles which can be shown in widget [STYLE]{@link STYLE}
46
- */
47
- setStyles(styles) {
48
- for (let index in styles) {
49
- if (styles.hasOwnProperty(index))
50
- this.setStyle(index, styles[index]);
51
- }
52
- }
53
- setStyle(param, value) {
54
- if (ObjectHelper.values(STYLE).indexOf(param) !== -1)
55
- this.link.setParams({ [param]: value });
56
- else
57
- console.warn(`Widget::setStyle[s: unsupported style param ${param}`);
58
- }
59
- /**
60
- * Current method can set custom ID to identify the data in the future
61
- *
62
- * @example
63
- * widget.setRefId('id');
64
- *
65
- * @param {string} refId - custom id
66
- */
67
- setRefId(refId) {
68
- this.link.setParams({ ref_id: refId });
69
- }
70
- /**
71
- * Current method can set limit for payment sources count. In case when limit sets less then general count will be shown pagination buttons prev and next.
72
- *
73
- * @param {string} count - payment source count
74
- */
75
- setLimit(count) {
76
- this.link.setParams({ limit: count });
77
- }
78
- /**
79
- * Current method can change environment. By default environment = sandbox
80
- * Also we can change domain alias for this environment. By default domain_alias = paydock.com
81
- *
82
- * @example
83
- * widget.setEnv('production');
84
- * @param {string} env - sandbox, production
85
- * @param {string} [alias] - Own domain alias
86
- */
87
- setEnv(env, alias) {
88
- this.link.setEnv(env, alias);
89
- for (let index in this.configs) {
90
- if (this.configs.hasOwnProperty(index))
91
- this.configs[index].setEnv(env, alias);
92
- }
93
- }
94
- getEnv() {
95
- this.link.getEnv();
96
- }
97
- /**
98
- * Method for getting iframe's url
99
- */
100
- getIFrameUrl() {
101
- return this.link.getUrl();
102
- }
103
- /**
104
- * Show payment source inside widget only with requested gateway ids
105
- *
106
- *
107
- * @param {string[]} ids - List of gateway_id
108
- */
109
- filterByGatewayIds(ids) {
110
- this.link.setParams({ gateway_ids: ids.join(',') });
111
- }
112
- /**
113
- *
114
- * Show payment source inside widget only with requested payment source types
115
- *
116
- * @param types - List of payment source types. Available parameters [PAYMENT_TYPE]{@link PAYMENT_TYPE}
117
- */
118
- filterByTypes(types) {
119
- let supportedTypes = [];
120
- for (let type of types) {
121
- if (!types.hasOwnProperty(type))
122
- continue;
123
- if (ObjectHelper.values(PAYMENT_SOURCE_TYPE).indexOf(type) === -1)
124
- console.warn(`PaymentSourceWidget::filterByTypes: unsupported type ${type}`);
125
- else
126
- supportedTypes.push(type);
127
- }
128
- this.link.setParams({ payment_source_types: supportedTypes.join(',') });
129
- }
130
- /**
131
- * Method for setting a custom language code
132
- *
133
- * @example
134
- * config.setLanguage('en');
135
- * @param {string} code - ISO 639-1
136
- */
137
- setLanguage(code) {
138
- this.link.setParams({ language: code });
139
- }
140
- }
141
- export { PaymentSourceWidget };
142
- //# sourceMappingURL=../../src/lib/payment-source-widget/payment-source-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payment-source-widget.js","sourceRoot":"","sources":["../../payment-source-widget/payment-source-widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,OAAO,EAA6B,mBAAmB,EAAE,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAIrC;;;;;;;;;;;;;GAaG;AACH,MAAM,mBAAmB;IAOrB,kBAAkB,CAAC,sDAAsD;IACzE,YAAY,WAAmB,EAAE,UAAkB;QALzC,YAAO,GAAoB,EAAE,CAAC;QAC9B,iBAAY,GAAa,EAAE,CAAC;QAKlC,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,mBAAmB,CAAC,CAAC;QAC1C,IAAI,CAAC,IAAI,CAAC,SAAS,iBACf,WAAW,EAAE,UAAU,IACpB,CAAC,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAC,YAAY,EAAE,WAAW,EAAC,CAAC,CAAC,CAAC,EAAC,UAAU,EAAE,WAAW,EAAC,CAAC,EACrG,CAAC;QAEH,IAAI,GAAG,CAAC,OAAO,EAAE;YACb,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;gBAChB,WAAW,EAAE,GAAG,CAAC,OAAO;gBACxB,QAAQ,EAAE,GAAG,CAAC,IAAI;aACrB,CAAC,CAAC;SACN;IACL,CAAC;IAGD;;;;;;;;;;;;OAYG;IACI,SAAS,CAAC,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,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC9B,CAAC;IAID;;;;;OAKG;IACI,kBAAkB,CAAC,GAAa;QACnC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAC,WAAW,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC;IACtD,CAAC;IAGD;;;;;OAKG;IACI,aAAa,CAAC,KAAe;QAChC,IAAI,cAAc,GAAa,EAAE,CAAC;QAClC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;YACpB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;gBAC3B,SAAS;YAEb,IAAI,YAAY,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC7D,OAAO,CAAC,IAAI,CAAC,wDAAwD,IAAI,EAAE,CAAC,CAAC;;gBAE7E,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACjC;QAED,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAC,oBAAoB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;OAMG;IACI,WAAW,CAAC,IAAI;QACnB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAA;IACzC,CAAC;CACJ;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- export { SRC } from './secure-remote-commerce';
@@ -1,2 +0,0 @@
1
- export { SRC } from './secure-remote-commerce';
2
- //# sourceMappingURL=../../src/lib/secure-remote-commerce/index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../secure-remote-commerce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,71 +0,0 @@
1
- /**
2
- * List of available event's name in the SRC checkout lifecycle
3
- * @enum EVENT
4
- *
5
- * @type {object}
6
- * @param {string} CHECKOUT_BUTTON_LOADED=checkoutButtonLoaded
7
- * @param {string} CHECKOUT_BUTTON_CLICKED=checkoutButtonClicked
8
- * @param {string} IFRAME_LOADED=iframeLoaded
9
- * @param {string} CHECKOUT_READY=checkoutReady
10
- * @param {string} CHECKOUT_COMPLETED=checkoutCompleted
11
- * @param {string} CHECKOUT_ERROR=checkoutError
12
- */
13
- export declare enum EVENT {
14
- CHECKOUT_BUTTON_LOADED = "checkoutButtonLoaded",
15
- CHECKOUT_BUTTON_CLICKED = "checkoutButtonClicked",
16
- IFRAME_LOADED = "iframeLoaded",
17
- CHECKOUT_READY = "checkoutReady",
18
- CHECKOUT_COMPLETED = "checkoutCompleted",
19
- CHECKOUT_ERROR = "checkoutError"
20
- }
21
- export interface IVisaSRCMeta {
22
- srci_transaction_id?: string;
23
- dpa_data?: {
24
- dpa_presentation_name?: string;
25
- dpa_uri?: string;
26
- };
27
- dpa_transaction_options?: {
28
- dpa_locale?: string;
29
- dpa_accepted_billing_countries?: string[];
30
- dpa_accepted_shipping_countries?: string[];
31
- dpa_billing_preference?: DPA_SHIPPING_BILLING_PREFERENCE;
32
- dpa_shipping_preference?: DPA_SHIPPING_BILLING_PREFERENCE;
33
- consumer_name_requested?: boolean;
34
- consumer_email_address_requested?: boolean;
35
- consumer_phone_number_requested?: boolean;
36
- payment_options?: {
37
- dpa_dynamic_data_ttl_minutes?: number;
38
- dynamic_data_type?: DPA_DYNAMIC_DATA_TYPE;
39
- dpa_pan_requested?: boolean;
40
- };
41
- review_action?: REVIEW_ACTION;
42
- checkout_description?: string;
43
- transaction_type?: TRANSACTION_TYPE;
44
- order_type?: ORDER_TYPE;
45
- transaction_amount?: {
46
- transaction_amount?: number;
47
- transaction_currency_code?: string;
48
- };
49
- merchant_order_id?: string;
50
- merchant_category_code?: string;
51
- merchant_country_code?: string;
52
- };
53
- customizations: IStyles;
54
- }
55
- export declare type DPA_SHIPPING_BILLING_PREFERENCE = 'ALL' | 'POSTAL_COUNTRY' | 'NONE';
56
- export declare type DPA_DYNAMIC_DATA_TYPE = 'TAVV' | 'DTVV';
57
- export declare type REVIEW_ACTION = 'pay' | 'continue';
58
- export declare type TRANSACTION_TYPE = 'PURCHASE' | 'BILL_PAYMENT' | 'MONEY_TRANSFER';
59
- export declare type ORDER_TYPE = 'REAUTHORIZATION' | 'RECURRING' | 'INSTALLMENT';
60
- export interface IStyles {
61
- button_text_color?: string;
62
- primary_color?: string;
63
- font_family?: string;
64
- card_schemes?: string[];
65
- }
66
- export declare const STYLE: {
67
- BUTTON_TEXT_COLOR: string;
68
- PRIMARY_COLOR: string;
69
- FONT_FAMILY: string;
70
- CARD_SCHEMES: string;
71
- };
@@ -1,28 +0,0 @@
1
- /**
2
- * List of available event's name in the SRC checkout lifecycle
3
- * @enum EVENT
4
- *
5
- * @type {object}
6
- * @param {string} CHECKOUT_BUTTON_LOADED=checkoutButtonLoaded
7
- * @param {string} CHECKOUT_BUTTON_CLICKED=checkoutButtonClicked
8
- * @param {string} IFRAME_LOADED=iframeLoaded
9
- * @param {string} CHECKOUT_READY=checkoutReady
10
- * @param {string} CHECKOUT_COMPLETED=checkoutCompleted
11
- * @param {string} CHECKOUT_ERROR=checkoutError
12
- */
13
- export var EVENT;
14
- (function (EVENT) {
15
- EVENT["CHECKOUT_BUTTON_LOADED"] = "checkoutButtonLoaded";
16
- EVENT["CHECKOUT_BUTTON_CLICKED"] = "checkoutButtonClicked";
17
- EVENT["IFRAME_LOADED"] = "iframeLoaded";
18
- EVENT["CHECKOUT_READY"] = "checkoutReady";
19
- EVENT["CHECKOUT_COMPLETED"] = "checkoutCompleted";
20
- EVENT["CHECKOUT_ERROR"] = "checkoutError";
21
- })(EVENT || (EVENT = {}));
22
- export const STYLE = {
23
- BUTTON_TEXT_COLOR: 'button_text_color',
24
- PRIMARY_COLOR: 'primary_color',
25
- FONT_FAMILY: 'font_family',
26
- CARD_SCHEMES: 'card_schemes',
27
- };
28
- //# sourceMappingURL=../../src/lib/secure-remote-commerce/interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../secure-remote-commerce/interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,KAOX;AAPD,WAAY,KAAK;IACb,wDAA+C,CAAA;IAC/C,0DAAiD,CAAA;IACjD,uCAA8B,CAAA;IAC9B,yCAAgC,CAAA;IAChC,iDAAwC,CAAA;IACxC,yCAAgC,CAAA;AACpC,CAAC,EAPW,KAAK,KAAL,KAAK,QAOhB;AAsDD,MAAM,CAAC,MAAM,KAAK,GAAG;IACjB,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAC,cAAc;CAC9B,CAAC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=../../../src/lib/secure-remote-commerce/providers/src-provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"src-provider.js","sourceRoot":"","sources":["../../../secure-remote-commerce/providers/src-provider.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export declare const CARD_SCHEME: {
2
- VISA: string;
3
- MASTERCARD: string;
4
- AMEX: string;
5
- DISCOVER: string;
6
- };
7
- export declare const GenerateCardSchemesLogo: (card_scheme: string[], chevron?: boolean) => string;
@@ -1,36 +0,0 @@
1
- export const CARD_SCHEME = {
2
- VISA: 'visa',
3
- MASTERCARD: 'mastercard',
4
- AMEX: 'amex',
5
- DISCOVER: 'discover',
6
- };
7
- const CHEVRON_VMAD_IMG_PATH = '/images/visa-src/Chevron_Large_VMAD.png';
8
- const CHEVRON_VMA_IMG_PATH = '/images/visa-src/Chevron_Large_VMA.png';
9
- const CHEVRON_VM_IMG_PATH = '/images/visa-src/Chevron_Large_VM.png';
10
- const CHEVRON_M_IMG_PATH = '/images/visa-src/Chevron_Large_M.png';
11
- const CHEVRON_D_IMG_PATH = '/images/visa-src/Chevron_Large_D.png';
12
- const CHEVRON_V_IMG_PATH = '/images/visa-src/Chevron_Large_V.png';
13
- const VMAD_IMG_PATH = '/images/visa-src/vmad.svg';
14
- const VMA_IMG_PATH = '/images/visa-src/logos/Networks_Large_VMA.png';
15
- const VM_IMG_PATH = '/images/visa-src/logos/Networks_Large_VM.png';
16
- const M_IMG_PATH = '/images/visa-src/logos/master-logo.png';
17
- const D_IMG_PATH = '/images/visa-src/logos/Networks_Large_D.png';
18
- const V_IMG_PATH = '/images/visa-src/logos/visa-logo.png';
19
- export const GenerateCardSchemesLogo = (card_scheme, chevron = false) => {
20
- if (!card_scheme || !Array.isArray(card_scheme))
21
- return chevron ? CHEVRON_VMAD_IMG_PATH : VMAD_IMG_PATH;
22
- const card_scheme_sort = card_scheme.sort();
23
- if (includeArray([CARD_SCHEME.AMEX, CARD_SCHEME.MASTERCARD, CARD_SCHEME.VISA], card_scheme_sort))
24
- return chevron ? CHEVRON_VMA_IMG_PATH : VMA_IMG_PATH;
25
- if (includeArray([CARD_SCHEME.MASTERCARD, CARD_SCHEME.VISA], card_scheme_sort))
26
- return chevron ? CHEVRON_VM_IMG_PATH : VM_IMG_PATH;
27
- if (includeArray([CARD_SCHEME.MASTERCARD], card_scheme_sort))
28
- return chevron ? CHEVRON_M_IMG_PATH : M_IMG_PATH;
29
- if (includeArray([CARD_SCHEME.DISCOVER], card_scheme_sort))
30
- return chevron ? CHEVRON_D_IMG_PATH : D_IMG_PATH;
31
- if (includeArray([CARD_SCHEME.VISA], card_scheme_sort))
32
- return chevron ? CHEVRON_V_IMG_PATH : V_IMG_PATH;
33
- return chevron ? CHEVRON_V_IMG_PATH : VMAD_IMG_PATH;
34
- };
35
- const includeArray = (condition, card_scheme) => condition.every((card, index) => card === card_scheme[index]);
36
- //# sourceMappingURL=../../../../src/lib/secure-remote-commerce/providers/visa-src/helper.js.map
@@ -1 +0,0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C,WAAW,CAAC,UAAU,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QAC1E,OAAO,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,WAAW,CAAC;IAEvD,IAAI,YAAY,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC;QACxD,OAAO,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,CAAC;IAErD,IAAI,YAAY,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;QACtD,OAAO,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,CAAC;IAErD,IAAI,YAAY,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;QAClD,OAAO,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,CAAC;IAErD,OAAO,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,aAAa,CAAC;AACxD,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,SAAmB,EAAE,WAAqB,EAAE,EAAE,CAChE,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,KAAK,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export { VisaSRC } from './visa-src';
@@ -1,2 +0,0 @@
1
- export { VisaSRC } from './visa-src';
2
- //# sourceMappingURL=../../../../src/lib/secure-remote-commerce/providers/visa-src/index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../secure-remote-commerce/providers/visa-src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
@@ -1,113 +0,0 @@
1
- import { Link, VISA_SRC } from '../../../components/link';
2
- import { Container } from '../../../components/container';
3
- import { IFrame } from '../../../components/iframe';
4
- import { IFrameEvent } from '../../../components/iframe-event';
5
- import { VisaSRCStyles } from "./visa-src.styles";
6
- import { EVENT } from '../../interfaces';
7
- import { GenerateCardSchemesLogo } from "./helper";
8
- import { SDK } from '../../../configs/sdk';
9
- export class VisaSRC {
10
- constructor(button_selector, iframe_selector, service_id, public_key, meta, eventEmitter, autoResize, env, alias) {
11
- this.meta = meta;
12
- this.eventEmitter = eventEmitter;
13
- this.autoResize = autoResize;
14
- this.link = new Link(VISA_SRC);
15
- this.link.setParams(Object.assign({ service_id, public_key }, meta && { meta: JSON.stringify(meta) }));
16
- if (SDK.version) {
17
- this.link.setParams({
18
- sdk_version: SDK.version,
19
- sdk_type: SDK.type,
20
- });
21
- }
22
- if (env)
23
- this.link.setEnv(env, alias);
24
- this.iFrameContainer = new Container(iframe_selector);
25
- this.iFrame = new IFrame(this.iFrameContainer);
26
- this.buttonContainer = new Container(button_selector);
27
- this.iFrameEvent = new IFrameEvent(window);
28
- this.setupIFrameEvents();
29
- }
30
- setupIFrameEvents() {
31
- const widgetId = this.link.getParams().widget_id;
32
- this.iFrameEvent.on(EVENT.CHECKOUT_READY, widgetId, ({ data }) => {
33
- this.eventEmitter.emit(EVENT.CHECKOUT_READY, data);
34
- });
35
- this.iFrameEvent.on(EVENT.CHECKOUT_COMPLETED, widgetId, ({ data }) => {
36
- this.eventEmitter.emit(EVENT.CHECKOUT_COMPLETED, data);
37
- });
38
- this.iFrameEvent.on(EVENT.CHECKOUT_ERROR, widgetId, ({ data }) => {
39
- this.eventEmitter.emit(EVENT.CHECKOUT_ERROR, data);
40
- });
41
- if (this.autoResize)
42
- this.useAutoResize(true);
43
- }
44
- load() {
45
- var _a;
46
- const container = document.createElement('div');
47
- container.setAttribute('style', VisaSRCStyles.buttonContainerStyles);
48
- const checkoutButton = document.createElement('button');
49
- checkoutButton.setAttribute('style', VisaSRCStyles.buttonStyles);
50
- if (this.meta.customizations.primary_color)
51
- checkoutButton.style.backgroundColor = this.meta.customizations.primary_color;
52
- if (this.meta.customizations.button_text_color)
53
- checkoutButton.style.color = this.meta.customizations.button_text_color;
54
- checkoutButton.innerHTML = 'Checkout';
55
- const footerContainer = document.createElement('div');
56
- footerContainer.setAttribute('style', VisaSRCStyles.footerContainerStyles);
57
- const verticalLine = document.createElement('div');
58
- verticalLine.setAttribute('style', VisaSRCStyles.verticalLineStyle);
59
- const footerText = document.createElement('p');
60
- footerText.setAttribute('style', VisaSRCStyles.footerTextStyles);
61
- footerText.innerHTML = 'WE ACCEPT';
62
- const clickToPayAllCards = document.createElement('img');
63
- clickToPayAllCards.setAttribute('style', VisaSRCStyles.clickToPayAllCardsStyle);
64
- clickToPayAllCards.src = this.link.getBaseUrl() + `${GenerateCardSchemesLogo((_a = this.meta.customizations) === null || _a === void 0 ? void 0 : _a.card_schemes, true)}`;
65
- checkoutButton.onclick = () => {
66
- this.eventEmitter.emit(EVENT.CHECKOUT_BUTTON_CLICKED, {});
67
- this.iFrame.load(this.link.getUrl(), { title: 'Visa SRC checkout' });
68
- this.iFrame.getElement().onload = () => this.eventEmitter.emit(EVENT.IFRAME_LOADED, {});
69
- };
70
- container.appendChild(checkoutButton);
71
- container.appendChild(footerContainer);
72
- footerContainer.appendChild(footerText);
73
- footerContainer.appendChild(clickToPayAllCards);
74
- this.buttonContainer.getElement().appendChild(container);
75
- this.eventEmitter.emit(EVENT.CHECKOUT_BUTTON_LOADED, {});
76
- }
77
- getEnv() {
78
- return this.link.getEnv();
79
- }
80
- hideButton(_saveSize) {
81
- if (this.buttonContainer.getElement())
82
- this.buttonContainer.getElement().style['display'] = 'none';
83
- }
84
- showButton() {
85
- if (this.buttonContainer.getElement())
86
- this.buttonContainer.getElement().style['display'] = 'block';
87
- }
88
- hideCheckout(saveSize) {
89
- if (this.iFrame)
90
- this.iFrame.hide();
91
- }
92
- showCheckout() {
93
- if (this.iFrame)
94
- this.iFrame.show();
95
- }
96
- reload() {
97
- this.iFrame.remove();
98
- this.load();
99
- }
100
- useAutoResize(force) {
101
- if (this.autoResize && !force)
102
- return;
103
- this.autoResize = true;
104
- this.iFrameEvent.on('resize', this.link.getParams().widget_id, ({ data }) => {
105
- if (this.iFrame.getElement()) {
106
- this.iFrame.getElement().scrolling = 'no';
107
- if (data.height)
108
- this.iFrame.setStyle('height', data.height + 'px');
109
- }
110
- });
111
- }
112
- }
113
- //# sourceMappingURL=../../../../src/lib/secure-remote-commerce/providers/visa-src/visa-src.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visa-src.js","sourceRoot":"","sources":["../../../../secure-remote-commerce/providers/visa-src/visa-src.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAc,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAgB,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,MAAM,OAAO,OAAO;IAOhB,YAAY,eAAuB,EAAE,eAAuB,EAAE,UAAkB,EAAE,UAAkB,EAAY,IAAkB,EAAY,YAA0B,EAAY,UAAU,EAAE,GAAW,EAAE,KAAa;QAA1G,SAAI,GAAJ,IAAI,CAAc;QAAY,iBAAY,GAAZ,YAAY,CAAc;QAAY,eAAU,GAAV,UAAU,CAAA;QAC1L,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/B,IAAI,CAAC,IAAI,CAAC,SAAS,iBAAG,UAAU,EAAE,UAAU,IAAK,IAAI,IAAI,EAAE,IAAI,E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BACX,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;aAC1D;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -1,8 +0,0 @@
1
- export declare class VisaSRCStyles {
2
- static buttonContainerStyles: string;
3
- static buttonStyles: string;
4
- static footerContainerStyles: string;
5
- static footerTextStyles: string;
6
- static verticalLineStyle: string;
7
- static clickToPayAllCardsStyle: string;
8
- }
@@ -1,10 +0,0 @@
1
- export class VisaSRCStyles {
2
- }
3
- VisaSRCStyles.buttonContainerStyles = "display: flex; flex-direction: column; justify-content: center; align-items: center;";
4
- VisaSRCStyles.buttonStyles = "color: #ffff; background-color: #ffbe24; border: none; width: 100%; min-height: 40px; font-size: 16px; font-weight: bold; line-height: 19px; letter-spacing: 0.7px; text-transform: uppercase; border-radius: 4px; margin-bottom: 15px; cursor: pointer;";
5
- VisaSRCStyles.footerContainerStyles = "display: flex; flex: 1; flex-wrap: wrap; justify-content: center;";
6
- VisaSRCStyles.footerTextStyles = "text-align: center; color: #666666; margin: 2px 0;";
7
- VisaSRCStyles.verticalLineStyle = "display: inline-block; padding: 0.5px; background-color: #E5E5E5; height: 15px;";
8
- VisaSRCStyles.clickToPayAllCardsStyle = "height: 17px; margin-left: 8px; vertical-align: middle; padding-top: 3px;";
9
- // TODO: Remind to add in docs that if merchant's div is smaller than 240px the button styles will broke
10
- //# sourceMappingURL=../../../../src/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visa-src.styles.js","sourceRoot":"","sources":["../../../../secure-remote-commerce/providers/visa-src/visa-src.styles.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,aAAa;;AACR,mCAAqB,GAAG,sFAAsF,CAAC;AAE/G,0BAAY,GAAG,0PAA0P,CAAC;AAE1Q,mCAAqB,GAAG,mEAAmE,CAAC;AAE5F,8BAAgB,GAAG,oDAAoD,CAAC;AAExE,+BAAiB,GAAG,iFAAiF,CAAC;AAEtG,qCAAuB,GAAG,2EAA2E,CAAC;AAGxH,wGAAwG"}