@paykka/card-checkout-ui 0.8.0 → 0.11.2

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 (308) hide show
  1. package/dist/card-checkout-ui.js +21 -14
  2. package/dist/card-checkout-ui.umd.cjs +21 -14
  3. package/dist/es/_commonjsHelpers.js +1 -0
  4. package/dist/es/api/http.js +19 -21
  5. package/dist/es/api/index.js +1 -1
  6. package/dist/es/api/modules/ali-pay/index.js +19 -11
  7. package/dist/es/api/modules/apple-pay/index.js +10 -26
  8. package/dist/es/api/modules/boost/index.js +56 -0
  9. package/dist/es/api/modules/card/index.js +17 -11
  10. package/dist/es/api/modules/checkout/index.js +6 -6
  11. package/dist/es/api/modules/checkout/map.js +23 -6
  12. package/dist/es/api/modules/gcash/index.js +56 -0
  13. package/dist/es/api/modules/get-browser-params.js +2 -2
  14. package/dist/es/api/modules/google-pay/index.js +10 -26
  15. package/dist/es/api/modules/grab-pay/index.js +56 -0
  16. package/dist/es/api/modules/index.js +1 -1
  17. package/dist/es/api/modules/line-pay/index.js +56 -0
  18. package/dist/es/api/modules/may-bank-qr-pay/index.js +56 -0
  19. package/dist/es/api/modules/nine-pay/index.js +56 -0
  20. package/dist/es/api/modules/paymaya/index.js +56 -0
  21. package/dist/es/api/modules/risk/index.js +13 -0
  22. package/dist/es/api/modules/sepa/index.js +19 -11
  23. package/dist/es/api/modules/shopee-pay/index.js +56 -0
  24. package/dist/es/api/modules/threeDS/index.js +1 -0
  25. package/dist/es/api/modules/tng-wallet/index.js +56 -0
  26. package/dist/es/api/modules/wechat-pay/index.js +18 -31
  27. package/dist/es/components/AccordionItem/AccordionItem.js +37 -0
  28. package/dist/es/components/AccountNameField/index.js +1 -0
  29. package/dist/es/components/AddressField/index.js +1 -0
  30. package/dist/es/components/AliPay/index.js +28 -40
  31. package/dist/es/components/ApplePay/index.js +18 -39
  32. package/dist/es/components/Boost/index.js +324 -0
  33. package/dist/es/components/Card/index.js +80 -48
  34. package/dist/es/components/CardBrands/index.js +3 -2
  35. package/dist/es/components/CardExpireDateField/index.js +1 -0
  36. package/dist/es/components/CardHolderNameField/index.js +1 -0
  37. package/dist/es/components/CardIBANField/index.js +1 -0
  38. package/dist/es/components/CardNo/index.js +1 -0
  39. package/dist/es/components/CardNumberField/index.js +124 -106
  40. package/dist/es/components/CardSecurityCodeField/index.js +1 -0
  41. package/dist/es/components/CardSelector/index.js +1 -0
  42. package/dist/es/components/CombinedCardInfo/index.js +4 -0
  43. package/dist/es/components/DropIn/index.js +206 -50
  44. package/dist/es/components/EmailField/EmailField.js +14 -15
  45. package/dist/es/components/EncryptedCard/index.js +1 -0
  46. package/dist/es/components/GooglePay/index.js +7 -6
  47. package/dist/es/components/GrabPay/index.js +324 -0
  48. package/dist/es/components/GuideCard/index.js +44 -0
  49. package/dist/es/components/LinePay/index.js +324 -0
  50. package/dist/es/components/MayBankQRPay/index.js +324 -0
  51. package/dist/es/components/NinePay/index.js +324 -0
  52. package/dist/es/components/RecurringTip/index.js +1 -0
  53. package/dist/es/components/SecuredFieldsProvider/index.js +2 -1
  54. package/dist/es/components/SecuredIframe/index.js +57 -4
  55. package/dist/es/components/Sepa/index.js +7 -10
  56. package/dist/es/components/ShopeePay/index.js +324 -0
  57. package/dist/es/components/SubmitButton/index.js +7 -20
  58. package/dist/es/components/TNGWallet/index.js +324 -0
  59. package/dist/es/components/ThreeDS/index.js +1 -0
  60. package/dist/es/components/WechatPay/index.js +30 -49
  61. package/dist/es/components/business/QRCodeModal/QRCodeModal.js +42 -0
  62. package/dist/es/components/business/QRCodeModal/index.js +7 -0
  63. package/dist/es/components/business/QRCodeModal/qr-code-modal.js +1 -0
  64. package/dist/es/components/business/QRCodeModal/type.js +1 -0
  65. package/dist/es/components/business/index.js +7 -0
  66. package/dist/es/components/index.js +10 -0
  67. package/dist/es/components/internal/Accordion/Accordion.js +14 -0
  68. package/dist/es/components/internal/Accordion/accordion2.js +1 -0
  69. package/dist/es/components/internal/Accordion/accordionTransition.js +26 -0
  70. package/dist/es/components/internal/Accordion/index.js +8 -0
  71. package/dist/es/components/internal/Accordion/type.js +10 -0
  72. package/dist/es/components/internal/Button/Button.js +1 -0
  73. package/dist/es/components/internal/Button/index.js +1 -0
  74. package/dist/es/components/internal/CheckBox/CheckBox.js +1 -0
  75. package/dist/es/components/internal/CheckBox/index.js +1 -0
  76. package/dist/es/components/internal/Form/type.js +1 -0
  77. package/dist/es/components/internal/Info/Info.js +1 -0
  78. package/dist/es/components/internal/Info/index.js +1 -0
  79. package/dist/es/components/internal/Input/type.js +1 -0
  80. package/dist/es/components/internal/LoadingCheck/LoadingCheck.js +1 -0
  81. package/dist/es/components/internal/LoadingCheck/index.js +1 -0
  82. package/dist/es/components/internal/Modal/Modal.js +18 -3
  83. package/dist/es/components/internal/Modal/index.js +1 -0
  84. package/dist/es/components/internal/Modal/type.js +1 -0
  85. package/dist/es/components/internal/QRCode/QRCode.js +32 -0
  86. package/dist/es/components/internal/QRCode/index.js +5 -0
  87. package/dist/es/components/internal/QRCode/type.js +1 -0
  88. package/dist/es/components/internal/Select/Select.js +11 -9
  89. package/dist/es/components/internal/Select/SelectMenu.js +1 -0
  90. package/dist/es/components/internal/Select/SelectMenuItem.js +1 -0
  91. package/dist/es/components/internal/icons/IconBoost.js +63 -0
  92. package/dist/es/components/internal/icons/IconCard.js +1 -40
  93. package/dist/es/components/internal/icons/IconCard2.js +60 -0
  94. package/dist/es/components/internal/icons/IconGCash.js +196 -0
  95. package/dist/es/components/internal/icons/IconGcashComplete.js +184 -0
  96. package/dist/es/components/internal/icons/IconGrabPay.js +59 -0
  97. package/dist/es/components/internal/icons/IconLinePay.js +99 -0
  98. package/dist/es/components/internal/icons/IconMayBankQRPay.js +69 -0
  99. package/dist/es/components/internal/icons/IconNinePay.js +255 -0
  100. package/dist/es/components/internal/icons/IconPaymaya.js +114 -0
  101. package/dist/es/components/internal/icons/IconRedirect.js +58 -0
  102. package/dist/es/components/internal/icons/IconScan.js +102 -0
  103. package/dist/es/components/internal/icons/IconShopeePay.js +108 -0
  104. package/dist/es/components/internal/icons/IconTNGWallet.js +119 -0
  105. package/dist/es/components/internal/icons/IconUnionPay.js +65 -0
  106. package/dist/es/components/wallets/GCash/GCash.js +368 -0
  107. package/dist/es/components/wallets/GCash/g-cash.js +1 -0
  108. package/dist/es/components/wallets/GCash/index.js +1 -0
  109. package/dist/es/components/wallets/GCash/type.js +1 -0
  110. package/dist/es/components/wallets/Paymaya/Paymaya.js +325 -0
  111. package/dist/es/components/wallets/Paymaya/index.js +1 -0
  112. package/dist/es/components/wallets/Paymaya/paymaya2.js +1 -0
  113. package/dist/es/components/wallets/Paymaya/type.js +1 -0
  114. package/dist/es/config.js +12 -12
  115. package/dist/es/constant.js +84 -4
  116. package/dist/es/core/PayKKaCheckout.js +35 -5
  117. package/dist/es/core/Session.js +24 -23
  118. package/dist/es/core/error.js +7 -0
  119. package/dist/es/core/index.js +1 -0
  120. package/dist/es/core/query.js +3 -3
  121. package/dist/es/core.js +2082 -70
  122. package/dist/es/hooks/index.js +1 -0
  123. package/dist/es/hooks/useI18n.js +1 -0
  124. package/dist/es/hooks/usePayState.js +7 -5
  125. package/dist/es/i18n/I18n.js +8 -2
  126. package/dist/es/i18n/locales/de-DE.js +16 -1
  127. package/dist/es/i18n/locales/en-GB.js +16 -1
  128. package/dist/es/i18n/locales/es-ES.js +16 -1
  129. package/dist/es/i18n/locales/fr-FR.js +16 -1
  130. package/dist/es/i18n/locales/index.js +2 -1
  131. package/dist/es/i18n/locales/ja-JP.js +16 -1
  132. package/dist/es/i18n/locales/ko-KR.js +16 -1
  133. package/dist/es/i18n/locales/nl-NL.js +88 -0
  134. package/dist/es/i18n/locales/pt-PT.js +16 -1
  135. package/dist/es/i18n/locales/ru-RU.js +16 -1
  136. package/dist/es/i18n/locales/zh-CN.js +16 -1
  137. package/dist/es/i18n/locales/zh-HK.js +16 -1
  138. package/dist/es/i18n/locales/zh-TW.js +16 -1
  139. package/dist/es/i18n/util.js +12 -3
  140. package/dist/es/index.js +22 -0
  141. package/dist/es/out/fraud-detection.js +39 -13
  142. package/dist/es/out/worldpay-ddc.js +143 -0
  143. package/dist/es/style.css +1 -1192
  144. package/dist/es/types/event.js +15 -0
  145. package/dist/es/types/fraud-detection.js +1 -0
  146. package/dist/es/types/index.js +1 -0
  147. package/dist/es/types/message.js +3 -0
  148. package/dist/es/utils/array.js +9 -0
  149. package/dist/es/utils/card-brand/brands.js +11 -1
  150. package/dist/es/utils/card-brand/index.js +4 -3
  151. package/dist/es/utils/card-brand/luhn.js +25 -0
  152. package/dist/es/utils/date.js +25 -0
  153. package/dist/es/utils/detect.js +6 -0
  154. package/dist/es/utils/format.js +28 -12
  155. package/dist/es/utils/iframe.js +1 -1
  156. package/dist/es/utils/index.js +9 -1
  157. package/dist/es/utils/location.js +37 -0
  158. package/dist/es/utils/object.js +14 -0
  159. package/dist/es/utils/redirect.js +32 -0
  160. package/dist/es/utils/reg-exp.js +4 -0
  161. package/dist/es/utils/system-info/get-browser-info.js +4 -4
  162. package/dist/es/utils/system-info/get-system-info.js +11 -7
  163. package/dist/es/utils/system-info/index.js +4 -4
  164. package/dist/style.css +1 -1
  165. package/dist/types/api/http.d.ts +4 -10
  166. package/dist/types/api/modules/ali-pay/index.d.ts +2 -1
  167. package/dist/types/api/modules/apple-pay/index.d.ts +2 -1
  168. package/dist/types/api/modules/boost/index.d.ts +24 -0
  169. package/dist/types/api/modules/card/index.d.ts +1 -1
  170. package/dist/types/api/modules/checkout/index.d.ts +2 -2
  171. package/dist/types/api/modules/checkout/type.d.ts +9 -0
  172. package/dist/types/api/modules/gcash/index.d.ts +24 -0
  173. package/dist/types/api/modules/get-browser-params.d.ts +2 -2
  174. package/dist/types/api/modules/google-pay/index.d.ts +2 -1
  175. package/dist/types/api/modules/grab-pay/index.d.ts +24 -0
  176. package/dist/types/api/modules/index.d.ts +11 -0
  177. package/dist/types/api/modules/line-pay/index.d.ts +24 -0
  178. package/dist/types/api/modules/may-bank-qr-pay/index.d.ts +24 -0
  179. package/dist/types/api/modules/nine-pay/index.d.ts +24 -0
  180. package/dist/types/api/modules/paymaya/index.d.ts +24 -0
  181. package/dist/types/api/modules/risk/index.d.ts +8 -0
  182. package/dist/types/api/modules/sepa/index.d.ts +2 -1
  183. package/dist/types/api/modules/shopee-pay/index.d.ts +24 -0
  184. package/dist/types/api/modules/threeDS/index.d.ts +3 -0
  185. package/dist/types/api/modules/tng-wallet/index.d.ts +24 -0
  186. package/dist/types/api/modules/wechat-pay/index.d.ts +2 -1
  187. package/dist/types/components/Boost/Boost.d.ts +7 -0
  188. package/dist/types/components/Boost/index.d.ts +2 -0
  189. package/dist/types/components/Boost/type.d.ts +61 -0
  190. package/dist/types/components/CardNumberField/type.d.ts +7 -1
  191. package/dist/types/components/CombinedCardInfo/type.d.ts +1 -0
  192. package/dist/types/components/DropIn/components/PaymentTabs/type.d.ts +1 -1
  193. package/dist/types/components/DropIn/config.d.ts +7 -0
  194. package/dist/types/components/DropIn/type.d.ts +11 -3
  195. package/dist/types/components/GrabPay/GrabPay.d.ts +7 -0
  196. package/dist/types/components/GrabPay/index.d.ts +2 -0
  197. package/dist/types/components/GrabPay/type.d.ts +61 -0
  198. package/dist/types/components/GuideCard/GuideCard.d.ts +3 -0
  199. package/dist/types/components/GuideCard/index.d.ts +2 -0
  200. package/dist/types/components/GuideCard/type.d.ts +4 -0
  201. package/dist/types/components/LinePay/LinePay.d.ts +7 -0
  202. package/dist/types/components/LinePay/index.d.ts +2 -0
  203. package/dist/types/components/LinePay/type.d.ts +61 -0
  204. package/dist/types/components/MayBankQRPay/MayBankQRPay.d.ts +6 -0
  205. package/dist/types/components/MayBankQRPay/index.d.ts +2 -0
  206. package/dist/types/components/MayBankQRPay/type.d.ts +61 -0
  207. package/dist/types/components/NinePay/NinePay.d.ts +6 -0
  208. package/dist/types/components/NinePay/index.d.ts +2 -0
  209. package/dist/types/components/NinePay/type.d.ts +61 -0
  210. package/dist/types/components/SecuredFieldsProvider/type.d.ts +1 -1
  211. package/dist/types/components/SecuredIframe/useSecuredInput.d.ts +1 -1
  212. package/dist/types/components/ShopeePay/ShopeePay.d.ts +7 -0
  213. package/dist/types/components/ShopeePay/index.d.ts +2 -0
  214. package/dist/types/components/ShopeePay/type.d.ts +61 -0
  215. package/dist/types/components/SubmitButton/SubmitButton.d.ts +1 -1
  216. package/dist/types/components/TNGWallet/TNGWallet.d.ts +7 -0
  217. package/dist/types/components/TNGWallet/index.d.ts +2 -0
  218. package/dist/types/components/TNGWallet/type.d.ts +61 -0
  219. package/dist/types/components/ThreeDS/components/ThreeDSIframe/ThreeDSIframe.d.ts +1 -0
  220. package/dist/types/components/ThreeDS/components/ThreeDSIframe/output.d.ts +1 -1
  221. package/dist/types/components/ThreeDS/components/ThreeDSIframe/type.d.ts +13 -3
  222. package/dist/types/components/business/QRCodeModal/QRCodeModal.d.ts +3 -0
  223. package/dist/types/components/business/QRCodeModal/index.d.ts +2 -0
  224. package/dist/types/components/business/QRCodeModal/type.d.ts +18 -0
  225. package/dist/types/components/business/index.d.ts +1 -0
  226. package/dist/types/components/index.d.ts +9 -0
  227. package/dist/types/components/internal/Accordion/Accordion.d.ts +3 -0
  228. package/dist/types/components/internal/Accordion/accordionTransition.d.ts +8 -0
  229. package/dist/types/components/internal/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
  230. package/dist/types/components/internal/Accordion/components/AccordionItem/index.d.ts +2 -0
  231. package/dist/types/components/internal/Accordion/components/AccordionItem/type.d.ts +18 -0
  232. package/dist/types/components/internal/Accordion/index.d.ts +3 -0
  233. package/dist/types/components/internal/Accordion/type.d.ts +18 -0
  234. package/dist/types/components/internal/Modal/type.d.ts +2 -0
  235. package/dist/types/components/internal/QRCode/QRCode.d.ts +2 -0
  236. package/dist/types/components/internal/QRCode/index.d.ts +2 -0
  237. package/dist/types/components/internal/QRCode/type.d.ts +9 -0
  238. package/dist/types/components/internal/Select/Select.d.ts +1 -17
  239. package/dist/types/components/internal/Select/type.d.ts +26 -1
  240. package/dist/types/components/internal/icons/IconBoost.d.ts +2 -0
  241. package/dist/types/components/internal/icons/IconCard2.d.ts +2 -0
  242. package/dist/types/components/internal/icons/IconGCash.d.ts +2 -0
  243. package/dist/types/components/internal/icons/IconGcashComplete.d.ts +2 -0
  244. package/dist/types/components/internal/icons/IconGrabPay.d.ts +2 -0
  245. package/dist/types/components/internal/icons/IconLinePay.d.ts +2 -0
  246. package/dist/types/components/internal/icons/IconMayBankQRPay.d.ts +2 -0
  247. package/dist/types/components/internal/icons/IconNinePay.d.ts +2 -0
  248. package/dist/types/components/internal/icons/IconPaymaya.d.ts +2 -0
  249. package/dist/types/components/internal/icons/IconRedirect.d.ts +2 -0
  250. package/dist/types/components/internal/icons/IconScan.d.ts +2 -0
  251. package/dist/types/components/internal/icons/IconShopeePay.d.ts +2 -0
  252. package/dist/types/components/internal/icons/IconTNGWallet.d.ts +2 -0
  253. package/dist/types/components/internal/icons/IconUnionPay.d.ts +2 -0
  254. package/dist/types/components/internal/icons/index.d.ts +13 -0
  255. package/dist/types/components/wallets/GCash/GCash.d.ts +6 -0
  256. package/dist/types/components/wallets/GCash/index.d.ts +2 -0
  257. package/dist/types/components/wallets/GCash/type.d.ts +71 -0
  258. package/dist/types/components/wallets/Paymaya/Paymaya.d.ts +6 -0
  259. package/dist/types/components/wallets/Paymaya/index.d.ts +2 -0
  260. package/dist/types/components/wallets/Paymaya/type.d.ts +61 -0
  261. package/dist/types/config.d.ts +9 -9
  262. package/dist/types/constant.d.ts +28 -3
  263. package/dist/types/core/PayKKaCheckout.d.ts +10 -0
  264. package/dist/types/core/Session.d.ts +2 -0
  265. package/dist/types/core/error.d.ts +15 -2
  266. package/dist/types/core/query.d.ts +2 -2
  267. package/dist/types/hooks/usePayState.d.ts +5 -5
  268. package/dist/types/i18n/I18n.d.ts +1 -1
  269. package/dist/types/i18n/locales/de-DE.d.ts +13 -0
  270. package/dist/types/i18n/locales/en-GB.d.ts +13 -0
  271. package/dist/types/i18n/locales/es-ES.d.ts +13 -0
  272. package/dist/types/i18n/locales/fr-FR.d.ts +13 -0
  273. package/dist/types/i18n/locales/index.d.ts +2 -0
  274. package/dist/types/i18n/locales/ja-JP.d.ts +13 -0
  275. package/dist/types/i18n/locales/ko-KR.d.ts +13 -0
  276. package/dist/types/i18n/locales/nl-NL.d.ts +71 -0
  277. package/dist/types/i18n/locales/pt-PT.d.ts +13 -0
  278. package/dist/types/i18n/locales/ru-RU.d.ts +13 -0
  279. package/dist/types/i18n/locales/zh-CN.d.ts +13 -0
  280. package/dist/types/i18n/locales/zh-HK.d.ts +13 -0
  281. package/dist/types/i18n/locales/zh-TW.d.ts +13 -0
  282. package/dist/types/i18n/util.d.ts +5 -0
  283. package/dist/types/index.d.ts +2 -1
  284. package/dist/types/out/fraud-detection.d.ts +5 -1
  285. package/dist/types/out/types.d.ts +4 -0
  286. package/dist/types/out/worldpay-ddc-iframe.d.ts +1 -0
  287. package/dist/types/out/worldpay-ddc.d.ts +37 -0
  288. package/dist/types/types/event.d.ts +26 -0
  289. package/dist/types/types/fraud-detection.d.ts +3 -1
  290. package/dist/types/types/index.d.ts +23 -4
  291. package/dist/types/types/message.d.ts +22 -2
  292. package/dist/types/utils/array.d.ts +1 -0
  293. package/dist/types/utils/card-brand/brands.d.ts +4 -3
  294. package/dist/types/utils/card-brand/index.d.ts +9 -6
  295. package/dist/types/utils/card-brand/luhn.d.ts +9 -0
  296. package/dist/types/utils/date.d.ts +9 -0
  297. package/dist/types/utils/detect.d.ts +1 -0
  298. package/dist/types/utils/format.d.ts +7 -1
  299. package/dist/types/utils/iframe.d.ts +1 -1
  300. package/dist/types/utils/index.d.ts +8 -0
  301. package/dist/types/utils/location.d.ts +7 -0
  302. package/dist/types/utils/object.d.ts +1 -0
  303. package/dist/types/utils/redirect.d.ts +5 -0
  304. package/dist/types/utils/reg-exp.d.ts +1 -0
  305. package/dist/types/utils/system-info/get-browser-info.d.ts +1 -1
  306. package/dist/types/utils/system-info/get-system-info.d.ts +3 -2
  307. package/dist/types/utils/system-info/index.d.ts +3 -3
  308. package/package.json +6 -2
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const gcashPay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getGcashPayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -1,6 +1,6 @@
1
- export declare function getBrowserParams(params?: {
1
+ export declare const getBrowserParams: (params?: {
2
2
  fraudDetectionId?: string;
3
- }): Promise<{
3
+ }) => Promise<{
4
4
  user_agent: string;
5
5
  color_depth: number;
6
6
  language: string;
@@ -1,3 +1,4 @@
1
+ import type { PayKKaCheckout } from '../../../core';
1
2
  import { type RequestOptions } from '../../http';
2
3
  import type { PayBill } from '../type';
3
4
  export declare function googlePay({ sessionId, clientKey, token, bill, browser }: {
@@ -6,7 +7,7 @@ export declare function googlePay({ sessionId, clientKey, token, bill, browser }
6
7
  token: string;
7
8
  bill: PayBill;
8
9
  browser: Recordable;
9
- }, options?: RequestOptions): Promise<import("../type").PayRes>;
10
+ }, core: PayKKaCheckout, options?: RequestOptions): Promise<import("../type").PayRes>;
10
11
  export declare function getGooglePayInfo({ sessionId, clientKey }: {
11
12
  sessionId: string;
12
13
  clientKey?: string;
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const grabPay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getGrabPayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -5,6 +5,17 @@ export * from './wechat-pay';
5
5
  export * from './apple-pay';
6
6
  export * from './google-pay';
7
7
  export * from './sepa';
8
+ export * from './boost';
9
+ export * from './line-pay';
10
+ export * from './may-bank-qr-pay';
11
+ export * from './nine-pay';
12
+ export * from './grab-pay';
13
+ export * from './tng-wallet';
14
+ export * from './shopee-pay';
15
+ export * from './gcash';
16
+ export * from './paymaya';
8
17
  export * from './map';
9
18
  export * from './type';
10
19
  export * from './get-browser-params';
20
+ export * from './threeDS';
21
+ export * from './risk';
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const linePay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getLinePayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const mayBankQRPay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getMayBankQRPayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const ninePay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getNinePayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const paymayaPay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getPaymayaPayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -0,0 +1,8 @@
1
+ import { type RequestOptions } from '../../http';
2
+ export declare const getRiskAuthorization: (params: {
3
+ channel: string;
4
+ }, options?: RequestOptions) => Promise<{
5
+ authCode: any;
6
+ channel: any;
7
+ expireTime: any;
8
+ }>;
@@ -1,3 +1,4 @@
1
+ import type { PayKKaCheckout } from '../../../core';
1
2
  import { type RequestOptions } from '../../http';
2
3
  export declare function sepaPay({ sessionId, clientKey, payment, bill, browser }: {
3
4
  sessionId: string;
@@ -17,7 +18,7 @@ export declare function sepaPay({ sessionId, clientKey, payment, bill, browser }
17
18
  address2?: string | null;
18
19
  };
19
20
  browser: Recordable;
20
- }, options?: RequestOptions): Promise<import("..").PayRes>;
21
+ }, core: PayKKaCheckout, options?: RequestOptions): Promise<import("..").PayRes>;
21
22
  export declare function getSepaPayInfo({ sessionId, clientKey }: {
22
23
  sessionId: string;
23
24
  clientKey?: string;
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const shopeePay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getShopeePayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -0,0 +1,3 @@
1
+ import { type RequestOptions } from '../../http';
2
+ /** 通知后端服务商 3ds 页面已加载 */
3
+ export declare const noticeThreeDSLoaded: (sessionId: string, options?: RequestOptions) => Promise<any>;
@@ -0,0 +1,24 @@
1
+ import type { PayKKaCheckout } from '../../../core';
2
+ import { type RequestOptions } from '../../http';
3
+ export declare const tngWalletPay: ({ sessionId, clientKey, payment, bill, browser }: {
4
+ sessionId: string;
5
+ clientKey?: string;
6
+ payment: {
7
+ paymentMethod: string;
8
+ };
9
+ bill: {
10
+ email: string;
11
+ country?: string | null;
12
+ province?: string | null;
13
+ city?: string | null;
14
+ area?: string | null;
15
+ postCode?: string | null;
16
+ address1?: string | null;
17
+ address2?: string | null;
18
+ };
19
+ browser: Recordable;
20
+ }, core: PayKKaCheckout, options?: RequestOptions) => Promise<import("..").PayRes>;
21
+ export declare const getTNGWalletPayInfo: ({ sessionId, clientKey }: {
22
+ sessionId: string;
23
+ clientKey?: string;
24
+ }, options?: RequestOptions) => Promise<import("..").PayRes>;
@@ -1,3 +1,4 @@
1
+ import type { PayKKaCheckout } from '../../../core';
1
2
  import { type RequestOptions } from '../../http';
2
3
  export declare function wechatPay({ sessionId, clientKey, bill, channelUserId }: {
3
4
  sessionId: string;
@@ -13,7 +14,7 @@ export declare function wechatPay({ sessionId, clientKey, bill, channelUserId }:
13
14
  address2?: string | null;
14
15
  };
15
16
  channelUserId?: string;
16
- }, options?: RequestOptions): Promise<import("..").PayRes>;
17
+ }, core: PayKKaCheckout, options?: RequestOptions): Promise<import("..").PayRes>;
17
18
  export declare function getWechatPayInfo({ sessionId, clientKey }: {
18
19
  sessionId: string;
19
20
  clientKey?: string;
@@ -0,0 +1,7 @@
1
+ import type { BoostProps } from './type';
2
+ import type { BoostRef } from './type';
3
+ import type { CoreProps } from '../../types';
4
+ import './boost.scss';
5
+ export declare const Boost: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<BoostProps & CoreProps> & {
6
+ ref?: import("preact").Ref<BoostRef> | undefined;
7
+ }>;
@@ -0,0 +1,2 @@
1
+ export * from './Boost';
2
+ export * from './type';
@@ -0,0 +1,61 @@
1
+ import type { PayKKaError } from '../../core';
2
+ import type { PayRes } from '../../api';
3
+ import type { FormValidateError } from '../internal/Form';
4
+ export interface BoostProps {
5
+ /**
6
+ * 是否展示邮箱
7
+ * 若配置 true 但创建收银台时已经传了,就展示禁用状态。
8
+ * 若配置 false 但创建收银台时未传,依旧会展示该输入框。
9
+ */
10
+ showEmail?: boolean;
11
+ /**
12
+ * 是否展示邮箱
13
+ * 若配置 true 但创建收银台时已经传了,还是展示,先不禁用。
14
+ * 若配置 false 但创建收银台时未传,依旧会展示该输入框。
15
+ */
16
+ showAddress?: boolean;
17
+ /** 提交表单时触发 */
18
+ onSubmit?: (formValidateError?: Recordable<FormValidateError[]>) => void;
19
+ /** 支付成功后触发 */
20
+ onSuccess?: (...args: any[]) => void;
21
+ /** 支付失败时触发 */
22
+ onError?: (error: PayKKaError) => void;
23
+ /** 支付超时时触发 */
24
+ onTimeout?: () => void;
25
+ /** 收银台已过期时触发 */
26
+ onExpired?: () => void;
27
+ /**
28
+ * @internal
29
+ * 请求支付接口成功后返回跳转链接
30
+ */
31
+ onSubmitResponse?: (payRes: PayRes) => void;
32
+ /**
33
+ * @internal
34
+ * 跳转模式,钱包支付时需要跳转到第三方页面进行支付,流程结束在返回收银台
35
+ * auto: 自动跳转
36
+ * manual: 需要在 onSubmitResponse 中接收跳转链接并手动跳转
37
+ */
38
+ redirectMode?: 'auto' | 'manual';
39
+ /**
40
+ * @internal
41
+ * 从第三方支付页面跳转回来时,是否自动查询支付结果
42
+ */
43
+ autoQuery?: boolean;
44
+ /**
45
+ * @internal
46
+ * 是否展示引导卡片
47
+ */
48
+ showGuideCard?: boolean;
49
+ }
50
+ export interface BoostRef {
51
+ /** 停止轮询支付结果 */
52
+ stopRetry: () => void;
53
+ /** 开始轮询支付结果 */
54
+ startRetry: (timeout?: number) => void;
55
+ /** 更新表单地址 */
56
+ updateAddress: () => void;
57
+ /** 更新表单邮箱 */
58
+ updateEmail: () => void;
59
+ /** 不展示支付按钮时,可调用该方法进行支付 */
60
+ payment: () => void;
61
+ }
@@ -2,15 +2,21 @@ import type { CardBrand } from '../../types';
2
2
  import type { FormItemProps, FormValidationStatus } from '../internal/Form';
3
3
  import type { InputProps } from '../internal/Input';
4
4
  export interface CardNumberFieldProps extends Pick<FormItemProps, 'onValidationStatusChange' | 'className' | 'style'>, Pick<InputProps, 'onInput'> {
5
+ /** 支持的卡品牌 */
5
6
  supportedCardBrands?: string[];
6
- security: boolean;
7
+ /** 是否显示标签 */
7
8
  showLabel?: boolean;
9
+ /** 是否使用安全模式(iframe) */
10
+ security: boolean;
11
+ /** 卡 bin 改变回调 */
12
+ onBinValue?: (binValue: string) => void;
8
13
  }
9
14
  export interface CardNumberFieldRef {
10
15
  focus: () => void;
11
16
  blur: () => void;
12
17
  resetValidation: (status: FormValidationStatus, errorTip?: string) => void;
13
18
  binValueChanged: (binValue: string) => void;
19
+ binValue: () => string;
14
20
  brandChanged: (brand?: CardBrand) => void;
15
21
  getCardBrand: () => Recordable;
16
22
  }
@@ -11,6 +11,7 @@ export interface CombinedCardInfoRef {
11
11
  blur: () => void;
12
12
  resetValidation: (status: FormValidationStatus, errorTip?: string) => void;
13
13
  binValueChanged: (binValue: string) => void;
14
+ binValue: () => string;
14
15
  brandChanged: (brand?: CardBrand) => void;
15
16
  getCardBrand: () => Recordable;
16
17
  }
@@ -1,7 +1,7 @@
1
1
  import type { PaymentCategory } from '../../../../constant';
2
2
  import type { PaymentTypeOptions } from '../../type';
3
3
  export interface PaymentTabsProps {
4
- value: PaymentCategory;
4
+ value?: PaymentCategory;
5
5
  tabs: PaymentTypeOptions[];
6
6
  enabled?: PaymentCategory;
7
7
  themeColor?: string;
@@ -0,0 +1,7 @@
1
+ import { PaymentCategory } from '../../constant';
2
+ import type { ReactNode } from 'preact/compat';
3
+ import type { Translation } from '../../i18n';
4
+ export declare const paymentCategoryOptionMap: Partial<Record<PaymentCategory, {
5
+ icon: ReactNode;
6
+ nameKey: keyof Translation;
7
+ }>>;
@@ -13,7 +13,9 @@ export interface DropInProps {
13
13
  /**
14
14
  * 布局,tabs 表示在tab切换式布局,accordion 表示折叠式布局(手风琴)
15
15
  * 目前暂不支持 accordion 布局
16
- * @default tabs
16
+ *
17
+ * 更新:目前全面放弃 tabs 改用 accordion 布局,不准传 tabs!!!
18
+ * @default accordion
17
19
  */
18
20
  layout?: 'tabs' | 'accordion';
19
21
  /** 提交表单时触发 */
@@ -26,6 +28,12 @@ export interface DropInProps {
26
28
  onTimeout?: () => void;
27
29
  /** 收银台已过期时触发 */
28
30
  onExpired?: () => void;
31
+ /**
32
+ * @internal
33
+ * 是否启用过渡动画,layout 为 accordion 时有效
34
+ * 默认为 true
35
+ */
36
+ enableAccordionTransition?: boolean;
29
37
  }
30
38
  export interface DropInRefs {
31
39
  /** 不展示支付按钮时,可调用该方法进行支付 */
@@ -35,7 +43,7 @@ export type PaymentMethodsConfig = {
35
43
  [key in DropInPaymentCategory]: Partial<PaymentComponentProps<key>>;
36
44
  };
37
45
  export interface PaymentTypeOptions {
38
- icon: ReactNode;
46
+ icon: () => ReactNode;
39
47
  name: string;
40
48
  type: DropInPaymentCategory;
41
49
  }
@@ -44,6 +52,6 @@ export interface PaymentTypeOptions {
44
52
  * 目前暂不支持 WeChatPay 和 Alipay
45
53
  */
46
54
  export declare const dropInSupportedPaymentMethods: PaymentMethod[];
47
- export type DropInPaymentCategory = PaymentCategory.APPLE_PAY | PaymentCategory.GOOGLE_PAY | PaymentCategory.CARD;
55
+ export type DropInPaymentCategory = PaymentCategory.APPLE_PAY | PaymentCategory.GOOGLE_PAY | PaymentCategory.CARD | PaymentCategory.BOOST | PaymentCategory.GRAB_PAY | PaymentCategory.TNG_WALLET | PaymentCategory.MAY_BANK_QR_PAY | PaymentCategory.SHOPEE_PAY | PaymentCategory.LINE_PAY | PaymentCategory.NINE_PAY | PaymentCategory.GCASH | PaymentCategory.PAYMAYA;
48
56
  export declare const PaymentComponentMap: Record<DropInPaymentCategory, ComponentType<any>>;
49
57
  export type PaymentComponentProps<P extends keyof typeof PaymentComponentMap> = React.ComponentProps<(typeof PaymentComponentMap)[P]>;
@@ -0,0 +1,7 @@
1
+ import type { GrabPayProps } from './type';
2
+ import type { GrabPayRef } from './type';
3
+ import type { CoreProps } from '../../types';
4
+ import './grab-pay.scss';
5
+ export declare const GrabPay: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<GrabPayProps & CoreProps> & {
6
+ ref?: import("preact").Ref<GrabPayRef> | undefined;
7
+ }>;
@@ -0,0 +1,2 @@
1
+ export * from './GrabPay';
2
+ export * from './type';
@@ -0,0 +1,61 @@
1
+ import type { PayKKaError } from '../../core';
2
+ import type { PayRes } from '../../api';
3
+ import type { FormValidateError } from '../internal/Form';
4
+ export interface GrabPayProps {
5
+ /**
6
+ * 是否展示邮箱
7
+ * 若配置 true 但创建收银台时已经传了,就展示禁用状态。
8
+ * 若配置 false 但创建收银台时未传,依旧会展示该输入框。
9
+ */
10
+ showEmail?: boolean;
11
+ /**
12
+ * 是否展示邮箱
13
+ * 若配置 true 但创建收银台时已经传了,还是展示,先不禁用。
14
+ * 若配置 false 但创建收银台时未传,依旧会展示该输入框。
15
+ */
16
+ showAddress?: boolean;
17
+ /** 提交表单时触发 */
18
+ onSubmit?: (formValidateError?: Recordable<FormValidateError[]>) => void;
19
+ /** 支付成功后触发 */
20
+ onSuccess?: (...args: any[]) => void;
21
+ /** 支付失败时触发 */
22
+ onError?: (error: PayKKaError) => void;
23
+ /** 支付超时时触发 */
24
+ onTimeout?: () => void;
25
+ /** 收银台已过期时触发 */
26
+ onExpired?: () => void;
27
+ /**
28
+ * @internal
29
+ * 请求支付接口成功后返回跳转链接
30
+ */
31
+ onSubmitResponse?: (payRes: PayRes) => void;
32
+ /**
33
+ * @internal
34
+ * 跳转模式,钱包支付时需要跳转到第三方页面进行支付,流程结束在返回收银台
35
+ * auto: 自动跳转
36
+ * manual: 需要在 onSubmitResponse 中接收跳转链接并手动跳转
37
+ */
38
+ redirectMode?: 'auto' | 'manual';
39
+ /**
40
+ * @internal
41
+ * 从第三方支付页面跳转回来时,是否自动查询支付结果
42
+ */
43
+ autoQuery?: boolean;
44
+ /**
45
+ * @internal
46
+ * 是否展示引导卡片
47
+ */
48
+ showGuideCard?: boolean;
49
+ }
50
+ export interface GrabPayRef {
51
+ /** 停止轮询支付结果 */
52
+ stopRetry: () => void;
53
+ /** 开始轮询支付结果 */
54
+ startRetry: (timeout?: number) => void;
55
+ /** 更新表单地址 */
56
+ updateAddress: () => void;
57
+ /** 更新表单邮箱 */
58
+ updateEmail: () => void;
59
+ /** 不展示支付按钮时,可调用该方法进行支付 */
60
+ payment: () => void;
61
+ }
@@ -0,0 +1,3 @@
1
+ import type { GuideCardProps } from './type';
2
+ import './guide-card.scss';
3
+ export declare const GuideCard: (props: GuideCardProps) => import("preact").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './GuideCard';
2
+ export * from './type';
@@ -0,0 +1,4 @@
1
+ import type { PaymentCategory } from '../../constant';
2
+ export interface GuideCardProps {
3
+ type: PaymentCategory;
4
+ }
@@ -0,0 +1,7 @@
1
+ import type { LinePayProps } from './type';
2
+ import type { LinePayRef } from './type';
3
+ import type { CoreProps } from '../../types';
4
+ import './line-pay.scss';
5
+ export declare const LinePay: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<LinePayProps & CoreProps> & {
6
+ ref?: import("preact").Ref<LinePayRef> | undefined;
7
+ }>;
@@ -0,0 +1,2 @@
1
+ export * from './LinePay';
2
+ export * from './type';
@@ -0,0 +1,61 @@
1
+ import type { PayKKaError } from '../../core';
2
+ import type { PayRes } from '../../api';
3
+ import type { FormValidateError } from '../internal/Form';
4
+ export interface LinePayProps {
5
+ /**
6
+ * 是否展示邮箱
7
+ * 若配置 true 但创建收银台时已经传了,就展示禁用状态。
8
+ * 若配置 false 但创建收银台时未传,依旧会展示该输入框。
9
+ */
10
+ showEmail?: boolean;
11
+ /**
12
+ * 是否展示邮箱
13
+ * 若配置 true 但创建收银台时已经传了,还是展示,先不禁用。
14
+ * 若配置 false 但创建收银台时未传,依旧会展示该输入框。
15
+ */
16
+ showAddress?: boolean;
17
+ /** 提交表单时触发 */
18
+ onSubmit?: (formValidateError?: Recordable<FormValidateError[]>) => void;
19
+ /** 支付成功后触发 */
20
+ onSuccess?: (...args: any[]) => void;
21
+ /** 支付失败时触发 */
22
+ onError?: (error: PayKKaError) => void;
23
+ /** 支付超时时触发 */
24
+ onTimeout?: () => void;
25
+ /** 收银台已过期时触发 */
26
+ onExpired?: () => void;
27
+ /**
28
+ * @internal
29
+ * 请求支付接口成功后返回跳转链接
30
+ */
31
+ onSubmitResponse?: (payRes: PayRes) => void;
32
+ /**
33
+ * @internal
34
+ * 跳转模式,钱包支付时需要跳转到第三方页面进行支付,流程结束在返回收银台
35
+ * auto: 自动跳转
36
+ * manual: 需要在 onSubmitResponse 中接收跳转链接并手动跳转
37
+ */
38
+ redirectMode?: 'auto' | 'manual';
39
+ /**
40
+ * @internal
41
+ * 从第三方支付页面跳转回来时,是否自动查询支付结果
42
+ */
43
+ autoQuery?: boolean;
44
+ /**
45
+ * @internal
46
+ * 是否展示引导卡片
47
+ */
48
+ showGuideCard?: boolean;
49
+ }
50
+ export interface LinePayRef {
51
+ /** 停止轮询支付结果 */
52
+ stopRetry: () => void;
53
+ /** 开始轮询支付结果 */
54
+ startRetry: (timeout?: number) => void;
55
+ /** 更新表单地址 */
56
+ updateAddress: () => void;
57
+ /** 更新表单邮箱 */
58
+ updateEmail: () => void;
59
+ /** 不展示支付按钮时,可调用该方法进行支付 */
60
+ payment: () => void;
61
+ }
@@ -0,0 +1,6 @@
1
+ import type { MayBankQRPayProps, MayBankQRPayRef } from './type';
2
+ import type { CoreProps } from '../../types';
3
+ import './may-bank-qr-pay.scss';
4
+ export declare const MayBankQRPay: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<MayBankQRPayProps & CoreProps> & {
5
+ ref?: import("preact").Ref<MayBankQRPayRef> | undefined;
6
+ }>;
@@ -0,0 +1,2 @@
1
+ export * from './MayBankQRPay';
2
+ export * from './type';