@paydock/client-sdk 0.0.3 → 0.1.2-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 (531) hide show
  1. package/README.md +9050 -52
  2. package/bundles/index.cjs +38558 -0
  3. package/bundles/index.cjs.d.ts +4777 -0
  4. package/bundles/index.mjs +38519 -0
  5. package/bundles/index.mjs.d.ts +4777 -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/bundles/types/api/api-charge-internal.d.ts +99 -0
  9. package/bundles/types/api/api-charge-internal.d.ts.map +1 -0
  10. package/bundles/types/api/api-charge.d.ts +36 -0
  11. package/bundles/types/api/api-charge.d.ts.map +1 -0
  12. package/bundles/types/api/api-checkout-internal.d.ts +58 -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/bundles/types/api/api-internal.d.ts +13 -0
  17. package/bundles/types/api/api-internal.d.ts.map +1 -0
  18. package/bundles/types/api/api-service-internal.d.ts +19 -0
  19. package/bundles/types/api/api-service-internal.d.ts.map +1 -0
  20. package/bundles/types/api/api.d.ts +55 -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/bundles/types/canvas-3ds/canvas-3ds.d.ts +109 -0
  25. package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +1 -0
  26. package/bundles/types/canvas-3ds/index.d.ts +2 -0
  27. package/bundles/types/canvas-3ds/index.d.ts.map +1 -0
  28. package/bundles/types/canvas-3ds/services/gpayments-service.d.ts +43 -0
  29. package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +1 -0
  30. package/bundles/types/canvas-3ds/services/index.d.ts +2 -0
  31. package/bundles/types/canvas-3ds/services/index.d.ts.map +1 -0
  32. package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts +22 -0
  33. package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +1 -0
  34. package/bundles/types/checkout/checkout.d.ts +107 -0
  35. package/bundles/types/checkout/checkout.d.ts.map +1 -0
  36. package/bundles/types/checkout/helpers/instruction-handler.d.ts +25 -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 +6 -0
  45. package/bundles/types/checkout/helpers/resource-helper.d.ts.map +1 -0
  46. package/bundles/types/checkout/helpers/session-helper.d.ts +8 -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 +20 -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.fraud_service.show.d.ts +21 -0
  69. package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts.map +1 -0
  70. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts +26 -0
  71. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +1 -0
  72. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts +18 -0
  73. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -0
  74. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts +18 -0
  75. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +1 -0
  76. package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts +18 -0
  77. package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts.map +1 -0
  78. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts +21 -0
  79. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -0
  80. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts +19 -0
  81. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +1 -0
  82. package/bundles/types/checkout/layout-widgets/additionals.d.ts +3 -0
  83. package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -0
  84. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts +9 -0
  85. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +1 -0
  86. package/bundles/types/checkout/layout-widgets/message.d.ts +34 -0
  87. package/bundles/types/checkout/layout-widgets/message.d.ts.map +1 -0
  88. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +13 -0
  89. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -0
  90. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts +55 -0
  91. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +1 -0
  92. package/bundles/types/checkout/layout-widgets/payment-template.d.ts +3 -0
  93. package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +1 -0
  94. package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts +36 -0
  95. package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +1 -0
  96. package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts +13 -0
  97. package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +1 -0
  98. package/bundles/types/checkout-button/checkout-button.d.ts +139 -0
  99. package/bundles/types/checkout-button/checkout-button.d.ts.map +1 -0
  100. package/bundles/types/checkout-button/checkout-button.interface.d.ts +49 -0
  101. package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +1 -0
  102. package/bundles/types/checkout-button/checkout-contextual-handler.d.ts +27 -0
  103. package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +1 -0
  104. package/bundles/types/checkout-button/index.d.ts +85 -0
  105. package/bundles/types/checkout-button/index.d.ts.map +1 -0
  106. package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts +21 -0
  107. package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +1 -0
  108. package/bundles/types/checkout-button/paypal/paypal.runner.d.ts +6 -0
  109. package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +1 -0
  110. package/bundles/types/checkout-button/runner/base.runner.d.ts +18 -0
  111. package/bundles/types/checkout-button/runner/base.runner.d.ts.map +1 -0
  112. package/bundles/types/checkout-button/runner/contextual.runner.d.ts +39 -0
  113. package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +1 -0
  114. package/bundles/types/checkout-button/runner/index.d.ts +9 -0
  115. package/bundles/types/checkout-button/runner/index.d.ts.map +1 -0
  116. package/bundles/types/checkout-button/runner/popup.runner.d.ts +35 -0
  117. package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +1 -0
  118. package/bundles/types/checkout-button/runner/redirect.runner.d.ts +17 -0
  119. package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +1 -0
  120. package/bundles/types/checkout-button/zipmoney/index.d.ts +4 -0
  121. package/bundles/types/checkout-button/zipmoney/index.d.ts.map +1 -0
  122. package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +49 -0
  123. package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +1 -0
  124. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +39 -0
  125. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -0
  126. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +26 -0
  127. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -0
  128. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts +4 -0
  129. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -0
  130. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts +10 -0
  131. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -0
  132. package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts +12 -0
  133. package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +1 -0
  134. package/bundles/types/components/ability-guard.d.ts +12 -0
  135. package/bundles/types/components/ability-guard.d.ts.map +1 -0
  136. package/bundles/types/components/background.d.ts +43 -0
  137. package/bundles/types/components/background.d.ts.map +1 -0
  138. package/bundles/types/components/container.d.ts +12 -0
  139. package/bundles/types/components/container.d.ts.map +1 -0
  140. package/bundles/types/components/dispatcher.d.ts +14 -0
  141. package/bundles/types/components/dispatcher.d.ts.map +1 -0
  142. package/bundles/types/components/element-style.d.ts +17 -0
  143. package/bundles/types/components/element-style.d.ts.map +1 -0
  144. package/bundles/types/components/flypay-iframe-event.d.ts +15 -0
  145. package/bundles/types/components/flypay-iframe-event.d.ts.map +1 -0
  146. package/{lib/widget/components/form-Interceptor.d.ts → bundles/types/components/form-interceptor.d.ts} +2 -1
  147. package/bundles/types/components/form-interceptor.d.ts.map +1 -0
  148. package/bundles/types/components/http-core.d.ts +14 -0
  149. package/bundles/types/components/http-core.d.ts.map +1 -0
  150. package/bundles/types/components/iframe-event.d.ts +72 -0
  151. package/bundles/types/components/iframe-event.d.ts.map +1 -0
  152. package/bundles/types/components/iframe.d.ts +20 -0
  153. package/bundles/types/components/iframe.d.ts.map +1 -0
  154. package/bundles/types/components/link.d.ts +27 -0
  155. package/bundles/types/components/link.d.ts.map +1 -0
  156. package/bundles/types/components/loader.d.ts +5 -0
  157. package/bundles/types/components/loader.d.ts.map +1 -0
  158. package/bundles/types/components/param.d.ts +430 -0
  159. package/bundles/types/components/param.d.ts.map +1 -0
  160. package/bundles/types/components/popup.d.ts +30 -0
  161. package/bundles/types/components/popup.d.ts.map +1 -0
  162. package/bundles/types/components/storage-dispatcher.d.ts +31 -0
  163. package/bundles/types/components/storage-dispatcher.d.ts.map +1 -0
  164. package/bundles/types/components/trigger.d.ts +48 -0
  165. package/bundles/types/components/trigger.d.ts.map +1 -0
  166. package/bundles/types/components/vault-display-iframe-event.d.ts +5 -0
  167. package/bundles/types/components/vault-display-iframe-event.d.ts.map +1 -0
  168. package/bundles/types/components/wallet-background.d.ts +13 -0
  169. package/bundles/types/components/wallet-background.d.ts.map +1 -0
  170. package/bundles/types/components/wallet-trigger.d.ts +19 -0
  171. package/bundles/types/components/wallet-trigger.d.ts.map +1 -0
  172. package/bundles/types/configs/env/environment.cba.d.ts +30 -0
  173. package/bundles/types/configs/env/environment.cba.d.ts.map +1 -0
  174. package/bundles/types/configs/env/environment.interface.d.ts +12 -0
  175. package/bundles/types/configs/env/environment.interface.d.ts.map +1 -0
  176. package/bundles/types/configs/env/environment.paydock.d.ts +49 -0
  177. package/bundles/types/configs/env/environment.paydock.d.ts.map +1 -0
  178. package/bundles/types/configs/env/index.d.ts +3 -0
  179. package/bundles/types/configs/env/index.d.ts.map +1 -0
  180. package/bundles/types/configs/sdk.d.ts +10 -0
  181. package/bundles/types/configs/sdk.d.ts.map +1 -0
  182. package/bundles/types/constants/validators.d.ts +45 -0
  183. package/bundles/types/constants/validators.d.ts.map +1 -0
  184. package/bundles/types/external-checkout/builder.d.ts +29 -0
  185. package/bundles/types/external-checkout/builder.d.ts.map +1 -0
  186. package/bundles/types/external-checkout/checker.d.ts +14 -0
  187. package/bundles/types/external-checkout/checker.d.ts.map +1 -0
  188. package/bundles/types/external-checkout/index.d.ts +3 -0
  189. package/bundles/types/external-checkout/index.d.ts.map +1 -0
  190. package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts +9 -0
  191. package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts.map +1 -0
  192. package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts +42 -0
  193. package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts.map +1 -0
  194. package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts +163 -0
  195. package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts.map +1 -0
  196. package/bundles/types/fraud-prevention/index.d.ts +3 -0
  197. package/bundles/types/fraud-prevention/index.d.ts.map +1 -0
  198. package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts +79 -0
  199. package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts.map +1 -0
  200. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts +2 -0
  201. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +1 -0
  202. package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts +20 -0
  203. package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts.map +1 -0
  204. package/bundles/types/helper/access-token.d.ts +26 -0
  205. package/bundles/types/helper/access-token.d.ts.map +1 -0
  206. package/bundles/types/helper/browser.d.ts +17 -0
  207. package/bundles/types/helper/browser.d.ts.map +1 -0
  208. package/bundles/types/helper/deep-clone.d.ts +13 -0
  209. package/bundles/types/helper/deep-clone.d.ts.map +1 -0
  210. package/bundles/types/helper/element-id.d.ts +5 -0
  211. package/bundles/types/helper/element-id.d.ts.map +1 -0
  212. package/bundles/types/helper/event-emitter.d.ts +7 -0
  213. package/bundles/types/helper/event-emitter.d.ts.map +1 -0
  214. package/bundles/types/helper/event-error.d.ts +55 -0
  215. package/bundles/types/helper/event-error.d.ts.map +1 -0
  216. package/bundles/types/helper/event.d.ts +10 -0
  217. package/bundles/types/helper/event.d.ts.map +1 -0
  218. package/bundles/types/helper/ms.d.ts +6 -0
  219. package/bundles/types/helper/ms.d.ts.map +1 -0
  220. package/{lib/widget → bundles/types}/helper/object.d.ts +1 -0
  221. package/bundles/types/helper/object.d.ts.map +1 -0
  222. package/bundles/types/helper/process-event-error.d.ts +9 -0
  223. package/bundles/types/helper/process-event-error.d.ts.map +1 -0
  224. package/bundles/types/helper/spiner.util.d.ts +6 -0
  225. package/bundles/types/helper/spiner.util.d.ts.map +1 -0
  226. package/bundles/types/helper/url.d.ts +5 -0
  227. package/bundles/types/helper/url.d.ts.map +1 -0
  228. package/bundles/types/helper/uuid.d.ts +6 -0
  229. package/bundles/types/helper/uuid.d.ts.map +1 -0
  230. package/bundles/types/index-cba.d.ts +52 -0
  231. package/bundles/types/index-cba.d.ts.map +1 -0
  232. package/bundles/types/index.d.ts +52 -0
  233. package/bundles/types/index.d.ts.map +1 -0
  234. package/bundles/types/payment-source/builder.d.ts +23 -0
  235. package/bundles/types/payment-source/builder.d.ts.map +1 -0
  236. package/bundles/types/payment-source/index.d.ts +2 -0
  237. package/bundles/types/payment-source/index.d.ts.map +1 -0
  238. package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts +181 -0
  239. package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +1 -0
  240. package/bundles/types/payment-source-widget/index.d.ts +35 -0
  241. package/bundles/types/payment-source-widget/index.d.ts.map +1 -0
  242. package/bundles/types/payment-source-widget/interfaces.d.ts +12 -0
  243. package/bundles/types/payment-source-widget/interfaces.d.ts.map +1 -0
  244. package/bundles/types/payment-source-widget/payment-source-widget.d.ts +93 -0
  245. package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +1 -0
  246. package/bundles/types/paypal-data-collector/index.d.ts +23 -0
  247. package/bundles/types/paypal-data-collector/index.d.ts.map +1 -0
  248. package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts +58 -0
  249. package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts.map +1 -0
  250. package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts +21 -0
  251. package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts.map +1 -0
  252. package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts +17 -0
  253. package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts.map +1 -0
  254. package/bundles/types/paypal-save-payment-source/index.d.ts +61 -0
  255. package/bundles/types/paypal-save-payment-source/index.d.ts.map +1 -0
  256. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts +85 -0
  257. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts.map +1 -0
  258. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts +83 -0
  259. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts.map +1 -0
  260. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts +35 -0
  261. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts.map +1 -0
  262. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
  263. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
  264. package/bundles/types/secure-remote-commerce/index.d.ts +105 -0
  265. package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -0
  266. package/bundles/types/secure-remote-commerce/interfaces.d.ts +156 -0
  267. package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -0
  268. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +2 -0
  269. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts.map +1 -0
  270. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +25 -0
  271. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -0
  272. package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts +11 -0
  273. package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +1 -0
  274. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +86 -0
  275. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -0
  276. package/bundles/types/shared/device/device-info.service.d.ts +13 -0
  277. package/bundles/types/shared/device/device-info.service.d.ts.map +1 -0
  278. package/bundles/types/shared/http/authorization-strategy.d.ts +41 -0
  279. package/bundles/types/shared/http/authorization-strategy.d.ts.map +1 -0
  280. package/bundles/types/shared/http/http-fetcher.d.ts +29 -0
  281. package/bundles/types/shared/http/http-fetcher.d.ts.map +1 -0
  282. package/bundles/types/shared/http/http-fetcher.factory.d.ts +17 -0
  283. package/bundles/types/shared/http/http-fetcher.factory.d.ts.map +1 -0
  284. package/bundles/types/shared/http/http-request.d.ts +14 -0
  285. package/bundles/types/shared/http/http-request.d.ts.map +1 -0
  286. package/bundles/types/shared/http/http-response.dto.d.ts +19 -0
  287. package/bundles/types/shared/http/http-response.dto.d.ts.map +1 -0
  288. package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts +12 -0
  289. package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -0
  290. package/bundles/types/shared/services/configuration-validation/types.d.ts +73 -0
  291. package/bundles/types/shared/services/configuration-validation/types.d.ts.map +1 -0
  292. package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts +15 -0
  293. package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts.map +1 -0
  294. package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts +66 -0
  295. package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts.map +1 -0
  296. package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts +14 -0
  297. package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts.map +1 -0
  298. package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts +15 -0
  299. package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts.map +1 -0
  300. package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts +23 -0
  301. package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts.map +1 -0
  302. package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts +15 -0
  303. package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts.map +1 -0
  304. package/bundles/types/shared/services/instrumentation/repositories/index.d.ts +4 -0
  305. package/bundles/types/shared/services/instrumentation/repositories/index.d.ts.map +1 -0
  306. package/bundles/types/shared/shared.constants.d.ts +6 -0
  307. package/bundles/types/shared/shared.constants.d.ts.map +1 -0
  308. package/bundles/types/vault-display-widget/index.d.ts +14 -0
  309. package/bundles/types/vault-display-widget/index.d.ts.map +1 -0
  310. package/bundles/types/vault-display-widget/vault-display-widget.d.ts +69 -0
  311. package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +1 -0
  312. package/bundles/types/wallet-buttons/enums.d.ts +12 -0
  313. package/bundles/types/wallet-buttons/enums.d.ts.map +1 -0
  314. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +6 -0
  315. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -0
  316. package/bundles/types/wallet-buttons/index-cba.d.ts +2 -0
  317. package/bundles/types/wallet-buttons/index-cba.d.ts.map +1 -0
  318. package/bundles/types/wallet-buttons/index.d.ts +138 -0
  319. package/bundles/types/wallet-buttons/index.d.ts.map +1 -0
  320. package/bundles/types/wallet-buttons/interfaces.d.ts +128 -0
  321. package/bundles/types/wallet-buttons/interfaces.d.ts.map +1 -0
  322. package/bundles/types/wallet-buttons/wallet-buttons.d.ts +321 -0
  323. package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -0
  324. package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts +330 -0
  325. package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +1 -0
  326. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +24 -0
  327. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -0
  328. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +49 -0
  329. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -0
  330. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +28 -0
  331. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -0
  332. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +26 -0
  333. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -0
  334. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts +35 -0
  335. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -0
  336. package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts +8 -0
  337. package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts.map +1 -0
  338. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +26 -0
  339. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -0
  340. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +19 -0
  341. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -0
  342. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +131 -0
  343. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -0
  344. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts +252 -0
  345. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts.map +1 -0
  346. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts +12 -0
  347. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -0
  348. package/bundles/types/wallet-buttons-express/index.d.ts +245 -0
  349. package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -0
  350. package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts +6 -0
  351. package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts.map +1 -0
  352. package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts +6 -0
  353. package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts.map +1 -0
  354. package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts +5 -0
  355. package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
  356. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +44 -0
  357. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -0
  358. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +6 -0
  359. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -0
  360. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +6 -0
  361. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -0
  362. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +6 -0
  363. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -0
  364. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +9 -0
  365. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -0
  366. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +6 -0
  367. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -0
  368. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +11 -0
  369. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -0
  370. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts +21 -0
  371. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -0
  372. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts +9 -0
  373. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -0
  374. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts +13 -0
  375. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -0
  376. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts +9 -0
  377. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts.map +1 -0
  378. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +6 -0
  379. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -0
  380. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +22 -0
  381. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -0
  382. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts +58 -0
  383. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -0
  384. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts +2 -0
  385. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts.map +1 -0
  386. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts +5 -0
  387. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts.map +1 -0
  388. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts +6 -0
  389. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts.map +1 -0
  390. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +22 -0
  391. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -0
  392. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts +2 -0
  393. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts.map +1 -0
  394. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts +2 -0
  395. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts.map +1 -0
  396. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts +5 -0
  397. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts.map +1 -0
  398. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +21 -0
  399. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -0
  400. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts +21 -0
  401. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -0
  402. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts +4 -0
  403. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts.map +1 -0
  404. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts +164 -0
  405. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts.map +1 -0
  406. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +32 -0
  407. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -0
  408. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts +53 -0
  409. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts.map +1 -0
  410. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +6 -0
  411. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -0
  412. package/bundles/types/widget/configuration.d.ts +165 -0
  413. package/bundles/types/widget/configuration.d.ts.map +1 -0
  414. package/bundles/types/widget/html-multi-widget.d.ts +337 -0
  415. package/bundles/types/widget/html-multi-widget.d.ts.map +1 -0
  416. package/bundles/types/widget/html-widget.d.ts +107 -0
  417. package/bundles/types/widget/html-widget.d.ts.map +1 -0
  418. package/bundles/types/widget/index.d.ts +132 -0
  419. package/bundles/types/widget/index.d.ts.map +1 -0
  420. package/bundles/types/widget/meta.d.ts +8 -0
  421. package/bundles/types/widget/meta.d.ts.map +1 -0
  422. package/bundles/types/widget/multi-widget.d.ts +241 -0
  423. package/bundles/types/widget/multi-widget.d.ts.map +1 -0
  424. package/bundles/types/widget/style.d.ts +177 -0
  425. package/bundles/types/widget/style.d.ts.map +1 -0
  426. package/bundles/widget.umd.js +38429 -767
  427. package/bundles/widget.umd.js.d.ts +4777 -0
  428. package/bundles/widget.umd.js.min.d.ts +4777 -0
  429. package/bundles/widget.umd.min.js +1 -0
  430. package/docs/api-canvas3ds.md +158 -0
  431. package/docs/api-checkout-button.md +912 -0
  432. package/docs/api-examples.md +65 -0
  433. package/docs/api-ps-widget.md +585 -0
  434. package/docs/api-vault-display.md +94 -0
  435. package/docs/api-widget.md +2542 -0
  436. package/docs/api-wrapper.md +45 -0
  437. package/docs/canvas3ds-examples.md +242 -0
  438. package/docs/cba-header.md +13 -0
  439. package/docs/cba-license.md +2 -0
  440. package/docs/checkout-examples.md +248 -0
  441. package/docs/click-to-pay-examples.md +231 -0
  442. package/docs/click-to-pay.md +337 -0
  443. package/docs/fraud-prevention-examples.md +154 -0
  444. package/docs/fraud-prevention.md +0 -0
  445. package/docs/header.md +15 -0
  446. package/docs/html/layout.html +79 -0
  447. package/docs/html/marked.js +23 -0
  448. package/docs/html/style.css +365 -0
  449. package/docs/install/npm.content.md +16 -0
  450. package/docs/install/npm.example.md +24 -0
  451. package/docs/install/umd.content.md +20 -0
  452. package/docs/install/umd.example.md +6 -0
  453. package/docs/install.md +43 -0
  454. package/docs/install.readme.t.md +17 -0
  455. package/docs/install.slate.t.md +17 -0
  456. package/docs/license.md +2 -0
  457. package/docs/partials/header.hbs +3 -0
  458. package/docs/paypal-data-collector-examples.md +59 -0
  459. package/docs/paypal-data-collector.md +149 -0
  460. package/docs/paypal-save-payment-source-examples.md +63 -0
  461. package/docs/paypal-save-payment-source.md +256 -0
  462. package/docs/ps-examples.md +129 -0
  463. package/docs/vault-display-example.md +132 -0
  464. package/docs/wallet-buttons-examples.md +638 -0
  465. package/docs/wallet-buttons-express-examples.md +201 -0
  466. package/docs/wallet-buttons-express.md +1076 -0
  467. package/docs/wallet-buttons.md +625 -0
  468. package/docs/wallet-cba-buttons-examples.md +388 -0
  469. package/docs/widget-examples.md +271 -0
  470. package/examples/html-widget/actions.html +47 -0
  471. package/examples/html-widget/events.html +2 -2
  472. package/examples/html-widget/form.html +2 -3
  473. package/examples/html-widget/html-styles.html +29 -0
  474. package/examples/html-widget/insert-input.html +2 -2
  475. package/examples/html-widget/optional-settings.html +30 -0
  476. package/examples/html-widget/simple.html +3 -3
  477. package/examples/html-widget/styles.html +3 -3
  478. package/examples/multi-html-widget/extend.html +7 -2
  479. package/examples/multi-html-widget/simple.html +6 -8
  480. package/package.json +225 -55
  481. package/slate.md +2218 -0
  482. package/.npmignore +0 -15
  483. package/lib/index.d.ts +0 -2
  484. package/lib/index.js +0 -3
  485. package/lib/index.js.map +0 -1
  486. package/lib/widget/components/container.d.ts +0 -9
  487. package/lib/widget/components/container.js +0 -18
  488. package/lib/widget/components/container.js.map +0 -1
  489. package/lib/widget/components/env.d.ts +0 -19
  490. package/lib/widget/components/env.js +0 -33
  491. package/lib/widget/components/env.js.map +0 -1
  492. package/lib/widget/components/event.d.ts +0 -26
  493. package/lib/widget/components/event.js +0 -49
  494. package/lib/widget/components/event.js.map +0 -1
  495. package/lib/widget/components/form-Interceptor.js +0 -38
  496. package/lib/widget/components/form-Interceptor.js.map +0 -1
  497. package/lib/widget/components/iframe.d.ts +0 -11
  498. package/lib/widget/components/iframe.js +0 -31
  499. package/lib/widget/components/iframe.js.map +0 -1
  500. package/lib/widget/components/link.d.ts +0 -13
  501. package/lib/widget/components/link.js +0 -37
  502. package/lib/widget/components/link.js.map +0 -1
  503. package/lib/widget/components/param.d.ts +0 -39
  504. package/lib/widget/components/param.js +0 -21
  505. package/lib/widget/components/param.js.map +0 -1
  506. package/lib/widget/components/trigger.d.ts +0 -19
  507. package/lib/widget/components/trigger.js +0 -22
  508. package/lib/widget/components/trigger.js.map +0 -1
  509. package/lib/widget/configuration.d.ts +0 -59
  510. package/lib/widget/configuration.js +0 -134
  511. package/lib/widget/configuration.js.map +0 -1
  512. package/lib/widget/helper/event.d.ts +0 -8
  513. package/lib/widget/helper/event.js +0 -15
  514. package/lib/widget/helper/event.js.map +0 -1
  515. package/lib/widget/helper/object.js +0 -6
  516. package/lib/widget/helper/object.js.map +0 -1
  517. package/lib/widget/helper/url.d.ts +0 -3
  518. package/lib/widget/helper/url.js +0 -8
  519. package/lib/widget/helper/url.js.map +0 -1
  520. package/lib/widget/html-multi-widget.d.ts +0 -56
  521. package/lib/widget/html-multi-widget.js +0 -89
  522. package/lib/widget/html-multi-widget.js.map +0 -1
  523. package/lib/widget/html-widget.d.ts +0 -37
  524. package/lib/widget/html-widget.js +0 -50
  525. package/lib/widget/html-widget.js.map +0 -1
  526. package/lib/widget/index.d.ts +0 -5
  527. package/lib/widget/index.js +0 -6
  528. package/lib/widget/index.js.map +0 -1
  529. package/lib/widget/multi-widget.d.ts +0 -22
  530. package/lib/widget/multi-widget.js +0 -83
  531. package/lib/widget/multi-widget.js.map +0 -1
@@ -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"}
@@ -0,0 +1,35 @@
1
+ import { ICheckout } from '../../external-checkout/builder';
2
+ import { Dispatcher, IDispatcherData } from '../../components/dispatcher';
3
+ import { Popup } from '../../components/popup';
4
+ declare const PopupRunner_base: {
5
+ new (...args: any[]): {
6
+ background: import("../../components/background").Background;
7
+ suspendedRedirectUri: string;
8
+ continue(): void;
9
+ stop(): void;
10
+ error(error: string, code: string, callback: any): void;
11
+ setSuspendedRedirectUri(uri: string): void;
12
+ setBackgroundTitle(text: string): void;
13
+ setBackgroundDescription(text: string): void;
14
+ turnOffBackdrop(): void;
15
+ widgetEnv: import("../../configs/env").Env;
16
+ setEnv(env: string, alias?: string): void;
17
+ };
18
+ } & import("./base.runner").Constructable;
19
+ export declare abstract class PopupRunner extends PopupRunner_base {
20
+ protected publicKey: string;
21
+ protected dispatcher: Dispatcher;
22
+ protected popup: Popup;
23
+ protected checkout: ICheckout | null;
24
+ constructor(publicKey: string);
25
+ run(): void;
26
+ isRunning(): boolean;
27
+ next(checkoutData: ICheckout): void;
28
+ continue(): void;
29
+ stop(): void;
30
+ onStop(cb: () => void): void;
31
+ onCheckout<T extends IDispatcherData>(event: string, cb: (checkout: ICheckout, data?: T) => void): void;
32
+ setEnv(env: string, alias?: string): void;
33
+ }
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"}
@@ -0,0 +1,17 @@
1
+ import { IRunner, Constructable } from './base.runner';
2
+ export interface IRedirectRunner extends IRunner {
3
+ setRedirectUrl(url: string): void;
4
+ getRedirectUrl(): string;
5
+ getProxyRedirectUrl(): string;
6
+ }
7
+ export declare function RedirectRunner<BR extends Constructable>(Runner?: BR): {
8
+ new (...args: any[]): {
9
+ merchantRedirectUrl: string;
10
+ setRedirectUrl(url: string): void;
11
+ getRedirectUrl(): string;
12
+ error(error: string, code: string, callback: any): void;
13
+ widgetEnv: import("../../configs/env").Env;
14
+ setEnv(env: string, alias?: string): void;
15
+ };
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { CheckoutButton } from '../checkout-button';
2
+ import { CHECKOUT_MODE } from '../checkout-button.interface';
3
+ import { ZipmoneyRunnerParams } from './zipmoney.types';
4
+ /**
5
+ * Class ZipmoneyCheckoutButton is wrapper of CheckoutButton transform usual button into checkout
6
+ *
7
+ * @extends CheckoutButton
8
+ *
9
+ * @constructor
10
+ *
11
+ * @param {string} selector - Selector of html element.
12
+ * @param {string} publicKey - PayDock users public key
13
+ * @param {string} [gatewayId=default] - PayDock's gatewayId. By default or if put 'default', it will use the selected default gateway
14
+ * @param {string} [gatewayId=default] - Checkout mode, it could be set to 'contextual' or 'redirect'. By default it 'contextual'
15
+ * @example
16
+ * var widget = new ZipmoneyCheckoutButton('#button', 'publicKey','gatewayId');
17
+ */
18
+ declare class ZipmoneyCheckoutButton extends CheckoutButton {
19
+ protected publicKey: string;
20
+ protected gatewayId: string;
21
+ protected mode: CHECKOUT_MODE;
22
+ /** @constructs */ constructor(selector: string, publicKey: string, gatewayId?: string, mode?: CHECKOUT_MODE);
23
+ /**
24
+ * Method for setting suspended redirect uri. Redirect after referred checkout
25
+ *
26
+ * The URI is used for a redirect after the checkout is complete.
27
+ * This can be provided, even if using in-context checkout (sdk). By default, the standard styled page will be used.
28
+ * If using in-context (sdk) we will not automatically redirect to this URI.
29
+ *
30
+
31
+ * @param {uri} string - uri for suspended redirect (by default)
32
+ */
33
+ setSuspendedRedirectUri(uri: string): void;
34
+ /**
35
+ * Method for setting the merchant redirect URL.
36
+ * The merchant's customers would be redirected to the specified URL
37
+ * at the end of ZipMoney checkout flow.
38
+ *
39
+ * Once the redirect URL would be set, the checkout flow would be immediately switched
40
+ * from 'contextual' mode to the 'redirect' mode.
41
+ * The merchant's customer would be automatically redirected to this URL after the checkout is complete.
42
+ *
43
+ * @param {url} string - URL for redirect
44
+ */
45
+ setRedirectUrl(url: string): void;
46
+ protected buildAdditionalParams(): ZipmoneyRunnerParams;
47
+ }
48
+ export { ZipmoneyCheckoutButton };
49
+ //# sourceMappingURL=zipmoney-checkout-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipmoney-checkout-button.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-checkout-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAgB,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD;;;;;;;;;;;;;GAaG;AACH,cAAM,sBAAuB,SAAQ,cAAc;IAK3C,SAAS,CAAC,SAAS,EAAE,MAAM;IAC3B,SAAS,CAAC,SAAS,EAAE,MAAM;IAC3B,SAAS,CAAC,IAAI,EAAE,aAAa;IALjC,kBAAkB,aAEd,QAAQ,EAAE,MAAM,EACN,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,MAAkB,EAC7B,IAAI,GAAE,aAAwC;IAK5D;;;;;;;;;OASG;IACI,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIjD;;;;;;;;;;OAUG;IACI,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAQxC,SAAS,CAAC,qBAAqB,IAAI,oBAAoB;CAU1D;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,39 @@
1
+ import '../../../vendors/zipmoney';
2
+ import { IContextualRunner } from '../runner/contextual.runner';
3
+ import { ZipmoneyRunner } from './zipmoney.runner';
4
+ import { ICheckout } from '../../external-checkout/builder';
5
+ import { EventEmitter } from '../../helper/event-emitter';
6
+ declare const ZipmoneyContextualRunner_base: {
7
+ new (...args: any[]): {
8
+ background: import("../../components/background").Background;
9
+ suspendedRedirectUri: string;
10
+ continue(): void;
11
+ stop(): void;
12
+ error(error: string, code: string, callback: any): void;
13
+ setSuspendedRedirectUri(uri: string): void;
14
+ setBackgroundTitle(text: string): void;
15
+ setBackgroundDescription(text: string): void;
16
+ turnOffBackdrop(): void;
17
+ widgetEnv: import("../../configs/env").Env;
18
+ setEnv(env: string, alias?: string): void;
19
+ };
20
+ } & typeof ZipmoneyRunner;
21
+ export declare class ZipmoneyContextualRunner extends ZipmoneyContextualRunner_base implements IContextualRunner {
22
+ protected checkout: ICheckout;
23
+ protected runs: boolean;
24
+ protected eventEmitter: EventEmitter;
25
+ constructor();
26
+ run(): void;
27
+ isRunning(): boolean;
28
+ next(checkoutData: ICheckout): void;
29
+ getSuccessRedirectUri(): string;
30
+ getErrorRedirectUri(): string;
31
+ stop(): void;
32
+ onStop(cb: () => void): void;
33
+ onCheckout(event: string, cb: (checkout: ICheckout) => void): void;
34
+ protected eventHandler(args: {
35
+ state: Zip.ZIPMONEY_STATE;
36
+ }): void;
37
+ }
38
+ export {};
39
+ //# sourceMappingURL=zipmoney-contextual.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipmoney-contextual.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-contextual.runner.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAoB,iBAAiB,EAAgB,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAE,cAAc,EAAc,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;AAG1D,qBAAa,wBAAyB,SAAQ,6BAAiC,YAAW,iBAAiB;IACvG,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC9B,SAAS,CAAC,IAAI,UAAS;IACvB,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;;IAO9B,GAAG,IAAI,IAAI;IAKX,SAAS,IAAI,OAAO;IAIpB,IAAI,CAAC,YAAY,EAAE,SAAS;IAY5B,qBAAqB,IAAI,MAAM;IAI/B,mBAAmB,IAAI,MAAM;IAI7B,IAAI;IAUJ,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAO5B,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI;IAMlE,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC,cAAc,CAAA;KAAE;CA+B7D"}
@@ -0,0 +1,26 @@
1
+ import '../../../vendors/zipmoney';
2
+ import { IRedirectRunner } from '../runner';
3
+ import { ZipmoneyRunner } from './zipmoney.runner';
4
+ import { ICheckout } from '../../external-checkout/builder';
5
+ import { ZipmoneyRunnerParams } from './zipmoney.types';
6
+ declare const ZipmoneyRedirectRunner_base: {
7
+ new (...args: any[]): {
8
+ merchantRedirectUrl: string;
9
+ setRedirectUrl(url: string): void;
10
+ getRedirectUrl(): string;
11
+ error(error: string, code: string, callback: any): void;
12
+ widgetEnv: import("../../configs/env").Env;
13
+ setEnv(env: string, alias?: string): void;
14
+ };
15
+ } & typeof ZipmoneyRunner;
16
+ export declare class ZipmoneyRedirectRunner extends ZipmoneyRedirectRunner_base implements IRedirectRunner {
17
+ private storageDispatcher;
18
+ constructor();
19
+ getProxyRedirectUrl(): string;
20
+ next(checkout: ICheckout, params: ZipmoneyRunnerParams): void;
21
+ getSuccessRedirectUri(): string;
22
+ getErrorRedirectUri(): string;
23
+ setEnv(env: string, alias?: string): void;
24
+ }
25
+ export {};
26
+ //# sourceMappingURL=zipmoney-redirect.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipmoney-redirect.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney-redirect.runner.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAkB,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAAE,oBAAoB,EAA6B,MAAM,kBAAkB,CAAC;;;;;;;;;;;AAEnF,qBAAa,sBAAuB,SAAQ,2BAA+B,YAAW,eAAe;IACjG,OAAO,CAAC,iBAAiB,CAAoB;;IAQtC,mBAAmB;IAInB,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB;IA2BtD,qBAAqB,IAAI,MAAM;IAK/B,mBAAmB,IAAI,MAAM;IAI7B,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;CAInD"}
@@ -0,0 +1,4 @@
1
+ export declare const ZIPMONEY_PROXY_REDIRECT_URL = "/checkout/zipmoney/response";
2
+ export declare const ZIPMONEY_DEFAULT_SUSPENDED_URL = "/checkout/zipmoney/suspended";
3
+ export declare const ZIPMONEY_MESSAGE_SOURCE = "zipmoney.checkout.paydock";
4
+ //# sourceMappingURL=zipmoney.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipmoney.config.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,8BAA8B,iCAAiC,CAAC;AAE7E,eAAO,MAAM,uBAAuB,8BAA8B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { BaseRunner, IRunner } from '../runner';
2
+ import { Env } from '../../configs/env';
3
+ export declare const LOG_PREFIX = "[CheckoutButton:Zipmoney]";
4
+ export declare class ZipmoneyRunner extends BaseRunner implements Partial<IRunner> {
5
+ protected apiEnv: Env;
6
+ constructor();
7
+ setEnv(env: string, alias?: string): void;
8
+ protected getCheckoutUri(redirectUri: string): string;
9
+ }
10
+ //# sourceMappingURL=zipmoney.runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipmoney.runner.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAW,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKjD,eAAO,MAAM,UAAU,8BAA8B,CAAC;AAEtD,qBAAa,cAAe,SAAQ,UAAW,YAAW,OAAO,CAAC,OAAO,CAAC;IACtE,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;;IAOf,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAKhD,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM;CAO/C"}
@@ -0,0 +1,12 @@
1
+ import { AdditionalParams } from '../runner';
2
+ export interface ZipmoneyWidgetSessionData {
3
+ checkout_token: string;
4
+ gateway_id: string;
5
+ merchant_redirect_url: string;
6
+ public_key: string;
7
+ }
8
+ export interface ZipmoneyRunnerParams extends AdditionalParams {
9
+ gateway_id: string;
10
+ public_key: string;
11
+ }
12
+ //# sourceMappingURL=zipmoney.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipmoney.types.d.ts","sourceRoot":"","sources":["../../../src/checkout-button/zipmoney/zipmoney.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,yBAAyB;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,12 @@
1
+ export declare enum ABILITY {
2
+ POPUP_CLOSE = 0,
3
+ BACKDROP_DISPLAY_CONTINUE = 1,
4
+ POPUP_FOCUS = 2
5
+ }
6
+ export declare class AbilityGuard {
7
+ protected usedGateway: string;
8
+ useGateway(gateway: string): void;
9
+ reset(): void;
10
+ isAllow(ability: number): boolean;
11
+ }
12
+ //# sourceMappingURL=ability-guard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ability-guard.d.ts","sourceRoot":"","sources":["../../src/components/ability-guard.ts"],"names":[],"mappings":"AAKA,oBAAY,OAAO;IACf,WAAW,IAAA;IACX,yBAAyB,IAAA;IACzB,WAAW,IAAA;CACd;AAoBD,qBAAa,YAAY;IACrB,SAAS,CAAC,WAAW,EAAE,MAAM,CAAQ;IAE9B,UAAU,CAAC,OAAO,EAAE,MAAM;IAI1B,KAAK;IAIL,OAAO,CAAC,OAAO,EAAE,MAAM;CAYjC"}
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from '../helper/event-emitter';
2
+ /**
3
+ *
4
+ * @type {object}
5
+ * @param {string} CLOSE=close
6
+ * @param {string} FOCUS=focus
7
+ */
8
+ export declare const TRIGGER: {
9
+ CLOSE: string;
10
+ FOCUS: string;
11
+ };
12
+ /**
13
+ * Class Background create overlay for checkout
14
+ *
15
+ * @example
16
+ * var overlay = new Background();
17
+ */
18
+ declare class Background {
19
+ protected description: string;
20
+ protected title: string;
21
+ protected overlay: HTMLElement;
22
+ protected style: HTMLStyleElement;
23
+ protected eventEmitter: EventEmitter;
24
+ protected showControl: boolean;
25
+ protected showLoader: boolean;
26
+ constructor();
27
+ initControl(): void;
28
+ initLoader(): void;
29
+ private eventHandler;
30
+ clear(): void;
31
+ private createLoader;
32
+ protected createTemplate(): void;
33
+ private createStyles;
34
+ setBackdropDescription(text: string): void;
35
+ setBackdropTitle(text: string): void;
36
+ onTrigger(triggerName: string, cb: () => void): void;
37
+ isInit(): boolean;
38
+ hideContinueControl(): void;
39
+ turnOffControl(): void;
40
+ turnOffLoader(): void;
41
+ }
42
+ export { Background };
43
+ //# sourceMappingURL=background.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../src/components/background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAKvD;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAuEF;;;;;GAKG;AACH,cAAM,UAAU;IAEZ,SAAS,CAAC,WAAW,SAA0G;IAC/H,SAAS,CAAC,KAAK,SAAc;IAC7B,SAAS,CAAC,OAAO,EAAE,WAAW,CAAQ;IACtC,SAAS,CAAC,KAAK,EAAE,gBAAgB,CAAQ;IACzC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,WAAW,UAAQ;IAC7B,SAAS,CAAC,UAAU,UAAQ;;IAOrB,WAAW;IAaX,UAAU;IAQjB,OAAO,CAAC,YAAY;IAUb,KAAK;IAWZ,OAAO,CAAC,YAAY;IAcpB,SAAS,CAAC,cAAc,IAAI,IAAI;IAkBhC,OAAO,CAAC,YAAY;IAiBb,sBAAsB,CAAC,IAAI,EAAE,MAAM;IAInC,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAI7B,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,IAAI;IAI7C,MAAM,IAAI,OAAO;IAIjB,mBAAmB;IAOnB,cAAc,IAAI,IAAI;IAItB,aAAa,IAAI,IAAI;CAG/B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare class Container {
2
+ protected selector: string;
3
+ constructor(selector: string);
4
+ isExist(): boolean;
5
+ getStyles<T>(allowValue: string[]): T | {};
6
+ on(name: any, cb: (event: MouseEvent) => void): void;
7
+ getAttr<T>(allowValue: string[]): T | {};
8
+ getElement(): Element;
9
+ getSelector(): string;
10
+ private convertConfigs;
11
+ }
12
+ //# sourceMappingURL=container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/components/container.ts"],"names":[],"mappings":"AAIA,qBAAa,SAAS;IAElB,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC;gBAGf,QAAQ,EAAE,MAAM;IAKrB,OAAO,IAAI,OAAO;IAKlB,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;IAmB1C,EAAE,CAAC,IAAI,KAAA,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAI,IAAI;IAQvC,OAAO,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;IA0BxC,UAAU;IAIV,WAAW;IAKlB,OAAO,CAAC,cAAc;CAczB"}
@@ -0,0 +1,14 @@
1
+ import { Env } from '../configs/env';
2
+ export interface IDispatcherData {
3
+ message_source: string;
4
+ event: string;
5
+ }
6
+ export declare class Dispatcher {
7
+ protected messageSource: string;
8
+ protected env: Env;
9
+ constructor(messageSource: string);
10
+ restartDispatcher(): void;
11
+ on<T extends IDispatcherData>(name: any, cb: (data: T) => void): void;
12
+ setEnv(env: string, alias?: string): void;
13
+ }
14
+ //# sourceMappingURL=dispatcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../../src/components/dispatcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAc,MAAM,gBAAgB,CAAC;AAKjD,MAAM,WAAW,eAAe;IAAI,cAAc,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC;AAE1E,qBAAa,UAAU;IAGP,SAAS,CAAC,aAAa,EAAE,MAAM;IAF3C,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;gBAEG,aAAa,EAAE,MAAM;IAIpC,iBAAiB;IAYjB,EAAE,CAAC,CAAC,SAAS,eAAe,EAAE,IAAI,KAAA,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;IAezD,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;CAI5C"}
@@ -0,0 +1,17 @@
1
+ export type StylableElements = StylableElement[];
2
+ export interface StylableElement {
3
+ element: string;
4
+ states: string[];
5
+ styles: string[];
6
+ }
7
+ export interface StyleElement {
8
+ element: string;
9
+ state: string;
10
+ styles: {};
11
+ }
12
+ export declare class ElementStyle {
13
+ static check(stylableElements: StylableElements, element: string, states: string, styles: any): boolean;
14
+ static encode(element: string, states: string, styles: any): string;
15
+ static decode(data: string): StyleElement;
16
+ }
17
+ //# sourceMappingURL=element-style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element-style.d.ts","sourceRoot":"","sources":["../../src/components/element-style.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG,eAAe,EAAE,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAA;CACnB;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,EAAE,CAAA;CACb;AAED,qBAAa,YAAY;WAEP,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;WAsBtF,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;WAgBnD,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;CA0BnD"}
@@ -0,0 +1,15 @@
1
+ import { IFrameEvent } from './iframe-event';
2
+ export declare enum FLYPAY_EVENT {
3
+ AFTER_LOAD = "after_load",
4
+ UNAVAILABLE = "unavailable",
5
+ START_LOADING = "start_loading",
6
+ END_LOADING = "end_loading",
7
+ UPDATE = "update",
8
+ PAYMENT_SUCCESSFUL = "payment_successful",
9
+ PAYMENT_IN_REVIEW = "payment_in_review",
10
+ PAYMENT_ERROR = "payment_error"
11
+ }
12
+ export declare class FlypayIframeEvent extends IFrameEvent {
13
+ on<T>(eventName: string, widgetId: string, cb: (data: T) => void): void;
14
+ }
15
+ //# sourceMappingURL=flypay-iframe-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flypay-iframe-event.d.ts","sourceRoot":"","sources":["../../src/components/flypay-iframe-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,oBAAY,YAAY;IACpB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;CAClC;AAED,qBAAa,iBAAkB,SAAQ,WAAW;IACvC,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;CAc1E"}
@@ -6,5 +6,6 @@ export declare class FormInterceptor {
6
6
  isExist(): boolean;
7
7
  beforeSubmit(cb: () => void): void;
8
8
  continueSubmit(): void;
9
- private subscribe(subject, listener);
9
+ private subscribe;
10
10
  }
11
+ //# sourceMappingURL=form-interceptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-interceptor.d.ts","sourceRoot":"","sources":["../../src/components/form-interceptor.ts"],"names":[],"mappings":"AACA,qBAAa,eAAe;IAExB,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,WAAW,UAAS;gBAElB,QAAQ,EAAE,MAAM;IAIrB,UAAU,IAAI,eAAe;IAI7B,OAAO,IAAI,OAAO;IAIlB,YAAY,CAAE,EAAE,EAAE,MAAM,IAAI;IAU5B,cAAc;IAYrB,OAAO,CAAC,SAAS;CAOpB"}
@@ -0,0 +1,14 @@
1
+ export declare type SuccessCb = (data: any, status: number) => void;
2
+ export declare type ErrorCb = (err: any, status: number) => void;
3
+ export declare abstract class HttpCore {
4
+ private env;
5
+ constructor();
6
+ setEnv(env: string, alias?: string): void;
7
+ getEnv(): string;
8
+ protected getUrl(): string;
9
+ protected create(accessToken: string, data: any, cb: SuccessCb, errorCb: ErrorCb): void;
10
+ protected get(accessToken: string, cb: SuccessCb, errorCb: ErrorCb): void;
11
+ protected parser(text: any, status: number, cb: SuccessCb, errorCb: ErrorCb): void;
12
+ protected abstract getLink(): string;
13
+ }
14
+ //# sourceMappingURL=http-core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-core.d.ts","sourceRoot":"","sources":["../../src/components/http-core.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;AACpE,MAAM,CAAC,OAAO,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;AAEhE,8BAAsB,QAAQ;IAC1B,OAAO,CAAC,GAAG,CAAM;;IAMV,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAIlC,MAAM,IAAI,MAAM;IAIvB,SAAS,CAAC,MAAM;IAIhB,SAAS,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAchF,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE,MAAM,EAAG,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAcnE,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAa3E,SAAS,CAAC,QAAQ,CAAC,OAAO,IAAI,MAAM;CACvC"}
@@ -0,0 +1,72 @@
1
+ import type { PURPOSE } from "../widget";
2
+ import type { IEventError } from "../helper/event-error";
3
+ /**
4
+ * Contains basic information associated with the event.
5
+ *
6
+ * Including event (name), source of the message, purpose and a unique identifier
7
+ * for the event.
8
+ *
9
+ * @interface IEventData
10
+ *
11
+ * @param {string} event The name of the event.
12
+ * @param {string} message_source A system variable that identifies the event source.
13
+ * @param {string} purpose A system variable that states the purpose of the event.
14
+ * @param {string} [ref_id] Custom unique value that identifies result of processed operation.
15
+ */
16
+ export interface IEventData {
17
+ event: string;
18
+ message_source: string;
19
+ purpose: PURPOSE;
20
+ widget_id: string;
21
+ data?: any;
22
+ ref_id?: string;
23
+ error?: IEventError;
24
+ }
25
+ export declare const EVENT: {
26
+ readonly AFTER_LOAD: "afterLoad";
27
+ readonly SUBMIT: "submit";
28
+ readonly FINISH: "finish";
29
+ readonly VALIDATION_ERROR: "validationError";
30
+ readonly SYSTEM_ERROR: "systemError";
31
+ readonly ERROR: "error";
32
+ /** @deprecated */
33
+ readonly CHECKOUT_SUCCESS: "checkoutSuccess";
34
+ readonly CHECKOUT_READY: "checkoutReady";
35
+ readonly CHECKOUT_ERROR: "checkoutError";
36
+ readonly CHECKOUT_COMPLETED: "checkoutCompleted";
37
+ readonly CHECKOUT_POPUP_OPEN: "checkoutPopupOpen";
38
+ readonly CHECKOUT_POPUP_CLOSE: "checkoutPopupClose";
39
+ readonly RECOGNITION_TOKEN_REQUESTED: "recognitionTokenRequested";
40
+ readonly RECOGNITION_TOKEN_DROPPED: "recognitionTokenDropped";
41
+ readonly VALIDATION: "validation";
42
+ readonly SELECT: "select";
43
+ readonly UNSELECT: "unselect";
44
+ readonly NEXT: "next";
45
+ readonly PREV: "prev";
46
+ readonly META_CHANGE: "metaChange";
47
+ readonly RESIZE: "resize";
48
+ readonly CHARGE_AUTH_SUCCESS: "chargeAuthSuccess";
49
+ readonly CHARGE_AUTH_REJECT: "chargeAuthReject";
50
+ readonly CHARGE_AUTH_CANCELLED: "chargeAuthCancelled";
51
+ readonly ADDITIONAL_DATA_SUCCESS: "additionalDataCollectSuccess";
52
+ readonly ADDITIONAL_DATA_REJECT: "additionalDataCollectReject";
53
+ readonly CHARGE_AUTH: "chargeAuth";
54
+ readonly DISPATCH_SUCCESS: "dispatchSuccess";
55
+ readonly DISPATCH_ERROR: "dispatchError";
56
+ };
57
+ export type EventTypes = typeof EVENT[keyof typeof EVENT];
58
+ export interface Listener {
59
+ event: string;
60
+ listener: (event: any) => void;
61
+ widget_id: string;
62
+ }
63
+ export declare type Listeners = Listener[];
64
+ export declare class IFrameEvent {
65
+ protected listeners: Listeners;
66
+ constructor(subject: Window | null);
67
+ emit(data: IEventData): void;
68
+ on<T>(eventName: string, widgetId: string, cb: (data: T) => void): void;
69
+ clear(): void;
70
+ private subscribe;
71
+ }
72
+ //# sourceMappingURL=iframe-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iframe-event.d.ts","sourceRoot":"","sources":["../../src/components/iframe-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,KAAK;;;;;;;IAOd,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;CAwBZ,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAE1D,MAAM,WAAW,QAAQ;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,QAAQ,EAAE,CAAC;AAE3C,qBAAa,WAAW;IACpB,SAAS,CAAC,SAAS,EAAE,SAAS,CAAM;gBAExB,OAAO,EAAE,MAAM,GAAG,IAAI;IAiB3B,IAAI,CAAC,IAAI,EAAE,UAAU;IAOrB,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;IAehE,KAAK;IAIZ,OAAO,CAAC,SAAS;CAOpB"}
@@ -0,0 +1,20 @@
1
+ import { Container } from "./container";
2
+ export declare class IFrame {
3
+ protected container: Container;
4
+ constructor(container: Container);
5
+ load(link: string, options?: {
6
+ title?: string;
7
+ }, iframeClass?: string): void;
8
+ loadFromHtml(content: string, options?: {
9
+ title?: string;
10
+ }, iframeClass?: string): void;
11
+ remove(): void;
12
+ show(): void;
13
+ hide(saveSize?: boolean): void;
14
+ isExist(): boolean;
15
+ getElement(): HTMLIFrameElement;
16
+ setStyle(property: string, value: string): void;
17
+ setIframeHeight(iframeElement: HTMLIFrameElement, iFrameDocument: Document, selector: string): void;
18
+ private setStyles;
19
+ }
20
+ //# sourceMappingURL=iframe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iframe.d.ts","sourceRoot":"","sources":["../../src/components/iframe.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,qBAAa,MAAM;IAEf,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;gBAEnB,SAAS,EAAE,SAAS;IAIzB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAM,EAAE,WAAW,CAAC,EAAE,MAAM;IAevE,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAM,EAAE,WAAW,CAAC,EAAE,MAAM;IAuBlF,MAAM;IAQN,IAAI;IAQJ,IAAI,CAAC,QAAQ,GAAE,OAAe;IAU9B,OAAO,IAAI,OAAO;IAIlB,UAAU;IAOV,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAKxC,eAAe,CAAC,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM;IAInG,OAAO,CAAC,SAAS;CAOpB"}
@@ -0,0 +1,27 @@
1
+ import { IParams, ISRCParams, IWalletParams } from './param';
2
+ import { Env } from '../configs/env';
3
+ export declare const WIDGET_LINK = "/remote-action";
4
+ export declare const VAULT_DISPLAY_WIDGET_LINK = "/vault-display";
5
+ export declare const PAYMENT_SOURCE_LINK = "/payment-sources";
6
+ export declare const SECURE_3D = "/3ds/webhook";
7
+ export declare const FLYPAY_LINK = "/wallet/flypay";
8
+ export declare const FLYPAY_LOGO_LINK = "/images/coles-pay-logo.png";
9
+ export declare const VISA_SRC = "/secure-remote-commerce/visa";
10
+ export declare const MESSAGE_WIDGET_LINK = "/message-widget";
11
+ export declare const MASTERCARD_SRC = "/secure-remote-commerce/mastercard";
12
+ export declare class Link {
13
+ protected env: Env;
14
+ protected linkResource: string;
15
+ protected params: IParams;
16
+ protected widgetId: string;
17
+ constructor(linkResource: string);
18
+ getNetUrl(): string;
19
+ getUrl(): string;
20
+ setParams(params: IParams | IWalletParams | ISRCParams): void;
21
+ concatParams(params: IParams): void;
22
+ getParams(): IParams;
23
+ setEnv(env: string, alias?: string): void;
24
+ getEnv(): string;
25
+ getBaseUrl(): string;
26
+ }
27
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/components/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAc,MAAM,gBAAgB,CAAC;AAKjD,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,SAAS,iBAAiB,CAAC;AACxC,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAC7D,eAAO,MAAM,QAAQ,iCAAiC,CAAC;AACvD,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,eAAO,MAAM,cAAc,uCAAuC,CAAC;AAEnE,qBAAa,IAAI;IAEb,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;IACnB,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,OAAO,CAAM;IAC/B,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAmB;gBAGjC,YAAY,EAAE,MAAM;IAMzB,SAAS;IAIT,MAAM,IAAI,MAAM;IAWhB,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU;IAItD,YAAY,CAAC,MAAM,EAAE,OAAO;IAe5B,SAAS,IAAI,OAAO;IAIpB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAIlC,MAAM,IAAI,MAAM;IAIhB,UAAU,IAAI,MAAM;CAG9B"}
@@ -0,0 +1,5 @@
1
+ export declare const TEMPLATE = "\n <div class=\"cs-loader\">\n <div class=\"cs-loader-inner\">\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n <label>\t\u25CF</label>\n </div>\n </div>\n";
2
+ export declare const STYLE = "\n <style> \n .cs-loader {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n }\n \n .cs-loader-inner {\n transform: translateY(-50%);\n top: 50%;\n position: absolute;\n width: calc(100% - 200px);\n color: #8e8d8c;\n padding: 0 100px;\n text-align: center;\n }\n \n \n .cs-loader-inner label {\n font-size: 20px;\n opacity: 0;\n display:inline-block;\n }\n \n @keyframes lol {\n 0% {\n opacity: 0;\n transform: translateX(-300px);\n }\n 33% {\n opacity: 1;\n transform: translateX(0px);\n }\n 66% {\n opacity: 1;\n transform: translateX(0px);\n }\n 100% {\n opacity: 0;\n transform: translateX(300px);\n }\n }\n \n @-webkit-keyframes lol {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(-300px);\n }\n 33% {\n opacity: 1;\n -webkit-transform: translateX(0px);\n }\n 66% {\n opacity: 1;\n -webkit-transform: translateX(0px);\n }\n 100% {\n opacity: 0;\n -webkit-transform: translateX(300px);\n -moz-transform: translateX(300px);\n }\n }\n \n .cs-loader-inner label:nth-child(6) {\n -webkit-animation: lol 3s infinite ease-in-out;\n -moz-animation: lol 3s infinite ease-in-out;\n animation: lol 3s infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(5) {\n -webkit-animation: lol 3s 100ms infinite ease-in-out;\n -moz-animation: lol 3s 100ms infinite ease-in-out;\n animation: lol 3s 100ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(4) {\n -webkit-animation: lol 3s 200ms infinite ease-in-out;\n -moz-animation: lol 3s 200ms infinite ease-in-out;\n animation: lol 3s 200ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(3) {\n -webkit-animation: lol 3s 300ms infinite ease-in-out;\n -moz-animation: lol 3s 300ms infinite ease-in-out;\n animation: lol 3s 300ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(2) {\n -webkit-animation: lol 3s 400ms infinite ease-in-out;\n -moz-animation: lol 3s 400ms infinite ease-in-out;\n animation: lol 3s 400ms infinite ease-in-out;\n }\n \n .cs-loader-inner label:nth-child(1) {\n -webkit-animation: lol 3s 500ms infinite ease-in-out;\n -moz-animation: lol 3s 500ms infinite ease-in-out;\n animation: lol 3s 500ms infinite ease-in-out;\n }\n </style>\n";
3
+ export declare const EXTRA_TEMPLATE = "\n <div class=\"circ\">\n <div class=\"load\">A little patience ...</div>\n <div class=\"hands\"></div>\n <div class=\"body\"></div>\n <div class=\"head\">\n <div class=\"eye\"></div>\n </div>\n </div>\n";
4
+ export declare const EXTRA_STYLE = "\n <style>\n html{width: 100%;height: 100%;}\n body{margin: 0px;padding: 0px;background-color: #111;}\n \n .eye{\n width: 20px; height: 8px;\n background-color: #eee;\n border-radius:0px 0px 20px 20px;\n position: relative;\n top: 40px;\n left: 10px;\n box-shadow: 40px 0px 0px 0px #eee; \n }\n \n .head{\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden; \n position: relative;\n margin: -250px auto;\n width: 80px; height: 80px;\n background-color: #111;\n border-radius:50px;\n box-shadow: inset -4px 2px 0px 0px #eee;\n -webkit-animation:node 1.5s infinite alternate;\n -webkit-animation-timing-function:ease-out;\n -moz-animation:node 1.5s infinite alternate;\n -moz-animation-timing-function:ease-out;\n animation:node 1.5s infinite alternate;\n animation-timing-function:ease-out;\n }\n .body{ \n position: relative;\n margin: 90px auto;\n width: 140px; height: 120px;\n background-color: #111;\n border-radius: 50px/25px ;\n box-shadow: inset -5px 2px 0px 0px #eee;\n -webkit-animation:node2 1.5s infinite alternate;\n -webkit-animation-timing-function:ease-out; \n -moz-animation:node2 1.5s infinite alternate;\n -moz-animation-timing-function:ease-out; \n animation:node2 1.5s infinite alternate;\n animation-timing-function:ease-out; \n }\n \n @keyframes node {0%{ top:0px; }50%{ top:10px; }100% { top:0px;} }\n @keyframes node2 {0%{ top:-5px; }50%{ top:10px; }100% { top:-5px;}}\n @-moz-keyframes node {0%{ top:0px; }50%{ top:10px; }100% { top:0px;} }\n @-moz-keyframes node2 {0%{ top:-5px; }50%{ top:10px; }100% { top:-5px;}}\n @-webkit-keyframes node {0%{ top:0px; }50%{ top:10px; }100% { top:0px;} }\n @-webkit-keyframes node2 {0%{ top:-5px; }50%{ top:10px; }100% { top:-5px;}}\n \n \n .circ{\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n margin: 60px auto;\n width: 180px; height: 180px;\n background-color: #111;\n border-radius: 0px 0px 50px 50px;\n position: relative;\n z-index: -1; \n left: 0%;\n top: 20%;\n overflow: hidden;\n }\n \n .hands{\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n margin-top: 140px;\n width: 120px;height: 120px;\n position: absolute;\n background-color: #111;\n border-radius:20px;\n box-shadow:-1px -4px 0px 0px #eee;\n transform:rotate(45deg);\n -webkit-transform:rotate(45deg);\n -mox-transform:rotate(45deg);\n top:75%;left: 16%;\n z-index: 1;\n -webkit-animation:node2 1.5s infinite alternate;\n -webkit-animation-timing-function:ease-out;\n -moz-animation:node2 1.5s infinite alternate;\n -moz-animation-timing-function:ease-out;\n animation:node2 1.5s infinite alternate;\n animation-timing-function:ease-out;\n }\n \n .load{ position: absolute;\n width: 100px; height: 20px;\n margin: -10px auto;\n -webkit-font-smoothing: antialiased;\n -moz-font-smoothing: antialiased;\n font-smoothing: antialiased;\n font-family: 'Julius Sans One', sans-serif;\n font-size:30px;\n font-weight:400;\n color:#eee;\n left: 10%;\n top: 5%;\n }\n </style>\n";
5
+ //# sourceMappingURL=loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../src/components/loader.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,6SAWpB,CAAC;AAGF,eAAO,MAAM,KAAK,g/FAsGjB,CAAC;AAEF,eAAO,MAAM,cAAc,sPAS1B,CAAC;AAEF,eAAO,MAAM,WAAW,o6HA2GvB,CAAC"}