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,190 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validateLuhnAlgorithm = exports.validationTRC = exports.validationBankCode = exports.isPhone = exports.composeValidations = exports.validationNameSurname = exports.validationPatternByName = exports.prepareStringAsPhoneNumber = exports.upperCase = exports.extractNumbersFromString = exports.replaceValueByMask = exports.isPassword = exports.isMinMax = exports.isRequired = exports.isFilledForm = exports.validateEmailValue = exports.isEmail = void 0;
4
+ var isEmail = function (_a) {
5
+ var value = _a.value, errorText = _a.errorText;
6
+ return function () { return ({
7
+ value: value,
8
+ errorText: value.match(/^(([^<>()[\]\\.,;:\s@\\"]+(\.[^<>()[\]\\.,;:\s@\\"]+)*)|(\\".+\\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)
9
+ ? ''
10
+ : errorText || 'email address not valid',
11
+ }); };
12
+ };
13
+ exports.isEmail = isEmail;
14
+ var validateEmailValue = function (value) { return ({
15
+ value: value,
16
+ errorText: value.match(/^(([^<>()[\]\\.,;:\s@\\"]+(\.[^<>()[\]\\.,;:\s@\\"]+)*)|(\\".+\\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)
17
+ ? ''
18
+ : 'errors.invalidDate',
19
+ }); };
20
+ exports.validateEmailValue = validateEmailValue;
21
+ var isFilledForm = function (data) {
22
+ var isNotFillForm = data.find(function (i) {
23
+ if (typeof i === 'string') {
24
+ return !i;
25
+ }
26
+ if ('swiftCode' in i) {
27
+ return !i.swiftCode || !i.iban || !i.bankId;
28
+ }
29
+ return !i.value || i.errorText;
30
+ });
31
+ return isNotFillForm === undefined;
32
+ };
33
+ exports.isFilledForm = isFilledForm;
34
+ var isRequired = function (_a) {
35
+ var value = _a.value, errorText = _a.errorText;
36
+ return function () { return ({
37
+ value: value,
38
+ errorText: value !== '' && value !== null && value !== undefined
39
+ ? ''
40
+ : errorText || 'field have to be filled',
41
+ }); };
42
+ };
43
+ exports.isRequired = isRequired;
44
+ var isMinMax = function (_a) {
45
+ var value = _a.value, errorTexts = _a.errorTexts, min = _a.min, max = _a.max;
46
+ return function () {
47
+ var errorText = '';
48
+ if (+value < min) {
49
+ errorText = errorTexts[0];
50
+ }
51
+ if (+value > max) {
52
+ errorText = errorTexts[1];
53
+ }
54
+ return {
55
+ value: value.toString(),
56
+ errorText: errorText,
57
+ };
58
+ };
59
+ };
60
+ exports.isMinMax = isMinMax;
61
+ var PASSWORD_MIN = 8;
62
+ var PASSWORD_MAX = 25;
63
+ var isPassword = function (_a) {
64
+ var value = _a.value, errorText = _a.errorText;
65
+ return function () {
66
+ var length = value.length;
67
+ return {
68
+ value: value,
69
+ errorText: length < PASSWORD_MIN
70
+ ? errorText === null || errorText === void 0 ? void 0 : errorText[0]
71
+ : length > PASSWORD_MAX
72
+ ? errorText === null || errorText === void 0 ? void 0 : errorText[1]
73
+ : '',
74
+ };
75
+ };
76
+ };
77
+ exports.isPassword = isPassword;
78
+ var replaceValueByMask = function (mask) { return function (value) {
79
+ var i = 0;
80
+ var def = mask.replace(/\D/g, '');
81
+ var val = value.replace(/\D/g, '');
82
+ if (def.length >= val.length) {
83
+ val = def;
84
+ }
85
+ var validValue = mask.replace(/./g, function (a) {
86
+ return /[X\d]/.test(a) && i < val.length
87
+ ? val.charAt(i++)
88
+ : i >= val.length
89
+ ? ''
90
+ : a;
91
+ });
92
+ return validValue;
93
+ }; };
94
+ exports.replaceValueByMask = replaceValueByMask;
95
+ var extractNumbersFromString = function (input) {
96
+ var numericCharacters = input.replace(/[^\d.]/g, '');
97
+ return numericCharacters;
98
+ };
99
+ exports.extractNumbersFromString = extractNumbersFromString;
100
+ var upperCase = function (v) { return v.toLocaleUpperCase(); };
101
+ exports.upperCase = upperCase;
102
+ var prepareStringAsPhoneNumber = function (str) {
103
+ // Remove all non-numeric characters
104
+ str = str.replace(/\D/g, '');
105
+ if (str[0] !== '+') {
106
+ str = '+' + str;
107
+ }
108
+ return str;
109
+ };
110
+ exports.prepareStringAsPhoneNumber = prepareStringAsPhoneNumber;
111
+ var validationPatternByName = function (name) {
112
+ return name.trim().replace(/\s+/g, ' ');
113
+ };
114
+ exports.validationPatternByName = validationPatternByName;
115
+ var validationNameSurname = function (value) {
116
+ var errorText = '';
117
+ // const pattern = /^[a-zA-ZáéíóúâêôãõçÁÉÍÓÚÂÊÔÃÕÇüñÜÑ ]{2,100}$/;
118
+ // if (!pattern.test(value)) {
119
+ // errorText = 'errors.invalidValue';
120
+ // }
121
+ if (value.length < 2) {
122
+ errorText = 'errors.invalidValue';
123
+ }
124
+ return { value: value, errorText: errorText };
125
+ };
126
+ exports.validationNameSurname = validationNameSurname;
127
+ var composeValidations = function (fns) { var _a, _b; return (_b = (_a = fns.map(function (f) { return f(); })) === null || _a === void 0 ? void 0 : _a.find(function (result) { return result.errorText; })) === null || _b === void 0 ? void 0 : _b.errorText; };
128
+ exports.composeValidations = composeValidations;
129
+ var MIN_PHONE_LENGTH = 10;
130
+ var MAX_PHONE_LENGTH = 15;
131
+ var isPhone = function (_a) {
132
+ var value = _a.value, _b = _a.errorText, errorText = _b === void 0 ? '' : _b;
133
+ return function () {
134
+ var newValue = (0, exports.prepareStringAsPhoneNumber)(value);
135
+ var length = newValue.length;
136
+ if (newValue.startsWith('+880')) {
137
+ return {
138
+ value: value,
139
+ // 14 this bangladesh number
140
+ errorText: newValue.length !== 14 ? errorText : '',
141
+ };
142
+ }
143
+ if (length > MIN_PHONE_LENGTH && length < MAX_PHONE_LENGTH) {
144
+ return {
145
+ value: value,
146
+ errorText: '',
147
+ };
148
+ }
149
+ return {
150
+ value: value,
151
+ errorText: errorText || '',
152
+ };
153
+ };
154
+ };
155
+ exports.isPhone = isPhone;
156
+ var validationBankCode = function (value, errorMsg) {
157
+ var errorText = '';
158
+ var pattern = /^[0-9]{3}$/;
159
+ if (!pattern.test(value)) {
160
+ errorText = errorMsg || 'errors.invalidValue';
161
+ }
162
+ return { value: value, errorText: errorText };
163
+ };
164
+ exports.validationBankCode = validationBankCode;
165
+ var validationTRC = function (value, errorText) {
166
+ var error = '';
167
+ var pattern = /^T[1-9A-HJ-NP-Za-km-z]{33}$/;
168
+ if (!pattern.test(value)) {
169
+ error = errorText || 'errors.invalidValue';
170
+ }
171
+ return { value: value, errorText: error };
172
+ };
173
+ exports.validationTRC = validationTRC;
174
+ var validateLuhnAlgorithm = function (cardNumber) {
175
+ var sum = 0;
176
+ var isEven = false;
177
+ for (var i = cardNumber.length - 1; i >= 0; i--) {
178
+ var digit = parseInt(cardNumber.charAt(i), 10);
179
+ if (isEven) {
180
+ digit *= 2;
181
+ if (digit > 9) {
182
+ digit -= 9;
183
+ }
184
+ }
185
+ sum += digit;
186
+ isEven = !isEven;
187
+ }
188
+ return sum % 10 === 0;
189
+ };
190
+ exports.validateLuhnAlgorithm = validateLuhnAlgorithm;
@@ -0,0 +1,14 @@
1
+ export type Size = 'full' | 'small' | 'super-small' | 'medium' | 'large';
2
+ export type Color = 'black' | 'colorful' | 'transparent' | 'drawer';
3
+ export declare enum EAppType {
4
+ Unknown = 0,
5
+ Azure = 1,
6
+ Elon = 2,
7
+ XXX = 3,
8
+ Opera = 5,
9
+ FsWin = 6,
10
+ JabiBet = 7,
11
+ SlothBets = 8,
12
+ M1 = 9
13
+ }
14
+ export declare const PAGINATION_STEP = 5;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PAGINATION_STEP = exports.EAppType = void 0;
4
+ var EAppType;
5
+ (function (EAppType) {
6
+ EAppType[EAppType["Unknown"] = 0] = "Unknown";
7
+ EAppType[EAppType["Azure"] = 1] = "Azure";
8
+ EAppType[EAppType["Elon"] = 2] = "Elon";
9
+ EAppType[EAppType["XXX"] = 3] = "XXX";
10
+ EAppType[EAppType["Opera"] = 5] = "Opera";
11
+ EAppType[EAppType["FsWin"] = 6] = "FsWin";
12
+ EAppType[EAppType["JabiBet"] = 7] = "JabiBet";
13
+ EAppType[EAppType["SlothBets"] = 8] = "SlothBets";
14
+ EAppType[EAppType["M1"] = 9] = "M1";
15
+ })(EAppType = exports.EAppType || (exports.EAppType = {}));
16
+ exports.PAGINATION_STEP = 5;
@@ -0,0 +1 @@
1
+ export declare const formattedDate: (countDown: number) => string[];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.formattedDate = void 0;
4
+ var formattedDate = function (countDown) {
5
+ var days = String(Math.floor(countDown / (1000 * 60 * 60 * 24))).padStart(2, '0');
6
+ var hours = String(Math.floor((countDown % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))).padStart(2, '0');
7
+ var minutes = String(Math.floor((countDown % (1000 * 60 * 60)) / (1000 * 60))).padStart(2, '0');
8
+ var seconds = String(Math.floor((countDown % (1000 * 60)) / 1000)).padStart(2, '0');
9
+ return [days, hours, minutes, seconds];
10
+ };
11
+ exports.formattedDate = formattedDate;
@@ -0,0 +1,2 @@
1
+ export declare const DEFAULT_LANGUAGE: string;
2
+ export declare const LANGUAGES = "en";
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LANGUAGES = exports.DEFAULT_LANGUAGE = void 0;
4
+ exports.DEFAULT_LANGUAGE = (function () {
5
+ var _a, _b, _c;
6
+ try {
7
+ var lang = (_c = (_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.language) === null || _a === void 0 ? void 0 : _a.split) === null || _b === void 0 ? void 0 : _b.call(_a, '-')) === null || _c === void 0 ? void 0 : _c[0];
8
+ return typeof lang === 'string' ? lang : 'en';
9
+ }
10
+ catch (error) {
11
+ return 'en';
12
+ }
13
+ })();
14
+ exports.LANGUAGES = 'en';
@@ -0,0 +1,22 @@
1
+ import { ZustandLanguageStoreKit } from './types';
2
+ export declare const languageSelectors: {
3
+ getLanguagesKitSelector: (state: ZustandLanguageStoreKit) => {
4
+ name: string;
5
+ dictionary: {
6
+ [key: string]: any;
7
+ };
8
+ };
9
+ getActiveLanguageNameKitSelector: (state: ZustandLanguageStoreKit) => string;
10
+ getLanguageDictionaryKitSelector: (state: ZustandLanguageStoreKit) => {
11
+ [key: string]: any;
12
+ };
13
+ getAndSetLanguagesKitAction: (state: ZustandLanguageStoreKit) => (lang: string) => void;
14
+ getBrandNameKitSelector: (state: ZustandLanguageStoreKit) => "Unknown" | "Azure" | "Elon" | "XXX" | "Opera" | "FsWin" | "JabiBet" | "SlothBets" | "M1";
15
+ setInitialLanguageKitAction: (state: ZustandLanguageStoreKit) => (appType: import("../../types/ui").EAppType) => void;
16
+ setLanguagesKitAction: (state: ZustandLanguageStoreKit) => (lang: {
17
+ name: string;
18
+ dictionary: {
19
+ [key: string]: any;
20
+ };
21
+ }, initLanguage?: string) => void;
22
+ };
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.languageSelectors = void 0;
4
+ var getLanguagesKitSelector = function (state) {
5
+ return state.languages;
6
+ };
7
+ var getActiveLanguageNameKitSelector = function (state) { var _a; return (_a = getLanguagesKitSelector(state)) === null || _a === void 0 ? void 0 : _a.name; };
8
+ var getLanguageDictionaryKitSelector = function (state) { var _a, _b; return (_b = (_a = getLanguagesKitSelector(state)) === null || _a === void 0 ? void 0 : _a.dictionary) !== null && _b !== void 0 ? _b : {}; };
9
+ var getBrandNameKitSelector = function (state) {
10
+ return state.brandName;
11
+ };
12
+ // =================================================== ACTIONS ===================================================
13
+ var getAndSetLanguagesKitAction = function (state) {
14
+ return state.getAndSetLanguages;
15
+ };
16
+ var setInitialLanguageKitAction = function (state) {
17
+ return state.setInitLanguage;
18
+ };
19
+ var setLanguagesKitAction = function (state) {
20
+ return state.setLanguages;
21
+ };
22
+ exports.languageSelectors = {
23
+ getLanguagesKitSelector: getLanguagesKitSelector,
24
+ getActiveLanguageNameKitSelector: getActiveLanguageNameKitSelector,
25
+ getLanguageDictionaryKitSelector: getLanguageDictionaryKitSelector,
26
+ getAndSetLanguagesKitAction: getAndSetLanguagesKitAction,
27
+ getBrandNameKitSelector: getBrandNameKitSelector,
28
+ // Actions
29
+ setInitialLanguageKitAction: setInitialLanguageKitAction,
30
+ setLanguagesKitAction: setLanguagesKitAction,
31
+ };
@@ -0,0 +1,2 @@
1
+ import { ZustandLanguageStoreKit } from './types';
2
+ export declare const useZustandLanguagesKitStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ZustandLanguageStoreKit>>;
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __generator = (this && this.__generator) || function (thisArg, body) {
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
+ function verb(n) { return function (v) { return step([n, v]); }; }
15
+ function step(op) {
16
+ if (f) throw new TypeError("Generator is already executing.");
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
+ if (y = 0, t) op = [op[0] & 2, t.value];
20
+ switch (op[0]) {
21
+ case 0: case 1: t = op; break;
22
+ case 4: _.label++; return { value: op[1], done: false };
23
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
+ default:
26
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
+ if (t[2]) _.ops.pop();
31
+ _.trys.pop(); continue;
32
+ }
33
+ op = body.call(thisArg, _);
34
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
+ }
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.useZustandLanguagesKitStore = void 0;
40
+ var zustand_1 = require("zustand");
41
+ var ui_1 = require("../../types/ui");
42
+ var constants_1 = require("./constants");
43
+ exports.useZustandLanguagesKitStore = (0, zustand_1.create)(function (set, get) { return ({
44
+ languages: null,
45
+ brandName: ui_1.EAppType[0],
46
+ setLanguages: function (languages) {
47
+ set({ languages: languages });
48
+ },
49
+ getAndSetLanguages: function (lang) { return __awaiter(void 0, void 0, void 0, function () {
50
+ var languageResponse, languages, error_1, languageResponse, languages, error_2;
51
+ return __generator(this, function (_a) {
52
+ switch (_a.label) {
53
+ case 0:
54
+ _a.trys.push([0, 3, , 9]);
55
+ return [4 /*yield*/, fetch("".concat(window.location.origin, "/languages/").concat(lang, ".json"), {
56
+ method: 'GET',
57
+ cache: 'no-cache',
58
+ })];
59
+ case 1:
60
+ languageResponse = _a.sent();
61
+ return [4 /*yield*/, languageResponse.json()];
62
+ case 2:
63
+ languages = _a.sent();
64
+ localStorage.setItem(constants_1.LANGUAGES, lang);
65
+ set({ languages: languages });
66
+ return [3 /*break*/, 9];
67
+ case 3:
68
+ error_1 = _a.sent();
69
+ if (lang === 'en') {
70
+ setTimeout(function () {
71
+ get().getAndSetLanguages('en');
72
+ }, 2000);
73
+ throw new Error();
74
+ }
75
+ _a.label = 4;
76
+ case 4:
77
+ _a.trys.push([4, 7, , 8]);
78
+ return [4 /*yield*/, fetch("".concat(window.location.origin, "/languages/en.json"), {
79
+ method: 'GET',
80
+ cache: 'no-cache',
81
+ })];
82
+ case 5:
83
+ languageResponse = _a.sent();
84
+ return [4 /*yield*/, languageResponse.json()];
85
+ case 6:
86
+ languages = _a.sent();
87
+ set({ languages: languages });
88
+ return [3 /*break*/, 8];
89
+ case 7:
90
+ error_2 = _a.sent();
91
+ console.error('CRITICAL ERROR LANGUAGE NOT FOUND');
92
+ get().getAndSetLanguages('en');
93
+ return [3 /*break*/, 8];
94
+ case 8: return [3 /*break*/, 9];
95
+ case 9: return [2 /*return*/];
96
+ }
97
+ });
98
+ }); },
99
+ setInitLanguage: function (appType, initLanguage) {
100
+ if (initLanguage === void 0) { initLanguage = 'en'; }
101
+ var brandName = (ui_1.EAppType[appType] ||
102
+ ui_1.EAppType[0]);
103
+ set({ brandName: brandName });
104
+ try {
105
+ var localLanguage = initLanguage || constants_1.DEFAULT_LANGUAGE;
106
+ get().getAndSetLanguages(localLanguage);
107
+ }
108
+ catch (error) {
109
+ alert(JSON.stringify(error));
110
+ setTimeout(function () {
111
+ get().getAndSetLanguages('en');
112
+ }, 1000);
113
+ }
114
+ },
115
+ }); });
@@ -0,0 +1,18 @@
1
+ import { EAppType } from '../../types/ui';
2
+ export interface ZustandLanguageStoreKit extends ZustandLanguageEntitiesKit {
3
+ getAndSetLanguages: (lang: string) => void;
4
+ setInitLanguage: (appType: EAppType) => void;
5
+ setLanguages: (lang: TLanguage, initLanguage?: string) => void;
6
+ }
7
+ interface ZustandLanguageEntitiesKit {
8
+ languages: TLanguage | null;
9
+ brandName: keyof typeof EAppType;
10
+ }
11
+ type TLanguage = {
12
+ name: string;
13
+ dictionary: DeepObject;
14
+ };
15
+ type DeepObject = {
16
+ [key: string]: any;
17
+ };
18
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });