react-gldn-kit 0.0.1

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 (586) hide show
  1. package/Readme.md +12 -0
  2. package/dist/019a0906020876234aeea55bdffda84f.svg +3 -0
  3. package/dist/146c476d14957bf48f72f2624fca70a6.svg +4 -0
  4. package/dist/19a58eb7c3630d4b07306a6c3220d970.svg +4 -0
  5. package/dist/319df1f071ee5d8a40e6abfdc5033808.svg +4 -0
  6. package/dist/495b0365b1bec48e3ed4d6b5050ab787.svg +4 -0
  7. package/dist/4c94314336076d6fec16041ab32c7af5.svg +4 -0
  8. package/dist/4f5309751f47792d5ed9a10bb49b99c4.svg +83 -0
  9. package/dist/65721e7993374bcc4145e083b5f42af2.svg +47 -0
  10. package/dist/7ec6f5f3bcbce4cd53ca73cb7e054566.svg +48 -0
  11. package/dist/9be020560a317c79c0b3851ea0d60317.svg +76 -0
  12. package/dist/a7dae2f8305ee0edacaf65eefff21778.svg +3 -0
  13. package/dist/a9758afe3827a85948f984caf2428242.svg +4 -0
  14. package/dist/f1ecca5e9239e78b5053dc90f83a3edf.svg +3 -0
  15. package/dist/index.js +2 -0
  16. package/dist/index.js.LICENSE.txt +35 -0
  17. package/dist/lib/components/Banners/components/BannerTemplate/index.d.ts +13 -0
  18. package/dist/lib/components/Banners/components/BannerTemplate/index.js +52 -0
  19. package/dist/lib/components/Banners/components/BannerTemplate/types.d.ts +6 -0
  20. package/dist/lib/components/Banners/components/BannerTemplate/types.js +0 -0
  21. package/dist/lib/components/Banners/components/BattleBanner/index.d.ts +3 -0
  22. package/dist/lib/components/Banners/components/BattleBanner/index.js +59 -0
  23. package/dist/lib/components/Banners/components/BattleBanner/types.d.ts +15 -0
  24. package/dist/lib/components/Banners/components/BattleBanner/types.js +2 -0
  25. package/dist/lib/components/Banners/components/PromotionMobileApp/components/ElonAppBanner/index.d.ts +2 -0
  26. package/dist/lib/components/Banners/components/PromotionMobileApp/components/ElonAppBanner/index.js +65 -0
  27. package/dist/lib/components/Banners/components/PromotionMobileApp/components/JabiAppBanner/index.d.ts +2 -0
  28. package/dist/lib/components/Banners/components/PromotionMobileApp/components/JabiAppBanner/index.js +53 -0
  29. package/dist/lib/components/Banners/components/PromotionMobileApp/constants.d.ts +6 -0
  30. package/dist/lib/components/Banners/components/PromotionMobileApp/constants.js +9 -0
  31. package/dist/lib/components/Banners/components/PromotionMobileApp/index.d.ts +2 -0
  32. package/dist/lib/components/Banners/components/PromotionMobileApp/index.js +54 -0
  33. package/dist/lib/components/Banners/components/PromotionMobileApp/types.d.ts +12 -0
  34. package/dist/lib/components/Banners/components/PromotionMobileApp/types.js +2 -0
  35. package/dist/lib/components/Banners/index.d.ts +2 -0
  36. package/dist/lib/components/Banners/index.js +52 -0
  37. package/dist/lib/components/Banners/types.d.ts +18 -0
  38. package/dist/lib/components/Banners/types.js +2 -0
  39. package/dist/lib/components/BattlesCard/index.d.ts +2 -0
  40. package/dist/lib/components/BattlesCard/index.js +69 -0
  41. package/dist/lib/components/BattlesCard/types.d.ts +25 -0
  42. package/dist/lib/components/BattlesCard/types.js +2 -0
  43. package/dist/lib/components/HOCs/HOCErrorBoundary/index.d.ts +13 -0
  44. package/dist/lib/components/HOCs/HOCErrorBoundary/index.js +107 -0
  45. package/dist/lib/components/HOCs/HOCErrorBoundary/types.d.ts +7 -0
  46. package/dist/lib/components/HOCs/HOCErrorBoundary/types.js +2 -0
  47. package/dist/lib/components/HOCs/HOCImageLoader/index.d.ts +2 -0
  48. package/dist/lib/components/HOCs/HOCImageLoader/index.js +17 -0
  49. package/dist/lib/components/HOCs/HOCImageLoader/types.d.ts +6 -0
  50. package/dist/lib/components/HOCs/HOCImageLoader/types.js +2 -0
  51. package/dist/lib/components/HOCs/HOCOutsideClick/index.d.ts +2 -0
  52. package/dist/lib/components/HOCs/HOCOutsideClick/index.js +25 -0
  53. package/dist/lib/components/HOCs/HOCOutsideClick/types.d.ts +11 -0
  54. package/dist/lib/components/HOCs/HOCOutsideClick/types.js +8 -0
  55. package/dist/lib/components/Jackpots/JackpotWidget/components/Jackpot/index.d.ts +6 -0
  56. package/dist/lib/components/Jackpots/JackpotWidget/components/Jackpot/index.js +77 -0
  57. package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/components/Digit/index.d.ts +6 -0
  58. package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/components/Digit/index.js +50 -0
  59. package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/index.d.ts +6 -0
  60. package/dist/lib/components/Jackpots/JackpotWidget/components/JackpotCounter/index.js +57 -0
  61. package/dist/lib/components/Jackpots/JackpotWidget/index.d.ts +2 -0
  62. package/dist/lib/components/Jackpots/JackpotWidget/index.js +52 -0
  63. package/dist/lib/components/Jackpots/JackpotWidget/types.d.ts +13 -0
  64. package/dist/lib/components/Jackpots/JackpotWidget/types.js +2 -0
  65. package/dist/lib/components/Jackpots/JackpotWidget/utils.d.ts +13 -0
  66. package/dist/lib/components/Jackpots/JackpotWidget/utils.js +48 -0
  67. package/dist/lib/components/LastBigWinners/components/LastBigWinner/LastBigWinner.d.ts +3 -0
  68. package/dist/lib/components/LastBigWinners/components/LastBigWinner/LastBigWinner.js +53 -0
  69. package/dist/lib/components/LastBigWinners/components/LastBigWinner/types.d.ts +15 -0
  70. package/dist/lib/components/LastBigWinners/components/LastBigWinner/types.js +2 -0
  71. package/dist/lib/components/LastBigWinners/index.d.ts +2 -0
  72. package/dist/lib/components/LastBigWinners/index.js +122 -0
  73. package/dist/lib/components/LastBigWinners/types.d.ts +9 -0
  74. package/dist/lib/components/LastBigWinners/types.js +2 -0
  75. package/dist/lib/components/Layouts/BonusCardLayout/index.d.ts +2 -0
  76. package/dist/lib/components/Layouts/BonusCardLayout/index.js +53 -0
  77. package/dist/lib/components/Layouts/BonusCardLayout/types.d.ts +11 -0
  78. package/dist/lib/components/Layouts/BonusCardLayout/types.js +2 -0
  79. package/dist/lib/components/Layouts/DrawerLayout/index.d.ts +2 -0
  80. package/dist/lib/components/Layouts/DrawerLayout/index.js +56 -0
  81. package/dist/lib/components/Layouts/DrawerLayout/types.d.ts +10 -0
  82. package/dist/lib/components/Layouts/DrawerLayout/types.js +2 -0
  83. package/dist/lib/components/Layouts/ModalLayout/index.d.ts +2 -0
  84. package/dist/lib/components/Layouts/ModalLayout/index.js +53 -0
  85. package/dist/lib/components/Layouts/ModalLayout/types.d.ts +8 -0
  86. package/dist/lib/components/Layouts/ModalLayout/types.js +2 -0
  87. package/dist/lib/components/Payments/DepositQrForm/index.d.ts +2 -0
  88. package/dist/lib/components/Payments/DepositQrForm/index.js +49 -0
  89. package/dist/lib/components/Payments/DepositQrForm/types.d.ts +14 -0
  90. package/dist/lib/components/Payments/DepositQrForm/types.js +2 -0
  91. package/dist/lib/components/Payments/DepositSkelet/components/Default/index.d.ts +11 -0
  92. package/dist/lib/components/Payments/DepositSkelet/components/Default/index.js +38 -0
  93. package/dist/lib/components/Payments/DepositSkelet/components/WellexPay/NagadAndBKash/index.d.ts +9 -0
  94. package/dist/lib/components/Payments/DepositSkelet/components/WellexPay/NagadAndBKash/index.js +43 -0
  95. package/dist/lib/components/Payments/DepositSkelet/constants.d.ts +2 -0
  96. package/dist/lib/components/Payments/DepositSkelet/constants.js +15 -0
  97. package/dist/lib/components/Payments/DepositSkelet/index.d.ts +2 -0
  98. package/dist/lib/components/Payments/DepositSkelet/index.js +59 -0
  99. package/dist/lib/components/Payments/DepositSkelet/types.d.ts +87 -0
  100. package/dist/lib/components/Payments/DepositSkelet/types.js +81 -0
  101. package/dist/lib/components/Payments/Methods/components/Content/index.d.ts +2 -0
  102. package/dist/lib/components/Payments/Methods/components/Content/index.js +58 -0
  103. package/dist/lib/components/Payments/Methods/components/Content/types.d.ts +27 -0
  104. package/dist/lib/components/Payments/Methods/components/Content/types.js +2 -0
  105. package/dist/lib/components/Payments/Methods/components/PaymentList/index.d.ts +3 -0
  106. package/dist/lib/components/Payments/Methods/components/PaymentList/index.js +61 -0
  107. package/dist/lib/components/Payments/Methods/components/PaymentList/types.d.ts +12 -0
  108. package/dist/lib/components/Payments/Methods/components/PaymentList/types.js +2 -0
  109. package/dist/lib/components/Payments/Methods/constants.d.ts +5 -0
  110. package/dist/lib/components/Payments/Methods/constants.js +14 -0
  111. package/dist/lib/components/Payments/Methods/index.d.ts +2 -0
  112. package/dist/lib/components/Payments/Methods/index.js +60 -0
  113. package/dist/lib/components/Payments/Methods/types.d.ts +10 -0
  114. package/dist/lib/components/Payments/Methods/types.js +8 -0
  115. package/dist/lib/components/ReferralTable/components/EmptyTreasure/index.d.ts +2 -0
  116. package/dist/lib/components/ReferralTable/components/EmptyTreasure/index.js +22 -0
  117. package/dist/lib/components/ReferralTable/components/EmptyTreasure/types.d.ts +4 -0
  118. package/dist/lib/components/ReferralTable/components/EmptyTreasure/types.js +2 -0
  119. package/dist/lib/components/ReferralTable/components/InvitedTableHead/index.d.ts +2 -0
  120. package/dist/lib/components/ReferralTable/components/InvitedTableHead/index.js +46 -0
  121. package/dist/lib/components/ReferralTable/components/InvitedTableHead/types.d.ts +3 -0
  122. package/dist/lib/components/ReferralTable/components/InvitedTableHead/types.js +2 -0
  123. package/dist/lib/components/ReferralTable/components/List/index.d.ts +2 -0
  124. package/dist/lib/components/ReferralTable/components/List/index.js +47 -0
  125. package/dist/lib/components/ReferralTable/components/List/types.d.ts +4 -0
  126. package/dist/lib/components/ReferralTable/components/List/types.js +2 -0
  127. package/dist/lib/components/ReferralTable/index.d.ts +2 -0
  128. package/dist/lib/components/ReferralTable/index.js +66 -0
  129. package/dist/lib/components/ReferralTable/types.d.ts +15 -0
  130. package/dist/lib/components/ReferralTable/types.js +2 -0
  131. package/dist/lib/components/Scratch/index.d.ts +2 -0
  132. package/dist/lib/components/Scratch/index.js +118 -0
  133. package/dist/lib/components/Scratch/types.d.ts +14 -0
  134. package/dist/lib/components/Scratch/types.js +8 -0
  135. package/dist/lib/components/SignUp/CountrySelector/constants.d.ts +7 -0
  136. package/dist/lib/components/SignUp/CountrySelector/constants.js +815 -0
  137. package/dist/lib/components/SignUp/CountrySelector/index.d.ts +2 -0
  138. package/dist/lib/components/SignUp/CountrySelector/index.js +23 -0
  139. package/dist/lib/components/SignUp/CountrySelector/types.d.ts +10 -0
  140. package/dist/lib/components/SignUp/CountrySelector/types.js +2 -0
  141. package/dist/lib/components/SignUp/CurrencySelector/index.d.ts +2 -0
  142. package/dist/lib/components/SignUp/CurrencySelector/index.js +27 -0
  143. package/dist/lib/components/SignUp/CurrencySelector/types.d.ts +11 -0
  144. package/dist/lib/components/SignUp/CurrencySelector/types.js +2 -0
  145. package/dist/lib/components/SignUp/DocsCheckBox/index.d.ts +9 -0
  146. package/dist/lib/components/SignUp/DocsCheckBox/index.js +39 -0
  147. package/dist/lib/components/SignUp/OneClick/constants.d.ts +10 -0
  148. package/dist/lib/components/SignUp/OneClick/constants.js +13 -0
  149. package/dist/lib/components/SignUp/OneClick/index.d.ts +31 -0
  150. package/dist/lib/components/SignUp/OneClick/index.js +86 -0
  151. package/dist/lib/components/SignUp/PromoCode/index.d.ts +2 -0
  152. package/dist/lib/components/SignUp/PromoCode/index.js +63 -0
  153. package/dist/lib/components/SignUp/PromoCode/types.d.ts +6 -0
  154. package/dist/lib/components/SignUp/PromoCode/types.js +2 -0
  155. package/dist/lib/components/Text/index.d.ts +6 -0
  156. package/dist/lib/components/Text/index.js +11 -0
  157. package/dist/lib/components/Wheel/index.d.ts +2 -0
  158. package/dist/lib/components/Wheel/index.js +131 -0
  159. package/dist/lib/components/Wheel/types.d.ts +54 -0
  160. package/dist/lib/components/Wheel/types.js +2 -0
  161. package/dist/lib/components/ui/AccordionGroup/Accordion.d.ts +21 -0
  162. package/dist/lib/components/ui/AccordionGroup/Accordion.js +70 -0
  163. package/dist/lib/components/ui/AccordionGroup/index.d.ts +6 -0
  164. package/dist/lib/components/ui/AccordionGroup/index.js +53 -0
  165. package/dist/lib/components/ui/Bonuses/AvailableBonusesSlider/index.d.ts +8 -0
  166. package/dist/lib/components/ui/Bonuses/AvailableBonusesSlider/index.js +80 -0
  167. package/dist/lib/components/ui/Buttons/AppSwitcher/index.d.ts +12 -0
  168. package/dist/lib/components/ui/Buttons/AppSwitcher/index.js +74 -0
  169. package/dist/lib/components/ui/Buttons/ArrowButton/index.d.ts +7 -0
  170. package/dist/lib/components/ui/Buttons/ArrowButton/index.js +41 -0
  171. package/dist/lib/components/ui/Buttons/BaseButton/index.d.ts +2 -0
  172. package/dist/lib/components/ui/Buttons/BaseButton/index.js +65 -0
  173. package/dist/lib/components/ui/Buttons/BaseButton/types.d.ts +30 -0
  174. package/dist/lib/components/ui/Buttons/BaseButton/types.js +2 -0
  175. package/dist/lib/components/ui/Buttons/CasinoCategoryButton/index.d.ts +2 -0
  176. package/dist/lib/components/ui/Buttons/CasinoCategoryButton/index.js +68 -0
  177. package/dist/lib/components/ui/Buttons/CasinoCategoryButton/types.d.ts +21 -0
  178. package/dist/lib/components/ui/Buttons/CasinoCategoryButton/types.js +2 -0
  179. package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/index.d.ts +2 -0
  180. package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/index.js +51 -0
  181. package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/types.d.ts +13 -0
  182. package/dist/lib/components/ui/Buttons/CasinoSubCategoriesButton/types.js +2 -0
  183. package/dist/lib/components/ui/Buttons/CloseButton/index.d.ts +2 -0
  184. package/dist/lib/components/ui/Buttons/CloseButton/index.js +49 -0
  185. package/dist/lib/components/ui/Buttons/CloseButton/types.d.ts +4 -0
  186. package/dist/lib/components/ui/Buttons/CloseButton/types.js +2 -0
  187. package/dist/lib/components/ui/Buttons/DepositButton/index.d.ts +10 -0
  188. package/dist/lib/components/ui/Buttons/DepositButton/index.js +57 -0
  189. package/dist/lib/components/ui/Buttons/DrawerButton/index.d.ts +2 -0
  190. package/dist/lib/components/ui/Buttons/DrawerButton/index.js +63 -0
  191. package/dist/lib/components/ui/Buttons/DrawerButton/types.d.ts +4 -0
  192. package/dist/lib/components/ui/Buttons/DrawerButton/types.js +2 -0
  193. package/dist/lib/components/ui/Buttons/GameActions/index.d.ts +0 -0
  194. package/dist/lib/components/ui/Buttons/GameActions/index.js +0 -0
  195. package/dist/lib/components/ui/Buttons/JivoButton/index.d.ts +2 -0
  196. package/dist/lib/components/ui/Buttons/JivoButton/index.js +154 -0
  197. package/dist/lib/components/ui/Buttons/JivoButton/types.d.ts +30 -0
  198. package/dist/lib/components/ui/Buttons/JivoButton/types.js +2 -0
  199. package/dist/lib/components/ui/Buttons/ProviderName/index.d.ts +2 -0
  200. package/dist/lib/components/ui/Buttons/ProviderName/index.js +54 -0
  201. package/dist/lib/components/ui/Buttons/ProviderName/types.d.ts +6 -0
  202. package/dist/lib/components/ui/Buttons/ProviderName/types.js +2 -0
  203. package/dist/lib/components/ui/Buttons/index.d.ts +4 -0
  204. package/dist/lib/components/ui/Buttons/index.js +7 -0
  205. package/dist/lib/components/ui/CountDown/index.d.ts +2 -0
  206. package/dist/lib/components/ui/CountDown/index.js +65 -0
  207. package/dist/lib/components/ui/CountDown/types.d.ts +19 -0
  208. package/dist/lib/components/ui/CountDown/types.js +2 -0
  209. package/dist/lib/components/ui/Docs/index.d.ts +2 -0
  210. package/dist/lib/components/ui/Docs/index.js +72 -0
  211. package/dist/lib/components/ui/Docs/types.d.ts +14 -0
  212. package/dist/lib/components/ui/Docs/types.js +2 -0
  213. package/dist/lib/components/ui/Footer/index.d.ts +2 -0
  214. package/dist/lib/components/ui/Footer/index.js +46 -0
  215. package/dist/lib/components/ui/Footer/types.d.ts +13 -0
  216. package/dist/lib/components/ui/Footer/types.js +2 -0
  217. package/dist/lib/components/ui/Headers/PopUpHeader/index.d.ts +2 -0
  218. package/dist/lib/components/ui/Headers/PopUpHeader/index.js +52 -0
  219. package/dist/lib/components/ui/Headers/PopUpHeader/types.d.ts +17 -0
  220. package/dist/lib/components/ui/Headers/PopUpHeader/types.js +2 -0
  221. package/dist/lib/components/ui/Headers/index.d.ts +2 -0
  222. package/dist/lib/components/ui/Headers/index.js +5 -0
  223. package/dist/lib/components/ui/Icons/ArrowSvg.d.ts +5 -0
  224. package/dist/lib/components/ui/Icons/ArrowSvg.js +20 -0
  225. package/dist/lib/components/ui/Icons/Base/AvatarSvg.d.ts +2 -0
  226. package/dist/lib/components/ui/Icons/Base/AvatarSvg.js +20 -0
  227. package/dist/lib/components/ui/Icons/Base/BonusGiftSvg.d.ts +2 -0
  228. package/dist/lib/components/ui/Icons/Base/BonusGiftSvg.js +20 -0
  229. package/dist/lib/components/ui/Icons/Base/BurgerSvg.d.ts +2 -0
  230. package/dist/lib/components/ui/Icons/Base/BurgerSvg.js +20 -0
  231. package/dist/lib/components/ui/Icons/Base/CalendarSvg.d.ts +2 -0
  232. package/dist/lib/components/ui/Icons/Base/CalendarSvg.js +20 -0
  233. package/dist/lib/components/ui/Icons/Base/CashSvg.d.ts +5 -0
  234. package/dist/lib/components/ui/Icons/Base/CashSvg.js +52 -0
  235. package/dist/lib/components/ui/Icons/Base/CloseEyeSvg.d.ts +2 -0
  236. package/dist/lib/components/ui/Icons/Base/CloseEyeSvg.js +20 -0
  237. package/dist/lib/components/ui/Icons/Base/CoinSvg.d.ts +2 -0
  238. package/dist/lib/components/ui/Icons/Base/CoinSvg.js +20 -0
  239. package/dist/lib/components/ui/Icons/Base/CoinsSvg.d.ts +2 -0
  240. package/dist/lib/components/ui/Icons/Base/CoinsSvg.js +20 -0
  241. package/dist/lib/components/ui/Icons/Base/CopySvg.d.ts +2 -0
  242. package/dist/lib/components/ui/Icons/Base/CopySvg.js +20 -0
  243. package/dist/lib/components/ui/Icons/Base/DocSvg.d.ts +2 -0
  244. package/dist/lib/components/ui/Icons/Base/DocSvg.js +20 -0
  245. package/dist/lib/components/ui/Icons/Base/DownloadSvg.d.ts +2 -0
  246. package/dist/lib/components/ui/Icons/Base/DownloadSvg.js +20 -0
  247. package/dist/lib/components/ui/Icons/Base/DrawerTogglerSvg.d.ts +2 -0
  248. package/dist/lib/components/ui/Icons/Base/DrawerTogglerSvg.js +20 -0
  249. package/dist/lib/components/ui/Icons/Base/FavoritesSvg.d.ts +2 -0
  250. package/dist/lib/components/ui/Icons/Base/FavoritesSvg.js +20 -0
  251. package/dist/lib/components/ui/Icons/Base/GoogleSvg.d.ts +2 -0
  252. package/dist/lib/components/ui/Icons/Base/GoogleSvg.js +20 -0
  253. package/dist/lib/components/ui/Icons/Base/GrowSvg.d.ts +2 -0
  254. package/dist/lib/components/ui/Icons/Base/GrowSvg.js +20 -0
  255. package/dist/lib/components/ui/Icons/Base/InfoLotterySvg.d.ts +2 -0
  256. package/dist/lib/components/ui/Icons/Base/InfoLotterySvg.js +20 -0
  257. package/dist/lib/components/ui/Icons/Base/LotterySvg.d.ts +2 -0
  258. package/dist/lib/components/ui/Icons/Base/LotterySvg.js +20 -0
  259. package/dist/lib/components/ui/Icons/Base/OpenEyeSvg.d.ts +2 -0
  260. package/dist/lib/components/ui/Icons/Base/OpenEyeSvg.js +20 -0
  261. package/dist/lib/components/ui/Icons/Base/PlusSvg.d.ts +2 -0
  262. package/dist/lib/components/ui/Icons/Base/PlusSvg.js +20 -0
  263. package/dist/lib/components/ui/Icons/Base/ProfileSvg.d.ts +2 -0
  264. package/dist/lib/components/ui/Icons/Base/ProfileSvg.js +20 -0
  265. package/dist/lib/components/ui/Icons/Base/ProvidersBlocksSvg.d.ts +2 -0
  266. package/dist/lib/components/ui/Icons/Base/ProvidersBlocksSvg.js +20 -0
  267. package/dist/lib/components/ui/Icons/Base/SearchSvg.d.ts +2 -0
  268. package/dist/lib/components/ui/Icons/Base/SearchSvg.js +20 -0
  269. package/dist/lib/components/ui/Icons/Base/SelectedSvg.d.ts +2 -0
  270. package/dist/lib/components/ui/Icons/Base/SelectedSvg.js +20 -0
  271. package/dist/lib/components/ui/Icons/Base/SettingsSvg.d.ts +2 -0
  272. package/dist/lib/components/ui/Icons/Base/SettingsSvg.js +20 -0
  273. package/dist/lib/components/ui/Icons/Base/ShareSvg.d.ts +2 -0
  274. package/dist/lib/components/ui/Icons/Base/ShareSvg.js +20 -0
  275. package/dist/lib/components/ui/Icons/Base/StarSvg.d.ts +2 -0
  276. package/dist/lib/components/ui/Icons/Base/StarSvg.js +20 -0
  277. package/dist/lib/components/ui/Icons/Base/SupportSvg.d.ts +2 -0
  278. package/dist/lib/components/ui/Icons/Base/SupportSvg.js +20 -0
  279. package/dist/lib/components/ui/Icons/Base/ThreeDotsSvg.d.ts +2 -0
  280. package/dist/lib/components/ui/Icons/Base/ThreeDotsSvg.js +20 -0
  281. package/dist/lib/components/ui/Icons/Base/TrashSvg.d.ts +2 -0
  282. package/dist/lib/components/ui/Icons/Base/TrashSvg.js +20 -0
  283. package/dist/lib/components/ui/Icons/Base/WalletSvg.d.ts +2 -0
  284. package/dist/lib/components/ui/Icons/Base/WalletSvg.js +20 -0
  285. package/dist/lib/components/ui/Icons/Bonuses/FirstBonusSvg.d.ts +2 -0
  286. package/dist/lib/components/ui/Icons/Bonuses/FirstBonusSvg.js +20 -0
  287. package/dist/lib/components/ui/Icons/Bonuses/SecondBonusSvg.d.ts +2 -0
  288. package/dist/lib/components/ui/Icons/Bonuses/SecondBonusSvg.js +20 -0
  289. package/dist/lib/components/ui/Icons/Bonuses/ThirdBonusSvg.d.ts +2 -0
  290. package/dist/lib/components/ui/Icons/Bonuses/ThirdBonusSvg.js +20 -0
  291. package/dist/lib/components/ui/Icons/Bonuses/VipClub/BronzeSvg.d.ts +2 -0
  292. package/dist/lib/components/ui/Icons/Bonuses/VipClub/BronzeSvg.js +20 -0
  293. package/dist/lib/components/ui/Icons/Bonuses/VipClub/DiamondSvg.d.ts +2 -0
  294. package/dist/lib/components/ui/Icons/Bonuses/VipClub/DiamondSvg.js +20 -0
  295. package/dist/lib/components/ui/Icons/Bonuses/VipClub/GoldSvg.d.ts +2 -0
  296. package/dist/lib/components/ui/Icons/Bonuses/VipClub/GoldSvg.js +20 -0
  297. package/dist/lib/components/ui/Icons/Bonuses/VipClub/GreenSvg.d.ts +2 -0
  298. package/dist/lib/components/ui/Icons/Bonuses/VipClub/GreenSvg.js +20 -0
  299. package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumOneSvg.d.ts +2 -0
  300. package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumOneSvg.js +20 -0
  301. package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumSvg.d.ts +2 -0
  302. package/dist/lib/components/ui/Icons/Bonuses/VipClub/PlatinumSvg.js +20 -0
  303. package/dist/lib/components/ui/Icons/Bonuses/VipClub/SilverSvg.d.ts +2 -0
  304. package/dist/lib/components/ui/Icons/Bonuses/VipClub/SilverSvg.js +20 -0
  305. package/dist/lib/components/ui/Icons/Bonuses/VipClubSvg.d.ts +2 -0
  306. package/dist/lib/components/ui/Icons/Bonuses/VipClubSvg.js +20 -0
  307. package/dist/lib/components/ui/Icons/Casino/CoinSvg.d.ts +2 -0
  308. package/dist/lib/components/ui/Icons/Casino/CoinSvg.js +20 -0
  309. package/dist/lib/components/ui/Icons/Casino/DefaultImgSvg.d.ts +2 -0
  310. package/dist/lib/components/ui/Icons/Casino/DefaultImgSvg.js +20 -0
  311. package/dist/lib/components/ui/Icons/Casino/ProvidersSvg.d.ts +2 -0
  312. package/dist/lib/components/ui/Icons/Casino/ProvidersSvg.js +20 -0
  313. package/dist/lib/components/ui/Icons/Casino/RecommendedSvg.d.ts +2 -0
  314. package/dist/lib/components/ui/Icons/Casino/RecommendedSvg.js +20 -0
  315. package/dist/lib/components/ui/Icons/Casino/TournamentWagerSvg.d.ts +2 -0
  316. package/dist/lib/components/ui/Icons/Casino/TournamentWagerSvg.js +20 -0
  317. package/dist/lib/components/ui/Icons/Categories/Icons/CasinoSvg.d.ts +2 -0
  318. package/dist/lib/components/ui/Icons/Categories/Icons/CasinoSvg.js +20 -0
  319. package/dist/lib/components/ui/Icons/Categories/Icons/CrashSvg.d.ts +2 -0
  320. package/dist/lib/components/ui/Icons/Categories/Icons/CrashSvg.js +20 -0
  321. package/dist/lib/components/ui/Icons/Categories/Icons/HotSvg.d.ts +2 -0
  322. package/dist/lib/components/ui/Icons/Categories/Icons/HotSvg.js +20 -0
  323. package/dist/lib/components/ui/Icons/Categories/Icons/InstantSvg.d.ts +2 -0
  324. package/dist/lib/components/ui/Icons/Categories/Icons/InstantSvg.js +20 -0
  325. package/dist/lib/components/ui/Icons/Categories/Icons/OtersSvg.d.ts +2 -0
  326. package/dist/lib/components/ui/Icons/Categories/Icons/OtersSvg.js +20 -0
  327. package/dist/lib/components/ui/Icons/Categories/Icons/PopularSvg.d.ts +2 -0
  328. package/dist/lib/components/ui/Icons/Categories/Icons/PopularSvg.js +20 -0
  329. package/dist/lib/components/ui/Icons/Categories/Icons/ProviderSvg.d.ts +2 -0
  330. package/dist/lib/components/ui/Icons/Categories/Icons/ProviderSvg.js +20 -0
  331. package/dist/lib/components/ui/Icons/Categories/Icons/ScratchSvg.d.ts +2 -0
  332. package/dist/lib/components/ui/Icons/Categories/Icons/ScratchSvg.js +20 -0
  333. package/dist/lib/components/ui/Icons/Categories/Icons/SlotsSvg.d.ts +2 -0
  334. package/dist/lib/components/ui/Icons/Categories/Icons/SlotsSvg.js +20 -0
  335. package/dist/lib/components/ui/Icons/Categories/Icons/TableSvg.d.ts +2 -0
  336. package/dist/lib/components/ui/Icons/Categories/Icons/TableSvg.js +20 -0
  337. package/dist/lib/components/ui/Icons/Categories/Icons/TurboSvg.d.ts +2 -0
  338. package/dist/lib/components/ui/Icons/Categories/Icons/TurboSvg.js +20 -0
  339. package/dist/lib/components/ui/Icons/Categories/Icons/VSportSvg.d.ts +2 -0
  340. package/dist/lib/components/ui/Icons/Categories/Icons/VSportSvg.js +20 -0
  341. package/dist/lib/components/ui/Icons/Categories/Icons/WagerSvg.d.ts +2 -0
  342. package/dist/lib/components/ui/Icons/Categories/Icons/WagerSvg.js +20 -0
  343. package/dist/lib/components/ui/Icons/Categories/index.d.ts +3 -0
  344. package/dist/lib/components/ui/Icons/Categories/index.js +50 -0
  345. package/dist/lib/components/ui/Icons/CheckBoxSvg.d.ts +2 -0
  346. package/dist/lib/components/ui/Icons/CheckBoxSvg.js +18 -0
  347. package/dist/lib/components/ui/Icons/CloseSvg.d.ts +2 -0
  348. package/dist/lib/components/ui/Icons/CloseSvg.js +20 -0
  349. package/dist/lib/components/ui/Icons/Deposit/DepositSvg.d.ts +2 -0
  350. package/dist/lib/components/ui/Icons/Deposit/DepositSvg.js +20 -0
  351. package/dist/lib/components/ui/Icons/Deposit/ErrorSvg.d.ts +2 -0
  352. package/dist/lib/components/ui/Icons/Deposit/ErrorSvg.js +20 -0
  353. package/dist/lib/components/ui/Icons/Deposit/SuccessSvg.d.ts +2 -0
  354. package/dist/lib/components/ui/Icons/Deposit/SuccessSvg.js +20 -0
  355. package/dist/lib/components/ui/Icons/Deposit/WaitingSvg.d.ts +2 -0
  356. package/dist/lib/components/ui/Icons/Deposit/WaitingSvg.js +20 -0
  357. package/dist/lib/components/ui/Icons/Deposit/WithdrawSvg.d.ts +2 -0
  358. package/dist/lib/components/ui/Icons/Deposit/WithdrawSvg.js +20 -0
  359. package/dist/lib/components/ui/Icons/FlagIcons/AzeSvg.d.ts +2 -0
  360. package/dist/lib/components/ui/Icons/FlagIcons/AzeSvg.js +20 -0
  361. package/dist/lib/components/ui/Icons/FlagIcons/BnSvg.d.ts +2 -0
  362. package/dist/lib/components/ui/Icons/FlagIcons/BnSvg.js +20 -0
  363. package/dist/lib/components/ui/Icons/FlagIcons/BsSvg.d.ts +2 -0
  364. package/dist/lib/components/ui/Icons/FlagIcons/BsSvg.js +20 -0
  365. package/dist/lib/components/ui/Icons/FlagIcons/ChSvg.d.ts +2 -0
  366. package/dist/lib/components/ui/Icons/FlagIcons/ChSvg.js +20 -0
  367. package/dist/lib/components/ui/Icons/FlagIcons/DeSvg.d.ts +2 -0
  368. package/dist/lib/components/ui/Icons/FlagIcons/DeSvg.js +20 -0
  369. package/dist/lib/components/ui/Icons/FlagIcons/EnSvg.d.ts +2 -0
  370. package/dist/lib/components/ui/Icons/FlagIcons/EnSvg.js +20 -0
  371. package/dist/lib/components/ui/Icons/FlagIcons/EsSvg.d.ts +2 -0
  372. package/dist/lib/components/ui/Icons/FlagIcons/EsSvg.js +20 -0
  373. package/dist/lib/components/ui/Icons/FlagIcons/FrSvg.d.ts +2 -0
  374. package/dist/lib/components/ui/Icons/FlagIcons/FrSvg.js +20 -0
  375. package/dist/lib/components/ui/Icons/FlagIcons/HiSvg.d.ts +2 -0
  376. package/dist/lib/components/ui/Icons/FlagIcons/HiSvg.js +20 -0
  377. package/dist/lib/components/ui/Icons/FlagIcons/ItSvg.d.ts +2 -0
  378. package/dist/lib/components/ui/Icons/FlagIcons/ItSvg.js +20 -0
  379. package/dist/lib/components/ui/Icons/FlagIcons/KoSvg.d.ts +2 -0
  380. package/dist/lib/components/ui/Icons/FlagIcons/KoSvg.js +20 -0
  381. package/dist/lib/components/ui/Icons/FlagIcons/KzSvg.d.ts +2 -0
  382. package/dist/lib/components/ui/Icons/FlagIcons/KzSvg.js +20 -0
  383. package/dist/lib/components/ui/Icons/FlagIcons/NoSvg.d.ts +2 -0
  384. package/dist/lib/components/ui/Icons/FlagIcons/NoSvg.js +20 -0
  385. package/dist/lib/components/ui/Icons/FlagIcons/PtSvg.d.ts +2 -0
  386. package/dist/lib/components/ui/Icons/FlagIcons/PtSvg.js +20 -0
  387. package/dist/lib/components/ui/Icons/FlagIcons/RoSvg.d.ts +2 -0
  388. package/dist/lib/components/ui/Icons/FlagIcons/RoSvg.js +20 -0
  389. package/dist/lib/components/ui/Icons/FlagIcons/RuSvg.d.ts +2 -0
  390. package/dist/lib/components/ui/Icons/FlagIcons/RuSvg.js +20 -0
  391. package/dist/lib/components/ui/Icons/FlagIcons/TrSvg.d.ts +2 -0
  392. package/dist/lib/components/ui/Icons/FlagIcons/TrSvg.js +20 -0
  393. package/dist/lib/components/ui/Icons/FlagIcons/UkrSvg.d.ts +2 -0
  394. package/dist/lib/components/ui/Icons/FlagIcons/UkrSvg.js +20 -0
  395. package/dist/lib/components/ui/Icons/FlagIcons/UzSvg.d.ts +2 -0
  396. package/dist/lib/components/ui/Icons/FlagIcons/UzSvg.js +20 -0
  397. package/dist/lib/components/ui/Icons/InHouse/ElonHouseSvg.d.ts +2 -0
  398. package/dist/lib/components/ui/Icons/InHouse/ElonHouseSvg.js +20 -0
  399. package/dist/lib/components/ui/Icons/InHouse/FSWinHouseSvg.d.ts +2 -0
  400. package/dist/lib/components/ui/Icons/InHouse/FSWinHouseSvg.js +20 -0
  401. package/dist/lib/components/ui/Icons/InHouse/JabiInHouseSvg.d.ts +2 -0
  402. package/dist/lib/components/ui/Icons/InHouse/JabiInHouseSvg.js +20 -0
  403. package/dist/lib/components/ui/Icons/InfoSvg.d.ts +2 -0
  404. package/dist/lib/components/ui/Icons/InfoSvg.js +20 -0
  405. package/dist/lib/components/ui/Icons/LockSvg.d.ts +2 -0
  406. package/dist/lib/components/ui/Icons/LockSvg.js +20 -0
  407. package/dist/lib/components/ui/Icons/Navigation/NavBettingLiveSvg.d.ts +2 -0
  408. package/dist/lib/components/ui/Icons/Navigation/NavBettingLiveSvg.js +20 -0
  409. package/dist/lib/components/ui/Icons/Navigation/NavBettingSvg.d.ts +2 -0
  410. package/dist/lib/components/ui/Icons/Navigation/NavBettingSvg.js +20 -0
  411. package/dist/lib/components/ui/Icons/Navigation/NavBonusesSvg.d.ts +2 -0
  412. package/dist/lib/components/ui/Icons/Navigation/NavBonusesSvg.js +20 -0
  413. package/dist/lib/components/ui/Icons/Navigation/NavCasinoSvg.d.ts +2 -0
  414. package/dist/lib/components/ui/Icons/Navigation/NavCasinoSvg.js +20 -0
  415. package/dist/lib/components/ui/Icons/Navigation/NavMyBetsSvg.d.ts +2 -0
  416. package/dist/lib/components/ui/Icons/Navigation/NavMyBetsSvg.js +20 -0
  417. package/dist/lib/components/ui/Icons/Navigation/NavReferralSvg.d.ts +2 -0
  418. package/dist/lib/components/ui/Icons/Navigation/NavReferralSvg.js +20 -0
  419. package/dist/lib/components/ui/Icons/Navigation/NavTournamentSvg.d.ts +2 -0
  420. package/dist/lib/components/ui/Icons/Navigation/NavTournamentSvg.js +20 -0
  421. package/dist/lib/components/ui/Icons/NotFound/BonusesSvg.d.ts +2 -0
  422. package/dist/lib/components/ui/Icons/NotFound/BonusesSvg.js +20 -0
  423. package/dist/lib/components/ui/Icons/Notifications/ErrorSvg.d.ts +2 -0
  424. package/dist/lib/components/ui/Icons/Notifications/ErrorSvg.js +20 -0
  425. package/dist/lib/components/ui/Icons/Notifications/SuccessSvg.d.ts +2 -0
  426. package/dist/lib/components/ui/Icons/Notifications/SuccessSvg.js +20 -0
  427. package/dist/lib/components/ui/Icons/Notifications/WarningSvg.d.ts +2 -0
  428. package/dist/lib/components/ui/Icons/Notifications/WarningSvg.js +20 -0
  429. package/dist/lib/components/ui/Icons/PlaySvg.d.ts +2 -0
  430. package/dist/lib/components/ui/Icons/PlaySvg.js +20 -0
  431. package/dist/lib/components/ui/Icons/ReferralTreasures/ElonTreasureSvg.d.ts +2 -0
  432. package/dist/lib/components/ui/Icons/ReferralTreasures/ElonTreasureSvg.js +44 -0
  433. package/dist/lib/components/ui/Icons/ReferralTreasures/FSWinTreasureSvg.d.ts +2 -0
  434. package/dist/lib/components/ui/Icons/ReferralTreasures/FSWinTreasureSvg.js +44 -0
  435. package/dist/lib/components/ui/Icons/ReferralTreasures/JabibetTreasureSvg.d.ts +2 -0
  436. package/dist/lib/components/ui/Icons/ReferralTreasures/JabibetTreasureSvg.js +44 -0
  437. package/dist/lib/components/ui/Icons/SocialMedia/FacebookSvg.d.ts +2 -0
  438. package/dist/lib/components/ui/Icons/SocialMedia/FacebookSvg.js +20 -0
  439. package/dist/lib/components/ui/Icons/SocialMedia/InstagramSvg.d.ts +2 -0
  440. package/dist/lib/components/ui/Icons/SocialMedia/InstagramSvg.js +20 -0
  441. package/dist/lib/components/ui/Icons/SocialMedia/TelegramSvg.d.ts +2 -0
  442. package/dist/lib/components/ui/Icons/SocialMedia/TelegramSvg.js +20 -0
  443. package/dist/lib/components/ui/Icons/Sports/AmericanFootballSvg.d.ts +2 -0
  444. package/dist/lib/components/ui/Icons/Sports/AmericanFootballSvg.js +20 -0
  445. package/dist/lib/components/ui/Icons/Sports/AussieRulesSvg.d.ts +2 -0
  446. package/dist/lib/components/ui/Icons/Sports/AussieRulesSvg.js +20 -0
  447. package/dist/lib/components/ui/Icons/Sports/BadmintonSvg.d.ts +2 -0
  448. package/dist/lib/components/ui/Icons/Sports/BadmintonSvg.js +20 -0
  449. package/dist/lib/components/ui/Icons/Sports/BaseballSvg.d.ts +2 -0
  450. package/dist/lib/components/ui/Icons/Sports/BaseballSvg.js +20 -0
  451. package/dist/lib/components/ui/Icons/Sports/Basketball3x3Svg.d.ts +2 -0
  452. package/dist/lib/components/ui/Icons/Sports/Basketball3x3Svg.js +20 -0
  453. package/dist/lib/components/ui/Icons/Sports/BasketballSvg.d.ts +2 -0
  454. package/dist/lib/components/ui/Icons/Sports/BasketballSvg.js +20 -0
  455. package/dist/lib/components/ui/Icons/Sports/BeachSoccerSvg.d.ts +2 -0
  456. package/dist/lib/components/ui/Icons/Sports/BeachSoccerSvg.js +20 -0
  457. package/dist/lib/components/ui/Icons/Sports/BoxingSvg.d.ts +2 -0
  458. package/dist/lib/components/ui/Icons/Sports/BoxingSvg.js +20 -0
  459. package/dist/lib/components/ui/Icons/Sports/ChessSvg.d.ts +2 -0
  460. package/dist/lib/components/ui/Icons/Sports/ChessSvg.js +20 -0
  461. package/dist/lib/components/ui/Icons/Sports/CricketSvg.d.ts +2 -0
  462. package/dist/lib/components/ui/Icons/Sports/CricketSvg.js +20 -0
  463. package/dist/lib/components/ui/Icons/Sports/DartsSvg.d.ts +2 -0
  464. package/dist/lib/components/ui/Icons/Sports/DartsSvg.js +20 -0
  465. package/dist/lib/components/ui/Icons/Sports/EFifaSvg.d.ts +2 -0
  466. package/dist/lib/components/ui/Icons/Sports/EFifaSvg.js +20 -0
  467. package/dist/lib/components/ui/Icons/Sports/ENbaSvg.d.ts +2 -0
  468. package/dist/lib/components/ui/Icons/Sports/ENbaSvg.js +20 -0
  469. package/dist/lib/components/ui/Icons/Sports/ENhlSvg.d.ts +2 -0
  470. package/dist/lib/components/ui/Icons/Sports/ENhlSvg.js +20 -0
  471. package/dist/lib/components/ui/Icons/Sports/EsportSvg.d.ts +2 -0
  472. package/dist/lib/components/ui/Icons/Sports/EsportSvg.js +20 -0
  473. package/dist/lib/components/ui/Icons/Sports/FieldHockeySvg.d.ts +2 -0
  474. package/dist/lib/components/ui/Icons/Sports/FieldHockeySvg.js +20 -0
  475. package/dist/lib/components/ui/Icons/Sports/FutsalSvg.d.ts +2 -0
  476. package/dist/lib/components/ui/Icons/Sports/FutsalSvg.js +20 -0
  477. package/dist/lib/components/ui/Icons/Sports/IceHockeySvg.d.ts +2 -0
  478. package/dist/lib/components/ui/Icons/Sports/IceHockeySvg.js +20 -0
  479. package/dist/lib/components/ui/Icons/Sports/KabaddiSvg.d.ts +2 -0
  480. package/dist/lib/components/ui/Icons/Sports/KabaddiSvg.js +20 -0
  481. package/dist/lib/components/ui/Icons/Sports/MmaSvg.d.ts +2 -0
  482. package/dist/lib/components/ui/Icons/Sports/MmaSvg.js +20 -0
  483. package/dist/lib/components/ui/Icons/Sports/RugbySvg.d.ts +2 -0
  484. package/dist/lib/components/ui/Icons/Sports/RugbySvg.js +20 -0
  485. package/dist/lib/components/ui/Icons/Sports/SnookerSvg.d.ts +2 -0
  486. package/dist/lib/components/ui/Icons/Sports/SnookerSvg.js +20 -0
  487. package/dist/lib/components/ui/Icons/Sports/SoccerSvg.d.ts +2 -0
  488. package/dist/lib/components/ui/Icons/Sports/SoccerSvg.js +20 -0
  489. package/dist/lib/components/ui/Icons/Sports/SquashSvg.d.ts +2 -0
  490. package/dist/lib/components/ui/Icons/Sports/SquashSvg.js +20 -0
  491. package/dist/lib/components/ui/Icons/Sports/TableTennisSvg.d.ts +2 -0
  492. package/dist/lib/components/ui/Icons/Sports/TableTennisSvg.js +20 -0
  493. package/dist/lib/components/ui/Icons/Sports/TennisSvg.d.ts +2 -0
  494. package/dist/lib/components/ui/Icons/Sports/TennisSvg.js +20 -0
  495. package/dist/lib/components/ui/Icons/Sports/VolleyballSvg.d.ts +2 -0
  496. package/dist/lib/components/ui/Icons/Sports/VolleyballSvg.js +20 -0
  497. package/dist/lib/components/ui/Icons/types.d.ts +8 -0
  498. package/dist/lib/components/ui/Icons/types.js +2 -0
  499. package/dist/lib/components/ui/Inputs/AmountInput/index.d.ts +3 -0
  500. package/dist/lib/components/ui/Inputs/AmountInput/index.js +123 -0
  501. package/dist/lib/components/ui/Inputs/AmountInput/types.d.ts +20 -0
  502. package/dist/lib/components/ui/Inputs/AmountInput/types.js +2 -0
  503. package/dist/lib/components/ui/Inputs/BaseInput/BaseInputUi.d.ts +2 -0
  504. package/dist/lib/components/ui/Inputs/BaseInput/BaseInputUi.js +72 -0
  505. package/dist/lib/components/ui/Inputs/BaseInput/constant.d.ts +2 -0
  506. package/dist/lib/components/ui/Inputs/BaseInput/constant.js +7 -0
  507. package/dist/lib/components/ui/Inputs/BaseInput/index.d.ts +2 -0
  508. package/dist/lib/components/ui/Inputs/BaseInput/index.js +52 -0
  509. package/dist/lib/components/ui/Inputs/BaseInput/types.d.ts +37 -0
  510. package/dist/lib/components/ui/Inputs/BaseInput/types.js +2 -0
  511. package/dist/lib/components/ui/Inputs/CheckBox/index.d.ts +12 -0
  512. package/dist/lib/components/ui/Inputs/CheckBox/index.js +52 -0
  513. package/dist/lib/components/ui/Leaderboard/components/User/index.d.ts +4 -0
  514. package/dist/lib/components/ui/Leaderboard/components/User/index.js +56 -0
  515. package/dist/lib/components/ui/Leaderboard/constants.d.ts +1 -0
  516. package/dist/lib/components/ui/Leaderboard/constants.js +4 -0
  517. package/dist/lib/components/ui/Leaderboard/index.d.ts +2 -0
  518. package/dist/lib/components/ui/Leaderboard/index.js +70 -0
  519. package/dist/lib/components/ui/Leaderboard/types.d.ts +17 -0
  520. package/dist/lib/components/ui/Leaderboard/types.js +2 -0
  521. package/dist/lib/components/ui/Loaders/CircularLoader/index.d.ts +5 -0
  522. package/dist/lib/components/ui/Loaders/CircularLoader/index.js +48 -0
  523. package/dist/lib/components/ui/Loaders/MainLoader/index.d.ts +2 -0
  524. package/dist/lib/components/ui/Loaders/MainLoader/index.js +52 -0
  525. package/dist/lib/components/ui/Loaders/MainLoader/types.d.ts +6 -0
  526. package/dist/lib/components/ui/Loaders/MainLoader/types.js +2 -0
  527. package/dist/lib/components/ui/Loaders/SkeletLoader/index.d.ts +5 -0
  528. package/dist/lib/components/ui/Loaders/SkeletLoader/index.js +47 -0
  529. package/dist/lib/components/ui/Logos/index.d.ts +2 -0
  530. package/dist/lib/components/ui/Logos/index.js +101 -0
  531. package/dist/lib/components/ui/Logos/types.d.ts +13 -0
  532. package/dist/lib/components/ui/Logos/types.js +2 -0
  533. package/dist/lib/components/ui/Pagination/index.d.ts +2 -0
  534. package/dist/lib/components/ui/Pagination/index.js +76 -0
  535. package/dist/lib/components/ui/Pagination/types.d.ts +10 -0
  536. package/dist/lib/components/ui/Pagination/types.js +2 -0
  537. package/dist/lib/components/ui/Section/index.d.ts +4 -0
  538. package/dist/lib/components/ui/Section/index.js +48 -0
  539. package/dist/lib/components/ui/Selector/index.d.ts +2 -0
  540. package/dist/lib/components/ui/Selector/index.js +135 -0
  541. package/dist/lib/components/ui/Selector/types.d.ts +43 -0
  542. package/dist/lib/components/ui/Selector/types.js +2 -0
  543. package/dist/lib/components/ui/ShowAll/index.d.ts +7 -0
  544. package/dist/lib/components/ui/ShowAll/index.js +50 -0
  545. package/dist/lib/components/ui/Step/index.d.ts +2 -0
  546. package/dist/lib/components/ui/Step/index.js +44 -0
  547. package/dist/lib/components/ui/Step/types.d.ts +5 -0
  548. package/dist/lib/components/ui/Step/types.js +2 -0
  549. package/dist/lib/components/ui/Tabs/index.d.ts +2 -0
  550. package/dist/lib/components/ui/Tabs/index.js +109 -0
  551. package/dist/lib/components/ui/Tabs/types.d.ts +15 -0
  552. package/dist/lib/components/ui/Tabs/types.js +2 -0
  553. package/dist/lib/components/ui/TournamentCard/index.d.ts +2 -0
  554. package/dist/lib/components/ui/TournamentCard/index.js +58 -0
  555. package/dist/lib/components/ui/TournamentCard/types.d.ts +16 -0
  556. package/dist/lib/components/ui/TournamentCard/types.js +2 -0
  557. package/dist/lib/hooks/useCountDown.d.ts +8 -0
  558. package/dist/lib/hooks/useCountDown.js +25 -0
  559. package/dist/lib/hooks/useElementResize.d.ts +5 -0
  560. package/dist/lib/hooks/useElementResize.js +41 -0
  561. package/dist/lib/hooks/useInView.d.ts +2 -0
  562. package/dist/lib/hooks/useInView.js +27 -0
  563. package/dist/lib/hooks/useOutsideClick.d.ts +5 -0
  564. package/dist/lib/hooks/useOutsideClick.js +22 -0
  565. package/dist/lib/hooks/useSwipe.d.ts +9 -0
  566. package/dist/lib/hooks/useSwipe.js +69 -0
  567. package/dist/lib/hooks/useTranslate.d.ts +6 -0
  568. package/dist/lib/hooks/useTranslate.js +46 -0
  569. package/dist/lib/index.d.ts +189 -0
  570. package/dist/lib/index.js +411 -0
  571. package/dist/lib/service/validation.d.ts +72 -0
  572. package/dist/lib/service/validation.js +190 -0
  573. package/dist/lib/types/ui.d.ts +14 -0
  574. package/dist/lib/types/ui.js +16 -0
  575. package/dist/lib/utils/date.d.ts +1 -0
  576. package/dist/lib/utils/date.js +11 -0
  577. package/dist/lib/zustandStore/languages/constants.d.ts +2 -0
  578. package/dist/lib/zustandStore/languages/constants.js +14 -0
  579. package/dist/lib/zustandStore/languages/selectors.d.ts +22 -0
  580. package/dist/lib/zustandStore/languages/selectors.js +31 -0
  581. package/dist/lib/zustandStore/languages/store.d.ts +2 -0
  582. package/dist/lib/zustandStore/languages/store.js +115 -0
  583. package/dist/lib/zustandStore/languages/types.d.ts +18 -0
  584. package/dist/lib/zustandStore/languages/types.js +2 -0
  585. package/dist/main.css +3950 -0
  586. package/package.json +66 -0
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Section = void 0;
41
+ var jsx_runtime_1 = require("react/jsx-runtime");
42
+ var classnames_1 = __importDefault(require("classnames"));
43
+ var styles = __importStar(require("./Section.module.css"));
44
+ var Section = function (_a) {
45
+ var children = _a.children, classes = _a.classes;
46
+ return (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperSection, classes) }, { children: children }));
47
+ };
48
+ exports.Section = Section;
@@ -0,0 +1,2 @@
1
+ import { SelectorProps } from './types';
2
+ export declare const Selector: (props: SelectorProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Selector = void 0;
41
+ var jsx_runtime_1 = require("react/jsx-runtime");
42
+ var classnames_1 = __importDefault(require("classnames"));
43
+ var react_1 = require("react");
44
+ var CloseSvg_1 = require("../Icons/CloseSvg");
45
+ var CheckBoxSvg_1 = require("../Icons/CheckBoxSvg");
46
+ var LockSvg_1 = require("../Icons/LockSvg");
47
+ var ArrowButton_1 = require("../Buttons/ArrowButton");
48
+ var HOCOutsideClick_1 = require("components/HOCs/HOCOutsideClick");
49
+ var Text_1 = require("components/Text");
50
+ var useTranslate_1 = require("hooks/useTranslate");
51
+ var styles = __importStar(require("./Selector.module.css"));
52
+ var Selector = function (props) {
53
+ var _a, _b;
54
+ var _c = props.placeholder, placeholder = _c === void 0 ? '' : _c, data = props.data, classes = props.classes, activeId = props.activeId, isOpenUp = props.isOpenUp, size = props.size, handleClick = props.handleClick, isAll = props.isAll, classesItem = props.classesItem, _d = props.selectedMainItemClasses, selectedMainItemClasses = _d === void 0 ? '' : _d, isMulti = props.isMulti, modalType = props.modalType, activeIds = props.activeIds, _e = props.joinSymbol, joinSymbol = _e === void 0 ? ',' : _e, _f = props.selectorStyleType, selectorStyleType = _f === void 0 ? 'base' : _f, _g = props.type, type = _g === void 0 ? 'base' : _g, additionalModalProps = props.additionalModalProps, setModalType = props.setModalType;
55
+ var _h = (0, react_1.useState)(false), isOpened = _h[0], setOpenState = _h[1];
56
+ var _j = (0, react_1.useState)(true), isHideContent = _j[0], setHideContentState = _j[1];
57
+ var timer = (0, react_1.useRef)(null);
58
+ var getText = (0, useTranslate_1.useTranslate)('', '').getText;
59
+ var isDisabled = data.length < 2 && modalType === undefined;
60
+ var handleToggleState = function (e) {
61
+ e.stopPropagation();
62
+ if (type === 'button') {
63
+ // @ts-ignore
64
+ handleClick();
65
+ return;
66
+ }
67
+ if (modalType) {
68
+ setModalType(modalType, additionalModalProps);
69
+ return;
70
+ }
71
+ if (isHideContent && !isOpened) {
72
+ setHideContentState(false);
73
+ }
74
+ setOpenState(!isOpened);
75
+ };
76
+ var resetValue = function (e) {
77
+ e.preventDefault();
78
+ e.stopPropagation();
79
+ if (!isAll) {
80
+ return;
81
+ }
82
+ setOpenState(false);
83
+ handleClick(null);
84
+ };
85
+ var setAndClose = function (id) { return function (e) {
86
+ e.stopPropagation();
87
+ setOpenState(false);
88
+ // TODO because of isAll change props types for function
89
+ handleClick(id);
90
+ }; };
91
+ var getTitle = function () {
92
+ var _a;
93
+ if (isMulti) {
94
+ return data
95
+ .filter(function (i) { return activeIds.includes(i.id); })
96
+ .map(function (i) { return getText(i.name); })
97
+ .join(joinSymbol);
98
+ }
99
+ var name = ((_a = data.find(function (i) { return i.id === activeId; })) === null || _a === void 0 ? void 0 : _a.name) || placeholder;
100
+ return getText(name);
101
+ };
102
+ (0, react_1.useEffect)(function () {
103
+ if (timer.current) {
104
+ clearTimeout(timer.current);
105
+ }
106
+ if (!isOpened) {
107
+ timer.current = setTimeout(function () {
108
+ setHideContentState(true);
109
+ }, 500);
110
+ }
111
+ }, [isOpened]);
112
+ (0, react_1.useEffect)(function () { return function () {
113
+ if (timer.current) {
114
+ clearTimeout(timer.current);
115
+ }
116
+ }; }, []);
117
+ var directionModifier = "dropDownDirection-".concat(isOpenUp ? 'up' : 'down');
118
+ var sizeModifier = "dropDownContentSize-".concat(size);
119
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperSelector, styles[sizeModifier], classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.mainContainer, styles.item, styles[sizeModifier], classesItem, (_a = {},
120
+ _a[styles.opacity] = isOpened,
121
+ _a[selectedMainItemClasses] = activeId || (activeIds === null || activeIds === void 0 ? void 0 : activeIds.length),
122
+ _a)), onClick: isDisabled && type === 'base' ? undefined : handleToggleState }, { children: [selectorStyleType === 'labelUp' && placeholder && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.placeholder }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.overflow }, { children: getTitle() })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.iconBlock }, { children: [isDisabled && (0, jsx_runtime_1.jsx)(LockSvg_1.LockSvg, {}), !isDisabled && !activeId && ((0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { isOpened: isOpened, toggleState: resetValue })), !isDisabled && !!activeId && !!isAll && ((0, jsx_runtime_1.jsx)(CloseSvg_1.CloseSvg, { handleClick: resetValue }))] }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.dropDownWrapper, styles[directionModifier], styles[sizeModifier], (_b = {},
123
+ _b[styles.animationSelectorGrowing] = isOpened,
124
+ _b[styles.animationSelectorReducing] = !isOpened,
125
+ _b[styles.bigBorder] = isOpened,
126
+ _b[styles.disabledBottom] = isOpenUp,
127
+ _b[styles.disabledTop] = !isOpenUp,
128
+ _b)) }, { children: [!isHideContent && isAll && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.item, classesItem), onClick: setAndClose(null) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "reset" }) }))), !isHideContent && ((0, jsx_runtime_1.jsx)(HOCOutsideClick_1.HOCOutsideClick, __assign({ handleFunc: handleToggleState }, { children: data.map(function (i) {
129
+ var _a;
130
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.item, styles.overflow, classesItem, (_a = {},
131
+ _a[styles.maxSize] = !isMulti,
132
+ _a)), onClick: setAndClose(i.id) }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: i.name }) }), i.endName && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: i.endName }) })), isMulti && activeIds.includes(i.id) && (0, jsx_runtime_1.jsx)(CheckBoxSvg_1.CheckBoxSvg, {})] }), i.id));
133
+ }) })))] }))] })));
134
+ };
135
+ exports.Selector = Selector;
@@ -0,0 +1,43 @@
1
+ import { Size } from 'types/ui';
2
+ export type SelectorProps = {
3
+ selectorStyleType?: 'labelUp' | 'base';
4
+ type?: 'base' | 'button';
5
+ isOpenUp?: boolean;
6
+ activeId: number | null;
7
+ handleClick: (id: number) => void;
8
+ data: {
9
+ [key: string]: any;
10
+ id: number;
11
+ name: string;
12
+ endName?: string;
13
+ }[];
14
+ placeholder?: string;
15
+ classes?: string;
16
+ classesItem?: string;
17
+ selectedMainItemClasses?: string;
18
+ size: Size;
19
+ isAll?: boolean;
20
+ isMulti?: boolean;
21
+ modalType?: unknown;
22
+ additionalModalProps?: any;
23
+ setModalType?: (type: any, additionalInfo?: any) => void;
24
+ activeIds?: number[];
25
+ joinSymbol?: string;
26
+ } & (({
27
+ isAll: true;
28
+ handleClick: (id: number | null) => void;
29
+ } | {
30
+ isAll?: false;
31
+ handleClick: (id: number) => void;
32
+ }) & ({
33
+ isMulti: true;
34
+ activeIds: number[];
35
+ joinSymbol: string;
36
+ } | {
37
+ isMulti?: false;
38
+ })) & ({
39
+ type: 'button';
40
+ handleClick: () => void;
41
+ } | {
42
+ type?: 'base';
43
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ handleClick: () => void;
3
+ appType: number;
4
+ bgPath?: string;
5
+ };
6
+ export declare const ShowAllCard: ({ handleClick, appType, bgPath }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ShowAllCard = void 0;
38
+ var jsx_runtime_1 = require("react/jsx-runtime");
39
+ var Text_1 = require("components/Text");
40
+ var styles = __importStar(require("./ShowAllCard.module.css"));
41
+ var ShowAllCard = function (_a) {
42
+ var handleClick = _a.handleClick, appType = _a.appType, bgPath = _a.bgPath;
43
+ var path = bgPath || "/icons-elon/games/".concat(appType, ".png");
44
+ return ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.wrapperShowAllCard, onClick: handleClick, style: {
45
+ background: "url(".concat(path, ")"),
46
+ backgroundSize: 'cover',
47
+ backgroundPosition: 'center',
48
+ } }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "showMoreBtn" }) })));
49
+ };
50
+ exports.ShowAllCard = ShowAllCard;
@@ -0,0 +1,2 @@
1
+ import { StepProps } from './types';
2
+ export declare const Step: (props: StepProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Step = void 0;
38
+ var jsx_runtime_1 = require("react/jsx-runtime");
39
+ var styles = __importStar(require("./Step.module.css"));
40
+ var Step = function (props) {
41
+ var imgPath = props.imgPath, title = props.title, subTitle = props.subTitle;
42
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperStep }, { children: [(0, jsx_runtime_1.jsx)("img", { src: imgPath, className: styles.img }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: title })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subTitle }, { children: subTitle }))] })));
43
+ };
44
+ exports.Step = Step;
@@ -0,0 +1,5 @@
1
+ export type StepProps = {
2
+ imgPath: string;
3
+ title: string;
4
+ subTitle: string;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import { TabsProps } from './types';
2
+ export declare const Tabs: (props: TabsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Tabs = void 0;
41
+ var jsx_runtime_1 = require("react/jsx-runtime");
42
+ var react_1 = require("react");
43
+ var classnames_1 = __importDefault(require("classnames"));
44
+ var useElementResize_1 = require("hooks/useElementResize");
45
+ var styles = __importStar(require("./Tabs.module.css"));
46
+ var Tabs = function (props) {
47
+ var _a, _b;
48
+ var activeValue = props.activeValue, onChange = props.onChange, data = props.data, _c = props.classes, classes = _c === void 0 ? '' : _c, _d = props.tabClasses, tabClasses = _d === void 0 ? '' : _d, startItem = props.startItem, endItem = props.endItem, _e = props.type, type = _e === void 0 ? 'button' : _e;
49
+ var container = (0, react_1.useRef)(null);
50
+ var indicator = (0, react_1.useRef)(null);
51
+ var _f = (0, react_1.useState)(null), activeInx = _f[0], setActiveInx = _f[1];
52
+ var isButtonView = type === 'button';
53
+ var handleChange = function (n) { return function () {
54
+ onChange(n);
55
+ }; };
56
+ var width = (0, useElementResize_1.useElementResize)({ containerRef: container.current });
57
+ (0, react_1.useEffect)(function () {
58
+ if (!container.current ||
59
+ !indicator.current ||
60
+ activeInx === null ||
61
+ !width) {
62
+ return;
63
+ }
64
+ var containerElement = container.current;
65
+ var containerStyles = window.getComputedStyle(containerElement);
66
+ var borderWidth = parseInt(containerStyles.borderWidth);
67
+ var tabs = containerElement.getElementsByTagName('div');
68
+ var activeElement = tabs[activeInx];
69
+ if (!activeElement) {
70
+ indicator.current.style.width = '0px';
71
+ console.warn('ACTIVE element not found');
72
+ return;
73
+ }
74
+ var activeItemWidth = activeElement.getBoundingClientRect().width;
75
+ var containerRect = container.current.getBoundingClientRect();
76
+ var elementRect = activeElement.getBoundingClientRect();
77
+ var elementPositionInContainer = {
78
+ left: elementRect.left -
79
+ containerRect.left +
80
+ container.current.scrollLeft -
81
+ borderWidth,
82
+ top: elementRect.top - containerRect.top + container.current.scrollTop,
83
+ right: elementRect.right - containerRect.left + container.current.scrollLeft,
84
+ bottom: elementRect.bottom - containerRect.top + container.current.scrollTop,
85
+ };
86
+ var left = elementPositionInContainer.left;
87
+ indicator.current.style.width = "".concat(activeItemWidth, "px");
88
+ indicator.current.style.left = "".concat(left, "px");
89
+ }, [activeInx, width]);
90
+ (0, react_1.useEffect)(function () {
91
+ if (activeValue === null) {
92
+ return;
93
+ }
94
+ var activeInx = data.findIndex(function (d) { return d.value === activeValue; });
95
+ setActiveInx(activeInx);
96
+ }, [activeValue, data]);
97
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperTabs, styles.tabButtonsWrapper, classes, (_a = {},
98
+ _a[styles.bg] = isButtonView,
99
+ _a)), ref: container }, { children: [startItem, data.map(function (d) {
100
+ var _a;
101
+ return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.tab, styles.buttonTab, tabClasses, (_a = {},
102
+ _a[styles.buttonTab] = isButtonView,
103
+ _a[styles.buttonTabActive] = isButtonView && activeValue === d.value,
104
+ _a)), onClick: handleChange(d.value) }, { children: d.label }), d.value));
105
+ }), activeInx !== null && ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(styles.activeBlockIndicator, (_b = {},
106
+ _b[styles.buttonActiveIndicator] = isButtonView,
107
+ _b)), ref: indicator })), endItem] })));
108
+ };
109
+ exports.Tabs = Tabs;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export type TabsProps = {
3
+ activeValue: number;
4
+ data: Tab[];
5
+ onChange: (n: number) => void;
6
+ classes?: string;
7
+ tabClasses?: string;
8
+ startItem?: React.ReactElement;
9
+ endItem?: React.ReactElement;
10
+ type?: 'button' | 'underline';
11
+ };
12
+ export type Tab = {
13
+ label: string;
14
+ value: number;
15
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import { TournamentCardProps } from './types';
2
+ export declare const TournamentCard: (props: TournamentCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.TournamentCard = void 0;
41
+ var jsx_runtime_1 = require("react/jsx-runtime");
42
+ var classnames_1 = __importDefault(require("classnames"));
43
+ var Text_1 = require("components/Text");
44
+ var CountDown_1 = require("../CountDown");
45
+ var InfoSvg_1 = require("../Icons/InfoSvg");
46
+ var PlaySvg_1 = require("../Icons/PlaySvg");
47
+ var styles = __importStar(require("./TournamentCard.module.css"));
48
+ var TournamentCard = function (props) {
49
+ var isFinished = props.isFinished, classes = props.classes, finishedBackgroundImagePath = props.finishedBackgroundImagePath, activeTournamentImagePath = props.activeTournamentImagePath, activeTournamentName = props.activeTournamentName, notActiveTournamentName = props.notActiveTournamentName, endDate = props.endDate, counterProps = props.counterProps, prizeText = props.prizeText, currencyName = props.currencyName, amount = props.amount, handleOpenTournamentRules = props.handleOpenTournamentRules, jumpToSlots = props.jumpToSlots;
50
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperTournamentCard, classes), style: {
51
+ background: isFinished
52
+ ? finishedBackgroundImagePath
53
+ : undefined,
54
+ backgroundSize: 'cover',
55
+ backgroundPosition: 'center',
56
+ } }, { children: [!isFinished && ((0, jsx_runtime_1.jsx)("img", { className: styles.battleBanner, src: activeTournamentImagePath })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.tournamentName }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: isFinished ? notActiveTournamentName : activeTournamentName }) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.wrapperCountDown }, { children: !isFinished && ((0, jsx_runtime_1.jsx)(CountDown_1.CountDown, __assign({ endTimestamp: endDate, wrapperClasses: styles.wrapperCountDownClasses, timeClasses: styles.timeText }, counterProps))) })), !isFinished && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.winSum }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: prizeText }) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.rowResultAndButtons }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.sum }, { children: [isFinished && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.winSum }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: prizeText }) }))), currencyName, " ", amount.toLocaleString('de-DE')] })), !isFinished && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.buttons }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.info, onClick: handleOpenTournamentRules }, { children: (0, jsx_runtime_1.jsx)(InfoSvg_1.InfoSvg, {}) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.play, onClick: jumpToSlots }, { children: (0, jsx_runtime_1.jsx)(PlaySvg_1.PlaySvg, {}) }))] })))] }))] })));
57
+ };
58
+ exports.TournamentCard = TournamentCard;
@@ -0,0 +1,16 @@
1
+ import { CountDownProps } from '../CountDown/types';
2
+ export type TournamentCardProps = {
3
+ isFinished: boolean;
4
+ classes?: string;
5
+ finishedBackgroundImagePath: string;
6
+ activeTournamentImagePath: string;
7
+ activeTournamentName: string;
8
+ notActiveTournamentName: string;
9
+ endDate: number;
10
+ counterProps: CountDownProps;
11
+ prizeText: string;
12
+ currencyName: string;
13
+ amount: number;
14
+ handleOpenTournamentRules: () => void;
15
+ jumpToSlots: () => void;
16
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export type CountdownHookProps = {
2
+ endTimestamp: number;
3
+ callback?: () => void;
4
+ };
5
+ export declare const useCountDown: ({ endTimestamp, callback, }: CountdownHookProps) => {
6
+ timeRemaining: number;
7
+ formatTime: string[];
8
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useCountDown = void 0;
4
+ var react_1 = require("react");
5
+ var date_1 = require("utils/date");
6
+ var useCountDown = function (_a) {
7
+ var endTimestamp = _a.endTimestamp, callback = _a.callback;
8
+ var _b = (0, react_1.useState)(endTimestamp - new Date().getTime()), countDown = _b[0], setCountDown = _b[1];
9
+ (0, react_1.useEffect)(function () {
10
+ var interval = setInterval(function () {
11
+ var time = new Date().getTime();
12
+ var newTime = endTimestamp - time;
13
+ if (newTime <= 0) {
14
+ clearInterval(interval);
15
+ setCountDown(0);
16
+ callback === null || callback === void 0 ? void 0 : callback();
17
+ return;
18
+ }
19
+ setCountDown(newTime);
20
+ }, 1000);
21
+ return function () { return clearInterval(interval); };
22
+ }, [endTimestamp, callback]);
23
+ return { timeRemaining: countDown, formatTime: (0, date_1.formattedDate)(countDown) };
24
+ };
25
+ exports.useCountDown = useCountDown;
@@ -0,0 +1,5 @@
1
+ type Props = {
2
+ containerRef: HTMLDivElement | null;
3
+ };
4
+ export declare const useElementResize: ({ containerRef }: Props) => number;
5
+ export {};