@tap-payments/click-to-pay-button-web 0.0.1-test

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 (354) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -0
  3. package/build/@types/authenticate.d.ts +138 -0
  4. package/build/@types/authenticate.js +1 -0
  5. package/build/@types/cardButtonProps.d.ts +11 -0
  6. package/build/@types/cardButtonProps.js +1 -0
  7. package/build/@types/cardWeb.d.ts +161 -0
  8. package/build/@types/cardWeb.js +1 -0
  9. package/build/@types/click2pay.d.ts +11 -0
  10. package/build/@types/click2pay.js +11 -0
  11. package/build/@types/clickToPay/checkoutResponseData.d.ts +14 -0
  12. package/build/@types/clickToPay/checkoutResponseData.js +1 -0
  13. package/build/@types/clickToPay/click2PayCard.d.ts +56 -0
  14. package/build/@types/clickToPay/click2PayCard.js +1 -0
  15. package/build/@types/clickToPay/complianceSettings.d.ts +12 -0
  16. package/build/@types/clickToPay/complianceSettings.js +1 -0
  17. package/build/@types/clickToPay/consumer.d.ts +9 -0
  18. package/build/@types/clickToPay/consumer.js +1 -0
  19. package/build/@types/clickToPay/dpaData.d.ts +7 -0
  20. package/build/@types/clickToPay/dpaData.js +1 -0
  21. package/build/@types/clickToPay/dpaTransactionOptions.d.ts +31 -0
  22. package/build/@types/clickToPay/dpaTransactionOptions.js +1 -0
  23. package/build/@types/clickToPay/events/checkoutWithCard.d.ts +24 -0
  24. package/build/@types/clickToPay/events/checkoutWithCard.js +1 -0
  25. package/build/@types/clickToPay/events/checkoutWithNewCard.d.ts +26 -0
  26. package/build/@types/clickToPay/events/checkoutWithNewCard.js +1 -0
  27. package/build/@types/clickToPay/events/encryptCard.d.ts +26 -0
  28. package/build/@types/clickToPay/events/encryptCard.js +1 -0
  29. package/build/@types/clickToPay/events/errors.d.ts +15 -0
  30. package/build/@types/clickToPay/events/errors.js +12 -0
  31. package/build/@types/clickToPay/events/getCards.d.ts +4 -0
  32. package/build/@types/clickToPay/events/getCards.js +1 -0
  33. package/build/@types/clickToPay/events/idLookup.d.ts +16 -0
  34. package/build/@types/clickToPay/events/idLookup.js +1 -0
  35. package/build/@types/clickToPay/events/index.d.ts +23 -0
  36. package/build/@types/clickToPay/events/index.js +1 -0
  37. package/build/@types/clickToPay/events/init.d.ts +20 -0
  38. package/build/@types/clickToPay/events/init.js +1 -0
  39. package/build/@types/clickToPay/events/initiateValidation.d.ts +19 -0
  40. package/build/@types/clickToPay/events/initiateValidation.js +1 -0
  41. package/build/@types/clickToPay/events/signOut.d.ts +8 -0
  42. package/build/@types/clickToPay/events/signOut.js +1 -0
  43. package/build/@types/clickToPay/events/validate.d.ts +8 -0
  44. package/build/@types/clickToPay/events/validate.js +1 -0
  45. package/build/@types/clickToPay/maskedCard.d.ts +16 -0
  46. package/build/@types/clickToPay/maskedCard.js +1 -0
  47. package/build/@types/clickToPay/maskedConsumer.d.ts +21 -0
  48. package/build/@types/clickToPay/maskedConsumer.js +1 -0
  49. package/build/@types/clickToPay/mastercardCheckoutServicesObject.d.ts +61 -0
  50. package/build/@types/clickToPay/mastercardCheckoutServicesObject.js +1 -0
  51. package/build/@types/enum.d.ts +19 -0
  52. package/build/@types/enum.js +23 -0
  53. package/build/@types/error.d.ts +14 -0
  54. package/build/@types/error.js +1 -0
  55. package/build/@types/index.d.ts +6 -0
  56. package/build/@types/index.js +6 -0
  57. package/build/@types/tapCountry.d.ts +30 -0
  58. package/build/@types/tapCountry.js +1 -0
  59. package/build/@types/tapLocalisation.d.ts +193 -0
  60. package/build/@types/tapLocalisation.js +1 -0
  61. package/build/@types/tapTheme.d.ts +842 -0
  62. package/build/@types/tapTheme.js +1 -0
  63. package/build/@types/utils.d.ts +6 -0
  64. package/build/@types/utils.js +1 -0
  65. package/build/api.d.ts +3 -0
  66. package/build/api.js +30 -0
  67. package/build/assets/gif/error-black.gif +0 -0
  68. package/build/assets/gif/error-white.gif +0 -0
  69. package/build/assets/gif/success-black.gif +0 -0
  70. package/build/assets/gif/success-white.gif +0 -0
  71. package/build/assets/locales/locale.json +517 -0
  72. package/build/components/ActionButton/ActionButton.d.ts +20 -0
  73. package/build/components/ActionButton/ActionButton.js +35 -0
  74. package/build/components/ActionButton/index.d.ts +2 -0
  75. package/build/components/ActionButton/index.js +2 -0
  76. package/build/components/Banner/BannerError.d.ts +6 -0
  77. package/build/components/Banner/BannerError.js +36 -0
  78. package/build/components/Banner/index.d.ts +1 -0
  79. package/build/components/Banner/index.js +1 -0
  80. package/build/components/Button/Button.d.ts +5 -0
  81. package/build/components/Button/Button.js +23 -0
  82. package/build/components/Button/index.d.ts +2 -0
  83. package/build/components/Button/index.js +2 -0
  84. package/build/components/ChipButton/ChipButton.d.ts +15 -0
  85. package/build/components/ChipButton/ChipButton.js +49 -0
  86. package/build/components/ChipButton/index.d.ts +2 -0
  87. package/build/components/ChipButton/index.js +2 -0
  88. package/build/components/CountrySelect/CountrySelect.d.ts +8 -0
  89. package/build/components/CountrySelect/CountrySelect.js +27 -0
  90. package/build/components/CountrySelect/index.d.ts +2 -0
  91. package/build/components/CountrySelect/index.js +2 -0
  92. package/build/components/DragScrollableImageList/DragScrollableImageList.d.ts +6 -0
  93. package/build/components/DragScrollableImageList/DragScrollableImageList.js +27 -0
  94. package/build/components/DragScrollableImageList/index.d.ts +2 -0
  95. package/build/components/DragScrollableImageList/index.js +2 -0
  96. package/build/components/Icons/AnimatedCheckIcon.d.ts +8 -0
  97. package/build/components/Icons/AnimatedCheckIcon.js +33 -0
  98. package/build/components/Icons/CheckboxCheckedIcon.d.ts +7 -0
  99. package/build/components/Icons/CheckboxCheckedIcon.js +19 -0
  100. package/build/components/Icons/CheckboxIcon.d.ts +7 -0
  101. package/build/components/Icons/CheckboxIcon.js +19 -0
  102. package/build/components/Icons/ExclamationIcon.d.ts +8 -0
  103. package/build/components/Icons/ExclamationIcon.js +19 -0
  104. package/build/components/Icons/InfoIcon.d.ts +7 -0
  105. package/build/components/Icons/InfoIcon.js +10 -0
  106. package/build/components/Icons/MemoIcon.d.ts +8 -0
  107. package/build/components/Icons/MemoIcon.js +23 -0
  108. package/build/components/Icons/index.d.ts +6 -0
  109. package/build/components/Icons/index.js +6 -0
  110. package/build/components/Loader/Loader.d.ts +13 -0
  111. package/build/components/Loader/Loader.js +24 -0
  112. package/build/components/Loader/index.d.ts +2 -0
  113. package/build/components/Loader/index.js +2 -0
  114. package/build/components/OTPInput/OTPInput.d.ts +13 -0
  115. package/build/components/OTPInput/OTPInput.js +97 -0
  116. package/build/components/OTPInput/index.d.ts +2 -0
  117. package/build/components/OTPInput/index.js +2 -0
  118. package/build/components/OTPInputAdapter/OTPInputAdapter.d.ts +14 -0
  119. package/build/components/OTPInputAdapter/OTPInputAdapter.js +146 -0
  120. package/build/components/OTPInputAdapter/index.d.ts +3 -0
  121. package/build/components/OTPInputAdapter/index.js +3 -0
  122. package/build/components/OTPTimer/OTPTimer.d.ts +11 -0
  123. package/build/components/OTPTimer/OTPTimer.js +58 -0
  124. package/build/components/OTPTimer/hooks/useTimer.d.ts +8 -0
  125. package/build/components/OTPTimer/hooks/useTimer.js +28 -0
  126. package/build/components/OTPTimer/index.d.ts +1 -0
  127. package/build/components/OTPTimer/index.js +1 -0
  128. package/build/components/PhoneInput/PhoneInput.d.ts +8 -0
  129. package/build/components/PhoneInput/PhoneInput.js +71 -0
  130. package/build/components/PhoneInput/index.d.ts +2 -0
  131. package/build/components/PhoneInput/index.js +2 -0
  132. package/build/components/SkeletonLoader/SkeletonLoader.d.ts +4 -0
  133. package/build/components/SkeletonLoader/SkeletonLoader.js +50 -0
  134. package/build/components/SkeletonLoader/index.d.ts +2 -0
  135. package/build/components/SkeletonLoader/index.js +2 -0
  136. package/build/components/Text/Text.d.ts +5 -0
  137. package/build/components/Text/Text.js +17 -0
  138. package/build/components/Text/index.d.ts +2 -0
  139. package/build/components/Text/index.js +2 -0
  140. package/build/components/TooltipAdapter/TooltipAdapter.d.ts +7 -0
  141. package/build/components/TooltipAdapter/TooltipAdapter.js +63 -0
  142. package/build/components/TooltipAdapter/index.d.ts +2 -0
  143. package/build/components/TooltipAdapter/index.js +2 -0
  144. package/build/configs/dark.d.ts +958 -0
  145. package/build/configs/dark.js +958 -0
  146. package/build/configs/light.d.ts +960 -0
  147. package/build/configs/light.js +960 -0
  148. package/build/configs/locale.d.ts +517 -0
  149. package/build/configs/locale.js +517 -0
  150. package/build/constants/baseConfigs.d.ts +2 -0
  151. package/build/constants/baseConfigs.js +4 -0
  152. package/build/constants/click2pay.d.ts +16 -0
  153. package/build/constants/click2pay.js +16 -0
  154. package/build/constants/countries.d.ts +366 -0
  155. package/build/constants/countries.js +374 -0
  156. package/build/constants/index.d.ts +3 -0
  157. package/build/constants/index.js +3 -0
  158. package/build/context/Click2PayContext.d.ts +196 -0
  159. package/build/context/Click2PayContext.js +274 -0
  160. package/build/context/utils/chargeCall.d.ts +11 -0
  161. package/build/context/utils/chargeCall.js +82 -0
  162. package/build/features/CheckoutShell/CheckoutShell.css +76 -0
  163. package/build/features/CheckoutShell/CheckoutShell.d.ts +6 -0
  164. package/build/features/CheckoutShell/CheckoutShell.js +73 -0
  165. package/build/features/CheckoutShell/index.d.ts +1 -0
  166. package/build/features/CheckoutShell/index.js +1 -0
  167. package/build/features/Click2Pay/CardWeb/CardWeb.d.ts +7 -0
  168. package/build/features/Click2Pay/CardWeb/CardWeb.js +47 -0
  169. package/build/features/Click2Pay/CardWeb/index.d.ts +2 -0
  170. package/build/features/Click2Pay/CardWeb/index.js +2 -0
  171. package/build/features/Click2Pay/Click2PayBackButton/Click2PayBackButton.d.ts +8 -0
  172. package/build/features/Click2Pay/Click2PayBackButton/Click2PayBackButton.js +42 -0
  173. package/build/features/Click2Pay/Click2PayBackButton/index.d.ts +1 -0
  174. package/build/features/Click2Pay/Click2PayBackButton/index.js +1 -0
  175. package/build/features/Click2Pay/Click2PayCardAuthentication/hooks/useCheckoutWithCard.d.ts +7 -0
  176. package/build/features/Click2Pay/Click2PayCardAuthentication/hooks/useCheckoutWithCard.js +351 -0
  177. package/build/features/Click2Pay/Click2PayCardAuthentication/utils/index.d.ts +4 -0
  178. package/build/features/Click2Pay/Click2PayCardAuthentication/utils/index.js +18 -0
  179. package/build/features/Click2Pay/Click2PayCardButton/Click2PayCardButton.d.ts +13 -0
  180. package/build/features/Click2Pay/Click2PayCardButton/Click2PayCardButton.js +43 -0
  181. package/build/features/Click2Pay/Click2PayCardButton/index.d.ts +2 -0
  182. package/build/features/Click2Pay/Click2PayCardButton/index.js +2 -0
  183. package/build/features/Click2Pay/Click2PayChips/BackIcon.d.ts +2 -0
  184. package/build/features/Click2Pay/Click2PayChips/BackIcon.js +11 -0
  185. package/build/features/Click2Pay/Click2PayChips/Click2PayChips.d.ts +3 -0
  186. package/build/features/Click2Pay/Click2PayChips/Click2PayChips.js +88 -0
  187. package/build/features/Click2Pay/Click2PayChips/index.d.ts +2 -0
  188. package/build/features/Click2Pay/Click2PayChips/index.js +2 -0
  189. package/build/features/Click2Pay/Click2PayChipsContainer/Click2PayChipsContainer.d.ts +3 -0
  190. package/build/features/Click2Pay/Click2PayChipsContainer/Click2PayChipsContainer.js +16 -0
  191. package/build/features/Click2Pay/Click2PayChipsContainer/index.d.ts +2 -0
  192. package/build/features/Click2Pay/Click2PayChipsContainer/index.js +2 -0
  193. package/build/features/Click2Pay/Click2PaySignOutButton/Click2PaySignOutButton.d.ts +3 -0
  194. package/build/features/Click2Pay/Click2PaySignOutButton/Click2PaySignOutButton.js +24 -0
  195. package/build/features/Click2Pay/Click2PaySignOutButton/index.d.ts +1 -0
  196. package/build/features/Click2Pay/Click2PaySignOutButton/index.js +1 -0
  197. package/build/features/Click2Pay/Click2PaySupportedCardsList/Click2PaySupportedCardsList.d.ts +7 -0
  198. package/build/features/Click2Pay/Click2PaySupportedCardsList/Click2PaySupportedCardsList.js +53 -0
  199. package/build/features/Click2Pay/Click2PaySupportedCardsList/index.d.ts +1 -0
  200. package/build/features/Click2Pay/Click2PaySupportedCardsList/index.js +1 -0
  201. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltip.d.ts +9 -0
  202. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltip.js +23 -0
  203. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltipButtons/Click2PayTooltipButton.d.ts +9 -0
  204. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltipButtons/Click2PayTooltipButton.js +39 -0
  205. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltipButtons/Click2PayTooltipButtonExclamation.d.ts +6 -0
  206. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltipButtons/Click2PayTooltipButtonExclamation.js +24 -0
  207. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltipButtons/index.d.ts +2 -0
  208. package/build/features/Click2Pay/Click2PayTooltip/Click2PayTooltipButtons/index.js +2 -0
  209. package/build/features/Click2Pay/Click2PayTooltip/InformationUsageTooltip/InformationUsageContent.d.ts +3 -0
  210. package/build/features/Click2Pay/Click2PayTooltip/InformationUsageTooltip/InformationUsageContent.js +43 -0
  211. package/build/features/Click2Pay/Click2PayTooltip/InformationUsageTooltip/InformationUsageTooltip.d.ts +3 -0
  212. package/build/features/Click2Pay/Click2PayTooltip/InformationUsageTooltip/InformationUsageTooltip.js +12 -0
  213. package/build/features/Click2Pay/Click2PayTooltip/InformationUsageTooltip/index.d.ts +1 -0
  214. package/build/features/Click2Pay/Click2PayTooltip/InformationUsageTooltip/index.js +1 -0
  215. package/build/features/Click2Pay/Click2PayTooltip/LearnMoreTooltip/LearnMoreContent.d.ts +3 -0
  216. package/build/features/Click2Pay/Click2PayTooltip/LearnMoreTooltip/LearnMoreContent.js +68 -0
  217. package/build/features/Click2Pay/Click2PayTooltip/LearnMoreTooltip/LearnMoreTooltip.d.ts +3 -0
  218. package/build/features/Click2Pay/Click2PayTooltip/LearnMoreTooltip/LearnMoreTooltip.js +12 -0
  219. package/build/features/Click2Pay/Click2PayTooltip/LearnMoreTooltip/index.d.ts +1 -0
  220. package/build/features/Click2Pay/Click2PayTooltip/LearnMoreTooltip/index.js +1 -0
  221. package/build/features/Click2Pay/Click2PayTooltip/RememberMeTooltip/RememberMeContent.d.ts +3 -0
  222. package/build/features/Click2Pay/Click2PayTooltip/RememberMeTooltip/RememberMeContent.js +42 -0
  223. package/build/features/Click2Pay/Click2PayTooltip/RememberMeTooltip/RememberMeTooltip.d.ts +3 -0
  224. package/build/features/Click2Pay/Click2PayTooltip/RememberMeTooltip/RememberMeTooltip.js +13 -0
  225. package/build/features/Click2Pay/Click2PayTooltip/RememberMeTooltip/index.d.ts +1 -0
  226. package/build/features/Click2Pay/Click2PayTooltip/RememberMeTooltip/index.js +1 -0
  227. package/build/features/Click2Pay/Click2PayTooltip/index.d.ts +5 -0
  228. package/build/features/Click2Pay/Click2PayTooltip/index.js +5 -0
  229. package/build/features/Click2Pay/DefaultPayButton/DefaultPayButton.d.ts +16 -0
  230. package/build/features/Click2Pay/DefaultPayButton/DefaultPayButton.js +67 -0
  231. package/build/features/Click2Pay/DefaultPayButton/index.d.ts +3 -0
  232. package/build/features/Click2Pay/DefaultPayButton/index.js +2 -0
  233. package/build/features/Click2Pay/LockedView/LockedView.d.ts +3 -0
  234. package/build/features/Click2Pay/LockedView/LockedView.js +22 -0
  235. package/build/features/Click2Pay/LockedView/index.d.ts +1 -0
  236. package/build/features/Click2Pay/LockedView/index.js +1 -0
  237. package/build/features/Click2Pay/LoginForm/LoginForm.d.ts +7 -0
  238. package/build/features/Click2Pay/LoginForm/LoginForm.js +39 -0
  239. package/build/features/Click2Pay/LoginForm/components/Email.d.ts +6 -0
  240. package/build/features/Click2Pay/LoginForm/components/Email.js +91 -0
  241. package/build/features/Click2Pay/LoginForm/components/LoginFormFooter.d.ts +3 -0
  242. package/build/features/Click2Pay/LoginForm/components/LoginFormFooter.js +25 -0
  243. package/build/features/Click2Pay/LoginForm/components/MobileNumber.d.ts +6 -0
  244. package/build/features/Click2Pay/LoginForm/components/MobileNumber.js +103 -0
  245. package/build/features/Click2Pay/LoginForm/components/OTP/ChangePaymentMethodButton/ChangePaymentMethodButton.d.ts +9 -0
  246. package/build/features/Click2Pay/LoginForm/components/OTP/ChangePaymentMethodButton/ChangePaymentMethodButton.js +29 -0
  247. package/build/features/Click2Pay/LoginForm/components/OTP/ChangePaymentMethodButton/index.d.ts +2 -0
  248. package/build/features/Click2Pay/LoginForm/components/OTP/ChangePaymentMethodButton/index.js +2 -0
  249. package/build/features/Click2Pay/LoginForm/components/OTP/HeaderMessage.d.ts +7 -0
  250. package/build/features/Click2Pay/LoginForm/components/OTP/HeaderMessage.js +29 -0
  251. package/build/features/Click2Pay/LoginForm/components/OTP/LoginFormOTP.d.ts +3 -0
  252. package/build/features/Click2Pay/LoginForm/components/OTP/LoginFormOTP.js +190 -0
  253. package/build/features/Click2Pay/LoginForm/components/OTP/OTPActionButton/OTPActionButton.d.ts +10 -0
  254. package/build/features/Click2Pay/LoginForm/components/OTP/OTPActionButton/OTPActionButton.js +24 -0
  255. package/build/features/Click2Pay/LoginForm/components/OTP/OTPButton/OTPButton.d.ts +6 -0
  256. package/build/features/Click2Pay/LoginForm/components/OTP/OTPButton/OTPButton.js +23 -0
  257. package/build/features/Click2Pay/LoginForm/index.d.ts +2 -0
  258. package/build/features/Click2Pay/LoginForm/index.js +2 -0
  259. package/build/features/Click2Pay/LoginForm/useClick2PayLoginForm.d.ts +10 -0
  260. package/build/features/Click2Pay/LoginForm/useClick2PayLoginForm.js +233 -0
  261. package/build/features/Click2Pay/LoginForm/utils/assert/getCards.d.ts +3 -0
  262. package/build/features/Click2Pay/LoginForm/utils/assert/getCards.js +8 -0
  263. package/build/features/Click2Pay/LoginForm/utils/assert/idLookup.d.ts +3 -0
  264. package/build/features/Click2Pay/LoginForm/utils/assert/idLookup.js +8 -0
  265. package/build/features/Click2Pay/LoginForm/utils/assert/init.d.ts +3 -0
  266. package/build/features/Click2Pay/LoginForm/utils/assert/init.js +8 -0
  267. package/build/features/Click2Pay/LoginForm/utils/assert/initialValidationResponse.d.ts +3 -0
  268. package/build/features/Click2Pay/LoginForm/utils/assert/initialValidationResponse.js +8 -0
  269. package/build/features/Click2Pay/LoginForm/utils/assert/validateOTP.d.ts +3 -0
  270. package/build/features/Click2Pay/LoginForm/utils/assert/validateOTP.js +9 -0
  271. package/build/features/Click2Pay/LoginForm/utils/index.d.ts +5 -0
  272. package/build/features/Click2Pay/LoginForm/utils/index.js +5 -0
  273. package/build/features/Click2Pay/PaymentButton/CardList/CardList.d.ts +7 -0
  274. package/build/features/Click2Pay/PaymentButton/CardList/CardList.js +55 -0
  275. package/build/features/Click2Pay/PaymentButton/CardList/CardList.module.css +13 -0
  276. package/build/features/Click2Pay/PaymentButton/Click2PayPaymentButton.d.ts +16 -0
  277. package/build/features/Click2Pay/PaymentButton/Click2PayPaymentButton.js +22 -0
  278. package/build/features/Click2Pay/PaymentButton/animation/animationFeatures.d.ts +2 -0
  279. package/build/features/Click2Pay/PaymentButton/animation/animationFeatures.js +2 -0
  280. package/build/features/Click2Pay/PaymentButton/useClick2PayPaymentButton.d.ts +15 -0
  281. package/build/features/Click2Pay/PaymentButton/useClick2PayPaymentButton.js +30 -0
  282. package/build/features/Click2Pay/WidgetHints/ExclamationMarkIcon.d.ts +2 -0
  283. package/build/features/Click2Pay/WidgetHints/ExclamationMarkIcon.js +5 -0
  284. package/build/features/Click2Pay/WidgetHints/PopupNotEnabledHint.d.ts +2 -0
  285. package/build/features/Click2Pay/WidgetHints/PopupNotEnabledHint.js +51 -0
  286. package/build/features/Click2Pay/WidgetHints/SeeHowArrow.d.ts +3 -0
  287. package/build/features/Click2Pay/WidgetHints/SeeHowArrow.js +6 -0
  288. package/build/features/Click2Pay/WidgetHints/WidgetHints.d.ts +5 -0
  289. package/build/features/Click2Pay/WidgetHints/WidgetHints.js +44 -0
  290. package/build/features/Click2Pay/WidgetHints/index.d.ts +1 -0
  291. package/build/features/Click2Pay/WidgetHints/index.js +1 -0
  292. package/build/features/Click2Pay/index.d.ts +1 -0
  293. package/build/features/Click2Pay/index.js +1 -0
  294. package/build/hooks/index.d.ts +6 -0
  295. package/build/hooks/index.js +6 -0
  296. package/build/hooks/useAppTheme.d.ts +12 -0
  297. package/build/hooks/useAppTheme.js +27 -0
  298. package/build/hooks/useCard.d.ts +23 -0
  299. package/build/hooks/useCard.js +136 -0
  300. package/build/hooks/useCardWeb.d.ts +12 -0
  301. package/build/hooks/useCardWeb.js +143 -0
  302. package/build/hooks/useClick2Pay.d.ts +42 -0
  303. package/build/hooks/useClick2Pay.js +244 -0
  304. package/build/hooks/useClickToPayStatus.d.ts +4 -0
  305. package/build/hooks/useClickToPayStatus.js +13 -0
  306. package/build/hooks/useGetEvents.d.ts +5 -0
  307. package/build/hooks/useGetEvents.js +16 -0
  308. package/build/hooks/usePreLoadScripts.d.ts +6 -0
  309. package/build/hooks/usePreLoadScripts.js +23 -0
  310. package/build/hooks/useResizeObserver.d.ts +3 -0
  311. package/build/hooks/useResizeObserver.js +19 -0
  312. package/build/hooks/useScript.d.ts +4 -0
  313. package/build/hooks/useScript.js +39 -0
  314. package/build/hooks/useTranslation.d.ts +7 -0
  315. package/build/hooks/useTranslation.js +5 -0
  316. package/build/hooks/utils/initialCall.d.ts +13 -0
  317. package/build/hooks/utils/initialCall.js +83 -0
  318. package/build/i18n.d.ts +11 -0
  319. package/build/i18n.js +26 -0
  320. package/build/index.d.ts +4 -0
  321. package/build/index.js +11 -0
  322. package/build/theme/index.d.ts +1 -0
  323. package/build/theme/index.js +1 -0
  324. package/build/theme/palette.d.ts +3 -0
  325. package/build/theme/palette.js +75 -0
  326. package/build/theme/shadows.d.ts +2 -0
  327. package/build/theme/shadows.js +27 -0
  328. package/build/theme/theme.d.ts +3 -0
  329. package/build/theme/theme.js +45 -0
  330. package/build/theme/typography.d.ts +3 -0
  331. package/build/theme/typography.js +40 -0
  332. package/build/utils/baseConfigs.d.ts +11 -0
  333. package/build/utils/baseConfigs.js +64 -0
  334. package/build/utils/charge.d.ts +14 -0
  335. package/build/utils/charge.js +19 -0
  336. package/build/utils/click2Pay.d.ts +1 -0
  337. package/build/utils/click2Pay.js +7 -0
  338. package/build/utils/font.d.ts +1 -0
  339. package/build/utils/font.js +1 -0
  340. package/build/utils/form/email.d.ts +3 -0
  341. package/build/utils/form/email.js +4 -0
  342. package/build/utils/form/phone.d.ts +4 -0
  343. package/build/utils/form/phone.js +3 -0
  344. package/build/utils/index.d.ts +8 -0
  345. package/build/utils/index.js +8 -0
  346. package/build/utils/object.d.ts +1 -0
  347. package/build/utils/object.js +7 -0
  348. package/build/utils/paymentMethod.d.ts +2 -0
  349. package/build/utils/paymentMethod.js +3 -0
  350. package/build/utils/strings.d.ts +13 -0
  351. package/build/utils/strings.js +52 -0
  352. package/build/utils/window.d.ts +10 -0
  353. package/build/utils/window.js +36 -0
  354. package/package.json +121 -0
@@ -0,0 +1,842 @@
1
+ export interface TapThemeResponse {
2
+ CurrencyWidget: CurrencyWidget;
3
+ GlobalValues: GlobalValues;
4
+ Hints: Hints;
5
+ Nfc: Nfc;
6
+ TapCurrencyPromptView: TapCurrencyPromptView;
7
+ TapOtpView: TapOtpView;
8
+ TapSwitchView: TapSwitchView;
9
+ TapVerticalView: TapVerticalView;
10
+ actionButton: ActionButton;
11
+ amountSectionView: AmountSectionView;
12
+ asyncView: AsyncView;
13
+ cardPhoneList: CardPhoneList;
14
+ customerDataCollection: CustomerDataCollection;
15
+ emailCard: EmailCard;
16
+ fullCard: FullCard;
17
+ goPay: GoPay2;
18
+ horizontalList: HorizontalList;
19
+ inlineCard: InlineCard;
20
+ itemsList: ItemsList;
21
+ loyaltyView: LoyaltyView;
22
+ merchantHeaderView: MerchantHeaderView;
23
+ phoneCard: EmailCard;
24
+ poweredByTap: PoweredByTap;
25
+ recentCards: RecentCards;
26
+ tapBottomSheet: TapBottomSheet;
27
+ tapDragHandler: TapDragHandler;
28
+ tapSeparationLine: TapSeparationLine;
29
+ 'web-light': Weblight;
30
+ }
31
+ interface Weblight {
32
+ CurrencyChip: CurrencyChip2;
33
+ CurrencyWidget: CurrencyWidget2;
34
+ GlobalValues: GlobalValues;
35
+ Hints: Hints;
36
+ TapOtpView: TapOtpView;
37
+ TapSwitchView: TapSwitchView;
38
+ TapVerticalView: TapVerticalView2;
39
+ actionButton: ActionButton;
40
+ amountSectionView: AmountSectionView;
41
+ asyncView: AsyncView;
42
+ cardPhoneList: CardPhoneList2;
43
+ customerDataCollection: CustomerDataCollection2;
44
+ emailCard: EmailCard;
45
+ fullCard: FullCard;
46
+ goPay: GoPay2;
47
+ horizontalList: HorizontalList2;
48
+ inlineCard: InlineCard2;
49
+ itemsList: ItemsList;
50
+ loyaltyView: LoyaltyView2;
51
+ merchantHeaderView: MerchantHeaderView;
52
+ phoneCard: EmailCard;
53
+ poweredByTap: PoweredByTap2;
54
+ recentCards: RecentCards;
55
+ tapBottomSheet: TapBottomSheet;
56
+ tapDragHandler: TapDragHandler;
57
+ tapSeparationLine: TapSeparationLine;
58
+ }
59
+ interface PoweredByTap2 {
60
+ powerLabel: PowerLabel;
61
+ tapLogo: string;
62
+ }
63
+ interface LoyaltyView2 {
64
+ amountView: AmountView2;
65
+ cardView: CardView;
66
+ footerView: FooterView;
67
+ headerView: HeaderView;
68
+ }
69
+ interface AmountView2 {
70
+ amountFont: string;
71
+ amountTextColor: string;
72
+ currencyFont: string;
73
+ currencyTextColor: string;
74
+ pointsFont: string;
75
+ pointsTextColor: string;
76
+ titleFont: string;
77
+ titleTextColor: string;
78
+ }
79
+ interface InlineCard2 {
80
+ clearImage: ClearImage2;
81
+ closeSavedCardIcon: string;
82
+ commonAttributes: CommonAttributes5;
83
+ iconImage: ClearImage2;
84
+ saveCardForTapOption: SaveCardForTapOption2;
85
+ saveCardOption: SaveCardOption;
86
+ scanImage: ScanImage;
87
+ textFields: TextFields2;
88
+ }
89
+ interface SaveCardForTapOption2 {
90
+ infoButtonTintColor: string;
91
+ labelTextColor: string;
92
+ labelTextFont: string;
93
+ saveButtonActivatedTintColor: string;
94
+ saveButtonDeactivatedTintColor: string;
95
+ }
96
+ interface CommonAttributes5 {
97
+ backgroundColor: string;
98
+ borderColor: string;
99
+ borderWidth: number;
100
+ cornerRadius: number;
101
+ cvvPlaceHolder: string;
102
+ itemSpacing: number;
103
+ shadow: Shadow2;
104
+ widthMargin: number;
105
+ }
106
+ interface HorizontalList2 {
107
+ backgroundColor: string;
108
+ chips: Chips2;
109
+ headers: Headers2;
110
+ itemSpacing: number;
111
+ margin: number;
112
+ }
113
+ interface Headers2 {
114
+ gatewayHeader: GatewayHeader2;
115
+ }
116
+ interface GatewayHeader2 {
117
+ backgroundColor: string;
118
+ leftButton: LeftButton;
119
+ rightButton: LeftButton;
120
+ }
121
+ interface Chips2 {
122
+ applePayChip: ApplePayChip;
123
+ currencyChip: CurrencyChip;
124
+ gatewayChip: GatewayChip2;
125
+ goPayChip: CurrencyChip;
126
+ radius: number;
127
+ savedCardChip: SavedCardChip2;
128
+ }
129
+ interface SavedCardChip2 {
130
+ backgroundColor: string;
131
+ editMode: EditMode;
132
+ labelTextColor: string;
133
+ labelTextFont: string;
134
+ selected: Selected2;
135
+ unSelected: Selected2;
136
+ }
137
+ interface GatewayChip2 {
138
+ backgroundColor: string;
139
+ disabledBackGroundColor: string;
140
+ logoutIcon: string;
141
+ selected: Selected2;
142
+ unSelected: Selected2;
143
+ }
144
+ interface CustomerDataCollection2 {
145
+ backgroundColor: string;
146
+ cornerRadius: number;
147
+ countryPicker: CountryPicker2;
148
+ shadow: Shadow2;
149
+ textfields: Textfields;
150
+ }
151
+ interface CountryPicker2 {
152
+ countryCell: CountryCell;
153
+ countryTable: Selected;
154
+ }
155
+ interface CardPhoneList2 {
156
+ backgroundColor: string;
157
+ icon: Icon2;
158
+ insets: number;
159
+ maxWidth: number;
160
+ underline: Underline;
161
+ weAcceptLabel: Timer;
162
+ }
163
+ interface Icon2 {
164
+ otherSegmentSelected: OtherSegmentSelected;
165
+ selected: OtherSegmentSelected;
166
+ unselected: OtherSegmentSelected;
167
+ }
168
+ interface TapVerticalView2 {
169
+ blurBackgroundColor: string;
170
+ defaultBackgroundColor: string;
171
+ }
172
+ interface CurrencyWidget2 {
173
+ amountLabel: AmountLabel;
174
+ background: Background;
175
+ confirmButton: ConfirmButton;
176
+ currencyDropDown: CurrencyDropDown2;
177
+ messageLabel: AmountLabel;
178
+ }
179
+ interface CurrencyDropDown2 {
180
+ backgroundColor: string;
181
+ borderColor: string;
182
+ cornerRadius: number;
183
+ labelColor: string;
184
+ labelFont: string;
185
+ onHoverColor: string;
186
+ onHoverCornerMargin: number;
187
+ onHoverCornerRadius: number;
188
+ shadowBlur: number;
189
+ shadowColor: string;
190
+ }
191
+ interface CurrencyChip2 {
192
+ backgroundColorDark: string;
193
+ backgroundColorLight: string;
194
+ }
195
+ interface TapSeparationLine {
196
+ backgroundColor: string;
197
+ height: number;
198
+ initialTrailingConstraint: number;
199
+ }
200
+ interface TapDragHandler {
201
+ backgroundColor: string;
202
+ corner: number;
203
+ height: number;
204
+ image: string;
205
+ width: number;
206
+ }
207
+ interface TapBottomSheet {
208
+ dimmedColor: string;
209
+ }
210
+ interface RecentCards {
211
+ backGroundColor: string;
212
+ chipUI: ChipUI;
213
+ collectionView: CollectionView;
214
+ headerView: HeaderView2;
215
+ }
216
+ interface HeaderView2 {
217
+ backGroundColor: string;
218
+ buttons: Buttons;
219
+ }
220
+ interface Buttons {
221
+ backGroundColor: string;
222
+ font: string;
223
+ textColor: string;
224
+ }
225
+ interface CollectionView {
226
+ backgroundColor: string;
227
+ borderColor: string;
228
+ borderWidth: number;
229
+ cornerRadius: number;
230
+ height: number;
231
+ spaceBetweenCells: number;
232
+ }
233
+ interface ChipUI {
234
+ commonAttributes: CommonAttributes4;
235
+ contentLabel: Timer;
236
+ leftAccessory: LeftAccessory;
237
+ rightAccessory: LeftAccessory;
238
+ }
239
+ interface LeftAccessory {
240
+ width: number;
241
+ }
242
+ interface CommonAttributes4 {
243
+ backgroundColor: string;
244
+ borderColor: string;
245
+ borderWidth: number;
246
+ chipHeight: number;
247
+ cornerRadius: number;
248
+ glowingBackgroundColor: string;
249
+ glowingShadow: Shadow3;
250
+ itemSpacing: number;
251
+ shadow: Shadow2;
252
+ widthMargin: number;
253
+ }
254
+ interface PoweredByTap {
255
+ backButton: BackButton;
256
+ backgroundColor: string;
257
+ blurAlpha: number;
258
+ blurColor: string;
259
+ powerLabel: PowerLabel;
260
+ tapLogo: string;
261
+ }
262
+ interface PowerLabel {
263
+ font: string;
264
+ textColor: string;
265
+ }
266
+ interface BackButton {
267
+ arrowColor: string;
268
+ background: string;
269
+ labelColor: string;
270
+ labelFont: string;
271
+ }
272
+ interface MerchantHeaderView {
273
+ backgroundColor: string;
274
+ cancelButton: CountryCell;
275
+ closeCheckoutIcon: string;
276
+ merchantLogoCorner: number;
277
+ merchantLogoPlaceHolderColor: string;
278
+ merchantLogoPlaceHolderFont: string;
279
+ merchantLogoPlaceHolderLabelColor: string;
280
+ merchantLogoShadowColor: string;
281
+ merchantLogoShadowRadius: number;
282
+ subTitleLabelColor: string;
283
+ subTitleLabelFont: string;
284
+ titleLabelColor: string;
285
+ titleLabelFont: string;
286
+ }
287
+ interface LoyaltyView {
288
+ amountView: AmountView;
289
+ cardView: CardView;
290
+ footerView: FooterView;
291
+ headerView: HeaderView;
292
+ }
293
+ interface HeaderView {
294
+ backgroundColor: string;
295
+ subTitleFont: string;
296
+ subTitleTextColor: string;
297
+ switchOnTintColor: string;
298
+ titleFont: string;
299
+ titleTextColor: string;
300
+ }
301
+ interface FooterView {
302
+ amountFont: string;
303
+ amountTextColor: string;
304
+ pointsFont: string;
305
+ pointsTextColor: string;
306
+ }
307
+ interface CardView {
308
+ backgroundColor: string;
309
+ radius: number;
310
+ shadowColor: string;
311
+ shadowOpacity: number;
312
+ shadowRadius: number;
313
+ }
314
+ interface AmountView {
315
+ amountFont: string;
316
+ amountPlaceHolderColor: string;
317
+ amountTextColor: string;
318
+ currencyFont: string;
319
+ currencyTextColor: string;
320
+ focusedShadow: FocusedShadow;
321
+ invalidAmount: InvalidAmount;
322
+ pointsFont: string;
323
+ pointsTextColor: string;
324
+ radius: number;
325
+ titleFont: string;
326
+ titleTextColor: string;
327
+ unfocusedShadow: FocusedShadow;
328
+ }
329
+ interface InvalidAmount {
330
+ borderColor: string;
331
+ hintBackgroundColor: string;
332
+ hintFont: string;
333
+ tintColor: string;
334
+ }
335
+ interface FocusedShadow {
336
+ color: string;
337
+ opacity: number;
338
+ radius: number;
339
+ }
340
+ interface ItemsList {
341
+ backgroundColor: string;
342
+ item: Item;
343
+ separatorColor: string;
344
+ }
345
+ interface Item {
346
+ backgroundColor: string;
347
+ calculatedPriceLabelColor: string;
348
+ calculatedPriceLabelFont: string;
349
+ count: Count;
350
+ descLabelColor: string;
351
+ descLabelFont: string;
352
+ descriptionBackgroundColor: string;
353
+ priceLabelColor: string;
354
+ priceLabelFont: string;
355
+ titleLabelColor: string;
356
+ titleLabelFont: string;
357
+ }
358
+ interface Count {
359
+ backgroundColor: string;
360
+ countLabelColor: string;
361
+ countLabelFont: string;
362
+ }
363
+ interface InlineCard {
364
+ blur3dsoverlay: Blur3dsoverlay;
365
+ clearImage: ClearImage2;
366
+ closeSavedCardIcon: string;
367
+ commonAttributes: CommonAttributes3;
368
+ iconImage: ClearImage2;
369
+ loaderImage: string;
370
+ poweredByTapLogo: string;
371
+ saveCardForTapOption: SaveCardForTapOption;
372
+ saveCardOption: SaveCardOption;
373
+ scanImage: ScanImage;
374
+ textFields: TextFields2;
375
+ }
376
+ interface TextFields2 {
377
+ errorTextColor: string;
378
+ font: string;
379
+ placeHolderColor: string;
380
+ saveCardFontDots: string;
381
+ textColor: string;
382
+ }
383
+ interface ScanImage {
384
+ image: string;
385
+ selected: string;
386
+ tint: string;
387
+ width: number;
388
+ }
389
+ interface SaveCardForTapOption {
390
+ infoButtonTintColor: string;
391
+ labelTextColor: string;
392
+ labelTextFont: string;
393
+ saveButtonActivatedTintColor: string;
394
+ saveButtonDeactivatedTintColor: string;
395
+ tooltip: Tooltip;
396
+ }
397
+ interface Tooltip {
398
+ borderColor: string;
399
+ subTitleColor: string;
400
+ subTitleFont: string;
401
+ titleColor: string;
402
+ titleFont: string;
403
+ }
404
+ interface CommonAttributes3 {
405
+ backgroundColor: string;
406
+ borderColor: string;
407
+ borderWidth: number;
408
+ cornerRadius: number;
409
+ cvvPlaceHolder: string;
410
+ itemSpacing: number;
411
+ savedCardCvvUnderLineColor: string;
412
+ shadow: Shadow2;
413
+ widthMargin: number;
414
+ }
415
+ interface ClearImage2 {
416
+ image: string;
417
+ tint: string;
418
+ width: number;
419
+ }
420
+ interface Blur3dsoverlay {
421
+ tint: string;
422
+ tintAlpha: number;
423
+ }
424
+ interface HorizontalList {
425
+ backgroundColor: string;
426
+ chips: Chips;
427
+ headers: Headers;
428
+ itemSpacing: number;
429
+ margin: number;
430
+ }
431
+ interface Headers {
432
+ gatewayHeader: GatewayHeader;
433
+ }
434
+ interface GatewayHeader {
435
+ backgroundColor: string;
436
+ leftButton: LeftButton;
437
+ rightButton: RightButton;
438
+ }
439
+ interface RightButton {
440
+ infoIcon: string;
441
+ labelTextColor: string;
442
+ labelTextFont: string;
443
+ }
444
+ interface LeftButton {
445
+ labelTextColor: string;
446
+ labelTextFont: string;
447
+ }
448
+ interface Chips {
449
+ applePayChip: ApplePayChip;
450
+ currencyChip: CurrencyChip;
451
+ gatewayChip: GatewayChip;
452
+ goPayChip: CurrencyChip;
453
+ radius: number;
454
+ savedCardChip: SavedCardChip;
455
+ }
456
+ interface SavedCardChip {
457
+ backgroundColor: string;
458
+ blurOverlay: BlurOverlay;
459
+ editMode: EditMode;
460
+ labelTextColor: string;
461
+ labelTextFont: string;
462
+ selected: Selected2;
463
+ unSelected: Selected2;
464
+ }
465
+ interface EditMode {
466
+ alpha: number;
467
+ deleteIcon: string;
468
+ }
469
+ interface BlurOverlay {
470
+ alpha: number;
471
+ color: string;
472
+ radius: number;
473
+ }
474
+ interface GatewayChip {
475
+ backgroundColor: string;
476
+ disabledBackgroundColor: string;
477
+ logoutIcon: string;
478
+ selected: Selected2;
479
+ unSelected: Selected2;
480
+ }
481
+ interface CurrencyChip {
482
+ backgroundColor: string;
483
+ labelTextColor: string;
484
+ labelTextFont: string;
485
+ selected: Selected2;
486
+ unSelected: Selected2;
487
+ }
488
+ interface ApplePayChip {
489
+ appleLogoTitleColor: string;
490
+ appleLogoTitleFont: string;
491
+ applePayTitleColor: string;
492
+ applePayTitleFont: string;
493
+ backgroundColor: string;
494
+ selected: Selected2;
495
+ unSelected: Selected2;
496
+ }
497
+ interface Selected2 {
498
+ shadow: Shadow3;
499
+ }
500
+ interface Shadow3 {
501
+ borderColor: string;
502
+ borderWidth: number;
503
+ color: string;
504
+ offsetHeight: number;
505
+ offsetWidth: number;
506
+ opacity: number;
507
+ radius: number;
508
+ }
509
+ interface GoPay2 {
510
+ loginBar: LoginBar;
511
+ passwordField: PasswordField;
512
+ passwordView: Selected;
513
+ }
514
+ interface PasswordField {
515
+ backgroundColor: string;
516
+ hidePasswordIcon: string;
517
+ placeHolderColor: string;
518
+ showPasswordIcon: string;
519
+ textColor: string;
520
+ textFont: string;
521
+ underline: Underline2;
522
+ }
523
+ interface Underline2 {
524
+ empty: Selected;
525
+ filled: Selected;
526
+ }
527
+ interface LoginBar {
528
+ backgroundColor: string;
529
+ hintLabel: Timer;
530
+ title: Title;
531
+ underline: Underline;
532
+ }
533
+ interface Title {
534
+ otherSegmentSelected: Timer;
535
+ selected: Timer;
536
+ }
537
+ interface FullCard {
538
+ commonAttributes: CommonAttributes2;
539
+ iconImage: ClearImage;
540
+ saveCardOption: SaveCardOption;
541
+ scanImage: ClearImage;
542
+ textFields: TextFields;
543
+ }
544
+ interface SaveCardOption {
545
+ labelTextColor: string;
546
+ labelTextFont: string;
547
+ switchOnThumbColor: string;
548
+ switchThumbColor: string;
549
+ switchTintColor: string;
550
+ }
551
+ interface CommonAttributes2 {
552
+ backgroundColor: string;
553
+ borderColor: string;
554
+ borderWidth: number;
555
+ cornerRadius: number;
556
+ cvvPlaceHolder: string;
557
+ itemSpacing: number;
558
+ separatorColor: string;
559
+ shadow: Shadow2;
560
+ widthMargin: number;
561
+ }
562
+ interface EmailCard {
563
+ clearImage: ClearImage;
564
+ commonAttributes: CommonAttributes;
565
+ iconImage: ClearImage;
566
+ textFields: TextFields;
567
+ }
568
+ interface TextFields {
569
+ errorTextColor: string;
570
+ font: string;
571
+ placeHolderColor: string;
572
+ textColor: string;
573
+ }
574
+ interface CommonAttributes {
575
+ backgroundColor: string;
576
+ borderColor: string;
577
+ borderWidth: number;
578
+ cornerRadius: number;
579
+ itemSpacing: number;
580
+ shadow: Shadow2;
581
+ widthMargin: number;
582
+ }
583
+ interface ClearImage {
584
+ image: string;
585
+ width: number;
586
+ }
587
+ interface CustomerDataCollection {
588
+ backgroundColor: string;
589
+ cornerRadius: number;
590
+ countryPicker: CountryPicker;
591
+ shadow: Shadow2;
592
+ textfields: Textfields;
593
+ }
594
+ interface Textfields {
595
+ color: string;
596
+ countryCodeLabelFont: string;
597
+ font: string;
598
+ placeHolderColor: string;
599
+ }
600
+ interface Shadow2 {
601
+ color: string;
602
+ offsetHeight: number;
603
+ offsetWidth: number;
604
+ opacity: number;
605
+ radius: number;
606
+ }
607
+ interface CountryPicker {
608
+ countryCell: CountryCell;
609
+ countryTable: CountryTable;
610
+ }
611
+ interface CountryTable {
612
+ backgroundColor: string;
613
+ titleColor: string;
614
+ titleFont: string;
615
+ }
616
+ interface CountryCell {
617
+ backgroundColor: string;
618
+ titleLabelColor: string;
619
+ titleLabelFont: string;
620
+ }
621
+ interface CardPhoneList {
622
+ backgroundColor: string;
623
+ icon: Icon;
624
+ insets: number;
625
+ maxWidth: number;
626
+ underline: Underline;
627
+ weAcceptLabel: Timer;
628
+ }
629
+ interface Underline {
630
+ selected: Selected;
631
+ unselected: Selected;
632
+ }
633
+ interface Selected {
634
+ backgroundColor: string;
635
+ }
636
+ interface Icon {
637
+ iconsWidth: IconsWidth;
638
+ otherSegmentSelected: OtherSegmentSelected;
639
+ selected: OtherSegmentSelected;
640
+ unselected: OtherSegmentSelected;
641
+ }
642
+ interface OtherSegmentSelected {
643
+ alpha: number;
644
+ backgroundColor: string;
645
+ }
646
+ interface IconsWidth {
647
+ '3': number;
648
+ '4': number;
649
+ '10': number;
650
+ '28': number;
651
+ }
652
+ interface AsyncView {
653
+ codeLabelColor: string;
654
+ codeLabelFont: string;
655
+ labelsColor: string;
656
+ labelsFont: string;
657
+ }
658
+ interface AmountSectionView {
659
+ backgroundColor: string;
660
+ convertedAmountLabelColor: string;
661
+ convertedAmountLabelFont: string;
662
+ itemsButtonArrowIcon: string;
663
+ itemsLabelColor: string;
664
+ itemsLabelFont: string;
665
+ itemsNumberButtonBackgroundColor: string;
666
+ itemsNumberButtonBorder: ItemsNumberButtonBorder;
667
+ itemsNumberButtonCorner: number;
668
+ originalAmountLabelColor: string;
669
+ originalAmountLabelFont: string;
670
+ }
671
+ interface ItemsNumberButtonBorder {
672
+ color: string;
673
+ width: number;
674
+ }
675
+ interface ActionButton {
676
+ BackgroundColor: BackgroundColor;
677
+ Cancel: Cancel;
678
+ Common: Common;
679
+ Invalid: Invalid;
680
+ Valid: Valid;
681
+ }
682
+ interface Valid {
683
+ goLoginBackgroundColor: string;
684
+ paymentBackgroundColor: string;
685
+ titleLabelColor: string;
686
+ }
687
+ interface Invalid {
688
+ backgroundColor: string;
689
+ goLoginBackgroundColor: string;
690
+ titleLabelColor: string;
691
+ }
692
+ interface Common {
693
+ assets: Assets;
694
+ borderColor: string;
695
+ titleLabelFont: string;
696
+ }
697
+ interface Assets {
698
+ error: string;
699
+ faceID: string;
700
+ loading: string;
701
+ success: string;
702
+ touchID: string;
703
+ }
704
+ interface Cancel {
705
+ backgroundColor: string;
706
+ borderColor: string;
707
+ goLoginBackgroundColor: string;
708
+ titleLabelColor: string;
709
+ }
710
+ interface BackgroundColor {
711
+ Otp: string;
712
+ default: string;
713
+ }
714
+ interface TapVerticalView {
715
+ backgroundOverlayColor: string;
716
+ blurBackgroundColor: string;
717
+ defaultBackgroundColor: string;
718
+ }
719
+ interface TapSwitchView {
720
+ CurvedSeparator: CurvedSeparator;
721
+ backgroundColor: string;
722
+ goPay: GoPay;
723
+ main: Main;
724
+ merchant: GoPay;
725
+ }
726
+ interface Main {
727
+ backgroundColor: string;
728
+ subtitle: Timer;
729
+ title: Timer;
730
+ }
731
+ interface GoPay {
732
+ SwitchOnColor: string;
733
+ backgroundColor: string;
734
+ notes: Timer;
735
+ subtitle: Timer;
736
+ title: Timer;
737
+ }
738
+ interface CurvedSeparator {
739
+ BackgroundColor: string;
740
+ }
741
+ interface TapOtpView {
742
+ Expired: Expired;
743
+ Invalid: Expired;
744
+ OtpController: OtpController;
745
+ Ready: Expired;
746
+ Timer: Timer;
747
+ backgroundColor: string;
748
+ }
749
+ interface Timer {
750
+ textColor: string;
751
+ textFont: string;
752
+ }
753
+ interface OtpController {
754
+ activeBottomColor: string;
755
+ bottomLineColor: string;
756
+ textColor: string;
757
+ textFont: string;
758
+ }
759
+ interface Expired {
760
+ Message: Message;
761
+ }
762
+ interface Message {
763
+ subtitle: string;
764
+ textFont: string;
765
+ title: string;
766
+ }
767
+ interface TapCurrencyPromptView {
768
+ backgroundColor: string;
769
+ glowColor: string;
770
+ }
771
+ interface Nfc {
772
+ bottomTextColor: string;
773
+ bottomTextFont: string;
774
+ topTextBackgroundColor: string;
775
+ topTextColor: string;
776
+ topTextFont: string;
777
+ }
778
+ interface Hints {
779
+ Default: Default;
780
+ Error: Default;
781
+ GoPayLogin: Default;
782
+ Scanned: Default;
783
+ Warning: Default;
784
+ }
785
+ interface Default {
786
+ actionButtonTextColor: string;
787
+ actionButtonTextFont: string;
788
+ backgroundColor: string;
789
+ borderColor: string;
790
+ textColor: string;
791
+ textFont: string;
792
+ }
793
+ interface GlobalValues {
794
+ Colors: Colors;
795
+ }
796
+ interface Colors {
797
+ [key: string]: string;
798
+ }
799
+ interface CurrencyWidget {
800
+ amountLabel: AmountLabel;
801
+ background: Background;
802
+ confirmButton: ConfirmButton;
803
+ currencyDropDown: CurrencyDropDown;
804
+ messageLabel: AmountLabel;
805
+ }
806
+ interface CurrencyDropDown {
807
+ arrowDownImageName: string;
808
+ arrowDownTint: string;
809
+ arrowUpImageName: string;
810
+ backgroundColor: string;
811
+ borderColor: string;
812
+ cornerRadius: number;
813
+ labelColor: string;
814
+ labelFont: string;
815
+ onHoverColor: string;
816
+ onHoverCornerMargin: number;
817
+ onHoverCornerRadius: number;
818
+ shadowBlur: number;
819
+ shadowColor: string;
820
+ shadowOffsetHeight: number;
821
+ shadowOffsetWidth: number;
822
+ }
823
+ interface ConfirmButton {
824
+ backgroundColor: string;
825
+ cornerRadius: number;
826
+ titleFont: string;
827
+ titleFontColor: string;
828
+ }
829
+ interface Background {
830
+ color: string;
831
+ cornerRadius: number;
832
+ shadow: Shadow;
833
+ }
834
+ interface Shadow {
835
+ blurRadius: number;
836
+ color: string;
837
+ }
838
+ interface AmountLabel {
839
+ color: string;
840
+ font: string;
841
+ }
842
+ export {};