@orbit-software/sdk 1.75.0 → 1.80.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 (237) hide show
  1. package/dist/esm/assets/icons/IconBalanceCoins.d.ts +3 -0
  2. package/dist/esm/{app/ui/components/IconBalanceCoin.d.ts → assets/icons/IconBalanceGems.d.ts} +1 -1
  3. package/dist/esm/assets/icons/IconUsdt.d.ts +3 -0
  4. package/dist/esm/components/BuyAdsFreeButton.d.ts +1 -0
  5. package/dist/esm/{features/profile/components → components}/OverlayProfile.d.ts +2 -2
  6. package/dist/esm/components/layout/BottomSentinel.d.ts +2 -0
  7. package/dist/esm/components/modals/BoxOpeningModal/AnimatedFullscreen.d.ts +14 -0
  8. package/dist/esm/components/modals/BoxOpeningModal/BoxOpeningModal.d.ts +2 -0
  9. package/dist/esm/{launcherSrc/features/profile/components → components/modals/BoxOpeningModal}/PrizeCarousel.d.ts +4 -3
  10. package/dist/esm/components/modals/BoxOpeningModal/RewardBoxRareBadge.d.ts +5 -0
  11. package/dist/esm/{launcherSrc/features/profile/components → components/modals/BoxOpeningModal}/RewardTypeBadge.d.ts +2 -2
  12. package/dist/esm/{launcherSrc/features/profile/components → components/modals/BoxOpeningModal}/RewardTypeImage.d.ts +3 -3
  13. package/dist/esm/{launcherSrc/features/profile → components/modals/BoxOpeningModal}/utils/findPrizeIndex.d.ts +1 -1
  14. package/dist/esm/components/modals/BoxOpeningModal/utils/generateExcitingPrizes.d.ts +9 -0
  15. package/dist/esm/components/modals/BoxOpeningModal/utils/sortPrizesDistributed.d.ts +2 -0
  16. package/dist/esm/components/modals/LevelInfoModal.d.ts +2 -0
  17. package/dist/esm/components/modals/ProfileInventoryModal.d.ts +2 -0
  18. package/dist/esm/components/modals/PurchaseAdsFreeModal.d.ts +2 -0
  19. package/dist/esm/components/modals/TopUpModal/TopUpModal.d.ts +2 -0
  20. package/dist/esm/components/{AnimatedBalance.d.ts → ui/AnimatedBalance.d.ts} +2 -1
  21. package/dist/esm/components/ui/BalanceHeader.d.ts +4 -0
  22. package/dist/esm/components/ui/Drawer.d.ts +9 -0
  23. package/dist/esm/components/ui/EventsStack.d.ts +6 -0
  24. package/dist/esm/components/ui/FormattedXP.d.ts +4 -0
  25. package/dist/esm/components/ui/Icon.d.ts +27 -0
  26. package/dist/esm/{launcherSrc/app/ui/components → components/ui}/XpProgress.d.ts +2 -4
  27. package/dist/esm/{launcherSrc/app/contexts → components/ui/snackbar}/SnackbarContext.d.ts +4 -2
  28. package/dist/esm/confirm/confirm.d.ts +2 -0
  29. package/dist/esm/constants/animations.d.ts +2 -0
  30. package/dist/esm/hooks/useAnimateNumber.d.ts +1 -0
  31. package/dist/esm/hooks/useLottie.d.ts +12 -0
  32. package/dist/esm/hooks/useThrottle.d.ts +1 -0
  33. package/dist/esm/i18n/generate-types.d.ts +1 -0
  34. package/dist/esm/i18n/generated-translation-type.d.ts +112 -0
  35. package/dist/esm/i18n/languages.d.ts +7 -0
  36. package/dist/esm/i18n/locales/en.json.d.ts +137 -0
  37. package/dist/esm/i18n/locales/es.json.d.ts +136 -0
  38. package/dist/esm/i18n/locales/hi.json.d.ts +137 -0
  39. package/dist/esm/i18n/locales/pt.json.d.ts +136 -0
  40. package/dist/esm/i18n/locales/ru.json.d.ts +137 -0
  41. package/dist/esm/i18n/types.d.ts +9 -0
  42. package/dist/esm/i18n/useTranslation.d.ts +6 -0
  43. package/dist/esm/lib/BannerManager.d.ts +36 -0
  44. package/dist/esm/lib/WebSocketManager.d.ts +3 -3
  45. package/dist/esm/lib/activity-detector.d.ts +1 -1
  46. package/dist/esm/lib/tma-network.d.ts +1 -1
  47. package/dist/esm/providers/BoxOpeningProvider.d.ts +21 -0
  48. package/dist/esm/providers/ConfettiProvider.d.ts +3 -0
  49. package/dist/esm/providers/I18nBackendLanguageProvider.d.ts +3 -0
  50. package/dist/esm/queries/box/useBoxRewards.d.ts +13 -0
  51. package/dist/esm/queries/box/useRevealReward.d.ts +10 -0
  52. package/dist/esm/queries/user/useCancelNoAds.d.ts +2 -0
  53. package/dist/esm/queries/user/useCreateInvoiceBuyNoAds.d.ts +3 -0
  54. package/dist/esm/queries/user/usePrices.d.ts +3 -0
  55. package/dist/esm/queries/user/useProfile.d.ts +4 -0
  56. package/dist/esm/queryClient.d.ts +2 -0
  57. package/dist/esm/sdk.d.ts +56 -31
  58. package/dist/esm/sdk.mjs +44640 -43919
  59. package/dist/esm/sdk.umd.js +134 -198
  60. package/dist/esm/stores/confettiStore.d.ts +8 -0
  61. package/dist/esm/stores/inventroryModalStore.d.ts +6 -0
  62. package/dist/esm/stores/topUpModalStore.d.ts +6 -0
  63. package/dist/esm/types/api.d.ts +39 -0
  64. package/dist/esm/utils/cn.d.ts +2 -0
  65. package/dist/esm/utils/formatter.d.ts +5 -0
  66. package/dist/esm/utils/price.d.ts +2 -0
  67. package/dist/esm/utils/shuffleArray.d.ts +1 -0
  68. package/dist/esm/utils/telegramLanguageCodeToFlagEmoji.d.ts +11 -0
  69. package/dist/stats-confirm.html +1 -1
  70. package/dist/stats-esm.html +1 -1
  71. package/dist/stats-umd-react.html +1 -1
  72. package/dist/stats-umd.html +1 -1
  73. package/dist/umd/sdk.umd.js +134 -198
  74. package/dist/umd_react/sdk_react.umd.js +191 -255
  75. package/package.json +28 -30
  76. package/dist/confirm/index.html +0 -24
  77. package/dist/esm/app/helpers.d.ts +0 -2
  78. package/dist/esm/app/ui/assets/IconBack.d.ts +0 -1
  79. package/dist/esm/app/ui/components/AvatarProgress.d.ts +0 -13
  80. package/dist/esm/app/ui/components/ClosableModal.d.ts +0 -12
  81. package/dist/esm/app/ui/components/IconBalanceDiamond.d.ts +0 -3
  82. package/dist/esm/app/ui/components/InputSwitch.d.ts +0 -9
  83. package/dist/esm/app/ui/components/Inventory/Inventory.d.ts +0 -2
  84. package/dist/esm/app/ui/components/Inventory/context.d.ts +0 -10
  85. package/dist/esm/app/ui/components/XsButton.d.ts +0 -6
  86. package/dist/esm/app/ui/hooks/useAnimateNumber.d.ts +0 -1
  87. package/dist/esm/app/utils.d.ts +0 -2
  88. package/dist/esm/components/AppContent/AppContent.d.ts +0 -10
  89. package/dist/esm/components/AppContent/BottomSentinel.d.ts +0 -2
  90. package/dist/esm/components/BuyShopItem.d.ts +0 -1
  91. package/dist/esm/components/ModalCardContent.d.ts +0 -5
  92. package/dist/esm/features/profile/assets/IconAd.d.ts +0 -1
  93. package/dist/esm/features/profile/assets/IconAddCircle.d.ts +0 -1
  94. package/dist/esm/features/profile/assets/IconChevronRight.d.ts +0 -2
  95. package/dist/esm/features/profile/assets/IconDrag.d.ts +0 -2
  96. package/dist/esm/features/profile/assets/IconEdit.d.ts +0 -2
  97. package/dist/esm/features/profile/assets/IconGame.d.ts +0 -2
  98. package/dist/esm/features/profile/assets/IconNoSign.d.ts +0 -1
  99. package/dist/esm/features/profile/assets/IconProfile.d.ts +0 -1
  100. package/dist/esm/features/profile/assets/profileBgGradients.d.ts +0 -6
  101. package/dist/esm/features/profile/components/BalanceConfetti.d.ts +0 -6
  102. package/dist/esm/features/profile/components/BuyMenu.d.ts +0 -8
  103. package/dist/esm/features/profile/components/CircleParticles.d.ts +0 -10
  104. package/dist/esm/features/profile/components/FormattedXP.d.ts +0 -8
  105. package/dist/esm/features/profile/components/LevelInfoModal.d.ts +0 -9
  106. package/dist/esm/features/profile/components/ModalContainer.d.ts +0 -6
  107. package/dist/esm/features/profile/components/PurchaseConfirm.d.ts +0 -9
  108. package/dist/esm/features/profile/components/TaskCard.d.ts +0 -21
  109. package/dist/esm/features/profile/components/XpProgress.d.ts +0 -14
  110. package/dist/esm/features/profile/components/adsFree/BuyAdsFreeButton.d.ts +0 -3
  111. package/dist/esm/features/profile/components/adsFree/PurchaseAdsFree.d.ts +0 -11
  112. package/dist/esm/features/profile/hooks/useAnimatedProfile.d.ts +0 -5
  113. package/dist/esm/features/profile/utils/getFormattedDate.d.ts +0 -1
  114. package/dist/esm/features/wages/components/ModalContainer.d.ts +0 -6
  115. package/dist/esm/features/wages/components/WageCollapsedOverlay.d.ts +0 -6
  116. package/dist/esm/features/wages/components/WageExpandedOverlay.d.ts +0 -7
  117. package/dist/esm/features/wages/components/WageMenu.d.ts +0 -4
  118. package/dist/esm/features/wages/index.d.ts +0 -3
  119. package/dist/esm/features/wages/utils/formatTime.d.ts +0 -1
  120. package/dist/esm/features/wages/utils/formatTimeWageItem.d.ts +0 -1
  121. package/dist/esm/features/wages/utils/getSecondsPassed.d.ts +0 -1
  122. package/dist/esm/i18n/locales/translations/en.json.d.ts +0 -300
  123. package/dist/esm/i18n/locales/translations/hi.json.d.ts +0 -300
  124. package/dist/esm/i18n/locales/translations/ru.json.d.ts +0 -300
  125. package/dist/esm/launcherSrc/App.d.ts +0 -2
  126. package/dist/esm/launcherSrc/api/types.d.ts +0 -211
  127. package/dist/esm/launcherSrc/api/userApi.d.ts +0 -24
  128. package/dist/esm/launcherSrc/app/components/DebugConsole.d.ts +0 -2
  129. package/dist/esm/launcherSrc/app/helpers.d.ts +0 -3
  130. package/dist/esm/launcherSrc/app/hooks/forceRerender.d.ts +0 -1
  131. package/dist/esm/launcherSrc/app/hooks/useMainButtonControl.d.ts +0 -7
  132. package/dist/esm/launcherSrc/app/hooks/useMiniApp.d.ts +0 -3
  133. package/dist/esm/launcherSrc/app/hooks.d.ts +0 -10
  134. package/dist/esm/launcherSrc/app/store.d.ts +0 -17
  135. package/dist/esm/launcherSrc/app/ui/assets/IconBack.d.ts +0 -1
  136. package/dist/esm/launcherSrc/app/ui/assets/IconCheck.d.ts +0 -2
  137. package/dist/esm/launcherSrc/app/ui/assets/IconCheckThin.d.ts +0 -2
  138. package/dist/esm/launcherSrc/app/ui/assets/IconCross.d.ts +0 -2
  139. package/dist/esm/launcherSrc/app/ui/assets/IconSearch.d.ts +0 -2
  140. package/dist/esm/launcherSrc/app/ui/components/AvatarProgress.d.ts +0 -13
  141. package/dist/esm/launcherSrc/app/ui/components/ClosableModal.d.ts +0 -10
  142. package/dist/esm/launcherSrc/app/ui/components/FormattedXP.d.ts +0 -8
  143. package/dist/esm/launcherSrc/app/ui/components/IconBalance.d.ts +0 -3
  144. package/dist/esm/launcherSrc/app/ui/components/InputSwitch.d.ts +0 -9
  145. package/dist/esm/launcherSrc/app/ui/components/Twemoji.d.ts +0 -8
  146. package/dist/esm/launcherSrc/app/ui/components/UICell.d.ts +0 -16
  147. package/dist/esm/launcherSrc/app/ui/components/UIDateInput.d.ts +0 -21
  148. package/dist/esm/launcherSrc/app/ui/components/UIDivider.d.ts +0 -4
  149. package/dist/esm/launcherSrc/app/ui/components/UIEmoji.d.ts +0 -8
  150. package/dist/esm/launcherSrc/app/ui/components/UIHero.d.ts +0 -10
  151. package/dist/esm/launcherSrc/app/ui/components/UISection.d.ts +0 -9
  152. package/dist/esm/launcherSrc/app/ui/components/UITextarea.d.ts +0 -7
  153. package/dist/esm/launcherSrc/app/ui/hooks/useAnimateNumber.d.ts +0 -1
  154. package/dist/esm/launcherSrc/app/utils.d.ts +0 -13
  155. package/dist/esm/launcherSrc/assets/Icon28Edit.d.ts +0 -2
  156. package/dist/esm/launcherSrc/assets/Icon28Game.d.ts +0 -1
  157. package/dist/esm/launcherSrc/assets/Icon28Link.d.ts +0 -1
  158. package/dist/esm/launcherSrc/features/games/assets/IconFilter.d.ts +0 -1
  159. package/dist/esm/launcherSrc/features/games/assets/IconPlayers.d.ts +0 -2
  160. package/dist/esm/launcherSrc/features/games/assets/IconQuestion.d.ts +0 -2
  161. package/dist/esm/launcherSrc/features/games/assets/IconQuestionCircle.d.ts +0 -2
  162. package/dist/esm/launcherSrc/features/games/assets/IconStar.d.ts +0 -4
  163. package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownFilled.d.ts +0 -2
  164. package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownOutlined.d.ts +0 -2
  165. package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpFilled.d.ts +0 -2
  166. package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpOutlined.d.ts +0 -2
  167. package/dist/esm/launcherSrc/features/games/components/GameItem.d.ts +0 -10
  168. package/dist/esm/launcherSrc/features/games/components/ResetStorageButton.d.ts +0 -3
  169. package/dist/esm/launcherSrc/features/games/components/ReviewModal.d.ts +0 -10
  170. package/dist/esm/launcherSrc/features/games/hooks/useGamesData.d.ts +0 -13
  171. package/dist/esm/launcherSrc/features/games/redux/gamesSlice.d.ts +0 -34
  172. package/dist/esm/launcherSrc/features/games/service/gamesService.d.ts +0 -3
  173. package/dist/esm/launcherSrc/features/leaderboard/components/Rating.d.ts +0 -1
  174. package/dist/esm/launcherSrc/features/leaderboard/components/RatingCard/RatingCard.d.ts +0 -10
  175. package/dist/esm/launcherSrc/features/leaderboard/components/RatingInfo/RatingInfo.d.ts +0 -1
  176. package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/IconWreaths.d.ts +0 -3
  177. package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/RatingLevel.d.ts +0 -6
  178. package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/lock.d.ts +0 -3
  179. package/dist/esm/launcherSrc/features/leaderboard/hooks/useLeaderboardData.d.ts +0 -10
  180. package/dist/esm/launcherSrc/features/leaderboard/index.d.ts +0 -1
  181. package/dist/esm/launcherSrc/features/leaderboard/redux/leaderboardSlice.d.ts +0 -18
  182. package/dist/esm/launcherSrc/features/leaderboard/services/leaderboardService.d.ts +0 -2
  183. package/dist/esm/launcherSrc/features/navigation/assets/IconGame.d.ts +0 -1
  184. package/dist/esm/launcherSrc/features/navigation/assets/IconProfile.d.ts +0 -1
  185. package/dist/esm/launcherSrc/features/navigation/assets/IconSmile.d.ts +0 -2
  186. package/dist/esm/launcherSrc/features/navigation/components/FloatingProfile.d.ts +0 -2
  187. package/dist/esm/launcherSrc/features/navigation/components/IconWithCounter.d.ts +0 -7
  188. package/dist/esm/launcherSrc/features/navigation/redux/navigationSlice.d.ts +0 -15
  189. package/dist/esm/launcherSrc/features/navigation/redux/tabsSlice.d.ts +0 -12
  190. package/dist/esm/launcherSrc/features/profile/assets/IconAd.d.ts +0 -1
  191. package/dist/esm/launcherSrc/features/profile/assets/IconAddCircle.d.ts +0 -1
  192. package/dist/esm/launcherSrc/features/profile/assets/IconChevronRight.d.ts +0 -2
  193. package/dist/esm/launcherSrc/features/profile/assets/IconColorPicker.d.ts +0 -1
  194. package/dist/esm/launcherSrc/features/profile/assets/IconCurrencyStar.d.ts +0 -3
  195. package/dist/esm/launcherSrc/features/profile/assets/IconGlobe.d.ts +0 -2
  196. package/dist/esm/launcherSrc/features/profile/assets/IconLock.d.ts +0 -2
  197. package/dist/esm/launcherSrc/features/profile/assets/IconNoSign.d.ts +0 -1
  198. package/dist/esm/launcherSrc/features/profile/assets/IconSignature.d.ts +0 -5
  199. package/dist/esm/launcherSrc/features/profile/assets/profileBgGradients.d.ts +0 -50
  200. package/dist/esm/launcherSrc/features/profile/components/AdsFree/BuyAdsFreeButton.d.ts +0 -0
  201. package/dist/esm/launcherSrc/features/profile/components/AdsFree/PurchaseAdsFree.d.ts +0 -9
  202. package/dist/esm/launcherSrc/features/profile/components/Balance/ProfileBalance.d.ts +0 -6
  203. package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyMenu.d.ts +0 -8
  204. package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/Ribbon.d.ts +0 -6
  205. package/dist/esm/launcherSrc/features/profile/components/BoxOpeningModal.d.ts +0 -3
  206. package/dist/esm/launcherSrc/features/profile/components/LevelInfoModal.d.ts +0 -9
  207. package/dist/esm/launcherSrc/features/profile/components/ProfileInventory.d.ts +0 -1
  208. package/dist/esm/launcherSrc/features/profile/components/ProfileLeaderboard.d.ts +0 -6
  209. package/dist/esm/launcherSrc/features/profile/components/ProfileReviews.d.ts +0 -6
  210. package/dist/esm/launcherSrc/features/profile/components/RewardBoxRareBadge.d.ts +0 -4
  211. package/dist/esm/launcherSrc/features/profile/components/particles/BalanceConfetti.d.ts +0 -6
  212. package/dist/esm/launcherSrc/features/profile/components/particles/CircleParticles.d.ts +0 -10
  213. package/dist/esm/launcherSrc/features/profile/components/particles/StarParticles.d.ts +0 -10
  214. package/dist/esm/launcherSrc/features/profile/contexts/BoxOpeningContext.d.ts +0 -12
  215. package/dist/esm/launcherSrc/features/profile/data/countries.d.ts +0 -10
  216. package/dist/esm/launcherSrc/features/profile/hooks/useProfileData.d.ts +0 -24
  217. package/dist/esm/launcherSrc/features/profile/redux/profileSlice.d.ts +0 -130
  218. package/dist/esm/launcherSrc/features/profile/services/buyMenuService.d.ts +0 -3
  219. package/dist/esm/launcherSrc/features/profile/services/profileService.d.ts +0 -12
  220. package/dist/esm/launcherSrc/i18n/index.d.ts +0 -2
  221. package/dist/esm/launcherSrc/index.d.ts +0 -0
  222. package/dist/esm/launcherSrc/setupTests.d.ts +0 -0
  223. package/dist/esm/launcherSrc/utils/openTelegramLinkFixed.d.ts +0 -1
  224. package/dist/esm/lib/init-sentry.d.ts +0 -5
  225. package/dist/esm/stores/buyShopModalStore.d.ts +0 -8
  226. package/dist/esm/stores/profileStore.d.ts +0 -17
  227. package/dist/esm/stores/wageStore.d.ts +0 -12
  228. package/dist/esm/{app/ui/assets → assets/icons}/IconClosePlain.d.ts +0 -0
  229. package/dist/esm/{features/profile/assets → assets/icons}/IconCurrencyStar.d.ts +0 -0
  230. package/dist/esm/{features/profile/assets → assets/icons}/IconTelegramStar.d.ts +0 -0
  231. package/dist/esm/{features/profile/assets → assets/lottie}/moneyTongue.json.d.ts +0 -0
  232. package/dist/esm/{features/profile/assets → assets/lottie}/newspaper.json.d.ts +0 -0
  233. package/dist/esm/{launcherSrc/features/profile/components/Balance → components/modals}/TopUpModal/BuyOption.d.ts +0 -0
  234. package/dist/esm/{features/profile/components → components/modals/TopUpModal}/Ribbon.d.ts +0 -0
  235. package/dist/esm/{launcherSrc/app/ui/components → components/ui/XsButton}/XsButton.d.ts +1 -1
  236. /package/dist/esm/{launcherSrc/features/profile/components → components/ui}/particles/ConfettiParticles.d.ts +0 -0
  237. /package/dist/esm/{features/profile/components → components/ui/particles}/StarParticles.d.ts +0 -0
@@ -1,300 +0,0 @@
1
- declare const _default: {
2
- "error": {
3
- "insufficient_funds": "Недостаточно средств"
4
- },
5
- "wage": {
6
- "quest": "Квест",
7
- "left": "Осталось",
8
- "completeQuest": "Завершите квест, чтобы выиграть призовую награду",
9
- "completeToWin": "Завершите, чтобы выиграть",
10
- "feeStart": "вступительный взнос для старта",
11
- "entryFree": "вступительный взнос, конвертируйте его, если выполните квест",
12
- "doubleCompleteQuest": "Удвойте вашу награду, если выполните квест",
13
- "reward": "Награда",
14
- "notNow": "Не сейчас",
15
- "start": " Cтарт"
16
- },
17
- "gamePage": {
18
- "share": "Поделиться",
19
- "open": "Открыть",
20
- "likedThisGame": "понравилась эта игра",
21
- "noRatingsYet": "пока нет оценок",
22
- "players": "игроков",
23
- "gainedXp": "заработано",
24
- "playedTime": {
25
- "hours": "ч",
26
- "minutes": "мин",
27
- "played": "в игре"
28
- },
29
- "showMore": "Показать больше",
30
- "developer": "разработчик",
31
- "youMayAlsoLike": "Вам также может понравиться",
32
- "shareMessage": "🎮 Посмотри игру {{title}}!\n🌟 Присоединяйся ко мне в этой потрясающей игре."
33
- },
34
- "confirmIframe": {
35
- "pay": "Оплатить",
36
- "cancel": "Отменить"
37
- },
38
- "gameReviews": {
39
- "reviewCount": "{{count}} отзыв",
40
- "reviewCount_one": "{{count}} отзыв",
41
- "reviewCount_few": "{{count}} отзыва",
42
- "reviewCount_many": "{{count}} отзывов",
43
- "noReviews": "Пока нет отзывов",
44
- "playToRate": "сыграйте 5 мин, чтобы оценить",
45
- "howWouldYouRate": "Как бы вы оценили игру?",
46
- "thanksForRating": "Спасибо за вашу оценку!",
47
- "failedToRate": "Не удалось оценить игру",
48
- "addYourReview": "Добавить свой отзыв",
49
- "editYourReview": "Редактировать отзыв",
50
- "anonymous": "Аноним",
51
- "notPlayed": "Не играл",
52
- "minutesPlayed": "{{count}} минута в игре",
53
- "minutesPlayed_one": "{{count}} минута в игре",
54
- "minutesPlayed_few": "{{count}} минуты в игре",
55
- "minutesPlayed_many": "{{count}} минут в игре",
56
- "hoursPlayed": "{{count}} час в игре",
57
- "hoursPlayed_one": "{{count}} час в игре",
58
- "hoursPlayed_few": "{{count}} часа в игре",
59
- "hoursPlayed_many": "{{count}} часов в игре",
60
- "writeReviewOf": "Напишите отзыв о",
61
- "rewardMessage": "Вы получите {{reward}} в качестве награды",
62
- "yourRating": "Ваша оценка",
63
- "likeCommentPlaceholder": "Что вам понравилось?",
64
- "dislikeCommentPlaceholder": "Что вам не понравилось?",
65
- "submit": "Отправить",
66
- "describeRating": "Опишите свою оценку, чтобы отправить её!",
67
- "reviewTooLong": "К сожалению, отзывы не могут быть такими ОГРОМНЫМИ",
68
- "reviewSuccess": "Отзыв успешно отправлен!",
69
- "reviewError": "Не удалось отправить отзыв. Пожалуйста, попробуйте снова."
70
- },
71
- "profilePage": {
72
- "balance": "Баланс",
73
- "topUp": "Пополнить",
74
- "removeAds": "Убрать рекламу",
75
- "ads": "Реклама",
76
- "adsOn": "Вкл",
77
- "adsOff": "Выкл",
78
- "removeAdsInGames": "Убрать рекламу в играх",
79
- "removedAds": "Реклама отключена",
80
- "removedAdsLeft": "Активно до {{date}}",
81
- "turnOnAds": "Включить рекламу",
82
- "disableAds": "Отключить рекламу",
83
- "cancelSubscription": "Отменить подписку",
84
- "resumeSubscription": "Возобновить подписку",
85
- "disableAllInterruptions": "Отключите все помехи в играх с ежемесячной подпиской. Не волнуйтесь, вы также сможете снова включить рекламу, если захотите!",
86
- "noInterruptionsInGames": "Никаких перерывов в играх при возобновляемой подписке.",
87
- "activeRecurring": "Активно повторяющиеся платежи {{price}}",
88
- "activeUntil": "Активно до {{date}}",
89
- "subscriptionPaused": "Подписка приостановлена",
90
- "continue": "Продолжить",
91
- "month": "{{price}} / месяц",
92
- "aMonth": " в месяц.",
93
- "nextPayment": "Следующий платеж {{date}}",
94
- "errorCancelSubscription": "Не удалось отменить подписку. Попробуйте ещё раз",
95
- "purchaseConfirm": {
96
- "balance": "Баланс",
97
- "removeAds": "Убрать рекламу",
98
- "description": "Полностью отключите всю рекламу и ненужные прерывания в любой игре из нашей библиотеки.",
99
- "payOnce": "Заплатите один раз – без рекламы навсегда.",
100
- "confirmAndPay": "Подтвердить и оплатить"
101
- },
102
- "played": "сыграно",
103
- "invited": "приглашено",
104
- "lootBox": "Лут-бокс",
105
- "forLevel": "для уровня {{level}}",
106
- "errors": {
107
- "general": "Ошибка: {{message}}"
108
- },
109
- "avatar": {
110
- "createAvatar": "Создать Аватар",
111
- "createAvatarAlt": "Аватары",
112
- "edit": "Изменить",
113
- "changeBackgroundAria": "Изменить цвет фона",
114
- "menuItems": {
115
- "avatar": "Аватар",
116
- "profileInfo": "Информация профиля"
117
- }
118
- },
119
- "tasks": {
120
- "reviewGame": "Оценить {{game}}",
121
- "reviewDescription": "Вы недавно играли {{time}} {{unit}}",
122
- "openPortalDaily": "Ежедневное открытие Портала",
123
- "checkInDescription": "Награда за каждый день",
124
- "inviteFriends": "Пригласить друзей",
125
- "inviteDescription": "Вместе играть всегда веселее",
126
- "welcomeBonus": "Приветственный бонус",
127
- "fillProfile": "Заполнить профиль",
128
- "fillProfileDescription": "Позвольте нам узнать вас лучше",
129
- "fill": "Заполнить",
130
- "filled": "Заполнено",
131
- "invite": "Пригласить"
132
- },
133
- "invite": {
134
- "message": "🕹️ Присоединяйся ко мне в Портале!\n⭐️ Получи бонус к рейтингу."
135
- },
136
- "dailyModal": {
137
- "title": "Ваша ежедневная награда",
138
- "subtitle": "Открывайте Портал каждый день, чтобы получать подарки",
139
- "day": "День {{day}}",
140
- "coin": "{{count}} монета",
141
- "coin_one": "{{count}} монета",
142
- "coin_few": "{{count}} монеты",
143
- "coin_many": "{{count}} монет",
144
- "coins": "{{count}} монет",
145
- "lootBox": "Лут-бокс",
146
- "rewardClaimed": "Ежедневная награда получена!",
147
- "claimed": "Получено",
148
- "claimReward": "Получить Награду",
149
- "error": "Упс! Что-то пошло не так. Попробуйте позже.",
150
- "tapToOpen": "НАЖМИТЕ ЧТОБЫ ОТКРЫТЬ",
151
- "youGot": "Вы получили {{reward}}!"
152
- },
153
- "review": {
154
- "thanksMessage": "Спасибо за вашу оценку!",
155
- "failedMessage": "Не удалось оценить игру",
156
- "hours": "часов",
157
- "minutes": "минут"
158
- },
159
- "buyMenu": {
160
- "balance": "Баланс",
161
- "topUpBalance": "Пополнить баланс",
162
- "coins": "монет",
163
- "gems": "алмазов",
164
- "topUp": "Пополнить"
165
- },
166
- "taskCard": {
167
- "completed": "Выполнено",
168
- "writeReview": "Написать отзыв",
169
- "explore": "Исследовать",
170
- "claim": "Получить",
171
- "claimed": "Получено",
172
- "get": "Получите",
173
- "getUpTo": "Получите до"
174
- },
175
- "emptyBox": "Пустой бокс",
176
- "bronzeBox": "Редкий бокс",
177
- "silverBox": "Эпический бокс",
178
- "goldBox": "Легендарный бокс",
179
- "commonBox": "Обычный бокс",
180
- "openItem": "Открыть предмет",
181
- "openGame": "Открыть игру"
182
- },
183
- "xp": {
184
- "level": "Уровень",
185
- "toLevelUp": "до след. уровня",
186
- "xpCounter": "/ {{total}} XP",
187
- "yourLevel": "Ваш уровень",
188
- "gainXpDescription": "Получайте XP, играя в игры. Соревнуйтесь с другими игроками и получайте награды.",
189
- "gotIt": "Понятно"
190
- },
191
- "navigation": {
192
- "backToGamesLibrary": "Назад в играм",
193
- "admin": "Админ",
194
- "balance": "Баланс"
195
- },
196
- "games": {
197
- "recentlyPlayed": "Недавно сыграно",
198
- "error": "Ошибка: {{message}}"
199
- },
200
- "admin": {
201
- "title": "Панель администратора",
202
- "profile": {
203
- "title": "Профиль",
204
- "xp": "Опыт",
205
- "balance": "Баланс",
206
- "adsFree": "Без рекламы"
207
- },
208
- "overlay": {
209
- "title": "Переключить оверлей",
210
- "variants": {
211
- "yourTheme": "Ваша тема",
212
- "dark": "Темная",
213
- "translucent": "Полупрозрачная"
214
- }
215
- },
216
- "tasks": {
217
- "title": "Задачи",
218
- "resetClaimed": "Сбросить полученные задачи",
219
- "dailyResetNote": "*Ежедневная серия будет сброшена",
220
- "resetProfile": "Сбросить заполнение профиля",
221
- "claimedResetNote": "*Полученные задачи будут сброшены"
222
- },
223
- "dailyCheckins": {
224
- "title": "Ежедневные посещения",
225
- "openModal": "Открыть ежедневное окно",
226
- "unclaimTask": "Отменить ежедневную задачу"
227
- },
228
- "inventory": {
229
- "title": "Инвентарь",
230
- "fetchInventory": "Загрузить инвентарь",
231
- "boxId": "ID коробки",
232
- "fetchContents": "Загрузить содержимое",
233
- "openBox": "Открыть коробку",
234
- "boxOpenSuccess": "Коробка с ID {{boxId}} открыта!",
235
- "boxOpenFail": "Не удалось открыть коробку с ID {{boxId}}!"
236
- },
237
- "snackbars": {
238
- "title": "Уведомления",
239
- "success": "Успех",
240
- "warning": "Предупреждение",
241
- "error": "Ошибка",
242
- "successMessage": "Это сообщение об успехе",
243
- "warningMessage": "Это предупреждающее сообщение",
244
- "errorMessage": "Это сообщение об ошибке"
245
- }
246
- },
247
- "inventory": {
248
- "inventory": "Инвентарь",
249
- "inventoryDescription": "Это ваше личное место для хранения всех предметов",
250
- "openItem": "Открыть предмет",
251
- "emptyBox": "Пустой бокс"
252
- },
253
- "reward_type": {
254
- "coins": "{{count}} монета",
255
- "coins_one": "{{count}} монета",
256
- "coins_few": "{{count}} монеты",
257
- "coins_many": "{{count}} монет",
258
- "usdt": "{{count}} USDT",
259
- "usdt_one": "{{count}} USDT",
260
- "usdt_few": "{{count}} USDT",
261
- "usdt_many": "{{count}} USDT",
262
- "ton": "{{count}} TON",
263
- "ton_one": "{{count}} TON",
264
- "ton_few": "{{count}} TON",
265
- "ton_many": "{{count}} TON",
266
- "telegram_premium": "Telegram Премиум",
267
- "double_balance": "Двойной баланс",
268
- "box": "ЛУТ БОКС",
269
- "box_rare": "Редкий",
270
- "box_epic": "Эпический",
271
- "box_legend": "Легендарный"
272
- },
273
- "box_open": {
274
- "you_ve_got": "Вы получили",
275
- "button_reveal_reward": "Открыть награду",
276
- "button_open_now": "Открыть Сейчас",
277
- "button_save_inventory": "Сохранить в инвентаре",
278
- "later_open_later_inventory": "Вы можете открыть его позже в инвентаре"
279
- },
280
- "common": {
281
- "button_continue": "Продолжить"
282
- },
283
- "months": {
284
- "january": "Янв",
285
- "february": "Фев",
286
- "march": "Мар",
287
- "april": "Апр",
288
- "may": "Май",
289
- "june": "Июн",
290
- "july": "Июл",
291
- "august": "Авг",
292
- "september": "Сен",
293
- "october": "Окт",
294
- "november": "Ноя",
295
- "december": "Дек"
296
- }
297
- }
298
- ;
299
-
300
- export default _default;
@@ -1,2 +0,0 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
2
- export default App;
@@ -1,211 +0,0 @@
1
- export interface User {
2
- id: number;
3
- is_admin?: boolean;
4
- experience: number;
5
- level_up_exp: number;
6
- level: number;
7
- user_name: string;
8
- first_name: string;
9
- last_name: string;
10
- avatar?: string;
11
- balance: number;
12
- ads_free: boolean;
13
- ads_disabled_until?: string;
14
- inventory: InventoryItem[];
15
- games_count: number;
16
- invited: number;
17
- email?: string;
18
- phone_number?: string;
19
- location?: string;
20
- birth_date?: string;
21
- avatar_ug?: string;
22
- background_color?: string;
23
- }
24
- export interface ProfilePostRequest {
25
- email?: string;
26
- phone_number?: string;
27
- location?: string;
28
- birth_date?: string;
29
- avatar_ug?: string;
30
- background_color?: string;
31
- }
32
- export interface Game {
33
- id: number;
34
- title: string;
35
- genre: string;
36
- description: string;
37
- banner: string;
38
- app_url: string;
39
- players: number;
40
- avatar: string;
41
- animated_preview: string;
42
- gradient_from: string;
43
- gradient_to: string;
44
- liked_rating: number;
45
- played_time: number;
46
- xp_earned: number;
47
- screenshots: string[];
48
- detailed_description?: string;
49
- developer?: {
50
- name: string;
51
- link: string;
52
- };
53
- reviews: GameReview[];
54
- recommended?: {
55
- id: number;
56
- }[];
57
- review?: {
58
- liked: boolean;
59
- comment: string;
60
- };
61
- }
62
- export interface GameReview {
63
- liked: boolean;
64
- comment: string;
65
- reviewer_name: string;
66
- reviewer_id: number;
67
- played_min: number;
68
- }
69
- export interface ShortGameInfo {
70
- id: number;
71
- title: string;
72
- played_time: number;
73
- xp_earned: number;
74
- last_played: string;
75
- avatar: string;
76
- }
77
- export interface RecentlyPlayedGamesResponse {
78
- games: ShortGameInfo[];
79
- }
80
- export interface SubmitReviewRequest {
81
- gameId: number;
82
- liked: boolean;
83
- comment?: string;
84
- }
85
- export interface InventoryItem {
86
- id: number;
87
- name: string;
88
- image: string;
89
- acquired_at: string;
90
- }
91
- export interface Trophy {
92
- id: number;
93
- name: string;
94
- description: string;
95
- image: string;
96
- acquired_at: string;
97
- }
98
- export interface Task {
99
- id: number;
100
- title: string;
101
- description: string;
102
- reward: number;
103
- group?: string;
104
- group_position?: number;
105
- sub_title?: string;
106
- is_claimable: boolean;
107
- is_done: boolean;
108
- }
109
- export interface Box {
110
- id: number;
111
- name: string;
112
- image: string;
113
- acquired_at: string;
114
- }
115
- export interface TasksResponse {
116
- tasks: Task[];
117
- daily_streak: number;
118
- }
119
- export interface ClaimTaskResponse {
120
- status: string;
121
- extra?: {
122
- item_id?: number;
123
- };
124
- }
125
- export interface GamesResponse {
126
- games: Game[];
127
- }
128
- export interface InvoiceResponse {
129
- invoice_link: string;
130
- }
131
- export interface InventoryResponse {
132
- boxes: Box[];
133
- }
134
- export interface BoxReward {
135
- reward_type: "coins" | string;
136
- reward_value: number;
137
- }
138
- export interface BoxContentsResponse {
139
- rewards: BoxReward[];
140
- }
141
- export interface CreateInvoiceRequest {
142
- title: string;
143
- description: string;
144
- to_user_id: number;
145
- amount: number;
146
- }
147
- export interface ShopItem {
148
- id: number;
149
- name: string;
150
- description: string;
151
- price: number;
152
- created: string;
153
- updated: string;
154
- }
155
- export interface ApiResponse<T> {
156
- data: T;
157
- status: string;
158
- message?: string;
159
- }
160
- export interface LeaderboardResponse {
161
- tier: string;
162
- until: string;
163
- reward: number;
164
- entries: {
165
- name: string;
166
- xp: number;
167
- id: number;
168
- avatar_url?: string;
169
- }[];
170
- }
171
- export interface Trophy {
172
- name: string;
173
- description: string;
174
- image: string;
175
- is_achieved: boolean;
176
- max_value?: number;
177
- current_value?: number;
178
- }
179
- export interface TrophiesResponse {
180
- id?: number;
181
- achievements: Trophy[];
182
- }
183
- export interface PriceItem {
184
- gems: number;
185
- stars: number;
186
- discount: number;
187
- invoice_url: string;
188
- }
189
- export interface PricesResponse {
190
- invite_bonus: number;
191
- items: PriceItem[];
192
- }
193
- export interface PrizeItem {
194
- reward_type: "coins" | "usdt" | "ton" | "telegram_premium" | "double_balance" | "box";
195
- reward_value: number;
196
- }
197
- export interface ServiceBoxOpenResponse {
198
- extra?: string;
199
- reward_type: string;
200
- reward_value: number;
201
- }
202
- export interface InventoryReward {
203
- reward_type: string;
204
- reward_value: number;
205
- }
206
- export interface ServiceBoxContentResponse {
207
- rewards: InventoryReward[];
208
- }
209
- export interface ServiceInvoiceCreatedResponse {
210
- invoice_link: string;
211
- }
@@ -1,24 +0,0 @@
1
- import { BoxContentsResponse, BoxReward, ClaimTaskResponse, CreateInvoiceRequest, InventoryResponse, InvoiceResponse, LeaderboardResponse, PricesResponse, ServiceBoxContentResponse, ServiceBoxOpenResponse, ServiceInvoiceCreatedResponse, SubmitReviewRequest, User, GamesResponse, TasksResponse, ProfilePostRequest } from './types';
2
- export declare const fetchProfile: () => Promise<User>;
3
- export declare const postProfile: (req: ProfilePostRequest) => Promise<void>;
4
- export declare const setBalance: (balance: number) => Promise<void>;
5
- export declare const setXP: (xp: number) => Promise<void>;
6
- export declare const addNoAds: () => Promise<void>;
7
- export declare const clearItems: () => Promise<void>;
8
- export declare const fetchGames: () => Promise<GamesResponse>;
9
- export declare const submitReview: (review: SubmitReviewRequest) => Promise<void>;
10
- export declare const createInvoice: (req: CreateInvoiceRequest) => Promise<InvoiceResponse>;
11
- export declare const fetchTasks: () => Promise<TasksResponse>;
12
- export declare const fetchLeaderboard: () => Promise<LeaderboardResponse>;
13
- export declare const mintTask: (id: number) => Promise<ClaimTaskResponse>;
14
- export declare const resetTasks: () => Promise<void>;
15
- export declare const fetchInventory: () => Promise<InventoryResponse>;
16
- export declare const fetchBoxContents: (boxId: number) => Promise<BoxContentsResponse>;
17
- export declare const openBox: (boxId: number) => Promise<BoxReward>;
18
- export declare const resetDailyTask: () => Promise<void>;
19
- export declare const resetGameStorage: (gameId: number) => Promise<void>;
20
- export declare const fetchPrices: () => Promise<PricesResponse>;
21
- export declare const inventoryDetail: (boxId: number) => Promise<ServiceBoxContentResponse>;
22
- export declare const inventoryOpenCreate: (boxId: number) => Promise<ServiceBoxOpenResponse>;
23
- export declare const invoiceNoAdsCreate: () => Promise<ServiceInvoiceCreatedResponse>;
24
- export declare const invoiceNoAdsCancelCreate: () => Promise<void>;
@@ -1,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const DebugConsole: React.FC;
@@ -1,3 +0,0 @@
1
- export declare const formatter: Intl.NumberFormat;
2
- export declare const formatCompactNumber: (number: number) => string;
3
- export declare function formatXP(xp: number, total: number): string;
@@ -1 +0,0 @@
1
- export declare const useForceRerender: () => () => void;
@@ -1,7 +0,0 @@
1
- interface MainButtonConfig {
2
- text: string;
3
- onClick: () => void;
4
- isLoading?: boolean;
5
- }
6
- export declare const useMainButtonControl: ({ text, onClick, isLoading, }: MainButtonConfig) => void;
7
- export {};
@@ -1,3 +0,0 @@
1
- export declare const useMiniApp: () => {
2
- miniApp: import('@twa-dev/types').WebApp;
3
- };
@@ -1,10 +0,0 @@
1
- import { TypedUseSelectorHook } from 'react-redux';
2
- import { RootState } from './store';
3
- export declare const useAppDispatch: () => import('@reduxjs/toolkit').ThunkDispatch<{
4
- games: import('../features/games/redux/gamesSlice').GamesState;
5
- profile: import('../features/profile/redux/profileSlice').ProfileState;
6
- tabs: import('../features/navigation/redux/tabsSlice').TabNavigationState;
7
- navigation: import('../features/navigation/redux/navigationSlice').NavigationState;
8
- leaderboard: import('../features/leaderboard/redux/leaderboardSlice').LeaderboardState;
9
- }, undefined, import('@reduxjs/toolkit').AnyAction> & import('@reduxjs/toolkit').Dispatch<import('@reduxjs/toolkit').AnyAction>;
10
- export declare const useAppSelector: TypedUseSelectorHook<RootState>;
@@ -1,17 +0,0 @@
1
- import { Action, ThunkAction } from '@reduxjs/toolkit';
2
- export declare const store: import('@reduxjs/toolkit/dist/configureStore').ToolkitStore<{
3
- games: import('../features/games/redux/gamesSlice').GamesState;
4
- profile: import('../features/profile/redux/profileSlice').ProfileState;
5
- tabs: import('../features/navigation/redux/tabsSlice').TabNavigationState;
6
- navigation: import('../features/navigation/redux/navigationSlice').NavigationState;
7
- leaderboard: import('../features/leaderboard/redux/leaderboardSlice').LeaderboardState;
8
- }, import('@reduxjs/toolkit').AnyAction, [import('@reduxjs/toolkit').ThunkMiddleware<{
9
- games: import('../features/games/redux/gamesSlice').GamesState;
10
- profile: import('../features/profile/redux/profileSlice').ProfileState;
11
- tabs: import('../features/navigation/redux/tabsSlice').TabNavigationState;
12
- navigation: import('../features/navigation/redux/navigationSlice').NavigationState;
13
- leaderboard: import('../features/leaderboard/redux/leaderboardSlice').LeaderboardState;
14
- }, import('@reduxjs/toolkit').AnyAction>]>;
15
- export type AppDispatch = typeof store.dispatch;
16
- export type RootState = ReturnType<typeof store.getState>;
17
- export type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
@@ -1 +0,0 @@
1
- export declare const IconBack: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const IconCheck: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -1,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const IconCheckThin: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -1,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const IconCross: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -1,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const IconSearch: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -1,13 +0,0 @@
1
- import { default as React } from 'react';
2
- import { User } from '../../../api/types';
3
- interface AvatarProgressProps {
4
- profile: User | null;
5
- progress?: number;
6
- animateFromZero?: boolean;
7
- size?: number;
8
- gap?: number;
9
- strokeWidth?: number;
10
- previousProgress?: number;
11
- }
12
- export declare const AvatarProgress: React.FC<AvatarProgressProps>;
13
- export {};
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- interface ClosableModalProps {
3
- isOpen: boolean;
4
- onOpenChange: (isOpen: boolean) => void;
5
- children: React.ReactNode;
6
- textAreaFix?: boolean;
7
- style?: React.CSSProperties;
8
- }
9
- export declare const ClosableModal: React.FC<ClosableModalProps>;
10
- export {};
@@ -1,8 +0,0 @@
1
- import { CSSProperties, FC } from 'react';
2
- interface FormattedXPProps {
3
- xp: number;
4
- total: number;
5
- style?: CSSProperties;
6
- }
7
- export declare const FormattedXP: FC<FormattedXPProps>;
8
- export {};
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
- export declare const IconBalance: React.FC<JSX.IntrinsicAttributes & React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement>>;
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- interface InputSwitchProps {
3
- checked: boolean;
4
- loading?: boolean;
5
- onChange: (event: React.ChangeEvent) => void;
6
- label: string;
7
- }
8
- export declare const InputSwitch: React.FC<InputSwitchProps>;
9
- export {};