@paykka/card-checkout-ui 0.15.2 → 0.17.0

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 (318) hide show
  1. package/dist/card-checkout-ui.js +23 -23
  2. package/dist/card-checkout-ui.umd.cjs +23 -23
  3. package/dist/es/api/http.js +12 -1
  4. package/dist/es/api/modules/apple-pay/index.js +0 -12
  5. package/dist/es/api/modules/common/index.js +29 -0
  6. package/dist/es/api/modules/get-browser-params.js +1 -1
  7. package/dist/es/api/modules/index.js +1 -1
  8. package/dist/es/api/modules/threeDS/index.js +1 -1
  9. package/dist/es/api/utils/index.js +3 -0
  10. package/dist/es/components/AccountNameField/index.js +2 -2
  11. package/dist/es/components/AddressField/index.js +2 -2
  12. package/dist/es/components/ApplePay/index.js +26 -10
  13. package/dist/es/components/CPFField/index.js +2 -2
  14. package/dist/es/components/Card/index.js +20 -6
  15. package/dist/es/components/CardHolderNameField/index.js +2 -2
  16. package/dist/es/components/CardSecurityCodeField/index.js +2 -2
  17. package/dist/es/components/CombinedCardInfo/index.js +3 -3
  18. package/dist/es/components/DropIn/index.js +145 -1
  19. package/dist/es/components/EmailField/EmailField.js +2 -2
  20. package/dist/es/components/EncryptedCard/index.js +1 -1
  21. package/dist/es/components/GooglePay/index.js +35 -21
  22. package/dist/es/components/GuideCard/index.js +19 -1
  23. package/dist/es/components/SecuredFieldsProvider/index.js +2 -0
  24. package/dist/es/components/SecuredIframe/index.js +19 -10
  25. package/dist/es/components/Sepa/index.js +21 -6
  26. package/dist/es/components/business/BlikConfirmModal/BlikConfirmModal.js +1 -1
  27. package/dist/es/components/business/NameField/NameField.js +2 -2
  28. package/dist/es/components/business/QRCodeModal/QRCodeModal.js +1 -1
  29. package/dist/es/components/business/SegmentedDigitInput/format.js +3 -0
  30. package/dist/es/components/business/SegmentedDigitInput/index.js +2 -0
  31. package/dist/es/components/index.js +18 -0
  32. package/dist/es/components/internal/Accordion/accordionTransition.js +3 -0
  33. package/dist/es/components/internal/Form/Form.js +2 -0
  34. package/dist/es/components/internal/Form/FormItem.js +2 -0
  35. package/dist/es/components/internal/Input/Input.js +2 -0
  36. package/dist/es/components/internal/icons/Icon3DSFail.js +2 -0
  37. package/dist/es/components/internal/icons/Icon3DSInfo.js +2 -0
  38. package/dist/es/components/internal/icons/Icon3DSSuccess.js +2 -0
  39. package/dist/es/components/internal/icons/IconAdd.js +2 -0
  40. package/dist/es/components/internal/icons/IconAlipayPlus.js +2 -0
  41. package/dist/es/components/internal/icons/IconAmex.js +2 -0
  42. package/dist/es/components/internal/icons/IconArrowDown.js +2 -0
  43. package/dist/es/components/internal/icons/IconBancomatPay.js +33 -0
  44. package/dist/es/components/internal/icons/IconBancontact.js +2 -0
  45. package/dist/es/components/internal/icons/IconBizum.js +33 -0
  46. package/dist/es/components/internal/icons/IconBlik.js +2 -0
  47. package/dist/es/components/internal/icons/IconBoost.js +2 -0
  48. package/dist/es/components/internal/icons/IconCard.js +2 -0
  49. package/dist/es/components/internal/icons/IconCard2.js +2 -0
  50. package/dist/es/components/internal/icons/IconCardNo.js +2 -0
  51. package/dist/es/components/internal/icons/IconDinnersClub.js +2 -0
  52. package/dist/es/components/internal/icons/IconDiscover.js +2 -0
  53. package/dist/es/components/internal/icons/IconDragonPay.js +42 -0
  54. package/dist/es/components/internal/icons/IconEPS.js +44 -0
  55. package/dist/es/components/internal/icons/IconError.js +2 -0
  56. package/dist/es/components/internal/icons/IconFpx.js +42 -0
  57. package/dist/es/components/internal/icons/IconGCash.js +2 -0
  58. package/dist/es/components/internal/icons/IconGcashComplete.js +2 -0
  59. package/dist/es/components/internal/icons/IconGrabPay.js +2 -0
  60. package/dist/es/components/internal/icons/IconIdeal.js +2 -0
  61. package/dist/es/components/internal/icons/IconInfo.js +2 -0
  62. package/dist/es/components/internal/icons/IconJcb.js +2 -0
  63. package/dist/es/components/internal/icons/IconLinePay.js +2 -0
  64. package/dist/es/components/internal/icons/IconMasterCard.js +2 -0
  65. package/dist/es/components/internal/icons/IconMayBankQRPay.js +2 -0
  66. package/dist/es/components/internal/icons/IconMbWay.js +33 -0
  67. package/dist/es/components/internal/icons/IconMultibanco.js +34 -0
  68. package/dist/es/components/internal/icons/IconMyBank.js +38 -0
  69. package/dist/es/components/internal/icons/IconNinePay.js +2 -0
  70. package/dist/es/components/internal/icons/IconOnlineBankingEstonia.js +42 -0
  71. package/dist/es/components/internal/icons/IconOnlineBankingFinland.js +42 -0
  72. package/dist/es/components/internal/icons/IconOnlineBankingIndonesia.js +42 -0
  73. package/dist/es/components/internal/icons/IconOnlineBankingLatvia.js +42 -0
  74. package/dist/es/components/internal/icons/IconOnlineBankingLithuania.js +42 -0
  75. package/dist/es/components/internal/icons/IconOnlineBankingThailand.js +42 -0
  76. package/dist/es/components/internal/icons/IconOpayWallet.js +2 -0
  77. package/dist/es/components/internal/icons/IconOvo.js +2 -0
  78. package/dist/es/components/internal/icons/IconP24.js +2 -0
  79. package/dist/es/components/internal/icons/IconPagaWallet.js +2 -0
  80. package/dist/es/components/internal/icons/IconPayByBank.js +42 -0
  81. package/dist/es/components/internal/icons/IconPayU.js +27 -0
  82. package/dist/es/components/internal/icons/IconPaymaya.js +2 -0
  83. package/dist/es/components/internal/icons/IconPhone.js +2 -0
  84. package/dist/es/components/internal/icons/IconPicPay.js +2 -0
  85. package/dist/es/components/internal/icons/IconPix.js +2 -0
  86. package/dist/es/components/internal/icons/IconRedirect.js +2 -0
  87. package/dist/es/components/internal/icons/IconSafe.js +2 -0
  88. package/dist/es/components/internal/icons/IconSatispay.js +34 -0
  89. package/dist/es/components/internal/icons/IconScan.js +2 -0
  90. package/dist/es/components/internal/icons/IconShopeePay.js +2 -0
  91. package/dist/es/components/internal/icons/IconSkrill.js +2 -0
  92. package/dist/es/components/internal/icons/IconSuccess.js +2 -0
  93. package/dist/es/components/internal/icons/IconSwitch.js +2 -0
  94. package/dist/es/components/internal/icons/IconTNGWallet.js +2 -0
  95. package/dist/es/components/internal/icons/IconTick.js +2 -0
  96. package/dist/es/components/internal/icons/IconTrustly.js +2 -0
  97. package/dist/es/components/internal/icons/IconUnionPay.js +2 -0
  98. package/dist/es/components/internal/icons/IconUpi.js +42 -0
  99. package/dist/es/components/internal/icons/IconVietqr.js +2 -0
  100. package/dist/es/components/internal/icons/IconVietqrComplete.js +2 -0
  101. package/dist/es/components/internal/icons/IconVisa.js +2 -0
  102. package/dist/es/components/internal/icons/IconWechatPayGlobal.js +2 -0
  103. package/dist/es/components/internal/icons/IconWechatPayGlobalComplete.js +2 -0
  104. package/dist/es/components/internal/icons/IconZalopay.js +2 -0
  105. package/dist/es/components/internal/icons/IconZalopayComplete.js +2 -0
  106. package/dist/es/components/internal/icons/iconChecked.js +2 -0
  107. package/dist/es/components/internal/icons/index.js +2 -0
  108. package/dist/es/components/wallets/BancomatPay/BancomatPay.js +155 -0
  109. package/dist/es/components/wallets/BancomatPay/bancomat-pay.js +1 -0
  110. package/dist/es/components/wallets/BancomatPay/index.js +1 -0
  111. package/dist/es/components/wallets/BancomatPay/type.js +1 -0
  112. package/dist/es/components/wallets/Bizum/Bizum.js +155 -0
  113. package/dist/es/components/wallets/Bizum/bizum2.js +1 -0
  114. package/dist/es/components/wallets/Bizum/index.js +1 -0
  115. package/dist/es/components/wallets/Bizum/type.js +1 -0
  116. package/dist/es/components/wallets/DragonPay/DragonPay.js +180 -0
  117. package/dist/es/components/wallets/DragonPay/dragon-pay.js +1 -0
  118. package/dist/es/components/wallets/DragonPay/index.js +1 -0
  119. package/dist/es/components/wallets/DragonPay/type.js +1 -0
  120. package/dist/es/components/wallets/EPS/EPS.js +183 -0
  121. package/dist/es/components/wallets/EPS/eps2.js +1 -0
  122. package/dist/es/components/wallets/EPS/index.js +1 -0
  123. package/dist/es/components/wallets/EPS/type.js +1 -0
  124. package/dist/es/components/wallets/Fpx/Fpx.js +180 -0
  125. package/dist/es/components/wallets/Fpx/fpx2.js +1 -0
  126. package/dist/es/components/wallets/Fpx/index.js +1 -0
  127. package/dist/es/components/wallets/Fpx/type.js +1 -0
  128. package/dist/es/components/wallets/MbWay/MbWay.js +155 -0
  129. package/dist/es/components/wallets/MbWay/index.js +1 -0
  130. package/dist/es/components/wallets/MbWay/mb-way.js +1 -0
  131. package/dist/es/components/wallets/MbWay/type.js +1 -0
  132. package/dist/es/components/wallets/Multibanco/Multibanco.js +155 -0
  133. package/dist/es/components/wallets/Multibanco/index.js +1 -0
  134. package/dist/es/components/wallets/Multibanco/multibanco2.js +1 -0
  135. package/dist/es/components/wallets/Multibanco/type.js +1 -0
  136. package/dist/es/components/wallets/MyBank/MyBank.js +165 -0
  137. package/dist/es/components/wallets/MyBank/index.js +1 -0
  138. package/dist/es/components/wallets/MyBank/my-bank.js +1 -0
  139. package/dist/es/components/wallets/MyBank/type.js +1 -0
  140. package/dist/es/components/wallets/OnlineBankingEstonia/OnlineBankingEstonia.js +180 -0
  141. package/dist/es/components/wallets/OnlineBankingEstonia/index.js +1 -0
  142. package/dist/es/components/wallets/OnlineBankingEstonia/online-banking-estonia.js +1 -0
  143. package/dist/es/components/wallets/OnlineBankingEstonia/type.js +1 -0
  144. package/dist/es/components/wallets/OnlineBankingFinland/OnlineBankingFinland.js +180 -0
  145. package/dist/es/components/wallets/OnlineBankingFinland/index.js +1 -0
  146. package/dist/es/components/wallets/OnlineBankingFinland/online-banking-finland.js +1 -0
  147. package/dist/es/components/wallets/OnlineBankingFinland/type.js +1 -0
  148. package/dist/es/components/wallets/OnlineBankingIndonesia/OnlineBankingIndonesia.js +180 -0
  149. package/dist/es/components/wallets/OnlineBankingIndonesia/index.js +1 -0
  150. package/dist/es/components/wallets/OnlineBankingIndonesia/online-banking-indonesia.js +1 -0
  151. package/dist/es/components/wallets/OnlineBankingIndonesia/type.js +1 -0
  152. package/dist/es/components/wallets/OnlineBankingLatvia/OnlineBankingLatvia.js +180 -0
  153. package/dist/es/components/wallets/OnlineBankingLatvia/index.js +1 -0
  154. package/dist/es/components/wallets/OnlineBankingLatvia/online-banking-latvia.js +1 -0
  155. package/dist/es/components/wallets/OnlineBankingLatvia/type.js +1 -0
  156. package/dist/es/components/wallets/OnlineBankingLithuania/OnlineBankingLithuania.js +180 -0
  157. package/dist/es/components/wallets/OnlineBankingLithuania/index.js +1 -0
  158. package/dist/es/components/wallets/OnlineBankingLithuania/online-banking-lithuania.js +1 -0
  159. package/dist/es/components/wallets/OnlineBankingLithuania/type.js +1 -0
  160. package/dist/es/components/wallets/OnlineBankingThailand/OnlineBankingThailand.js +180 -0
  161. package/dist/es/components/wallets/OnlineBankingThailand/index.js +1 -0
  162. package/dist/es/components/wallets/OnlineBankingThailand/online-banking-thailand.js +1 -0
  163. package/dist/es/components/wallets/OnlineBankingThailand/type.js +1 -0
  164. package/dist/es/components/wallets/PayByBank/PayByBank.js +212 -0
  165. package/dist/es/components/wallets/PayByBank/index.js +1 -0
  166. package/dist/es/components/wallets/PayByBank/pay-by-bank.js +1 -0
  167. package/dist/es/components/wallets/PayByBank/type.js +1 -0
  168. package/dist/es/components/wallets/PayU/PayU.js +186 -0
  169. package/dist/es/components/wallets/PayU/index.js +1 -0
  170. package/dist/es/components/wallets/PayU/payu2.js +1 -0
  171. package/dist/es/components/wallets/PayU/type.js +1 -0
  172. package/dist/es/components/wallets/Satispay/Satispay.js +198 -0
  173. package/dist/es/components/wallets/Satispay/index.js +1 -0
  174. package/dist/es/components/wallets/Satispay/satispay2.js +1 -0
  175. package/dist/es/components/wallets/Satispay/type.js +1 -0
  176. package/dist/es/components/wallets/Upi/Upi.js +180 -0
  177. package/dist/es/components/wallets/Upi/index.js +1 -0
  178. package/dist/es/components/wallets/Upi/type.js +1 -0
  179. package/dist/es/components/wallets/Upi/upi2.js +1 -0
  180. package/dist/es/components/wallets/WechatPay/WechatPay.js +5 -10
  181. package/dist/es/components/wallets/index.js +18 -0
  182. package/dist/es/config.js +2 -0
  183. package/dist/es/constant.js +110 -2
  184. package/dist/es/core/address.js +3 -0
  185. package/dist/es/core/checkout.js +3 -2
  186. package/dist/es/core/create.js +2 -0
  187. package/dist/es/core/logger.js +4 -1
  188. package/dist/es/core/payment.js +2 -0
  189. package/dist/es/core/query.js +1 -1
  190. package/dist/es/core.js +454 -454
  191. package/dist/es/hooks/useBEM.js +3 -0
  192. package/dist/es/hooks/useBaseWallet.js +45 -9
  193. package/dist/es/hooks/usePayState.js +1 -0
  194. package/dist/es/i18n/I18n.js +2 -0
  195. package/dist/es/i18n/index.js +2 -0
  196. package/dist/es/i18n/locales/de-DE.js +20 -2
  197. package/dist/es/i18n/locales/en-GB.js +20 -2
  198. package/dist/es/i18n/locales/es-ES.js +20 -2
  199. package/dist/es/i18n/locales/fr-FR.js +20 -2
  200. package/dist/es/i18n/locales/ja-JP.js +20 -2
  201. package/dist/es/i18n/locales/ko-KR.js +20 -2
  202. package/dist/es/i18n/locales/nl-NL.js +20 -2
  203. package/dist/es/i18n/locales/pt-PT.js +20 -2
  204. package/dist/es/i18n/locales/ru-RU.js +20 -2
  205. package/dist/es/i18n/locales/zh-CN.js +20 -2
  206. package/dist/es/i18n/locales/zh-HK.js +20 -2
  207. package/dist/es/i18n/locales/zh-TW.js +20 -2
  208. package/dist/es/i18n/util.js +3 -0
  209. package/dist/es/index.js +37 -1
  210. package/dist/es/style.css +1 -1
  211. package/dist/es/utils/bem.js +3 -0
  212. package/dist/es/utils/card-brand/brands.js +2 -0
  213. package/dist/es/utils/index.js +3 -0
  214. package/dist/es/utils/payment.js +76 -1
  215. package/dist/style.css +1 -1
  216. package/dist/types/api/http.d.ts +6 -1
  217. package/dist/types/api/modules/apple-pay/index.d.ts +0 -3
  218. package/dist/types/api/modules/common/index.d.ts +39 -0
  219. package/dist/types/api/modules/index.d.ts +1 -4
  220. package/dist/types/components/DropIn/type.d.ts +1 -1
  221. package/dist/types/components/internal/icons/IconBancomatPay.d.ts +2 -0
  222. package/dist/types/components/internal/icons/IconBizum.d.ts +2 -0
  223. package/dist/types/components/internal/icons/IconDragonPay.d.ts +2 -0
  224. package/dist/types/components/internal/icons/IconEPS.d.ts +2 -0
  225. package/dist/types/components/internal/icons/IconFpx.d.ts +2 -0
  226. package/dist/types/components/internal/icons/IconMbWay.d.ts +2 -0
  227. package/dist/types/components/internal/icons/IconMultibanco.d.ts +2 -0
  228. package/dist/types/components/internal/icons/IconMyBank.d.ts +2 -0
  229. package/dist/types/components/internal/icons/IconOnlineBankingEstonia.d.ts +2 -0
  230. package/dist/types/components/internal/icons/IconOnlineBankingFinland.d.ts +2 -0
  231. package/dist/types/components/internal/icons/IconOnlineBankingIndonesia.d.ts +2 -0
  232. package/dist/types/components/internal/icons/IconOnlineBankingLatvia.d.ts +2 -0
  233. package/dist/types/components/internal/icons/IconOnlineBankingLithuania.d.ts +2 -0
  234. package/dist/types/components/internal/icons/IconOnlineBankingThailand.d.ts +2 -0
  235. package/dist/types/components/internal/icons/IconPayByBank.d.ts +2 -0
  236. package/dist/types/components/internal/icons/IconPayU.d.ts +2 -0
  237. package/dist/types/components/internal/icons/IconSatispay.d.ts +2 -0
  238. package/dist/types/components/internal/icons/IconUpi.d.ts +2 -0
  239. package/dist/types/components/internal/icons/index.d.ts +18 -0
  240. package/dist/types/components/wallets/BancomatPay/BancomatPay.d.ts +15 -0
  241. package/dist/types/components/wallets/BancomatPay/index.d.ts +2 -0
  242. package/dist/types/components/wallets/BancomatPay/type.d.ts +7 -0
  243. package/dist/types/components/wallets/Bizum/Bizum.d.ts +15 -0
  244. package/dist/types/components/wallets/Bizum/index.d.ts +2 -0
  245. package/dist/types/components/wallets/Bizum/type.d.ts +7 -0
  246. package/dist/types/components/wallets/DragonPay/DragonPay.d.ts +16 -0
  247. package/dist/types/components/wallets/DragonPay/index.d.ts +2 -0
  248. package/dist/types/components/wallets/DragonPay/type.d.ts +6 -0
  249. package/dist/types/components/wallets/EPS/EPS.d.ts +15 -0
  250. package/dist/types/components/wallets/EPS/index.d.ts +2 -0
  251. package/dist/types/components/wallets/EPS/type.d.ts +7 -0
  252. package/dist/types/components/wallets/Fpx/Fpx.d.ts +16 -0
  253. package/dist/types/components/wallets/Fpx/index.d.ts +2 -0
  254. package/dist/types/components/wallets/Fpx/type.d.ts +6 -0
  255. package/dist/types/components/wallets/MbWay/MbWay.d.ts +15 -0
  256. package/dist/types/components/wallets/MbWay/index.d.ts +2 -0
  257. package/dist/types/components/wallets/MbWay/type.d.ts +7 -0
  258. package/dist/types/components/wallets/Multibanco/Multibanco.d.ts +15 -0
  259. package/dist/types/components/wallets/Multibanco/index.d.ts +2 -0
  260. package/dist/types/components/wallets/Multibanco/type.d.ts +7 -0
  261. package/dist/types/components/wallets/MyBank/MyBank.d.ts +15 -0
  262. package/dist/types/components/wallets/MyBank/index.d.ts +2 -0
  263. package/dist/types/components/wallets/MyBank/type.d.ts +7 -0
  264. package/dist/types/components/wallets/OnlineBankingEstonia/OnlineBankingEstonia.d.ts +16 -0
  265. package/dist/types/components/wallets/OnlineBankingEstonia/index.d.ts +2 -0
  266. package/dist/types/components/wallets/OnlineBankingEstonia/type.d.ts +6 -0
  267. package/dist/types/components/wallets/OnlineBankingFinland/OnlineBankingFinland.d.ts +16 -0
  268. package/dist/types/components/wallets/OnlineBankingFinland/index.d.ts +2 -0
  269. package/dist/types/components/wallets/OnlineBankingFinland/type.d.ts +6 -0
  270. package/dist/types/components/wallets/OnlineBankingIndonesia/OnlineBankingIndonesia.d.ts +16 -0
  271. package/dist/types/components/wallets/OnlineBankingIndonesia/index.d.ts +2 -0
  272. package/dist/types/components/wallets/OnlineBankingIndonesia/type.d.ts +6 -0
  273. package/dist/types/components/wallets/OnlineBankingLatvia/OnlineBankingLatvia.d.ts +16 -0
  274. package/dist/types/components/wallets/OnlineBankingLatvia/index.d.ts +2 -0
  275. package/dist/types/components/wallets/OnlineBankingLatvia/type.d.ts +6 -0
  276. package/dist/types/components/wallets/OnlineBankingLithuania/OnlineBankingLithuania.d.ts +16 -0
  277. package/dist/types/components/wallets/OnlineBankingLithuania/index.d.ts +2 -0
  278. package/dist/types/components/wallets/OnlineBankingLithuania/type.d.ts +6 -0
  279. package/dist/types/components/wallets/OnlineBankingThailand/OnlineBankingThailand.d.ts +16 -0
  280. package/dist/types/components/wallets/OnlineBankingThailand/index.d.ts +2 -0
  281. package/dist/types/components/wallets/OnlineBankingThailand/type.d.ts +6 -0
  282. package/dist/types/components/wallets/PayByBank/PayByBank.d.ts +16 -0
  283. package/dist/types/components/wallets/PayByBank/index.d.ts +2 -0
  284. package/dist/types/components/wallets/PayByBank/type.d.ts +6 -0
  285. package/dist/types/components/wallets/PayU/PayU.d.ts +15 -0
  286. package/dist/types/components/wallets/PayU/index.d.ts +2 -0
  287. package/dist/types/components/wallets/PayU/type.d.ts +7 -0
  288. package/dist/types/components/wallets/Satispay/Satispay.d.ts +15 -0
  289. package/dist/types/components/wallets/Satispay/index.d.ts +2 -0
  290. package/dist/types/components/wallets/Satispay/type.d.ts +7 -0
  291. package/dist/types/components/wallets/Upi/Upi.d.ts +16 -0
  292. package/dist/types/components/wallets/Upi/index.d.ts +2 -0
  293. package/dist/types/components/wallets/Upi/type.d.ts +6 -0
  294. package/dist/types/components/wallets/index.d.ts +18 -0
  295. package/dist/types/constant.d.ts +37 -1
  296. package/dist/types/hooks/useBaseWallet.d.ts +16 -4
  297. package/dist/types/i18n/locales/de-DE.d.ts +18 -0
  298. package/dist/types/i18n/locales/en-GB.d.ts +18 -0
  299. package/dist/types/i18n/locales/es-ES.d.ts +18 -0
  300. package/dist/types/i18n/locales/fr-FR.d.ts +18 -0
  301. package/dist/types/i18n/locales/ja-JP.d.ts +18 -0
  302. package/dist/types/i18n/locales/ko-KR.d.ts +18 -0
  303. package/dist/types/i18n/locales/nl-NL.d.ts +18 -0
  304. package/dist/types/i18n/locales/pt-PT.d.ts +18 -0
  305. package/dist/types/i18n/locales/ru-RU.d.ts +18 -0
  306. package/dist/types/i18n/locales/zh-CN.d.ts +18 -0
  307. package/dist/types/i18n/locales/zh-HK.d.ts +18 -0
  308. package/dist/types/i18n/locales/zh-TW.d.ts +18 -0
  309. package/dist/types/utils/payment.d.ts +13 -2
  310. package/package.json +1 -1
  311. package/dist/es/api/modules/card/index.js +0 -16
  312. package/dist/es/api/modules/google-pay/index.js +0 -16
  313. package/dist/es/api/modules/sepa/index.js +0 -16
  314. package/dist/es/api/modules/wallet/index.js +0 -16
  315. package/dist/types/api/modules/card/index.d.ts +0 -4
  316. package/dist/types/api/modules/google-pay/index.d.ts +0 -4
  317. package/dist/types/api/modules/sepa/index.d.ts +0 -4
  318. package/dist/types/api/modules/wallet/index.d.ts +0 -18
@@ -8,9 +8,9 @@ import { createUrlWithParams } from "../../utils/location.js";
8
8
  import { PaymentMethod, SessionMode } from "../../constant.js";
9
9
  import { deepMerge } from "../../utils/object.js";
10
10
  import { processPaymentStatus, formatPaymentResult } from "../../utils/payment.js";
11
- import { buildPaymentParams } from "../../api/utils/index.js";
12
- import { getGooglePayInfo, googlePay } from "../../api/modules/google-pay/index.js";
11
+ import { commonPaymentQuery, commonPayment } from "../../api/modules/common/index.js";
13
12
  import { getBrowserParams } from "../../api/modules/get-browser-params.js";
13
+ import { buildPaymentParams } from "../../api/utils/index.js";
14
14
  import { useBEM } from "../../hooks/useBEM.js";
15
15
  import "../../core/context.js";
16
16
  import { PayKKaError } from "../../core/error.js";
@@ -22,7 +22,7 @@ import { loadScript } from "../../utils/load.js";
22
22
  import { ThreeDSAuth } from "../ThreeDS/index.js";
23
23
  const createGooglePay = (core, checkout, googlePayConfig, pay, onClick, onCanUse, onCancel) => {
24
24
  const { theme: { merchantName } } = checkout;
25
- const { googlePay: googlePay2 } = (checkout == null ? void 0 : checkout.channelParams) || {};
25
+ const { googlePay } = (checkout == null ? void 0 : checkout.channelParams) || {};
26
26
  let paymentsClient;
27
27
  const baseRequest = {
28
28
  apiVersion: 2,
@@ -32,12 +32,12 @@ const createGooglePay = (core, checkout, googlePayConfig, pay, onClick, onCanUse
32
32
  type: "PAYMENT_GATEWAY",
33
33
  // 固定
34
34
  parameters: {
35
- gateway: googlePay2 == null ? void 0 : googlePay2.providerGatewayId,
36
- gatewayMerchantId: googlePay2 == null ? void 0 : googlePay2.merchantGatewayId
35
+ gateway: googlePay == null ? void 0 : googlePay.providerGatewayId,
36
+ gatewayMerchantId: googlePay == null ? void 0 : googlePay.merchantGatewayId
37
37
  }
38
38
  };
39
- const allowedCardNetworks = (googlePay2 == null ? void 0 : googlePay2.allowedCardNetworks) || [];
40
- const allowedCardAuthMethods = (googlePay2 == null ? void 0 : googlePay2.allowedAuthMethods) || [];
39
+ const allowedCardNetworks = (googlePay == null ? void 0 : googlePay.allowedCardNetworks) || [];
40
+ const allowedCardAuthMethods = (googlePay == null ? void 0 : googlePay.allowedAuthMethods) || [];
41
41
  const baseCardPaymentMethod = {
42
42
  type: "CARD",
43
43
  parameters: {
@@ -62,7 +62,7 @@ const createGooglePay = (core, checkout, googlePayConfig, pay, onClick, onCanUse
62
62
  const getGoogleTransactionInfo = () => {
63
63
  var _a, _b, _c, _d;
64
64
  return {
65
- countryCode: googlePay2 == null ? void 0 : googlePay2.countryCode,
65
+ countryCode: googlePay == null ? void 0 : googlePay.countryCode,
66
66
  currencyCode: ((_b = (_a = core.payment) == null ? void 0 : _a.amount.value) == null ? void 0 : _b.currency) || "",
67
67
  totalPriceStatus: "FINAL",
68
68
  totalPrice: String(((_d = (_c = core.payment) == null ? void 0 : _c.amount.value) == null ? void 0 : _d.amount) || 0),
@@ -76,7 +76,7 @@ const createGooglePay = (core, checkout, googlePayConfig, pay, onClick, onCanUse
76
76
  allowedPaymentMethods: [cardPaymentMethod],
77
77
  transactionInfo: getGoogleTransactionInfo(),
78
78
  merchantInfo: {
79
- merchantId: googlePay2 == null ? void 0 : googlePay2.googlePayMerchantId,
79
+ merchantId: googlePay == null ? void 0 : googlePay.googlePayMerchantId,
80
80
  merchantName
81
81
  },
82
82
  callbackIntents: ["PAYMENT_AUTHORIZATION"]
@@ -85,7 +85,7 @@ const createGooglePay = (core, checkout, googlePayConfig, pay, onClick, onCanUse
85
85
  const getGooglePaymentsClient = () => {
86
86
  if (!paymentsClient) {
87
87
  paymentsClient = new google.payments.api.PaymentsClient({
88
- environment: googlePay2 == null ? void 0 : googlePay2.environment,
88
+ environment: googlePay == null ? void 0 : googlePay.environment,
89
89
  paymentDataCallbacks: { onPaymentAuthorized }
90
90
  });
91
91
  }
@@ -331,7 +331,7 @@ const GooglePay = w((props, ref) => {
331
331
  };
332
332
  };
333
333
  async function pay(token, billAddress, search = false, timeout) {
334
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
334
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
335
335
  setErrorMsg("");
336
336
  if (!search) {
337
337
  (_a2 = props.onSubmit) == null ? void 0 : _a2.call(props, void 0, getPaymentMethodContext());
@@ -342,7 +342,7 @@ const GooglePay = w((props, ref) => {
342
342
  let res = null;
343
343
  if (search) {
344
344
  const extraParams = (_c = (_b = core.config)._getExtraParams) == null ? void 0 : _c.call(_b, "query", CURR_PAYMENT_METHOD);
345
- res = await getGooglePayInfo(
345
+ res = await commonPaymentQuery(
346
346
  {
347
347
  sessionId: session.sessionId,
348
348
  clientKey: session.clientKey,
@@ -358,12 +358,27 @@ const GooglePay = w((props, ref) => {
358
358
  await core.updateSessionId(buildPaymentParams(paymentParams, extraParams));
359
359
  session.sessionId && (paymentParams.sessionId = session.sessionId);
360
360
  }
361
- res = await googlePay(paymentParams, extraParams, requestOptions);
361
+ res = await commonPayment({
362
+ params: paymentParams,
363
+ extraParams,
364
+ options: {
365
+ request: requestOptions,
366
+ query: {
367
+ enable: false,
368
+ params: {
369
+ sessionId: session.sessionId,
370
+ clientKey: session.clientKey,
371
+ paymentMethod: CURR_PAYMENT_METHOD
372
+ },
373
+ extraParams: (_h = (_g = core.config)._getExtraParams) == null ? void 0 : _h.call(_g, "query", CURR_PAYMENT_METHOD)
374
+ }
375
+ }
376
+ });
362
377
  }
363
378
  const { errorMessage, payInfo = {}, errorCode, sessionId } = res;
364
379
  const { threeDSUrl } = payInfo;
365
380
  sessionId && (session.sessionId = sessionId);
366
- !search && ((_g = props.onSubmitResponse) == null ? void 0 : _g.call(props, res, getPaymentMethodContext()));
381
+ !search && ((_i = props.onSubmitResponse) == null ? void 0 : _i.call(props, res, getPaymentMethodContext()));
367
382
  let result = {
368
383
  end: true,
369
384
  res: { transactionState: "SUCCESS" }
@@ -444,10 +459,10 @@ const GooglePay = w((props, ref) => {
444
459
  };
445
460
  }
446
461
  } else {
447
- (_h = core.payment) == null ? void 0 : _h.resetCurrPaymentMethod();
462
+ (_j = core.payment) == null ? void 0 : _j.resetCurrPaymentMethod();
448
463
  const message = error.i18nKey ? i18n.get(error.i18nKey) : error.message;
449
464
  setErrorMsg(message);
450
- (_i = props.onError) == null ? void 0 : _i.call(
465
+ (_k = props.onError) == null ? void 0 : _k.call(
451
466
  props,
452
467
  new PayKKaError("API_ERROR", message, { code: error.code, cause: error }),
453
468
  getPaymentMethodContext()
@@ -479,15 +494,14 @@ const GooglePay = w((props, ref) => {
479
494
  return { end: true };
480
495
  try {
481
496
  const extraParams = (_b = (_a2 = core.config)._getExtraParams) == null ? void 0 : _b.call(_a2, "query", CURR_PAYMENT_METHOD);
482
- const res = await getGooglePayInfo(
497
+ const res = await commonPaymentQuery(
483
498
  {
484
499
  sessionId: session.sessionId,
485
- clientKey: session.clientKey
500
+ clientKey: session.clientKey,
501
+ paymentMethod: CURR_PAYMENT_METHOD
486
502
  },
487
503
  extraParams,
488
- {
489
- locale: i18n.locale
490
- }
504
+ { locale: i18n.locale }
491
505
  );
492
506
  const { errorMessage } = res;
493
507
  let end = true;
@@ -48,7 +48,25 @@ const GuideCard = (props) => {
48
48
  [PaymentCategory.OVO]: redirectGuideCard,
49
49
  [PaymentCategory.SKRILL]: redirectGuideCard,
50
50
  [PaymentCategory.TRUSTLY]: redirectGuideCard,
51
- [PaymentCategory.P24]: redirectGuideCard
51
+ [PaymentCategory.P24]: redirectGuideCard,
52
+ [PaymentCategory.BANCOMAT_PAY]: redirectGuideCard,
53
+ [PaymentCategory.MY_BANK]: redirectGuideCard,
54
+ [PaymentCategory.BIZUM]: redirectGuideCard,
55
+ [PaymentCategory.EPS]: redirectGuideCard,
56
+ [PaymentCategory.MB_WAY]: redirectGuideCard,
57
+ [PaymentCategory.MULTIBANCO]: redirectGuideCard,
58
+ [PaymentCategory.PAY_U]: redirectGuideCard,
59
+ [PaymentCategory.SATISPAY]: redirectGuideCard,
60
+ [PaymentCategory.PAY_BY_BANK]: redirectGuideCard,
61
+ [PaymentCategory.FPX]: redirectGuideCard,
62
+ [PaymentCategory.DRAGONPAY]: redirectGuideCard,
63
+ [PaymentCategory.UPI]: redirectGuideCard,
64
+ [PaymentCategory.ONLINE_BANKING_FINLAND]: redirectGuideCard,
65
+ [PaymentCategory.ONLINE_BANKING_ESTONIA]: redirectGuideCard,
66
+ [PaymentCategory.ONLINE_BANKING_LATVIA]: redirectGuideCard,
67
+ [PaymentCategory.ONLINE_BANKING_LITHUANIA]: redirectGuideCard,
68
+ [PaymentCategory.ONLINE_BANKING_INDONESIA]: redirectGuideCard,
69
+ [PaymentCategory.ONLINE_BANKING_THAILAND]: redirectGuideCard
52
70
  };
53
71
  return /* @__PURE__ */ u(b, { children: guideCardInfoMap[type] && /* @__PURE__ */ u("div", { className: bem(), children: /* @__PURE__ */ u("div", { className: bem("content"), children: [
54
72
  /* @__PURE__ */ u("div", { className: bem("icon"), children: (_a = guideCardInfoMap[type]) == null ? void 0 : _a.icon }),
@@ -6,7 +6,9 @@ var __publicField = (obj, key, value) => {
6
6
  };
7
7
  import "../../utils/card-brand/brands.js";
8
8
  import "../../utils/system-info/get-browser-info.js";
9
+ import "../../core/context.js";
9
10
  import { w, A, y, F, q, u } from "../../core.js";
11
+ import "../../out/fraud-detection.js";
10
12
  import { SessionMode } from "../../constant.js";
11
13
  import { cdnUrl, cdnOrigin, apiUrl, apiPrefix } from "../../config.js";
12
14
  import { MessageAction } from "../../types/message.js";
@@ -11,9 +11,8 @@ import { MessageAction } from "../../types/message.js";
11
11
  import { generateClassNameMap, style2String, createPlaceholderStyle, loadStyle } from "../../utils/style.js";
12
12
  import { postMessageToIframe } from "../../utils/iframe.js";
13
13
  import { isTimeoutError } from "../../api/http.js";
14
- import { cardPay } from "../../api/modules/card/index.js";
15
- import { PaymentMethod } from "../../constant.js";
16
- import { walletPay } from "../../api/modules/wallet/index.js";
14
+ import { CardPaymentMethods } from "../../constant.js";
15
+ import { commonPayment } from "../../api/modules/common/index.js";
17
16
  import { encryptCard } from "../../api/modules/encrypted-card/index.js";
18
17
  const useSecuredInput = () => {
19
18
  let fieldType;
@@ -478,12 +477,6 @@ const HiddenIframe = ({ checkoutId }) => {
478
477
  api: bkApi(`${apiPrefix}/payments`),
479
478
  startTime: performance.now()
480
479
  };
481
- const paymentMethod = params.payment.paymentMethod;
482
- const payMap = {
483
- [PaymentMethod.PIX]: walletPay,
484
- [PaymentMethod.PIC_PAY]: walletPay
485
- };
486
- const payFn = payMap[paymentMethod] || cardPay;
487
480
  const data = {
488
481
  ...params,
489
482
  payment: {
@@ -497,7 +490,23 @@ const HiddenIframe = ({ checkoutId }) => {
497
490
  document: formData.cpf
498
491
  }
499
492
  };
500
- payFn(data, extraParams, { locale }).then((res) => {
493
+ commonPayment({
494
+ params: data,
495
+ extraParams,
496
+ options: {
497
+ request: { locale },
498
+ query: {
499
+ enable: true,
500
+ params: {
501
+ sessionId: params.sessionId,
502
+ clientKey: params.clientKey,
503
+ // 卡支付不需要 paymentMethod
504
+ paymentMethod: CardPaymentMethods.includes(params.payment.paymentMethod) ? void 0 : params.payment.paymentMethod
505
+ },
506
+ extraParams
507
+ }
508
+ }
509
+ }).then((res) => {
501
510
  sendAfterPaymentMessage(res, requestInfo);
502
511
  }).catch((error) => {
503
512
  if (isTimeoutError(error)) {
@@ -7,13 +7,13 @@ import { normalizedClass, formatAmount, trimAll } from "../../utils/format.js";
7
7
  import { COMMON_CLASS_NAME, PaymentMethod } from "../../constant.js";
8
8
  import { formatPaymentResult } from "../../utils/payment.js";
9
9
  import { isTimeoutError } from "../../api/http.js";
10
- import { buildPaymentParams } from "../../api/utils/index.js";
11
- import { getSepaPayInfo, sepaPay } from "../../api/modules/sepa/index.js";
10
+ import { commonPaymentQuery, commonPayment } from "../../api/modules/common/index.js";
12
11
  import { getBrowserParams } from "../../api/modules/get-browser-params.js";
13
12
  import { PayKKaError } from "../../core/error.js";
14
13
  import "../../out/fraud-detection.js";
15
14
  import { usePayState } from "../../hooks/usePayState.js";
16
15
  import { useRetry } from "../../hooks/useRetry.js";
16
+ import { buildPaymentParams } from "../../api/utils/index.js";
17
17
  import { AddressField } from "../AddressField/index.js";
18
18
  import { EmailField, createEmailCore } from "../EmailField/EmailField.js";
19
19
  import { SubmitButton } from "../SubmitButton/index.js";
@@ -186,13 +186,13 @@ const Sepa = w((props, ref) => {
186
186
  };
187
187
  };
188
188
  async function pay(search = false, timeout) {
189
- var _a, _b, _c, _d, _e, _f;
189
+ var _a, _b, _c, _d, _e, _f, _g, _h;
190
190
  try {
191
191
  const requestOptions = { locale: i18n.locale, timeout };
192
192
  let res = null;
193
193
  if (search) {
194
194
  const extraParams = (_b = (_a = core.config)._getExtraParams) == null ? void 0 : _b.call(_a, "query", PaymentMethod.SEPA_DEBIT);
195
- res = await getSepaPayInfo(
195
+ res = await commonPaymentQuery(
196
196
  {
197
197
  sessionId: session.sessionId,
198
198
  clientKey: session.clientKey,
@@ -208,7 +208,22 @@ const Sepa = w((props, ref) => {
208
208
  await core.updateSessionId(buildPaymentParams(paymentParams, extraParams));
209
209
  session.sessionId && (paymentParams.sessionId = session.sessionId);
210
210
  }
211
- res = await sepaPay(paymentParams, extraParams, requestOptions);
211
+ res = await commonPayment({
212
+ params: paymentParams,
213
+ extraParams,
214
+ options: {
215
+ request: requestOptions,
216
+ query: {
217
+ enable: true,
218
+ params: {
219
+ sessionId: session.sessionId,
220
+ clientKey: session.clientKey,
221
+ paymentMethod: PaymentMethod.SEPA_DEBIT
222
+ },
223
+ extraParams: (_g = (_f = core.config)._getExtraParams) == null ? void 0 : _g.call(_f, "query", PaymentMethod.SEPA_DEBIT)
224
+ }
225
+ }
226
+ });
212
227
  }
213
228
  return processAfterPayment(res, search);
214
229
  } catch (error) {
@@ -222,7 +237,7 @@ const Sepa = w((props, ref) => {
222
237
  } else {
223
238
  const message = error.i18nKey ? i18n.get(error.i18nKey) : error.message;
224
239
  setErrorMsg(message);
225
- (_f = props.onError) == null ? void 0 : _f.call(props, new PayKKaError("API_ERROR", message, { code: error.code, cause: error }));
240
+ (_h = props.onError) == null ? void 0 : _h.call(props, new PayKKaError("API_ERROR", message, { code: error.code, cause: error }));
226
241
  setSubmitButtonStatus("unSubmit");
227
242
  return { end: true };
228
243
  }
@@ -4,8 +4,8 @@ import { useI18n } from "../../../hooks/useI18n.js";
4
4
  import "../../../out/fraud-detection.js";
5
5
  import "../../../utils/card-brand/brands.js";
6
6
  import "../../../utils/system-info/get-browser-info.js";
7
- import { useBreakpoints } from "../../../hooks/useBreakpoints.js";
8
7
  import "../../../core/context.js";
8
+ import { useBreakpoints } from "../../../hooks/useBreakpoints.js";
9
9
  import { Button } from "../../internal/Button/Button2.js";
10
10
  import { Modal } from "../../internal/Modal/Modal.js";
11
11
  import "./blik-confirm-modal.js";
@@ -1,9 +1,9 @@
1
1
  import { u } from "../../../core.js";
2
2
  import "../../../utils/card-brand/brands.js";
3
3
  import "../../../utils/system-info/get-browser-info.js";
4
- import { useI18n } from "../../../hooks/useI18n.js";
5
- import "../../../out/fraud-detection.js";
6
4
  import "../../../core/context.js";
5
+ import "../../../out/fraud-detection.js";
6
+ import { useI18n } from "../../../hooks/useI18n.js";
7
7
  import "../../internal/Form/type.js";
8
8
  import "../../internal/Form/context.js";
9
9
  import { FormItem } from "../../internal/Form/FormItem.js";
@@ -6,8 +6,8 @@ import "../../../utils/card-brand/brands.js";
6
6
  import "../../../utils/system-info/get-browser-info.js";
7
7
  import { formatAmount } from "../../../utils/format.js";
8
8
  import { formatTime } from "../../../utils/date.js";
9
- import { useBreakpoints } from "../../../hooks/useBreakpoints.js";
10
9
  import "../../../core/context.js";
10
+ import { useBreakpoints } from "../../../hooks/useBreakpoints.js";
11
11
  import { Modal } from "../../internal/Modal/Modal.js";
12
12
  import "./qr-code-modal.js";
13
13
  import { QRCode } from "../../internal/QRCode/QRCode.js";
@@ -1,6 +1,9 @@
1
1
  import "../../../utils/card-brand/brands.js";
2
2
  import "../../../utils/system-info/get-browser-info.js";
3
3
  import { limitedToNumber } from "../../../utils/format.js";
4
+ import "../../../core.js";
5
+ import "../../../core/context.js";
6
+ import "../../../out/fraud-detection.js";
4
7
  function formatDigitsByGroups(rawDigits, groups, maxDigits, separator = " ") {
5
8
  const d = limitedToNumber(rawDigits).slice(0, maxDigits);
6
9
  if (!d)
@@ -1,5 +1,7 @@
1
1
  import "../../../core.js";
2
2
  import "../../../utils/card-brand/brands.js";
3
3
  import "../../../utils/system-info/get-browser-info.js";
4
+ import "../../../core/context.js";
5
+ import "../../../out/fraud-detection.js";
4
6
  import "../../internal/Input/Input.js";
5
7
  import "../../internal/Input/type.js";
@@ -49,5 +49,23 @@ import "./wallets/IDeal/IDeal.js";
49
49
  import "./wallets/Skrill/Skrill.js";
50
50
  import "./wallets/P24/P24.js";
51
51
  import "./wallets/Trustly/Trustly.js";
52
+ import "./wallets/BancomatPay/BancomatPay.js";
53
+ import "./wallets/MyBank/MyBank.js";
54
+ import "./wallets/Bizum/Bizum.js";
55
+ import "./wallets/EPS/EPS.js";
56
+ import "./wallets/MbWay/MbWay.js";
57
+ import "./wallets/Multibanco/Multibanco.js";
58
+ import "./wallets/PayU/PayU.js";
59
+ import "./wallets/Satispay/Satispay.js";
52
60
  import "./wallets/AliPay/AliPay.js";
53
61
  import "./wallets/WechatPay/WechatPay.js";
62
+ import "./wallets/PayByBank/PayByBank.js";
63
+ import "./wallets/Fpx/Fpx.js";
64
+ import "./wallets/DragonPay/DragonPay.js";
65
+ import "./wallets/Upi/Upi.js";
66
+ import "./wallets/OnlineBankingFinland/OnlineBankingFinland.js";
67
+ import "./wallets/OnlineBankingEstonia/OnlineBankingEstonia.js";
68
+ import "./wallets/OnlineBankingLatvia/OnlineBankingLatvia.js";
69
+ import "./wallets/OnlineBankingLithuania/OnlineBankingLithuania.js";
70
+ import "./wallets/OnlineBankingIndonesia/OnlineBankingIndonesia.js";
71
+ import "./wallets/OnlineBankingThailand/OnlineBankingThailand.js";
@@ -1,6 +1,9 @@
1
1
  import "../../../utils/card-brand/brands.js";
2
2
  import "../../../utils/system-info/get-browser-info.js";
3
3
  import { isEventSupported } from "../../../utils/detect.js";
4
+ import "../../../core.js";
5
+ import "../../../core/context.js";
6
+ import "../../../out/fraud-detection.js";
4
7
  const accordionTransition = (item, unfold, enable = true) => {
5
8
  const paddingBottom = 16;
6
9
  const child = item.firstElementChild;
@@ -2,6 +2,8 @@ import { w, F, h, y, u } from "../../../core.js";
2
2
  import { isObject, isString } from "../../../utils/is.js";
3
3
  import "../../../utils/card-brand/brands.js";
4
4
  import "../../../utils/system-info/get-browser-info.js";
5
+ import "../../../core/context.js";
6
+ import "../../../out/fraud-detection.js";
5
7
  import { FormContext } from "./context.js";
6
8
  import { collectErrors } from "./util.js";
7
9
  const Form = w((props, ref) => {
@@ -6,6 +6,8 @@ import "../../../utils/card-brand/brands.js";
6
6
  import "../../../utils/system-info/get-browser-info.js";
7
7
  import { normalizedClass } from "../../../utils/format.js";
8
8
  import { set } from "../../../utils/object.js";
9
+ import "../../../core/context.js";
10
+ import "../../../out/fraud-detection.js";
9
11
  import { FormItemContext, FormContext } from "./context.js";
10
12
  import { formItemBEM, formItemLabelClassName, formItemErrorMessageClassName } from "./type.js";
11
13
  import { getActiveRules } from "./util.js";
@@ -4,6 +4,8 @@ import { COMMON_CLASS_NAME } from "../../../constant.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  import "../Form/type.js";
8
10
  import { FormItemContext } from "../Form/context.js";
9
11
  import "../Form/FormItem.js";
@@ -1,3 +1,5 @@
1
1
  import "../../../core.js";
2
2
  import "../../../utils/card-brand/brands.js";
3
3
  import "../../../utils/system-info/get-browser-info.js";
4
+ import "../../../core/context.js";
5
+ import "../../../out/fraud-detection.js";
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  function Icon3DSInfo({ size, style, className }) {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -1,3 +1,5 @@
1
1
  import "../../../core.js";
2
2
  import "../../../utils/card-brand/brands.js";
3
3
  import "../../../utils/system-info/get-browser-info.js";
4
+ import "../../../core/context.js";
5
+ import "../../../out/fraud-detection.js";
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  function IconAdd({ size, style, className }) {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  const IconAlipayPlus = ({ size, style, className }) => {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  function IconAmex({ size, style, className }) {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  const IconArrowDown = ({ size, style, className }) => {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -0,0 +1,33 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
9
+ const IconBancomatPay = ({ size, style, className }) => {
10
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
11
+ return /* @__PURE__ */ u(
12
+ "svg",
13
+ {
14
+ width: computedSize,
15
+ height: computedSize,
16
+ viewBox: "0 0 24 24",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ style,
20
+ className: normalizedClass(COMMON_CLASS_NAME, className),
21
+ children: /* @__PURE__ */ u(
22
+ "path",
23
+ {
24
+ d: "M3.23906 14.4327H3.44604C4.15045 14.4395 4.85492 14.4383 5.55931 14.4291C5.95091 14.4233 6.33429 14.3515 6.68121 14.1422C7.09751 13.8905 7.32801 13.2955 7.32801 12.8721C6.94581 12.8701 6.56361 12.8701 6.18141 12.8721C6.04382 12.8768 6.05793 12.978 6.04382 13.0426C5.98855 13.3014 5.84743 13.4319 5.58518 13.4354H3.36019L3.24141 14.4315L3.23906 14.4327ZM7.46325 10.9635C7.56909 10.3167 7.45384 9.95446 6.88701 9.71926C6.66481 9.63818 6.42968 9.59832 6.19317 9.60166C5.40139 9.59003 4.6095 9.58729 3.81765 9.59343L3.71769 10.6001H4.09401C4.67025 10.6001 5.24649 10.6001 5.82273 10.6024C6.06381 10.6036 6.09556 10.5719 6.17906 10.773C6.21596 10.8584 6.23125 10.9516 6.22357 11.0444C6.21589 11.1372 6.18548 11.2266 6.13504 11.3049C6.08459 11.3831 6.01565 11.4477 5.93431 11.493C5.85298 11.5382 5.76174 11.5628 5.66867 11.5644C5.24884 11.5644 4.61851 11.5644 3.77767 11.5668H3.59657L3.48367 12.4299H8.20413C8.22765 11.9478 8.0489 11.5338 7.27274 11.5338C7.33742 11.3445 7.4315 11.1575 7.46325 10.9635ZM10.3586 12.5769L7.4115 15.524C6.92935 16.0062 6.44719 16.4848 5.9662 16.9669C5.66632 17.2692 5.2018 17.2621 4.88193 16.9434L2.23476 14.2998C1.67146 13.7376 1.10815 13.1767 0.546026 12.6134C0.143834 12.2112 0.135602 11.8172 0.537794 11.4139C1.99015 9.95917 3.44486 8.50681 4.90192 7.05562C5.22532 6.73458 5.65456 6.73105 5.9662 7.04386C7.43855 8.51504 8.90737 9.98857 10.3785 11.4597C10.5303 11.6114 10.6267 11.7808 10.6008 12.0125C10.6396 12.2441 10.5161 12.4194 10.3586 12.5769ZM17.5933 12.6228C17.5204 12.2171 17.4498 11.8302 17.3816 11.4421H17.3287L16.8183 12.6228H17.5933ZM18.0578 14.4962H17.8732L17.7509 13.7964C17.6368 13.7988 17.4922 13.7988 17.3158 13.7964C17.0641 13.7941 16.8136 13.7976 16.5631 13.7929C16.5004 13.7917 16.4377 13.7917 16.375 13.7929L16.2903 13.9752L16.0669 14.4915H15.5435C15.3001 14.4915 15.0555 14.4879 14.8121 14.4856C14.8003 14.4856 14.7885 14.4738 14.7462 14.4538C14.7979 14.3292 14.8497 14.2022 14.905 14.0775C15.5447 12.6099 16.1868 11.1446 16.8218 9.67693L16.8806 9.54169C16.8876 9.52691 16.8988 9.51455 16.9129 9.50617C16.9269 9.49779 16.9431 9.49378 16.9594 9.49465C17.4145 9.51464 17.7274 9.54757 17.8955 9.58873C18.2436 9.67575 18.413 9.96034 18.4776 10.299C18.5952 10.9188 18.7658 11.849 18.9916 13.0897C19.1538 13.9505 19.2385 14.4186 19.2468 14.4926L18.0578 14.4962ZM13.7054 11.8725C13.8924 11.8784 14.0406 11.7937 14.0888 11.635C14.1523 11.4209 14.177 11.1916 14.1829 10.967C14.1888 10.8141 14.0653 10.7318 13.9124 10.7283C13.689 10.7248 13.4655 10.7248 13.2421 10.7283H13.0963C13.034 11.2434 12.9857 11.6232 12.954 11.869C13.2327 11.869 13.4691 11.8631 13.7043 11.8713L13.7054 11.8725ZM11.3123 14.4785C11.3476 14.1634 11.3781 13.8576 11.4158 13.5518C11.5193 12.6969 11.6757 11.348 11.8838 9.50758H12.0955C12.9728 9.50405 13.6302 9.50758 14.0688 9.51699C14.2958 9.52169 14.5275 9.56285 14.7462 9.62636C15.2166 9.7663 15.48 10.105 15.5271 10.5848C15.5988 11.3163 15.4753 12.0031 14.932 12.5511C14.6469 12.8323 14.2678 12.9982 13.8677 13.0168C13.5773 13.0379 13.2844 13.0285 12.9928 13.0238C12.8623 13.0215 12.807 13.0544 12.7929 13.2002C12.7505 13.6236 12.687 14.0469 12.6306 14.4785H11.3123ZM20.6803 9.68751L21.2812 11.408C21.6223 10.8373 21.9524 10.2602 22.2714 9.67693C22.2996 9.62588 22.341 9.58334 22.3913 9.55376C22.4416 9.52418 22.4989 9.50864 22.5572 9.50876H23.7602L23.6497 9.72279C23.0922 10.6622 22.5273 11.5971 21.9551 12.5275C21.9069 12.6052 21.8328 12.7192 21.734 12.8686L21.5517 14.3621L21.5305 14.495H20.1852C20.2546 13.9532 20.3181 13.4106 20.3757 12.8674C20.3592 12.8078 20.3412 12.7486 20.3216 12.6898C19.9641 11.6844 19.2256 9.59108 19.2115 9.51464H20.4369C20.4903 9.51477 20.5424 9.53146 20.586 9.56242C20.6296 9.59337 20.6626 9.63707 20.6803 9.68751Z",
25
+ fill: "#3CBEF0"
26
+ }
27
+ )
28
+ }
29
+ );
30
+ };
31
+ export {
32
+ IconBancomatPay
33
+ };
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  const IconBancontact = ({ size, style, className }) => {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -0,0 +1,33 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
9
+ const IconBizum = ({ size, style, className }) => {
10
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
11
+ return /* @__PURE__ */ u(
12
+ "svg",
13
+ {
14
+ width: computedSize,
15
+ height: computedSize,
16
+ viewBox: "0 0 24 24",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ style,
20
+ className: normalizedClass(COMMON_CLASS_NAME, className),
21
+ children: /* @__PURE__ */ u(
22
+ "path",
23
+ {
24
+ d: "M11.4326 10.9624C11.333 10.9618 11.2371 11.0006 11.166 11.0705C11.0949 11.1404 11.0544 11.2355 11.0534 11.3352V14.134C11.0534 14.3439 11.2227 14.5133 11.4326 14.5133C11.6434 14.5133 11.8127 14.3439 11.8127 14.134V11.3352C11.8116 11.2354 11.7709 11.1402 11.6997 11.0703C11.6284 11.0005 11.5324 10.9617 11.4326 10.9624ZM11.4326 9.56605C11.3765 9.56589 11.3209 9.57683 11.2691 9.59824C11.2172 9.61965 11.1701 9.65111 11.1304 9.69081C11.0908 9.7305 11.0594 9.77765 11.038 9.82954C11.0166 9.88143 11.0057 9.93703 11.006 9.99314C11.006 10.2298 11.196 10.4267 11.4326 10.4267C11.6701 10.4267 11.8601 10.2298 11.8601 9.99314C11.8604 9.93696 11.8494 9.88129 11.828 9.82935C11.8066 9.77741 11.7751 9.73023 11.7354 9.69052C11.6956 9.65081 11.6484 9.61937 11.5965 9.598C11.5445 9.57664 11.4888 9.56578 11.4326 9.56605ZM15.1326 11.3279C15.1326 11.0917 14.9434 11.0029 14.7805 11.0029H12.9036C12.8604 11.0022 12.8174 11.0101 12.7773 11.0261C12.7371 11.0421 12.7005 11.0659 12.6696 11.0961C12.6387 11.1263 12.6141 11.1624 12.5973 11.2022C12.5804 11.242 12.5716 11.2847 12.5713 11.3279C12.5713 11.5115 12.7204 11.6602 12.9036 11.6602H14.137L12.5381 13.8832C12.4913 13.9486 12.4653 14.0265 12.4635 14.1069C12.4635 14.3366 12.6531 14.4724 12.8092 14.4724H14.8012C14.8892 14.4722 14.9735 14.4371 15.0356 14.3748C15.0977 14.3125 15.1326 14.2281 15.1326 14.1401C15.1331 14.0964 15.1249 14.0531 15.1084 14.0126C15.0919 13.9722 15.0675 13.9354 15.0367 13.9045C15.0058 13.8736 14.9691 13.8491 14.9286 13.8326C14.8882 13.8161 14.8449 13.8078 14.8012 13.8082H13.4595L15.0249 11.6334C15.1059 11.5253 15.1326 11.4304 15.1326 11.3279ZM9.59824 13.0906C9.59824 13.5509 9.39482 13.8354 8.94058 13.8354C8.47985 13.8354 8.28333 13.5509 8.28333 13.0906V11.6602H8.973C9.52895 11.6602 9.59824 11.9653 9.59824 12.3045V13.0906ZM10.3503 12.2911C10.3503 11.5046 9.93538 11.0029 8.97908 11.0029H8.28333V9.94533C8.28397 9.84566 8.24511 9.74979 8.17524 9.67871C8.10538 9.60763 8.0102 9.56712 7.91053 9.56605C7.86066 9.56594 7.81126 9.57569 7.76517 9.59474C7.71907 9.61379 7.6772 9.64176 7.64196 9.67704C7.60671 9.71232 7.57879 9.75423 7.55979 9.80034C7.54079 9.84645 7.53109 9.89586 7.53125 9.94573V13.0902C7.53125 13.8694 7.95146 14.5133 8.94058 14.5133C9.92322 14.5133 10.3507 13.8694 10.3507 13.0906L10.3503 12.2911ZM18.0899 10.9624C18.04 10.9623 17.9905 10.972 17.9444 10.991C17.8983 11.01 17.8563 11.038 17.8211 11.0733C17.7858 11.1085 17.7578 11.1505 17.7388 11.1966C17.7198 11.2427 17.71 11.2922 17.7102 11.3421V13.0906C17.7102 13.5509 17.5068 13.8354 17.0525 13.8354C16.5918 13.8354 16.3953 13.5509 16.3953 13.0906V11.3421C16.396 11.2424 16.3572 11.1464 16.2874 11.0752C16.2175 11.004 16.1222 10.9635 16.0225 10.9624C15.9726 10.9623 15.9232 10.9721 15.8771 10.9911C15.831 11.0102 15.7892 11.0381 15.7539 11.0734C15.7187 11.1087 15.6907 11.1506 15.6717 11.1967C15.6527 11.2428 15.6431 11.2922 15.6432 11.3421V13.0906C15.6432 13.8694 16.063 14.5133 17.0525 14.5133C18.0348 14.5133 18.4627 13.8694 18.4627 13.0906V11.3421C18.4634 11.2424 18.4246 11.1464 18.3547 11.0752C18.2849 11.004 18.1896 10.9635 18.0899 10.9624ZM23.8399 12.3851C23.8399 11.6063 23.4792 10.962 22.4905 10.962C22.0496 10.962 21.7336 11.0925 21.518 11.306C21.3032 11.0925 20.9868 10.962 20.5431 10.962C19.5604 10.962 19.1937 11.6063 19.1937 12.3851L19.1929 14.134C19.1929 14.3439 19.3623 14.5133 19.5657 14.5133C19.6155 14.5134 19.6649 14.5037 19.711 14.4846C19.7571 14.4656 19.799 14.4377 19.8342 14.4025C19.8695 14.3672 19.8975 14.3254 19.9166 14.2793C19.9356 14.2332 19.9454 14.1839 19.9454 14.134V12.3851C19.9454 11.9244 20.0888 11.6399 20.5431 11.6399C21.0038 11.6399 21.1403 11.9244 21.1403 12.3855V14.134C21.1403 14.3439 21.3101 14.5133 21.5135 14.5133C21.5634 14.5134 21.6128 14.5037 21.6589 14.4846C21.705 14.4656 21.7468 14.4377 21.7821 14.4025C21.8174 14.3672 21.8453 14.3254 21.8644 14.2793C21.8835 14.2332 21.8933 14.1839 21.8932 14.134V12.3851C21.8932 11.9244 22.0363 11.6399 22.4905 11.6399C22.9512 11.6399 23.0882 11.9244 23.0882 12.3855V14.134C23.0882 14.3439 23.2572 14.5133 23.461 14.5133C23.5108 14.5133 23.5602 14.5036 23.6062 14.4845C23.6522 14.4655 23.6941 14.4376 23.7293 14.4023C23.7645 14.3671 23.7925 14.3253 23.8115 14.2792C23.8305 14.2332 23.8403 14.1838 23.8403 14.134L23.8399 12.3851ZM1.49698 10.9587C1.76199 11.1512 2.13317 11.092 2.32605 10.8266L3.02342 9.86666C3.06927 9.80365 3.10224 9.73222 3.12045 9.65646C3.13867 9.58069 3.14177 9.50208 3.12957 9.42511C3.11738 9.34815 3.09013 9.27434 3.04939 9.20792C3.00865 9.1415 2.95521 9.08376 2.89213 9.038C2.82918 8.992 2.75776 8.95888 2.68197 8.94054C2.60619 8.92219 2.52753 8.91899 2.45051 8.93111C2.37348 8.94324 2.29961 8.97044 2.23312 9.01118C2.16664 9.05191 2.10885 9.10537 2.06306 9.16848L1.36488 10.1288C1.31904 10.1919 1.28607 10.2635 1.26788 10.3393C1.24968 10.4151 1.24661 10.4938 1.25884 10.5709C1.27107 10.6479 1.29837 10.7218 1.33916 10.7882C1.37995 10.8547 1.43385 10.9129 1.49698 10.9587ZM4.68115 9.60449C4.61816 9.55862 4.54675 9.52562 4.471 9.50738C4.39525 9.48913 4.31665 9.486 4.23968 9.49815C4.16272 9.51031 4.08891 9.53752 4.02247 9.57822C3.95603 9.61893 3.89827 9.67233 3.85249 9.73537L1.06178 13.5768C1.014 13.6397 0.979251 13.7115 0.959575 13.7879C0.939899 13.8644 0.935691 13.9441 0.947199 14.0222C0.958706 14.1003 0.985697 14.1754 1.02659 14.2429C1.06748 14.3105 1.12145 14.3692 1.18533 14.4156C1.24922 14.4621 1.32173 14.4953 1.39861 14.5133C1.47549 14.5313 1.55521 14.5338 1.63307 14.5207C1.71094 14.5075 1.78539 14.4789 1.85206 14.4366C1.91873 14.3942 1.97628 14.339 2.02133 14.2742L4.81244 10.4327C5.00532 10.1677 4.94656 9.79697 4.68115 9.60449ZM1.234 9.30018C1.27984 9.23712 1.31282 9.16565 1.33104 9.08985C1.34926 9.01405 1.35237 8.9354 1.3402 8.85839C1.32803 8.78139 1.30081 8.70753 1.2601 8.64105C1.21938 8.57456 1.16597 8.51675 1.10291 8.47091C1.03985 8.42506 0.968385 8.39209 0.892583 8.37387C0.816782 8.35564 0.738134 8.35253 0.661129 8.3647C0.584124 8.37688 0.510271 8.4041 0.443786 8.44481C0.377301 8.48552 0.319487 8.53894 0.273644 8.60199C0.181059 8.72934 0.142856 8.88826 0.16744 9.04378C0.192023 9.19929 0.277379 9.33868 0.40473 9.43126C0.532081 9.52385 0.690995 9.56205 0.846513 9.53747C1.00203 9.51288 1.14141 9.42753 1.234 9.30018ZM5.46848 14.5781C5.40552 14.5296 5.33347 14.4943 5.25662 14.4742C5.17976 14.4541 5.09965 14.4496 5.02102 14.4609C4.94239 14.4723 4.86685 14.4994 4.79886 14.5405C4.73087 14.5816 4.67181 14.6359 4.62519 14.7002C4.57856 14.7645 4.54532 14.8376 4.52741 14.915C4.50951 14.9924 4.50731 15.0726 4.52096 15.1509C4.5346 15.2291 4.5638 15.3039 4.60684 15.3706C4.64987 15.4374 4.70587 15.4949 4.77151 15.5396C4.89924 15.6267 5.05588 15.6606 5.20818 15.6341C5.36048 15.6075 5.49643 15.5226 5.58716 15.3975C5.67789 15.2723 5.71624 15.1167 5.69408 14.9637C5.67192 14.8107 5.59099 14.6724 5.46848 14.5781ZM4.37683 13.0512C4.24952 12.9589 4.09075 12.9209 3.93544 12.9456C3.78013 12.9703 3.64098 13.0557 3.54858 13.1829L2.85039 14.1433C2.75797 14.2706 2.71992 14.4295 2.74462 14.5849C2.76932 14.7403 2.85474 14.8795 2.98209 14.9719C3.10944 15.0644 3.26829 15.1024 3.42369 15.0777C3.5791 15.053 3.71833 14.9676 3.81075 14.8403L4.50893 13.8803C4.701 13.6153 4.64265 13.2441 4.37683 13.0512Z",
25
+ fill: "#00CBD0"
26
+ }
27
+ )
28
+ }
29
+ );
30
+ };
31
+ export {
32
+ IconBizum
33
+ };
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  const IconBlik = ({ size, style, className }) => {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  const IconBoost = ({ size, style = {}, className }) => {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(
@@ -1,3 +1,5 @@
1
1
  import "../../../core.js";
2
2
  import "../../../utils/card-brand/brands.js";
3
3
  import "../../../utils/system-info/get-browser-info.js";
4
+ import "../../../core/context.js";
5
+ import "../../../out/fraud-detection.js";
@@ -4,6 +4,8 @@ import { isUndefined } from "../../../utils/is.js";
4
4
  import "../../../utils/card-brand/brands.js";
5
5
  import "../../../utils/system-info/get-browser-info.js";
6
6
  import { normalizedClass } from "../../../utils/format.js";
7
+ import "../../../core/context.js";
8
+ import "../../../out/fraud-detection.js";
7
9
  const IconCard2 = ({ size, style, className }) => {
8
10
  const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
11
  return /* @__PURE__ */ u(