@opexa/portal-components 0.0.282 → 0.0.284

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 (305) hide show
  1. package/dist/components/Banner/Banner.client.d.ts +12 -0
  2. package/dist/components/Banner/Banner.client.js +49 -0
  3. package/dist/components/Banner/Banner.d.ts +3 -11
  4. package/dist/components/Banner/Banner.js +7 -38
  5. package/dist/components/Bonus/Bonus.client.js +1 -1
  6. package/dist/components/Cashback/Cashback.client.js +1 -1
  7. package/dist/components/CustomPromo/CustomPromo.d.ts +1 -1
  8. package/dist/components/CustomPromo/CustomPromo.js +2 -2
  9. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js +1 -1
  10. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  11. package/dist/components/GameLaunch/GameLaunchTrigger.js +8 -9
  12. package/dist/components/GameProviders/GameProviders.d.ts +1 -1
  13. package/dist/components/GameProviders/GameProviders.js +1 -1
  14. package/dist/components/Games/Game.js +1 -2
  15. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  16. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +10 -5
  17. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  18. package/dist/components/Jackpots/JackpotsList/JackpotsList.js +1 -1
  19. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  20. package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +9 -4
  21. package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +8 -3
  22. package/dist/components/KYC/utils.js +18 -18
  23. package/dist/components/Marquee/Marquee.d.ts +1 -1
  24. package/dist/components/Marquee/Marquee.js +1 -1
  25. package/dist/components/News/News.d.ts +1 -1
  26. package/dist/components/News/News.js +2 -2
  27. package/dist/components/NewsFeed/News.d.ts +1 -1
  28. package/dist/components/NewsFeed/News.js +1 -1
  29. package/dist/components/PortalProvider/FeatureFlag.js +1 -1
  30. package/dist/components/Promo/Promo.client.js +1 -1
  31. package/dist/components/Quests/DailyCheckInQuest.js +1 -1
  32. package/dist/components/Quests/OnboardingQuest.js +1 -1
  33. package/dist/components/Quests/Quests.client.js +1 -1
  34. package/dist/components/Quests/WageringQuest.js +1 -1
  35. package/dist/components/ResponsibleGaming/ResponsibleGaming.lazy.js +1 -1
  36. package/dist/components/Search/Search.lazy.js +1 -1
  37. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +3 -7
  38. package/dist/components/SignUp/SignUpKYC/SignUpKYC.lazy.js +1 -1
  39. package/dist/components/SignUp/SignUpKYC/utils.js +18 -18
  40. package/dist/components/TermsAndConditions/TermsAndConditions.lazy.js +1 -1
  41. package/dist/components/TermsOfUse/TermsOfUse.lazy.js +1 -1
  42. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.js +5 -5
  43. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  44. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  45. package/dist/components/Tournaments/TournamentsList/TournamentsList.js +1 -1
  46. package/dist/components/Tournaments/TournamentsList/TournamentsListItemDesktop.js +5 -5
  47. package/dist/components/Tournaments/TournamentsList/TournamentsListItemMobile.js +5 -5
  48. package/dist/constants/PisoPayBanks.js +43 -43
  49. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  50. package/dist/handlers/postTransformIdFrontImage.js +82 -0
  51. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  52. package/dist/handlers/postTransformSelfieImage.js +82 -0
  53. package/dist/services/portal.js +1 -9
  54. package/dist/services/queries.js +2574 -2574
  55. package/dist/styles/theme.css +697 -695
  56. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  57. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  58. package/dist/ui/Badge/Badge.d.ts +12 -12
  59. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  60. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  61. package/dist/ui/Carousel/Carousel.d.ts +99 -99
  62. package/dist/ui/Carousel/carousel.recipe.d.ts +11 -11
  63. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  64. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  65. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  66. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  67. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  68. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  69. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  70. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  71. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  72. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  73. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  74. package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
  75. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  76. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  77. package/dist/ui/Field/Field.d.ts +21 -21
  78. package/dist/ui/Field/field.recipe.d.ts +3 -3
  79. package/dist/ui/Menu/Menu.d.ts +306 -306
  80. package/dist/ui/Menu/menu.recipe.d.ts +17 -17
  81. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  82. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  83. package/dist/ui/Popover/Popover.d.ts +88 -88
  84. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  85. package/dist/ui/Progress/Progress.d.ts +27 -27
  86. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  87. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  88. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  89. package/dist/ui/Select/Select.d.ts +45 -45
  90. package/dist/ui/Select/select.recipe.d.ts +3 -3
  91. package/dist/ui/Table/Table.d.ts +21 -21
  92. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  93. package/dist/ui/Table/table.recipe.d.ts +3 -3
  94. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  95. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  96. package/dist/utils/formatNumber.d.ts +1 -1
  97. package/dist/utils/formatNumber.js +3 -2
  98. package/dist/utils/getGameImageUrl.js +4 -3
  99. package/dist/utils/mask.d.ts +10 -0
  100. package/dist/utils/mask.js +10 -0
  101. package/dist/utils/validateFile.d.ts +1 -1
  102. package/dist/utils/validateFile.js +3 -2
  103. package/package.json +163 -163
  104. package/dist/client/hooks/index.d.ts +0 -65
  105. package/dist/client/hooks/index.js +0 -65
  106. package/dist/client/services/index.d.ts +0 -4
  107. package/dist/client/services/index.js +0 -4
  108. package/dist/client/utils/index.d.ts +0 -3
  109. package/dist/client/utils/index.js +0 -3
  110. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  111. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  112. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  113. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  114. package/dist/components/CashbackBonus/index.d.ts +0 -1
  115. package/dist/components/CashbackBonus/index.js +0 -1
  116. package/dist/components/Empty.d.ts +0 -9
  117. package/dist/components/Empty.js +0 -7
  118. package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
  119. package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
  120. package/dist/components/FeatureFlag/index.d.ts +0 -1
  121. package/dist/components/FeatureFlag/index.js +0 -1
  122. package/dist/components/Games/GameContext.d.ts +0 -2
  123. package/dist/components/Games/GameContext.js +0 -2
  124. package/dist/components/InfiniteScroll.d.ts +0 -10
  125. package/dist/components/InfiniteScroll.js +0 -25
  126. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  127. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  128. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  129. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  130. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  131. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  132. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  133. package/dist/components/JackpotCounter/index.d.ts +0 -1
  134. package/dist/components/JackpotCounter/index.js +0 -1
  135. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  136. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  137. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  138. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  139. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  140. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  141. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  142. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  143. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  144. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  145. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  146. package/dist/components/Jackpots/JackpotRules.js +0 -11
  147. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  148. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  149. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  150. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  151. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  152. package/dist/components/Jackpots/useJackpotData.js +0 -93
  153. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  154. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  155. package/dist/components/KYC/AutoOpen.d.ts +0 -1
  156. package/dist/components/KYC/AutoOpen.js +0 -45
  157. package/dist/components/KYC/Header.d.ts +0 -1
  158. package/dist/components/KYC/Header.js +0 -8
  159. package/dist/components/KYC/Step1.d.ts +0 -1
  160. package/dist/components/KYC/Step1.js +0 -13
  161. package/dist/components/KYC/Step2.d.ts +0 -1
  162. package/dist/components/KYC/Step2.js +0 -13
  163. package/dist/components/KYC/Step3.d.ts +0 -1
  164. package/dist/components/KYC/Step3.js +0 -13
  165. package/dist/components/KYC/Step4.d.ts +0 -1
  166. package/dist/components/KYC/Step4.js +0 -7
  167. package/dist/components/KYC/backup/Header.d.ts +0 -1
  168. package/dist/components/KYC/backup/Header.js +0 -8
  169. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  170. package/dist/components/KYC/backup/Indicator.js +0 -9
  171. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  172. package/dist/components/KYC/backup/KYC.js +0 -14
  173. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  174. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  175. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  176. package/dist/components/KYC/backup/KYCContext.js +0 -2
  177. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  178. package/dist/components/KYC/backup/Step1.js +0 -13
  179. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  180. package/dist/components/KYC/backup/Step2.js +0 -13
  181. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  182. package/dist/components/KYC/backup/Step3.js +0 -13
  183. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  184. package/dist/components/KYC/backup/Step4.js +0 -7
  185. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  186. package/dist/components/KYC/backup/useKYC.js +0 -8
  187. package/dist/components/KYC/loadModels.d.ts +0 -1
  188. package/dist/components/KYC/loadModels.js +0 -9
  189. package/dist/components/Messages/Message.d.ts +0 -1
  190. package/dist/components/Messages/Message.js +0 -34
  191. package/dist/components/Messages/MessageContext.d.ts +0 -6
  192. package/dist/components/Messages/MessageContext.js +0 -2
  193. package/dist/components/Messages/MessageItem.d.ts +0 -4
  194. package/dist/components/Messages/MessageItem.js +0 -34
  195. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  196. package/dist/components/Messages/MessagePopup.js +0 -19
  197. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  198. package/dist/components/Messages/MessageTrigger.js +0 -19
  199. package/dist/components/Promo/PromoContent.d.ts +0 -2
  200. package/dist/components/Promo/PromoContent.js +0 -9
  201. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  202. package/dist/components/Promos/PromoCarousel.js +0 -41
  203. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  204. package/dist/components/Promos/PromoGrid.js +0 -12
  205. package/dist/components/Promos/PromoItem.d.ts +0 -7
  206. package/dist/components/Promos/PromoItem.js +0 -10
  207. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  208. package/dist/components/Quests/CountdownTimer.js +0 -33
  209. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  210. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  211. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  212. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  213. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  214. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  215. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  216. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  217. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  218. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  219. package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
  220. package/dist/components/SignUp/SignUp.lazy.js +0 -18
  221. package/dist/components/SignUp/SignUpContext.d.ts +0 -6
  222. package/dist/components/SignUp/SignUpContext.js +0 -2
  223. package/dist/components/SignUp/SignUpForm.d.ts +0 -1
  224. package/dist/components/SignUp/SignUpForm.js +0 -288
  225. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  226. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  227. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  228. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  229. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  230. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  231. package/dist/components/TournamentCounter/index.d.ts +0 -1
  232. package/dist/components/TournamentCounter/index.js +0 -1
  233. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  234. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  235. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  236. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  237. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  238. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  239. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  240. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  241. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  242. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  243. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  244. package/dist/components/Tournaments/TournamentRules.js +0 -11
  245. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  246. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  247. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  248. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  249. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  250. package/dist/components/Tournaments/useTournamentData.js +0 -72
  251. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  252. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  253. package/dist/components/index.d.ts +0 -33
  254. package/dist/components/index.js +0 -33
  255. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  256. package/dist/components/shared/IdDocumentField.client.js +0 -204
  257. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  258. package/dist/components/shared/IdDocumentField.js +0 -11
  259. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  260. package/dist/components/shared/SelfieField.client.js +0 -327
  261. package/dist/components/shared/SelfieField.d.ts +0 -2
  262. package/dist/components/shared/SelfieField.js +0 -11
  263. package/dist/constants/BranchCode.d.ts +0 -4
  264. package/dist/constants/BranchCode.js +0 -42
  265. package/dist/constants/endpoints.d.ts +0 -10
  266. package/dist/constants/endpoints.js +0 -41
  267. package/dist/constants/envVars.d.ts +0 -5
  268. package/dist/constants/envVars.js +0 -28
  269. package/dist/constants/gameProviders.d.ts +0 -76
  270. package/dist/constants/gameProviders.js +0 -361
  271. package/dist/constants/gameTypes.d.ts +0 -3
  272. package/dist/constants/gameTypes.js +0 -64
  273. package/dist/constants/headerKeys.d.ts +0 -2
  274. package/dist/constants/headerKeys.js +0 -2
  275. package/dist/constants/secretQuestions.d.ts +0 -3
  276. package/dist/constants/secretQuestions.js +0 -24
  277. package/dist/constants/storageKeys.d.ts +0 -2
  278. package/dist/constants/storageKeys.js +0 -2
  279. package/dist/handlers.d.ts +0 -43
  280. package/dist/handlers.js +0 -297
  281. package/dist/icons/BellRingIcon.d.ts +0 -2
  282. package/dist/icons/BellRingIcon.js +0 -4
  283. package/dist/icons/index.d.ts +0 -65
  284. package/dist/icons/index.js +0 -65
  285. package/dist/images/hacksaw-gaming.png +0 -0
  286. package/dist/server/services/index.d.ts +0 -4
  287. package/dist/server/services/index.js +0 -4
  288. package/dist/server/utils/index.d.ts +0 -29
  289. package/dist/server/utils/index.js +0 -29
  290. package/dist/ui/Presence.d.ts +0 -2
  291. package/dist/ui/Presence.js +0 -7
  292. package/dist/ui/Prose.d.ts +0 -2
  293. package/dist/ui/Prose.js +0 -5
  294. package/dist/ui/index.d.ts +0 -26
  295. package/dist/ui/index.js +0 -26
  296. package/dist/utils/createErrorFromCode.d.ts +0 -2
  297. package/dist/utils/createErrorFromCode.js +0 -11
  298. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  299. package/dist/utils/dataUrlToBlob.js +0 -11
  300. package/dist/utils/index.d.ts +0 -17
  301. package/dist/utils/index.js +0 -17
  302. package/dist/utils/isMobile.d.ts +0 -5
  303. package/dist/utils/isMobile.js +0 -9
  304. package/dist/utils/resizeImageSize.d.ts +0 -1
  305. package/dist/utils/resizeImageSize.js +0 -6
package/package.json CHANGED
@@ -1,163 +1,163 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.282",
4
- "exports": {
5
- "./ui/*": {
6
- "types": "./dist/ui/*/index.d.ts",
7
- "default": "./dist/ui/*/index.js"
8
- },
9
- "./utils/*": {
10
- "types": "./dist/utils/*.d.ts",
11
- "import": "./dist/utils/*.js"
12
- },
13
- "./types": {
14
- "types": "./dist/types/index.d.ts",
15
- "import": "./dist/types/index.js"
16
- },
17
- "./handlers": {
18
- "types": "./dist/handlers/index.d.ts",
19
- "default": "./dist/handlers/index.js"
20
- },
21
- "./middleware": {
22
- "types": "./dist/middleware.d.ts",
23
- "default": "./dist/middleware.js"
24
- },
25
- "./constants": {
26
- "types": "./dist/constants/index.d.ts",
27
- "default": "./dist/constants/index.js"
28
- },
29
- "./services/*": {
30
- "types": "./dist/services/*.d.ts",
31
- "default": "./dist/services/*.js"
32
- },
33
- "./client-utils/*": {
34
- "types": "./dist/client/utils/*.d.ts",
35
- "default": "./dist/client/utils/*.js"
36
- },
37
- "./client-hooks/*": {
38
- "types": "./dist/client/hooks/*.d.ts",
39
- "default": "./dist/client/hooks/*.js"
40
- },
41
- "./client-services/*": {
42
- "types": "./dist/client/services/*.d.ts",
43
- "default": "./dist/client/services/*.js"
44
- },
45
- "./server-utils/*": {
46
- "types": "./dist/server/utils/*.d.ts",
47
- "default": "./dist/server/utils/*.js"
48
- },
49
- "./server-services/*": {
50
- "types": "./dist/server/services/*.d.ts",
51
- "default": "./dist/server/services/*.js"
52
- },
53
- "./next.config": {
54
- "types": "./dist/next.config.d.ts",
55
- "default": "./dist/next.config.js"
56
- },
57
- "./theme.css": "./dist/styles/theme.css",
58
- "./*": {
59
- "types": "./dist/components/*/index.d.ts",
60
- "default": "./dist/components/*/index.js"
61
- }
62
- },
63
- "files": [
64
- "dist",
65
- "!dist/tsconfig.tsbuildinfo",
66
- "!dist/tsconfig.build.tsbuildinfo"
67
- ],
68
- "publishConfig": {
69
- "access": "public"
70
- },
71
- "scripts": {
72
- "dev": "next dev --port 4000",
73
- "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
74
- "build:app": "next build",
75
- "start": "next start",
76
- "lint": "next lint",
77
- "release": "release-it"
78
- },
79
- "dependencies": {
80
- "@ark-ui/react": "^5.16.0",
81
- "@date-fns/tz": "^1.2.0",
82
- "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
- "@next/third-parties": "^15.3.4",
84
- "@tailwindcss/typography": "^0.5.16",
85
- "date-fns": "^4.1.0",
86
- "embla-carousel-autoplay": "^8.6.0",
87
- "embla-carousel-react": "^8.6.0",
88
- "is-mobile": "^5.0.0",
89
- "lodash-es": "^4.17.21",
90
- "tailwind-merge": "^3.3.1",
91
- "tailwind-variants": "^1.0.0",
92
- "tailwind-zag": "^1.0.2",
93
- "tiny-invariant": "^1.3.3",
94
- "type-fest": "^4.41.0",
95
- "usehooks-ts": "^3.1.1",
96
- "zustand": "^5.0.6"
97
- },
98
- "devDependencies": {
99
- "@eslint/eslintrc": "3",
100
- "@hookform/resolvers": "5.1.1",
101
- "@opexa/object-id": "0.1.6",
102
- "@tailwindcss/postcss": "4",
103
- "@tanstack/react-query": "5.81.5",
104
- "@tanstack/react-query-devtools": "5.81.5",
105
- "@total-typescript/ts-reset": "0.6.1",
106
- "@types/lodash-es": "4.17.12",
107
- "@types/node": "24",
108
- "@types/react": "19",
109
- "@types/react-dom": "19",
110
- "copy-files-from-to": "3.12.1",
111
- "eslint": "9",
112
- "eslint-config-next": "15.3.4",
113
- "next": "15.4.0-canary.116",
114
- "react": "19.1.0",
115
- "react-dom": "19.1.0",
116
- "react-hook-form": "7.59.0",
117
- "release-it": "19.0.3",
118
- "tailwindcss": "4.1.11",
119
- "tsc-alias": "1.8.16",
120
- "typescript": "5",
121
- "zod": "3.25.71"
122
- },
123
- "peerDependencies": {
124
- "@hookform/resolvers": "^4.0.0 || ^5.0.0",
125
- "@opexa/object-id": "^0.1.0",
126
- "@tanstack/react-query": "^5.0.0",
127
- "next": "^15.4.0-canary.1",
128
- "react": "^19.0.0",
129
- "react-dom": "^19.0.0",
130
- "react-hook-form": "^7.0.0",
131
- "tailwindcss": "^4.0.0",
132
- "zod": "^3.0.0"
133
- },
134
- "release-it": {
135
- "git": {
136
- "commitMessage": "chore: release ${npm.name} v${version}",
137
- "tagName": "${npm.name}@${version}"
138
- },
139
- "github": {
140
- "release": false
141
- },
142
- "hooks": {
143
- "before:bump": [
144
- "pnpm lint"
145
- ],
146
- "after:bump": [
147
- "pnpm build"
148
- ]
149
- }
150
- },
151
- "copyFiles": [
152
- {
153
- "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
154
- "to": "dist/",
155
- "toFlat": false
156
- }
157
- ],
158
- "copyFilesSettings": {
159
- "whenFileExists": "overwrite",
160
- "removeSourceMappingURL": true,
161
- "ignoreDotFilesAndFolders": false
162
- }
163
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.284",
4
+ "exports": {
5
+ "./ui/*": {
6
+ "types": "./dist/ui/*/index.d.ts",
7
+ "default": "./dist/ui/*/index.js"
8
+ },
9
+ "./utils/*": {
10
+ "types": "./dist/utils/*.d.ts",
11
+ "import": "./dist/utils/*.js"
12
+ },
13
+ "./types": {
14
+ "types": "./dist/types/index.d.ts",
15
+ "import": "./dist/types/index.js"
16
+ },
17
+ "./handlers": {
18
+ "types": "./dist/handlers/index.d.ts",
19
+ "default": "./dist/handlers/index.js"
20
+ },
21
+ "./middleware": {
22
+ "types": "./dist/middleware.d.ts",
23
+ "default": "./dist/middleware.js"
24
+ },
25
+ "./constants": {
26
+ "types": "./dist/constants/index.d.ts",
27
+ "default": "./dist/constants/index.js"
28
+ },
29
+ "./services/*": {
30
+ "types": "./dist/services/*.d.ts",
31
+ "default": "./dist/services/*.js"
32
+ },
33
+ "./client-utils/*": {
34
+ "types": "./dist/client/utils/*.d.ts",
35
+ "default": "./dist/client/utils/*.js"
36
+ },
37
+ "./client-hooks/*": {
38
+ "types": "./dist/client/hooks/*.d.ts",
39
+ "default": "./dist/client/hooks/*.js"
40
+ },
41
+ "./client-services/*": {
42
+ "types": "./dist/client/services/*.d.ts",
43
+ "default": "./dist/client/services/*.js"
44
+ },
45
+ "./server-utils/*": {
46
+ "types": "./dist/server/utils/*.d.ts",
47
+ "default": "./dist/server/utils/*.js"
48
+ },
49
+ "./server-services/*": {
50
+ "types": "./dist/server/services/*.d.ts",
51
+ "default": "./dist/server/services/*.js"
52
+ },
53
+ "./next.config": {
54
+ "types": "./dist/next.config.d.ts",
55
+ "default": "./dist/next.config.js"
56
+ },
57
+ "./theme.css": "./dist/styles/theme.css",
58
+ "./*": {
59
+ "types": "./dist/components/*/index.d.ts",
60
+ "default": "./dist/components/*/index.js"
61
+ }
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "!dist/tsconfig.tsbuildinfo",
66
+ "!dist/tsconfig.build.tsbuildinfo"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "scripts": {
72
+ "dev": "next dev --port 4000",
73
+ "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
74
+ "build:app": "next build",
75
+ "start": "next start",
76
+ "lint": "next lint",
77
+ "release": "release-it"
78
+ },
79
+ "dependencies": {
80
+ "@ark-ui/react": "^5.16.0",
81
+ "@date-fns/tz": "^1.2.0",
82
+ "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
+ "@next/third-parties": "^15.3.4",
84
+ "@tailwindcss/typography": "^0.5.16",
85
+ "date-fns": "^4.1.0",
86
+ "embla-carousel-autoplay": "^8.6.0",
87
+ "embla-carousel-react": "^8.6.0",
88
+ "is-mobile": "^5.0.0",
89
+ "lodash-es": "^4.17.21",
90
+ "tailwind-merge": "^3.3.1",
91
+ "tailwind-variants": "^1.0.0",
92
+ "tailwind-zag": "^1.0.2",
93
+ "tiny-invariant": "^1.3.3",
94
+ "type-fest": "^4.41.0",
95
+ "usehooks-ts": "^3.1.1",
96
+ "zustand": "^5.0.6"
97
+ },
98
+ "devDependencies": {
99
+ "@eslint/eslintrc": "3",
100
+ "@hookform/resolvers": "5.1.1",
101
+ "@opexa/object-id": "0.1.6",
102
+ "@tailwindcss/postcss": "4",
103
+ "@tanstack/react-query": "5.81.5",
104
+ "@tanstack/react-query-devtools": "5.81.5",
105
+ "@total-typescript/ts-reset": "0.6.1",
106
+ "@types/lodash-es": "4.17.12",
107
+ "@types/node": "24",
108
+ "@types/react": "19",
109
+ "@types/react-dom": "19",
110
+ "copy-files-from-to": "3.12.1",
111
+ "eslint": "9",
112
+ "eslint-config-next": "15.3.4",
113
+ "next": "15.4.0-canary.116",
114
+ "react": "19.1.0",
115
+ "react-dom": "19.1.0",
116
+ "react-hook-form": "7.59.0",
117
+ "release-it": "19.0.3",
118
+ "tailwindcss": "4.1.11",
119
+ "tsc-alias": "1.8.16",
120
+ "typescript": "5",
121
+ "zod": "3.25.71"
122
+ },
123
+ "peerDependencies": {
124
+ "@hookform/resolvers": "^4.0.0 || ^5.0.0",
125
+ "@opexa/object-id": "^0.1.0",
126
+ "@tanstack/react-query": "^5.0.0",
127
+ "next": "^15.4.0-canary.1",
128
+ "react": "^19.0.0",
129
+ "react-dom": "^19.0.0",
130
+ "react-hook-form": "^7.0.0",
131
+ "tailwindcss": "^4.0.0",
132
+ "zod": "^3.0.0"
133
+ },
134
+ "release-it": {
135
+ "git": {
136
+ "commitMessage": "chore: release ${npm.name} v${version}",
137
+ "tagName": "${npm.name}@${version}"
138
+ },
139
+ "github": {
140
+ "release": false
141
+ },
142
+ "hooks": {
143
+ "before:bump": [
144
+ "pnpm lint"
145
+ ],
146
+ "after:bump": [
147
+ "pnpm build"
148
+ ]
149
+ }
150
+ },
151
+ "copyFiles": [
152
+ {
153
+ "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
154
+ "to": "dist/",
155
+ "toFlat": false
156
+ }
157
+ ],
158
+ "copyFilesSettings": {
159
+ "whenFileExists": "overwrite",
160
+ "removeSourceMappingURL": true,
161
+ "ignoreDotFilesAndFolders": false
162
+ }
163
+ }
@@ -1,65 +0,0 @@
1
- export * from './useAccountQuery';
2
- export * from './useAuthenticateMutation';
3
- export * from './useAvailablePromosQuery';
4
- export * from './useAvailableQuestsQuery';
5
- export * from './useBetRecordsQuery';
6
- export * from './useBonusesQuery';
7
- export * from './useBonusQuery';
8
- export * from './useCashbackBonusesQuery';
9
- export * from './useCashbackBonusQuery';
10
- export * from './useCashbackQuery';
11
- export * from './useCashbacksQuery';
12
- export * from './useCheckInDailyCheckInQuestMutation';
13
- export * from './useChunk';
14
- export * from './useClaimCashbackBonusMutation';
15
- export * from './useClaimSpotBonusMutation';
16
- export * from './useControllableState';
17
- export * from './useCooldown';
18
- export * from './useCreateGameSessionMutation';
19
- export * from './useCreateGCashDepositMutation';
20
- export * from './useCreateGCashWithdrawalMutation';
21
- export * from './useCreateInstapayWithdrawalMutation';
22
- export * from './useCreateMayaAppDepositMutation';
23
- export * from './useCreateMayaAppWithdrawalMutation';
24
- export * from './useCreateMayaDepositMutation';
25
- export * from './useCreateMayaWithdrawalMutation';
26
- export * from './useCreateOnlineBankDepositMutation';
27
- export * from './useCreateQRPHDepositMutation';
28
- export * from './useDepositQuery';
29
- export * from './useDepositRecordsQuery';
30
- export * from './useDepositsCountQuery';
31
- export * from './useDisclosure';
32
- export * from './useEndGameSessionMutation';
33
- export * from './useFavoriteGamesQuery';
34
- export * from './useGamesQuery';
35
- export * from './useGlobalStore';
36
- export * from './useInfiniteQueryHelper';
37
- export * from './useInstapayBankListQuery';
38
- export * from './useIsMayaSessionValidQuery';
39
- export * from './useJackpotsQuery';
40
- export * from './useLocaleInfo';
41
- export * from './useMarkGameAsFavoriteMutation';
42
- export * from './useMarkMessageAsReadMutation';
43
- export * from './useMemberVerificationQuery';
44
- export * from './useMessagesQuery';
45
- export * from './useMobileNumberParser';
46
- export * from './useOnMMA';
47
- export * from './usePaymentSettingsQuery';
48
- export * from './usePlatformQuery';
49
- export * from './useProfileCompletionQuery';
50
- export * from './usePromoQuery';
51
- export * from './usePromosQuery';
52
- export * from './useRemainingTime';
53
- export * from './useSendVerificationCodeMutation';
54
- export * from './useSessionQuery';
55
- export * from './useSignInMutation';
56
- export * from './useSignOutMutation';
57
- export * from './useSignUpMutation';
58
- export * from './useTopWinsQuery';
59
- export * from './useTournamentsQuery';
60
- export * from './useTransactionRecordsQuery';
61
- export * from './useUnmarkGameAsFavoriteMutation';
62
- export * from './useUnreadMessagesCountQuery';
63
- export * from './useUpdateAccountMutation';
64
- export * from './useWalletQuery';
65
- export * from './useWithdrawalRecordsQuery';
@@ -1,65 +0,0 @@
1
- export * from './useAccountQuery.js';
2
- export * from './useAuthenticateMutation.js';
3
- export * from './useAvailablePromosQuery.js';
4
- export * from './useAvailableQuestsQuery.js';
5
- export * from './useBetRecordsQuery.js';
6
- export * from './useBonusesQuery.js';
7
- export * from './useBonusQuery.js';
8
- export * from './useCashbackBonusesQuery.js';
9
- export * from './useCashbackBonusQuery.js';
10
- export * from './useCashbackQuery.js';
11
- export * from './useCashbacksQuery.js';
12
- export * from './useCheckInDailyCheckInQuestMutation.js';
13
- export * from './useChunk.js';
14
- export * from './useClaimCashbackBonusMutation.js';
15
- export * from './useClaimSpotBonusMutation.js';
16
- export * from './useControllableState.js';
17
- export * from './useCooldown.js';
18
- export * from './useCreateGameSessionMutation.js';
19
- export * from './useCreateGCashDepositMutation.js';
20
- export * from './useCreateGCashWithdrawalMutation.js';
21
- export * from './useCreateInstapayWithdrawalMutation.js';
22
- export * from './useCreateMayaAppDepositMutation.js';
23
- export * from './useCreateMayaAppWithdrawalMutation.js';
24
- export * from './useCreateMayaDepositMutation.js';
25
- export * from './useCreateMayaWithdrawalMutation.js';
26
- export * from './useCreateOnlineBankDepositMutation.js';
27
- export * from './useCreateQRPHDepositMutation.js';
28
- export * from './useDepositQuery.js';
29
- export * from './useDepositRecordsQuery.js';
30
- export * from './useDepositsCountQuery.js';
31
- export * from './useDisclosure.js';
32
- export * from './useEndGameSessionMutation.js';
33
- export * from './useFavoriteGamesQuery.js';
34
- export * from './useGamesQuery.js';
35
- export * from './useGlobalStore.js';
36
- export * from './useInfiniteQueryHelper.js';
37
- export * from './useInstapayBankListQuery.js';
38
- export * from './useIsMayaSessionValidQuery.js';
39
- export * from './useJackpotsQuery.js';
40
- export * from './useLocaleInfo.js';
41
- export * from './useMarkGameAsFavoriteMutation.js';
42
- export * from './useMarkMessageAsReadMutation.js';
43
- export * from './useMemberVerificationQuery.js';
44
- export * from './useMessagesQuery.js';
45
- export * from './useMobileNumberParser.js';
46
- export * from './useOnMMA.js';
47
- export * from './usePaymentSettingsQuery.js';
48
- export * from './usePlatformQuery.js';
49
- export * from './useProfileCompletionQuery.js';
50
- export * from './usePromoQuery.js';
51
- export * from './usePromosQuery.js';
52
- export * from './useRemainingTime.js';
53
- export * from './useSendVerificationCodeMutation.js';
54
- export * from './useSessionQuery.js';
55
- export * from './useSignInMutation.js';
56
- export * from './useSignOutMutation.js';
57
- export * from './useSignUpMutation.js';
58
- export * from './useTopWinsQuery.js';
59
- export * from './useTournamentsQuery.js';
60
- export * from './useTransactionRecordsQuery.js';
61
- export * from './useUnmarkGameAsFavoriteMutation.js';
62
- export * from './useUnreadMessagesCountQuery.js';
63
- export * from './useUpdateAccountMutation.js';
64
- export * from './useWalletQuery.js';
65
- export * from './useWithdrawalRecordsQuery.js';
@@ -1,4 +0,0 @@
1
- export * from './authenticate';
2
- export * from './getSession';
3
- export * from './signIn';
4
- export * from './signOut';
@@ -1,4 +0,0 @@
1
- export * from './authenticate.js';
2
- export * from './getSession.js';
3
- export * from './signIn.js';
4
- export * from './signOut.js';
@@ -1,3 +0,0 @@
1
- export * from './createContext';
2
- export * from './createRecipeContext';
3
- export * from './toaster';
@@ -1,3 +0,0 @@
1
- export * from './createContext.js';
2
- export * from './createRecipeContext.js';
3
- export * from './toaster.js';
@@ -1,2 +0,0 @@
1
- import type { CashbackBonusProps } from './CashbackBonus';
2
- export declare function CashbackBonus__client(props: CashbackBonusProps): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import Image from 'next/image';
4
- import Link from 'next/link';
5
- import { ChevronLeftIcon, ChevronRightIcon, StopWatchIcon } from '../../icons/index.js';
6
- import { Badge, Collapsible, Progress, Prose } from '../../ui/index.js';
7
- export function CashbackBonus__client(props) {
8
- return (_jsxs("div", { className: props.className, children: [_jsxs(Link, { href: props.viewAllUrl ?? '/rewards', className: "text-button-tertiary-fg flex items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to Rewards"] }), _jsx(Image, { src: "https://s3.ap-east-1.amazonaws.com/opexa-assets.opexasystem.com/assets/BSxIXEsa59_zzMAR27-ALLDAYREBATE06-STATIC-WEB-HB-1920x1080.png", alt: "", width: 1024, height: 600, className: "mt-3xl h-auto w-full rounded-xl" }), _jsxs(Badge.Root, { size: "lg", round: false, colorScheme: "brand", className: "mt-xl lg:mt-6", children: [_jsx(Badge.Icon, { children: _jsx(StopWatchIcon, {}) }), _jsx(Badge.Label, { children: "9d:10h:11m" })] }), _jsx("h1", { className: "text-text-primary-900 mt-xl text-2xl font-semibold lg:mt-6 lg:text-3xl", children: "50 PHP First Deposit Bonus" }), _jsx("p", { className: "text-text-primary-brand mt-xl text-base lg:mt-6 lg:text-lg", children: "Complete the wagering before time runs out to convert your bonus balance into real money!" }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl flex items-center justify-between rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsx("p", { children: "Your bonus" }), _jsxs("p", { children: [_jsx("span", { className: "text-text-primary-900", children: "20.00" }), " / 50.00 PHP"] })] }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl flex items-center justify-between rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsx("p", { children: "Required Turnover" }), _jsx("p", { children: "5x" })] }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { children: "Wagering" }), _jsx("p", { children: "400/1000" })] }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) })] }), _jsxs(Collapsible.Root, { className: "mt-xl lg:mt-6", children: [_jsxs(Collapsible.Trigger, { className: "text-button-tertiary-fg flex w-fit items-center justify-center gap-sm text-sm font-semibold lg:mx-auto", children: ["Game Provider Contribution", _jsx(Collapsible.Indicator, { asChild: true, children: _jsx(ChevronRightIcon, { className: "size-5" }) })] }), _jsxs(Collapsible.Content, { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl space-y-1.5 rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Playson" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "25%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Betsoft Gaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "13%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Microgaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "50%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Realtime Gaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "10%" })] })] })] }), _jsxs(Prose, { className: "mt-xl lg:mt-6", children: [_jsx("h3", { children: "How to get bonus" }), _jsxs("ol", { children: [_jsx("li", { children: "All OFWin members are eligible for this program." }), _jsx("li", { children: "50 PHP of game credit will be automatically credited to the new member account upon completion of first deposit Auctor vel in vitae placerat." }), _jsx("li", { children: "Member must reach a 5x turnover requirement before a withdrawal can be made. Attempting to make a withdrawal before this turnover requirement is completed could cause your bonus to be voided." }), _jsx("li", { children: "Players will have 10 days from the date the bonus is awarded to complete the rollover requirement." }), _jsx("li", { children: "Bets used to meet other bonus rollover requirements will not count toward this promotion." })] }), _jsx("h3", { children: "Terms and Conditions" }), _jsxs("ul", { children: [_jsx("li", { children: "Only one account per player is allowed. No same IP address/bank account name allowed. Players who have multiple or fraudulent accounts will not be qualified for the promotion." }), _jsx("li", { children: "Players that are found to have any duplicate accounts or those who participate in fraudulent activities may have their funds forfeited and their accounts closed." }), _jsx("li", { children: "OFWin reserves the right to amend or cancel this Referral Program at any time. OFWin General Terms and Conditions apply." })] })] })] }));
9
- }
@@ -1,10 +0,0 @@
1
- export interface CashbackBonusProps {
2
- id: string;
3
- className?: string;
4
- /**
5
- * @description URL for the bonuses details page
6
- * @default "/rewards"
7
- */
8
- viewAllUrl?: string;
9
- }
10
- export declare function CashbackBonus(props: CashbackBonusProps): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CashbackBonus__client } from './CashbackBonus.client.js';
3
- export async function CashbackBonus(props) {
4
- return _jsx(CashbackBonus__client, { ...props });
5
- }
@@ -1 +0,0 @@
1
- export * from './CashbackBonus';
@@ -1 +0,0 @@
1
- export * from './CashbackBonus.js';
@@ -1,9 +0,0 @@
1
- import type { ComponentProps, ComponentType } from 'react';
2
- export interface EmptyProps {
3
- icon: ComponentType<ComponentProps<'svg'>>;
4
- title: string;
5
- message: string;
6
- style?: React.CSSProperties;
7
- className?: string;
8
- }
9
- export declare function Empty(props: EmptyProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export function Empty(props) {
3
- return (_jsxs("div", { role: "alert", "aria-live": "polite", style: props.style, className: props.className, children: [_jsxs("div", { className: "relative mx-auto w-[9.5rem] pt-4", children: [_jsx("div", { className: "bg-utility-gray-200 absolute left-1/2 top-0 size-[6.5rem] -translate-x-1/2 rounded-full" }), _jsx(CloudIcon, { className: "relative h-auto w-full shrink-0" }), _jsx("div", { className: "bg-utility-gray-200/40 absolute bottom-2 left-1/2 flex size-12 -translate-x-1/2 items-center justify-center rounded-full backdrop-blur-sm", children: _jsx(props.icon, { className: "size-6 text-white" }) }), _jsx("div", { className: "bg-utility-gray-200 absolute left-4 top-3.5 size-2.5 rounded-full" }), _jsx("div", { className: "bg-utility-gray-200 absolute bottom-0.5 left-3 size-3.5 rounded-full" }), _jsx("div", { className: "bg-utility-gray-200 absolute right-3.5 top-1 size-2 rounded-full" }), _jsx("div", { className: "bg-utility-gray-200 absolute right-0 top-6.5 size-3.5 rounded-full" })] }), _jsx("h2", { className: "mt-xl text-center font-semibold", children: props.title }), _jsx("p", { className: "text-text-tertiary-600 mx-auto mt-xs max-w-[25rem] text-center text-sm", children: props.message })] }));
4
- }
5
- function CloudIcon(props) {
6
- return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 152 104", fill: "none", ...props, children: [_jsxs("g", { filter: "url(#filter0_dd_2719_19242)", children: [_jsx("path", { d: "M77.6 0C66.8273 0 57.2978 5.32329 51.4987 13.4829C49.605 13.0363 47.6301 12.8 45.6 12.8C31.4615 12.8 20 24.2615 20 38.4C20 52.5385 31.4615 64 45.6 64L109.6 64C121.971 64 132 53.9712 132 41.6C132 29.2288 121.971 19.2 109.6 19.2C108.721 19.2 107.854 19.2506 107.002 19.349C102.098 7.9677 90.7797 0 77.6 0Z", fill: "#F9FAFB" }), _jsx("ellipse", { cx: "45.6", cy: "38.4008", rx: "25.6", ry: "25.6", fill: "url(#paint0_linear_2719_19242)" }), _jsx("circle", { cx: "77.6", cy: "32", r: "32", fill: "url(#paint1_linear_2719_19242)" }), _jsx("ellipse", { cx: "109.6", cy: "41.5992", rx: "22.4", ry: "22.4", fill: "url(#paint2_linear_2719_19242)" })] }), _jsxs("defs", { children: [_jsxs("filter", { id: "filter0_dd_2719_19242", x: "0", y: "0", width: "152", height: "104", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [_jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "4", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_2719_19242" }), _jsx("feOffset", { dy: "8" }), _jsx("feGaussianBlur", { stdDeviation: "4" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0" }), _jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_2719_19242" }), _jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), _jsx("feMorphology", { radius: "4", operator: "erode", in: "SourceAlpha", result: "effect2_dropShadow_2719_19242" }), _jsx("feOffset", { dy: "20" }), _jsx("feGaussianBlur", { stdDeviation: "12" }), _jsx("feComposite", { in2: "hardAlpha", operator: "out" }), _jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0" }), _jsx("feBlend", { mode: "normal", in2: "effect1_dropShadow_2719_19242", result: "effect2_dropShadow_2719_19242" }), _jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect2_dropShadow_2719_19242", result: "shape" })] }), _jsxs("linearGradient", { id: "paint0_linear_2719_19242", x1: "25.9429", y1: "21.4865", x2: "71.2", y2: "64.0007", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#D0D5DD" }), _jsx("stop", { offset: "0.350715", stopColor: "white", stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "paint1_linear_2719_19242", x1: "53.0286", y1: "10.8571", x2: "109.6", y2: "64", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#D0D5DD" }), _jsx("stop", { offset: "0.350715", stopColor: "white", stopOpacity: "0" })] }), _jsxs("linearGradient", { id: "paint2_linear_2719_19242", x1: "92.4", y1: "26.7992", x2: "132", y2: "63.9992", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#D0D5DD" }), _jsx("stop", { offset: "0.350715", stopColor: "white", stopOpacity: "0" })] })] })] }));
7
- }
@@ -1 +0,0 @@
1
- export declare function FeatureFlag(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,29 +0,0 @@
1
- 'use client';
2
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
- import { useRouter, useSearchParams } from 'next/navigation';
4
- import { useEffect } from 'react';
5
- import { FEATURE_FLAG_KEY, useFeatureFlag, } from '../../client/hooks/useFeatureFlag.js';
6
- export function FeatureFlag() {
7
- const { featureFlagEnabled, setFeatureFlagEnabled } = useFeatureFlag();
8
- const searchParams = useSearchParams();
9
- const router = useRouter();
10
- useEffect(() => {
11
- const futureFlagParam = searchParams.get('future');
12
- if (futureFlagParam !== null) {
13
- const isEnabled = futureFlagParam === 'true';
14
- setFeatureFlagEnabled(isEnabled);
15
- localStorage.setItem(FEATURE_FLAG_KEY, isEnabled.toString());
16
- }
17
- }, [searchParams, setFeatureFlagEnabled]);
18
- function disableFeatureFlag() {
19
- setFeatureFlagEnabled(false);
20
- localStorage.removeItem(FEATURE_FLAG_KEY);
21
- const params = new URLSearchParams(searchParams.toString());
22
- params.delete('future');
23
- router.replace(`?${params.toString()}`, { scroll: false });
24
- }
25
- if (!featureFlagEnabled) {
26
- return null;
27
- }
28
- return (_jsx("div", { className: "fixed bottom-3 flex w-full flex-col items-center justify-center", children: _jsxs("div", { className: "bg-black/70 p-1", children: ["Experimental features are enabled.", ' ', _jsxs("button", { onClick: () => disableFeatureFlag(), className: "cursor-pointer underline", children: [' ', "Disable"] })] }) }));
29
- }
@@ -1 +0,0 @@
1
- export * from './FeatureFlag';
@@ -1 +0,0 @@
1
- export * from './FeatureFlag.js';
@@ -1,2 +0,0 @@
1
- import type { Game } from '@opexa/portal-sdk-core';
2
- export declare const GameContext: import("react").Context<Game>, useGameContext: () => Game;
@@ -1,2 +0,0 @@
1
- import { createContext } from '../../client/utils/index.js';
2
- export const [GameContext, useGameContext] = createContext();
@@ -1,10 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- export interface InfiniteScrollProps {
3
- loader?: ReactNode;
4
- hasMore?: boolean;
5
- loadMore: () => Promise<void> | void;
6
- children?: ReactNode;
7
- style?: React.CSSProperties;
8
- className?: string;
9
- }
10
- export declare function InfiniteScroll(props: InfiniteScrollProps): import("react/jsx-runtime").JSX.Element;