@opexa/portal-components 0.0.2 → 0.0.4

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 (687) hide show
  1. package/dist/components/Account/Account.d.ts +12 -0
  2. package/dist/components/Account/Account.jsx +172 -0
  3. package/dist/components/Account/index.d.ts +1 -0
  4. package/dist/components/Account/index.js +1 -0
  5. package/dist/components/Banner/Banner.d.ts +11 -0
  6. package/dist/components/Banner/Banner.jsx +52 -0
  7. package/dist/components/Banner/index.d.ts +1 -0
  8. package/dist/components/Banner/index.js +1 -0
  9. package/dist/components/BetRecords/BetRecords.d.ts +7 -0
  10. package/dist/components/BetRecords/BetRecords.jsx +4 -0
  11. package/dist/components/BetRecords/BetRecordsContent.d.ts +2 -0
  12. package/dist/components/BetRecords/BetRecordsContent.jsx +413 -0
  13. package/dist/components/BetRecords/index.d.ts +1 -0
  14. package/dist/components/BetRecords/index.js +1 -0
  15. package/dist/components/DepositWithdrawal/AmountChoices.d.ts +11 -0
  16. package/dist/components/DepositWithdrawal/AmountChoices.jsx +31 -0
  17. package/dist/components/DepositWithdrawal/AvailablePromos.d.ts +8 -0
  18. package/dist/components/DepositWithdrawal/AvailablePromos.jsx +78 -0
  19. package/dist/components/DepositWithdrawal/Deposit/Deposit.d.ts +1 -0
  20. package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +82 -0
  21. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.d.ts +1 -0
  22. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +275 -0
  23. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.d.ts +1 -0
  24. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +282 -0
  25. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.d.ts +1 -0
  26. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.jsx +13 -0
  27. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.d.ts +1 -0
  28. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +275 -0
  29. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.d.ts +1 -0
  30. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +15 -0
  31. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +22 -0
  32. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.jsx +8 -0
  33. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -0
  34. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +286 -0
  35. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts +1 -0
  36. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +15 -0
  37. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts +1 -0
  38. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +13 -0
  39. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts +1 -0
  40. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +92 -0
  41. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +14 -0
  42. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +77 -0
  43. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.d.ts +1 -0
  44. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +15 -0
  45. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +24 -0
  46. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.jsx +8 -0
  47. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -0
  48. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +256 -0
  49. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.d.ts +1 -0
  50. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +14 -0
  51. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.d.ts +1 -0
  52. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +107 -0
  53. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.d.ts +1 -0
  54. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +19 -0
  55. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +15 -0
  56. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +81 -0
  57. package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +6 -0
  58. package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +101 -0
  59. package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +4 -0
  60. package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +63 -0
  61. package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +10 -0
  62. package/dist/components/DepositWithdrawal/PaymentMethods.jsx +70 -0
  63. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.d.ts +0 -0
  64. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.jsx +1 -0
  65. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.d.ts +0 -0
  66. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.jsx +1 -0
  67. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.d.ts +0 -0
  68. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.jsx +1 -0
  69. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.d.ts +0 -0
  70. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.jsx +1 -0
  71. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.d.ts +1 -0
  72. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.jsx +3 -0
  73. package/dist/components/DepositWithdrawal/index.d.ts +1 -0
  74. package/dist/components/DepositWithdrawal/index.js +1 -0
  75. package/dist/components/DepositWithdrawal/utils.d.ts +3 -0
  76. package/dist/components/DepositWithdrawal/utils.js +8 -0
  77. package/dist/components/Disclaimer/Disclaimer.d.ts +5 -0
  78. package/dist/components/Disclaimer/Disclaimer.jsx +45 -0
  79. package/dist/components/Disclaimer/index.d.ts +1 -0
  80. package/dist/components/Disclaimer/index.js +1 -0
  81. package/dist/components/Disclaimer/useDisclaimer.d.ts +4 -0
  82. package/dist/components/Disclaimer/useDisclaimer.jsx +39 -0
  83. package/dist/components/Empty/CloudIcon.d.ts +2 -0
  84. package/dist/components/Empty/CloudIcon.jsx +42 -0
  85. package/dist/components/Empty/Empty.d.ts +9 -0
  86. package/dist/components/Empty/Empty.jsx +16 -0
  87. package/dist/components/Empty/index.d.ts +1 -0
  88. package/dist/components/Empty/index.js +1 -0
  89. package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +3 -0
  90. package/dist/components/FeatureFlagProvider/FeatureFlagContext.jsx +8 -0
  91. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.d.ts +6 -0
  92. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.jsx +19 -0
  93. package/dist/components/FeatureFlagProvider/index.d.ts +2 -0
  94. package/dist/components/FeatureFlagProvider/index.js +3 -0
  95. package/dist/components/FeatureFlagProvider/useFeatureFlag.d.ts +8 -0
  96. package/dist/components/FeatureFlagProvider/useFeatureFlag.js +66 -0
  97. package/dist/components/GameLaunch/GameLaunch.d.ts +5 -0
  98. package/dist/components/GameLaunch/GameLaunch.jsx +225 -0
  99. package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +6 -0
  100. package/dist/components/GameLaunch/GameLaunchTrigger.jsx +107 -0
  101. package/dist/components/GameLaunch/index.d.ts +2 -0
  102. package/dist/components/GameLaunch/index.js +2 -0
  103. package/dist/components/GameProviders/GameProviders.d.ts +14 -0
  104. package/dist/components/GameProviders/GameProviders.jsx +3 -0
  105. package/dist/components/Games/Games.d.ts +10 -0
  106. package/dist/components/Games/Games.jsx +57 -0
  107. package/dist/components/Games/GamesContent.d.ts +2 -0
  108. package/dist/components/Games/GamesContent.jsx +138 -0
  109. package/dist/components/Games/index.d.ts +1 -0
  110. package/dist/components/Games/index.js +1 -0
  111. package/dist/components/JackpotCounter/JackpotCounter.d.ts +6 -0
  112. package/dist/components/JackpotCounter/JackpotCounter.jsx +61 -0
  113. package/dist/components/JackpotCounter/JackpotCounterContent.d.ts +2 -0
  114. package/dist/components/JackpotCounter/JackpotCounterContent.jsx +87 -0
  115. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +6 -0
  116. package/dist/components/JackpotCounter/JackpotCounterItem.jsx +108 -0
  117. package/dist/components/JackpotCounter/index.d.ts +1 -0
  118. package/dist/components/JackpotCounter/index.js +1 -0
  119. package/dist/components/Marquee/Marquee.d.ts +5 -0
  120. package/dist/components/Marquee/Marquee.jsx +14 -0
  121. package/dist/components/Marquee/index.d.ts +1 -0
  122. package/dist/components/Marquee/index.js +1 -0
  123. package/dist/components/PortalProvider/PortalProvider.d.ts +2 -0
  124. package/dist/components/PortalProvider/PortalProvider.jsx +67 -0
  125. package/dist/components/PortalProvider/Providers.d.ts +2 -0
  126. package/dist/components/PortalProvider/Providers.jsx +49 -0
  127. package/dist/components/PortalProvider/index.d.ts +1 -0
  128. package/dist/components/PortalProvider/index.js +1 -0
  129. package/dist/components/Promo/Promo.d.ts +4 -0
  130. package/dist/components/Promo/Promo.jsx +50 -0
  131. package/dist/components/Promo/PromoContent.d.ts +2 -0
  132. package/dist/components/Promo/PromoContent.jsx +18 -0
  133. package/dist/components/Promo/index.d.ts +1 -0
  134. package/dist/components/Promo/index.js +1 -0
  135. package/dist/components/Promos/PromoCarousel.d.ts +2 -0
  136. package/dist/components/Promos/PromoCarousel.jsx +110 -0
  137. package/dist/components/Promos/PromoGrid.d.ts +2 -0
  138. package/dist/components/Promos/PromoGrid.jsx +24 -0
  139. package/dist/components/Promos/PromoItem.d.ts +7 -0
  140. package/dist/components/Promos/PromoItem.jsx +24 -0
  141. package/dist/components/Promos/Promos.d.ts +11 -0
  142. package/dist/components/Promos/Promos.jsx +57 -0
  143. package/dist/components/Promos/PromosContent.d.ts +2 -0
  144. package/dist/components/Promos/PromosContent.jsx +110 -0
  145. package/dist/components/Promos/index.d.ts +1 -0
  146. package/dist/components/Promos/index.js +1 -0
  147. package/dist/components/Protected/Protected.d.ts +6 -0
  148. package/dist/components/Protected/Protected.jsx +9 -0
  149. package/dist/components/Protected/index.d.ts +1 -0
  150. package/dist/components/Protected/index.js +1 -0
  151. package/dist/components/SignIn/SignIn.d.ts +8 -0
  152. package/dist/components/SignIn/SignIn.jsx +39 -0
  153. package/dist/components/SignIn/SignInForm.d.ts +1 -0
  154. package/dist/components/SignIn/SignInForm.jsx +308 -0
  155. package/dist/components/SignIn/index.d.ts +1 -0
  156. package/dist/components/SignIn/index.js +1 -0
  157. package/dist/components/SignUp/SignUp.d.ts +8 -0
  158. package/dist/components/SignUp/SignUp.jsx +37 -0
  159. package/dist/components/SignUp/SignUpForm.d.ts +1 -0
  160. package/dist/components/SignUp/SignUpForm.jsx +312 -0
  161. package/dist/components/SignUp/index.d.ts +1 -0
  162. package/dist/components/SignUp/index.js +1 -0
  163. package/dist/components/TopWins/TopWins.d.ts +5 -0
  164. package/dist/components/TopWins/TopWins.jsx +45 -0
  165. package/dist/components/TopWins/TopWinsContent.d.ts +2 -0
  166. package/dist/components/TopWins/TopWinsContent.jsx +51 -0
  167. package/dist/components/TopWins/index.d.ts +1 -0
  168. package/dist/components/TopWins/index.js +1 -0
  169. package/dist/components/TournamentCounter/TournamentCounter.d.ts +6 -0
  170. package/dist/components/TournamentCounter/TournamentCounter.jsx +54 -0
  171. package/dist/components/TournamentCounter/TournamentCounterContent.d.ts +2 -0
  172. package/dist/components/TournamentCounter/TournamentCounterContent.jsx +79 -0
  173. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +8 -0
  174. package/dist/components/TournamentCounter/TournamentCounterItem.jsx +111 -0
  175. package/dist/components/TournamentCounter/index.d.ts +1 -0
  176. package/dist/components/TournamentCounter/index.js +1 -0
  177. package/dist/components/TransactionRecords/DepositRecordsTable.d.ts +1 -0
  178. package/dist/components/TransactionRecords/DepositRecordsTable.jsx +181 -0
  179. package/dist/components/TransactionRecords/TableFilters.d.ts +26 -0
  180. package/dist/components/TransactionRecords/TableFilters.jsx +359 -0
  181. package/dist/components/TransactionRecords/TransactionRecords.d.ts +7 -0
  182. package/dist/components/TransactionRecords/TransactionRecords.jsx +33 -0
  183. package/dist/components/TransactionRecords/TransactionRecordsTable.d.ts +1 -0
  184. package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +141 -0
  185. package/dist/components/TransactionRecords/WithdrawalRecordsTable.d.ts +1 -0
  186. package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +177 -0
  187. package/dist/components/TransactionRecords/index.d.ts +1 -0
  188. package/dist/components/TransactionRecords/index.js +1 -0
  189. package/dist/components/index.d.ts +18 -0
  190. package/dist/components/index.js +18 -0
  191. package/dist/constants/index.d.ts +10 -0
  192. package/dist/constants/index.js +64 -0
  193. package/dist/handlers.d.ts +4 -6
  194. package/dist/handlers.js +291 -303
  195. package/dist/hooks/useAccountQuery/getAccountQueryKey.d.ts +2 -0
  196. package/dist/hooks/useAccountQuery/getAccountQueryKey.js +1 -0
  197. package/dist/hooks/useAccountQuery/prefetchAccountQuery.d.ts +1 -0
  198. package/dist/hooks/useAccountQuery/prefetchAccountQuery.js +75 -0
  199. package/dist/hooks/useAccountQuery/useAccountQuery.d.ts +3 -0
  200. package/dist/hooks/useAccountQuery/useAccountQuery.js +88 -0
  201. package/dist/hooks/useAuthenticateMutation/getAuthenticateMutationKey.d.ts +2 -0
  202. package/dist/hooks/useAuthenticateMutation/getAuthenticateMutationKey.js +1 -0
  203. package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.d.ts +3 -0
  204. package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.js +70 -0
  205. package/dist/hooks/useAvailablePromosQuery/getAvailablePromosQueryKey.d.ts +3 -0
  206. package/dist/hooks/useAvailablePromosQuery/getAvailablePromosQueryKey.js +4 -0
  207. package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.d.ts +2 -0
  208. package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.js +75 -0
  209. package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.d.ts +3 -0
  210. package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.js +88 -0
  211. package/dist/hooks/useBetRecordsQuery/getBetRecordsQueryKey.d.ts +3 -0
  212. package/dist/hooks/useBetRecordsQuery/getBetRecordsQueryKey.js +4 -0
  213. package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.d.ts +2 -0
  214. package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.js +75 -0
  215. package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.d.ts +3 -0
  216. package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.js +91 -0
  217. package/dist/hooks/useCashbacksQuery/getCashbacksQueryKey.d.ts +2 -0
  218. package/dist/hooks/useCashbacksQuery/getCashbacksQueryKey.js +1 -0
  219. package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.d.ts +1 -0
  220. package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.js +67 -0
  221. package/dist/hooks/useCashbacksQuery/useCashbacksQuery.d.ts +3 -0
  222. package/dist/hooks/useCashbacksQuery/useCashbacksQuery.js +68 -0
  223. package/dist/hooks/useControllableState.d.ts +8 -0
  224. package/dist/hooks/useControllableState.js +47 -0
  225. package/dist/hooks/useCooldown.d.ts +43 -0
  226. package/dist/hooks/useCooldown.js +101 -0
  227. package/dist/hooks/useCreateGCashDepositMutation/getCreateGCashDepositMutationKey.d.ts +2 -0
  228. package/dist/hooks/useCreateGCashDepositMutation/getCreateGCashDepositMutationKey.js +3 -0
  229. package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.d.ts +4 -0
  230. package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.js +125 -0
  231. package/dist/hooks/useCreateGameSessionMutation/getCreateGameSessionMutationKey.d.ts +2 -0
  232. package/dist/hooks/useCreateGameSessionMutation/getCreateGameSessionMutationKey.js +3 -0
  233. package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.d.ts +3 -0
  234. package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.js +171 -0
  235. package/dist/hooks/useCreateMayaAppDepositMutation/getCreateMayaAppDepositMutationKey.d.ts +2 -0
  236. package/dist/hooks/useCreateMayaAppDepositMutation/getCreateMayaAppDepositMutationKey.js +3 -0
  237. package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.d.ts +4 -0
  238. package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.js +125 -0
  239. package/dist/hooks/useCreateMayaDepositMutation/getCreateMayaDepositMutationKey.d.ts +2 -0
  240. package/dist/hooks/useCreateMayaDepositMutation/getCreateMayaDepositMutationKey.js +3 -0
  241. package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.d.ts +4 -0
  242. package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.js +125 -0
  243. package/dist/hooks/useCreateOnlineBankDepositMutation/getCreateOnlineBankDepositMutationKey.d.ts +2 -0
  244. package/dist/hooks/useCreateOnlineBankDepositMutation/getCreateOnlineBankDepositMutationKey.js +3 -0
  245. package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.d.ts +4 -0
  246. package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.js +125 -0
  247. package/dist/hooks/useCreateQRPHDepositMutation/getCreateQRPHDepositMutationKey.d.ts +2 -0
  248. package/dist/hooks/useCreateQRPHDepositMutation/getCreateQRPHDepositMutationKey.js +3 -0
  249. package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.d.ts +4 -0
  250. package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.js +125 -0
  251. package/dist/hooks/useDepositQuery/getDepositQueryKey.d.ts +2 -0
  252. package/dist/hooks/useDepositQuery/getDepositQueryKey.js +4 -0
  253. package/dist/hooks/useDepositQuery/prefetchDepositQuery.d.ts +1 -0
  254. package/dist/hooks/useDepositQuery/prefetchDepositQuery.js +75 -0
  255. package/dist/hooks/useDepositQuery/useDepositQuery.d.ts +3 -0
  256. package/dist/hooks/useDepositQuery/useDepositQuery.js +88 -0
  257. package/dist/hooks/useDepositRecordsQuery/getDepositRecordsQueryKey.d.ts +3 -0
  258. package/dist/hooks/useDepositRecordsQuery/getDepositRecordsQueryKey.js +4 -0
  259. package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.d.ts +2 -0
  260. package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.js +75 -0
  261. package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.d.ts +3 -0
  262. package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.js +93 -0
  263. package/dist/hooks/useDepositsCountQuery/getDepositsCountQueryKey.d.ts +2 -0
  264. package/dist/hooks/useDepositsCountQuery/getDepositsCountQueryKey.js +3 -0
  265. package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.d.ts +1 -0
  266. package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.js +75 -0
  267. package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.d.ts +2 -0
  268. package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.js +88 -0
  269. package/dist/hooks/useDisclosure.d.ts +11 -0
  270. package/dist/hooks/useDisclosure.js +13 -0
  271. package/dist/hooks/useEndGameSessionMutation/getEndGameSessionMutationKey.d.ts +2 -0
  272. package/dist/hooks/useEndGameSessionMutation/getEndGameSessionMutationKey.js +3 -0
  273. package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.d.ts +6 -0
  274. package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.js +95 -0
  275. package/dist/hooks/useGamesQuery/getGamesQueryKey.d.ts +3 -0
  276. package/dist/hooks/useGamesQuery/getGamesQueryKey.js +1 -0
  277. package/dist/hooks/useGamesQuery/prefetchGamesQuery.d.ts +2 -0
  278. package/dist/hooks/useGamesQuery/prefetchGamesQuery.js +80 -0
  279. package/dist/hooks/useGamesQuery/useGamesQuery.d.ts +3 -0
  280. package/dist/hooks/useGamesQuery/useGamesQuery.js +33 -0
  281. package/dist/hooks/useGlobalStore.d.ts +42 -0
  282. package/dist/hooks/useGlobalStore.js +76 -0
  283. package/dist/hooks/useInfiniteQueryHelper.d.ts +31 -0
  284. package/dist/hooks/useInfiniteQueryHelper.js +121 -0
  285. package/dist/hooks/useInstapayBankListQuery/getInstapayBankListQueryKey.d.ts +2 -0
  286. package/dist/hooks/useInstapayBankListQuery/getInstapayBankListQueryKey.js +3 -0
  287. package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.d.ts +1 -0
  288. package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.js +75 -0
  289. package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.d.ts +3 -0
  290. package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.js +88 -0
  291. package/dist/hooks/useIsMayaSessionValidQuery/getIsMayaSessionValidQueryKey.d.ts +2 -0
  292. package/dist/hooks/useIsMayaSessionValidQuery/getIsMayaSessionValidQueryKey.js +3 -0
  293. package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.d.ts +1 -0
  294. package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.js +84 -0
  295. package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.d.ts +2 -0
  296. package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.js +97 -0
  297. package/dist/hooks/useJackpotsQuery/getJackpotsQueryKey.d.ts +3 -0
  298. package/dist/hooks/useJackpotsQuery/getJackpotsQueryKey.js +1 -0
  299. package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.d.ts +2 -0
  300. package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.js +68 -0
  301. package/dist/hooks/useJackpotsQuery/useJackpotsQuery.d.ts +3 -0
  302. package/dist/hooks/useJackpotsQuery/useJackpotsQuery.js +32 -0
  303. package/dist/hooks/useLocaleInfo.d.ts +1 -0
  304. package/dist/hooks/useLocaleInfo.js +7 -0
  305. package/dist/hooks/useMemberVerificationQuery/getMemberVerificationQueryKey.d.ts +2 -0
  306. package/dist/hooks/useMemberVerificationQuery/getMemberVerificationQueryKey.js +1 -0
  307. package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.d.ts +1 -0
  308. package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.js +75 -0
  309. package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.d.ts +3 -0
  310. package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.js +87 -0
  311. package/dist/hooks/useMobileNumberParser.d.ts +8 -0
  312. package/dist/hooks/useMobileNumberParser.js +63 -0
  313. package/dist/hooks/useOnMMA.d.ts +2 -0
  314. package/dist/hooks/useOnMMA.js +5 -0
  315. package/dist/hooks/usePaymentSettingsQuery/getPaymentSettingsQueryKey.d.ts +2 -0
  316. package/dist/hooks/usePaymentSettingsQuery/getPaymentSettingsQueryKey.js +3 -0
  317. package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.d.ts +1 -0
  318. package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.js +75 -0
  319. package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.d.ts +3 -0
  320. package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.js +88 -0
  321. package/dist/hooks/usePlatformQuery/getPlatformQueryKey.d.ts +2 -0
  322. package/dist/hooks/usePlatformQuery/getPlatformQueryKey.js +1 -0
  323. package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.d.ts +1 -0
  324. package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.js +70 -0
  325. package/dist/hooks/usePlatformQuery/usePlatformQuery.d.ts +3 -0
  326. package/dist/hooks/usePlatformQuery/usePlatformQuery.js +65 -0
  327. package/dist/hooks/usePromoQuery/getPromoQueryKey.d.ts +2 -0
  328. package/dist/hooks/usePromoQuery/getPromoQueryKey.js +1 -0
  329. package/dist/hooks/usePromoQuery/prefetchPromoQuery.d.ts +1 -0
  330. package/dist/hooks/usePromoQuery/prefetchPromoQuery.js +67 -0
  331. package/dist/hooks/usePromoQuery/usePromoQuery.d.ts +3 -0
  332. package/dist/hooks/usePromoQuery/usePromoQuery.js +68 -0
  333. package/dist/hooks/usePromosQuery/getPromosQueryKey.d.ts +2 -0
  334. package/dist/hooks/usePromosQuery/getPromosQueryKey.js +1 -0
  335. package/dist/hooks/usePromosQuery/prefetchPromosQuery.d.ts +1 -0
  336. package/dist/hooks/usePromosQuery/prefetchPromosQuery.js +67 -0
  337. package/dist/hooks/usePromosQuery/usePromosQuery.d.ts +3 -0
  338. package/dist/hooks/usePromosQuery/usePromosQuery.js +68 -0
  339. package/dist/hooks/useSendVerificationCodeMutation/getSendVerificationCodeMutationKey.d.ts +2 -0
  340. package/dist/hooks/useSendVerificationCodeMutation/getSendVerificationCodeMutationKey.js +3 -0
  341. package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.d.ts +3 -0
  342. package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js +68 -0
  343. package/dist/hooks/useSessionQuery/getSessionQueryKey.d.ts +2 -0
  344. package/dist/hooks/useSessionQuery/getSessionQueryKey.js +1 -0
  345. package/dist/hooks/useSessionQuery/prefetchSessionQuery.d.ts +1 -0
  346. package/dist/hooks/useSessionQuery/prefetchSessionQuery.js +53 -0
  347. package/dist/hooks/useSessionQuery/useSessionQuery.d.ts +2 -0
  348. package/dist/hooks/useSessionQuery/useSessionQuery.js +60 -0
  349. package/dist/hooks/useSignOutMutation/getSignOutMutationKey.d.ts +2 -0
  350. package/dist/hooks/useSignOutMutation/getSignOutMutationKey.js +1 -0
  351. package/dist/hooks/useSignOutMutation/useSignOutMutation.d.ts +2 -0
  352. package/dist/hooks/useSignOutMutation/useSignOutMutation.js +69 -0
  353. package/dist/hooks/useSignUpMutation/getSignUpMutationKey.d.ts +2 -0
  354. package/dist/hooks/useSignUpMutation/getSignUpMutationKey.js +1 -0
  355. package/dist/hooks/useSignUpMutation/useSignUpMutation.d.ts +5 -0
  356. package/dist/hooks/useSignUpMutation/useSignUpMutation.js +65 -0
  357. package/dist/hooks/useSigninMutation/getSignInMutationKey.d.ts +2 -0
  358. package/dist/hooks/useSigninMutation/getSignInMutationKey.js +1 -0
  359. package/dist/hooks/useSigninMutation/useSignInMutation.d.ts +4 -0
  360. package/dist/hooks/useSigninMutation/useSignInMutation.js +73 -0
  361. package/dist/hooks/useSiteQuery/getSiteQueryKey.d.ts +2 -0
  362. package/dist/hooks/useSiteQuery/getSiteQueryKey.js +1 -0
  363. package/dist/hooks/useSiteQuery/prefetchSiteQuery.d.ts +1 -0
  364. package/dist/hooks/useSiteQuery/prefetchSiteQuery.js +70 -0
  365. package/dist/hooks/useSiteQuery/useSiteQuery.d.ts +3 -0
  366. package/dist/hooks/useSiteQuery/useSiteQuery.js +68 -0
  367. package/dist/hooks/useTopWinsQuery/getTopWinsQueryKey.d.ts +2 -0
  368. package/dist/hooks/useTopWinsQuery/getTopWinsQueryKey.js +1 -0
  369. package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.d.ts +1 -0
  370. package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.js +67 -0
  371. package/dist/hooks/useTopWinsQuery/useTopWinsQuery.d.ts +3 -0
  372. package/dist/hooks/useTopWinsQuery/useTopWinsQuery.js +66 -0
  373. package/dist/hooks/useTournamentsQuery/getTournamentsQueryKey.d.ts +3 -0
  374. package/dist/hooks/useTournamentsQuery/getTournamentsQueryKey.js +4 -0
  375. package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.d.ts +2 -0
  376. package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.js +68 -0
  377. package/dist/hooks/useTournamentsQuery/useTournamentsQuery.d.ts +3 -0
  378. package/dist/hooks/useTournamentsQuery/useTournamentsQuery.js +33 -0
  379. package/dist/hooks/useTransactionRecordsQuery/getTransactionRecordsQueryKey.d.ts +3 -0
  380. package/dist/hooks/useTransactionRecordsQuery/getTransactionRecordsQueryKey.js +4 -0
  381. package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.d.ts +2 -0
  382. package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.js +75 -0
  383. package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.d.ts +3 -0
  384. package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.js +93 -0
  385. package/dist/hooks/useWalletQuery/getWalletQueryKey.d.ts +2 -0
  386. package/dist/hooks/useWalletQuery/getWalletQueryKey.js +1 -0
  387. package/dist/hooks/useWalletQuery/prefetchWalletQuery.d.ts +1 -0
  388. package/dist/hooks/useWalletQuery/prefetchWalletQuery.js +75 -0
  389. package/dist/hooks/useWalletQuery/useWalletQuery.d.ts +3 -0
  390. package/dist/hooks/useWalletQuery/useWalletQuery.js +87 -0
  391. package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.d.ts +3 -0
  392. package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.js +1 -0
  393. package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.d.ts +2 -0
  394. package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.js +75 -0
  395. package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.d.ts +3 -0
  396. package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.js +94 -0
  397. package/dist/icons/AlertCircleIcon.d.ts +2 -0
  398. package/dist/icons/AlertCircleIcon.jsx +5 -0
  399. package/dist/icons/AlertTriangle.d.ts +2 -0
  400. package/dist/icons/AlertTriangle.jsx +5 -0
  401. package/dist/icons/ArrowLeftIcon.d.ts +2 -0
  402. package/dist/icons/ArrowLeftIcon.jsx +5 -0
  403. package/dist/icons/ArrowNarrowUpRightIcon.d.ts +2 -0
  404. package/dist/icons/ArrowNarrowUpRightIcon.jsx +5 -0
  405. package/dist/icons/ArrowRightIcon.d.ts +2 -0
  406. package/dist/icons/ArrowRightIcon.jsx +5 -0
  407. package/dist/icons/Award02Icon.d.ts +2 -0
  408. package/dist/icons/Award02Icon.jsx +5 -0
  409. package/dist/icons/BankIcon.d.ts +2 -0
  410. package/dist/icons/BankIcon.jsx +5 -0
  411. package/dist/icons/CheckCircleBrokenIcon.d.ts +2 -0
  412. package/dist/icons/CheckCircleBrokenIcon.jsx +5 -0
  413. package/dist/icons/CheckIcon.d.ts +2 -0
  414. package/dist/icons/CheckIcon.jsx +5 -0
  415. package/dist/icons/ChevronDownIcon.d.ts +2 -0
  416. package/dist/icons/ChevronDownIcon.jsx +5 -0
  417. package/dist/icons/ChevronLeftIcon.d.ts +2 -0
  418. package/dist/icons/ChevronLeftIcon.jsx +5 -0
  419. package/dist/icons/ChevronRightIcon.d.ts +2 -0
  420. package/dist/icons/ChevronRightIcon.jsx +5 -0
  421. package/dist/icons/ChevronUpIcon.d.ts +2 -0
  422. package/dist/icons/ChevronUpIcon.jsx +5 -0
  423. package/dist/icons/Expand03Icon.d.ts +2 -0
  424. package/dist/icons/Expand03Icon.jsx +5 -0
  425. package/dist/icons/FacebookIcon.d.ts +2 -0
  426. package/dist/icons/FacebookIcon.jsx +6 -0
  427. package/dist/icons/File02Icon.d.ts +2 -0
  428. package/dist/icons/File02Icon.jsx +5 -0
  429. package/dist/icons/Gift01Icon.d.ts +2 -0
  430. package/dist/icons/Gift01Icon.jsx +5 -0
  431. package/dist/icons/GoogleIcon.d.ts +2 -0
  432. package/dist/icons/GoogleIcon.jsx +9 -0
  433. package/dist/icons/Logout01Icon.d.ts +2 -0
  434. package/dist/icons/Logout01Icon.jsx +5 -0
  435. package/dist/icons/QrCode02Icon.d.ts +2 -0
  436. package/dist/icons/QrCode02Icon.jsx +5 -0
  437. package/dist/icons/SpinnerIcon.d.ts +2 -0
  438. package/dist/icons/SpinnerIcon.jsx +9 -0
  439. package/dist/icons/User01Icon.d.ts +2 -0
  440. package/dist/icons/User01Icon.jsx +5 -0
  441. package/dist/icons/Wallet02Icon.d.ts +2 -0
  442. package/dist/icons/Wallet02Icon.jsx +5 -0
  443. package/dist/icons/XIcon.d.ts +1 -0
  444. package/dist/icons/XIcon.jsx +5 -0
  445. package/dist/images/bank-icon.png +0 -0
  446. package/dist/images/images/QRPh.png +0 -0
  447. package/dist/images/images/ball.png +0 -0
  448. package/dist/images/images/bank-icon.png +0 -0
  449. package/dist/images/images/card.png +0 -0
  450. package/dist/images/images/close-chest.png +0 -0
  451. package/dist/images/images/gcash.png +0 -0
  452. package/dist/images/images/qrph-icon.png +0 -0
  453. package/dist/images/maya.png +0 -0
  454. package/dist/images/online-bank.png +0 -0
  455. package/dist/images/open-chest.png +0 -0
  456. package/dist/images/pagcor.png +0 -0
  457. package/dist/images/qrph-icon.png +0 -0
  458. package/dist/images/responsible-gaming.png +0 -0
  459. package/dist/images/trophy.png +0 -0
  460. package/dist/index.d.ts +1 -144
  461. package/dist/index.js +1 -7654
  462. package/dist/middleware.d.ts +2 -5
  463. package/dist/middleware.js +90 -90
  464. package/dist/services/client/authenticate.d.ts +2 -0
  465. package/dist/services/client/authenticate.js +76 -0
  466. package/dist/services/client/getSession.d.ts +2 -0
  467. package/dist/services/client/getSession.js +59 -0
  468. package/dist/services/client/signIn.d.ts +3 -0
  469. package/dist/services/client/signIn.js +77 -0
  470. package/dist/services/client/signOut.d.ts +1 -0
  471. package/dist/services/client/signOut.js +61 -0
  472. package/dist/services/server/authenticate.d.ts +2 -0
  473. package/dist/services/server/authenticate.js +69 -0
  474. package/dist/services/server/getSession.d.ts +2 -0
  475. package/dist/services/server/getSession.js +55 -0
  476. package/dist/services/server/signIn.d.ts +2 -0
  477. package/dist/services/server/signIn.js +74 -0
  478. package/dist/services/server/signOut.d.ts +1 -0
  479. package/dist/services/server/signOut.js +67 -0
  480. package/dist/tsconfig.build.tsbuildinfo +1 -0
  481. package/dist/types/index.d.ts +63 -0
  482. package/dist/types/index.js +1 -0
  483. package/dist/ui/AlertDialog/AlertDialog.d.ts +508 -0
  484. package/dist/ui/AlertDialog/AlertDialog.jsx +17 -0
  485. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +46 -0
  486. package/dist/ui/AlertDialog/alertDialog.recipe.js +17 -0
  487. package/dist/ui/AlertDialog/index.d.ts +1 -0
  488. package/dist/ui/AlertDialog/index.js +1 -0
  489. package/dist/ui/Avatar/Avatar.d.ts +68 -0
  490. package/dist/ui/Avatar/Avatar.jsx +9 -0
  491. package/dist/ui/Avatar/avatar.recipe.d.ts +22 -0
  492. package/dist/ui/Avatar/avatar.recipe.js +21 -0
  493. package/dist/ui/Avatar/index.d.ts +1 -0
  494. package/dist/ui/Avatar/index.js +1 -0
  495. package/dist/ui/Badge/Badge.d.ts +167 -0
  496. package/dist/ui/Badge/Badge.jsx +10 -0
  497. package/dist/ui/Badge/badge.anatomy.d.ts +1 -0
  498. package/dist/ui/Badge/badge.anatomy.js +2 -0
  499. package/dist/ui/Badge/badge.recipe.d.ts +52 -0
  500. package/dist/ui/Badge/badge.recipe.js +67 -0
  501. package/dist/ui/Badge/index.d.ts +1 -0
  502. package/dist/ui/Badge/index.js +1 -0
  503. package/dist/ui/Button/Button.d.ts +7 -0
  504. package/dist/ui/Button/Button.jsx +19 -0
  505. package/dist/ui/Button/button.recipe.d.ts +57 -0
  506. package/dist/ui/Button/button.recipe.js +46 -0
  507. package/dist/ui/Button/index.d.ts +1 -0
  508. package/dist/ui/Button/index.js +1 -0
  509. package/dist/ui/Checkbox/Checkbox.d.ts +286 -0
  510. package/dist/ui/Checkbox/Checkbox.jsx +13 -0
  511. package/dist/ui/Checkbox/checkbox.recipe.d.ts +40 -0
  512. package/dist/ui/Checkbox/checkbox.recipe.js +40 -0
  513. package/dist/ui/Checkbox/index.d.ts +1 -0
  514. package/dist/ui/Checkbox/index.js +1 -0
  515. package/dist/ui/Clipboard/Clipboard.d.ts +224 -0
  516. package/dist/ui/Clipboard/Clipboard.jsx +12 -0
  517. package/dist/ui/Clipboard/clipboard.recipe.d.ts +37 -0
  518. package/dist/ui/Clipboard/clipboard.recipe.js +38 -0
  519. package/dist/ui/Clipboard/index.d.ts +1 -0
  520. package/dist/ui/Clipboard/index.js +1 -0
  521. package/dist/ui/Combobox/Combobox.d.ts +1 -0
  522. package/dist/ui/Combobox/Combobox.jsx +2 -0
  523. package/dist/ui/Combobox/combobox.recipe.d.ts +0 -0
  524. package/dist/ui/Combobox/combobox.recipe.js +1 -0
  525. package/dist/ui/Combobox/index.d.ts +1 -0
  526. package/dist/ui/Combobox/index.js +1 -0
  527. package/dist/ui/DatePicker/DatePicker.d.ts +2114 -0
  528. package/dist/ui/DatePicker/DatePicker.jsx +30 -0
  529. package/dist/ui/DatePicker/datePicker.recipe.d.ts +88 -0
  530. package/dist/ui/DatePicker/datePicker.recipe.js +15 -0
  531. package/dist/ui/DatePicker/index.d.ts +1 -0
  532. package/dist/ui/DatePicker/index.js +1 -0
  533. package/dist/ui/Dialog/Dialog.d.ts +508 -0
  534. package/dist/ui/Dialog/Dialog.jsx +17 -0
  535. package/dist/ui/Dialog/dialog.recipe.d.ts +46 -0
  536. package/dist/ui/Dialog/dialog.recipe.js +12 -0
  537. package/dist/ui/Dialog/index.d.ts +1 -0
  538. package/dist/ui/Dialog/index.js +1 -0
  539. package/dist/ui/Drawer/Drawer.d.ts +310 -0
  540. package/dist/ui/Drawer/Drawer.jsx +17 -0
  541. package/dist/ui/Drawer/drawer.recipe.d.ts +28 -0
  542. package/dist/ui/Drawer/drawer.recipe.js +24 -0
  543. package/dist/ui/Drawer/index.d.ts +1 -0
  544. package/dist/ui/Drawer/index.js +1 -0
  545. package/dist/ui/Field/Field.d.ts +303 -0
  546. package/dist/ui/Field/Field.jsx +13 -0
  547. package/dist/ui/Field/field.recipe.d.ts +43 -0
  548. package/dist/ui/Field/field.recipe.js +47 -0
  549. package/dist/ui/Field/index.d.ts +1 -0
  550. package/dist/ui/Field/index.js +1 -0
  551. package/dist/ui/IconButton/IconButton.d.ts +7 -0
  552. package/dist/ui/IconButton/IconButton.jsx +19 -0
  553. package/dist/ui/IconButton/iconButton.recipe.d.ts +80 -0
  554. package/dist/ui/IconButton/iconButton.recipe.js +17 -0
  555. package/dist/ui/IconButton/index.d.ts +1 -0
  556. package/dist/ui/IconButton/index.js +1 -0
  557. package/dist/ui/Menu/Menu.d.ts +1 -0
  558. package/dist/ui/Menu/Menu.jsx +2 -0
  559. package/dist/ui/Menu/index.d.ts +1 -0
  560. package/dist/ui/Menu/index.js +1 -0
  561. package/dist/ui/Menu/menu.recipe.d.ts +0 -0
  562. package/dist/ui/Menu/menu.recipe.js +1 -0
  563. package/dist/ui/NumberInput/NumberInput.d.ts +202 -0
  564. package/dist/ui/NumberInput/NumberInput.jsx +14 -0
  565. package/dist/ui/NumberInput/index.d.ts +1 -0
  566. package/dist/ui/NumberInput/index.js +1 -0
  567. package/dist/ui/NumberInput/numberInput.recipe.d.ts +25 -0
  568. package/dist/ui/NumberInput/numberInput.recipe.js +24 -0
  569. package/dist/ui/PinInput/PinInput.d.ts +163 -0
  570. package/dist/ui/PinInput/PinInput.jsx +11 -0
  571. package/dist/ui/PinInput/index.d.ts +1 -0
  572. package/dist/ui/PinInput/index.js +1 -0
  573. package/dist/ui/PinInput/pinInput.recipe.d.ts +40 -0
  574. package/dist/ui/PinInput/pinInput.recipe.js +38 -0
  575. package/dist/ui/Popover/Popover.d.ts +508 -0
  576. package/dist/ui/Popover/Popover.jsx +17 -0
  577. package/dist/ui/Popover/index.d.ts +1 -0
  578. package/dist/ui/Popover/index.js +1 -0
  579. package/dist/ui/Popover/popover.recipe.d.ts +46 -0
  580. package/dist/ui/Popover/popover.recipe.js +9 -0
  581. package/dist/ui/Presence.d.ts +2 -0
  582. package/dist/ui/Presence.jsx +5 -0
  583. package/dist/ui/Progress/Progress.d.ts +1 -0
  584. package/dist/ui/Progress/Progress.jsx +2 -0
  585. package/dist/ui/Progress/index.d.ts +1 -0
  586. package/dist/ui/Progress/index.js +1 -0
  587. package/dist/ui/Progress/progress.recipe.d.ts +0 -0
  588. package/dist/ui/Progress/progress.recipe.js +1 -0
  589. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +226 -0
  590. package/dist/ui/SegmentGroup/SegmentGroup.jsx +14 -0
  591. package/dist/ui/SegmentGroup/index.d.ts +1 -0
  592. package/dist/ui/SegmentGroup/index.js +1 -0
  593. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +37 -0
  594. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +33 -0
  595. package/dist/ui/Select/Select.d.ts +739 -0
  596. package/dist/ui/Select/Select.jsx +24 -0
  597. package/dist/ui/Select/index.d.ts +1 -0
  598. package/dist/ui/Select/index.js +1 -0
  599. package/dist/ui/Select/select.recipe.d.ts +49 -0
  600. package/dist/ui/Select/select.recipe.js +37 -0
  601. package/dist/ui/Table/Table.d.ts +301 -0
  602. package/dist/ui/Table/Table.jsx +12 -0
  603. package/dist/ui/Table/index.d.ts +1 -0
  604. package/dist/ui/Table/index.js +1 -0
  605. package/dist/ui/Table/table.anatomy.d.ts +1 -0
  606. package/dist/ui/Table/table.anatomy.js +2 -0
  607. package/dist/ui/Table/table.recipe.d.ts +43 -0
  608. package/dist/ui/Table/table.recipe.js +27 -0
  609. package/dist/ui/Tabs/Tabs.d.ts +187 -0
  610. package/dist/ui/Tabs/Tabs.jsx +11 -0
  611. package/dist/ui/Tabs/index.d.ts +1 -0
  612. package/dist/ui/Tabs/index.js +1 -0
  613. package/dist/ui/Tabs/tabs.recipe.d.ts +37 -0
  614. package/dist/ui/Tabs/tabs.recipe.js +33 -0
  615. package/dist/ui/Tooltip/Tooltip.d.ts +1 -0
  616. package/dist/ui/Tooltip/Tooltip.jsx +2 -0
  617. package/dist/ui/Tooltip/index.d.ts +1 -0
  618. package/dist/ui/Tooltip/index.js +1 -0
  619. package/dist/ui/Tooltip/tooltip.recipe.d.ts +0 -0
  620. package/dist/ui/Tooltip/tooltip.recipe.js +1 -0
  621. package/dist/ui/index.d.ts +23 -0
  622. package/dist/ui/index.js +23 -0
  623. package/dist/utils/anatomyToRecipeSlots.d.ts +6 -0
  624. package/dist/utils/anatomyToRecipeSlots.js +13 -0
  625. package/dist/utils/capitalize.d.ts +40 -0
  626. package/dist/utils/capitalize.js +47 -0
  627. package/dist/utils/createPoll.d.ts +28 -0
  628. package/dist/utils/createPoll.js +104 -0
  629. package/dist/utils/createRecipeContext.d.ts +15 -0
  630. package/dist/utils/createRecipeContext.jsx +73 -0
  631. package/dist/utils/createSplitProps.d.ts +3 -0
  632. package/dist/utils/createSplitProps.js +19 -0
  633. package/dist/utils/dataAttr.d.ts +1 -0
  634. package/dist/utils/dataAttr.js +3 -0
  635. package/dist/utils/formatNumber.d.ts +21 -0
  636. package/dist/utils/formatNumber.js +45 -0
  637. package/dist/utils/getGameImageUrl.d.ts +12 -0
  638. package/dist/utils/getGameImageUrl.js +10 -0
  639. package/dist/utils/getLocaleInfo.d.ts +79 -0
  640. package/dist/utils/getLocaleInfo.jsx +237 -0
  641. package/dist/utils/getQueryClient.d.ts +2 -0
  642. package/dist/utils/getQueryClient.js +26 -0
  643. package/dist/utils/index.d.ts +13 -0
  644. package/dist/utils/index.js +13 -0
  645. package/dist/utils/isMobile.d.ts +5 -0
  646. package/dist/utils/isMobile.js +16 -0
  647. package/dist/utils/parseDecimal.d.ts +2 -0
  648. package/dist/utils/parseDecimal.js +18 -0
  649. package/dist/utils/toaster.d.ts +2 -0
  650. package/dist/utils/toaster.js +8 -0
  651. package/package.json +157 -13
  652. package/dist/JackpotCounter.module-5D2TMSET.module.css +0 -46
  653. package/dist/chunk-CA3CKIFK.mjs +0 -74
  654. package/dist/chunk-CA3CKIFK.mjs.map +0 -1
  655. package/dist/chunk-J5LGTIGS.mjs +0 -10
  656. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  657. package/dist/chunk-WGWFJYET.mjs +0 -1229
  658. package/dist/chunk-WGWFJYET.mjs.map +0 -1
  659. package/dist/handlers.d.mts +0 -43
  660. package/dist/handlers.js.map +0 -1
  661. package/dist/handlers.mjs +0 -267
  662. package/dist/handlers.mjs.map +0 -1
  663. package/dist/index.d.mts +0 -144
  664. package/dist/index.js.map +0 -1
  665. package/dist/index.mjs +0 -6422
  666. package/dist/index.mjs.map +0 -1
  667. package/dist/middleware.d.mts +0 -8
  668. package/dist/middleware.js.map +0 -1
  669. package/dist/middleware.mjs +0 -45
  670. package/dist/middleware.mjs.map +0 -1
  671. package/dist/ui.d.mts +0 -6904
  672. package/dist/ui.d.ts +0 -6904
  673. package/dist/ui.js +0 -1280
  674. package/dist/ui.js.map +0 -1
  675. package/dist/ui.mjs +0 -48
  676. package/dist/ui.mjs.map +0 -1
  677. /package/dist/{QRPh-LURVHEVK.png → images/QRPh.png} +0 -0
  678. /package/dist/{ball-TSKR3KCL.png → images/ball.png} +0 -0
  679. /package/dist/{card-DTJVRZI7.png → images/card.png} +0 -0
  680. /package/dist/{close-chest-T4YK5KYS.png → images/close-chest.png} +0 -0
  681. /package/dist/{gcash-3TV2ZD5Z.png → images/gcash.png} +0 -0
  682. /package/dist/{maya-2LESMCYJ.png → images/images/maya.png} +0 -0
  683. /package/dist/{online-bank-ZRRABICE.png → images/images/online-bank.png} +0 -0
  684. /package/dist/{open-chest-XMGW5QZE.png → images/images/open-chest.png} +0 -0
  685. /package/dist/{pagcor-AFUY5PSY.png → images/images/pagcor.png} +0 -0
  686. /package/dist/{responsible-gaming-MQQBK5RV.png → images/images/responsible-gaming.png} +0 -0
  687. /package/dist/{trophy-QC26LEAT.png → images/images/trophy.png} +0 -0
@@ -0,0 +1,138 @@
1
+ 'use client';
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 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
+ return g.next = verb(0), g["throw"] = verb(1), g["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
+ import useEmblaCarousel from 'embla-carousel-react';
39
+ import Image from 'next/image';
40
+ import Link from 'next/link';
41
+ import { useCallback, useEffect, useState } from 'react';
42
+ import { twMerge } from 'tailwind-merge';
43
+ import { useGamesQuery } from '../../hooks/useGamesQuery/useGamesQuery.js';
44
+ import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
45
+ import { ArrowRightIcon } from '../../icons/ArrowRightIcon.jsx';
46
+ import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
47
+ import { SpinnerIcon } from '../../icons/SpinnerIcon.jsx';
48
+ import { Button } from '../../ui/index.js';
49
+ import { GameLaunchTrigger } from '../GameLaunch/index.js';
50
+ export function GamesContent(props) {
51
+ var _this = this;
52
+ var _a, _b, _c;
53
+ var numOfRows = (_a = props.numOfRows) !== null && _a !== void 0 ? _a : 1;
54
+ var gamesQuery = useGamesQuery({
55
+ first: (numOfRows + 1) * 6,
56
+ filter: props.filter,
57
+ });
58
+ var games = (_c = (_b = gamesQuery.data) === null || _b === void 0 ? void 0 : _b.pages.map(function (page) { return page.edges.map(function (edge) { return edge.node; }); }).flat()) !== null && _c !== void 0 ? _c : [];
59
+ var _d = useEmblaCarousel({
60
+ align: 'start',
61
+ slidesToScroll: 3,
62
+ breakpoints: {
63
+ '(min-width: 1024px)': {
64
+ slidesToScroll: 6,
65
+ },
66
+ },
67
+ }), emblaRef = _d[0], emblaApi = _d[1];
68
+ var _e = useState(true), prevBtnDisabled = _e[0], setPrevBtnDisabled = _e[1];
69
+ var _f = useState(true), nextBtnDisabled = _f[0], setNextBtnDisabled = _f[1];
70
+ var onPrevButtonClick = useCallback(function () { return emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.scrollPrev(); }, [emblaApi]);
71
+ var onNextButtonClick = useCallback(function () { return __awaiter(_this, void 0, void 0, function () {
72
+ return __generator(this, function (_a) {
73
+ switch (_a.label) {
74
+ case 0:
75
+ if (!(!(emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.canScrollNext()) && gamesQuery.hasNextPage)) return [3 /*break*/, 3];
76
+ return [4 /*yield*/, gamesQuery.fetchNextPage()];
77
+ case 1:
78
+ _a.sent();
79
+ emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.reInit();
80
+ return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(resolve, 1); })];
81
+ case 2:
82
+ _a.sent();
83
+ _a.label = 3;
84
+ case 3:
85
+ emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.scrollNext();
86
+ return [2 /*return*/];
87
+ }
88
+ });
89
+ }); }, [emblaApi, gamesQuery]);
90
+ var onSelect = useCallback(function (emblaApi) {
91
+ setPrevBtnDisabled(!(emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.canScrollPrev()));
92
+ setNextBtnDisabled(!(emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.canScrollNext()));
93
+ }, []);
94
+ useEffect(function () {
95
+ if (!emblaApi)
96
+ return;
97
+ onSelect(emblaApi);
98
+ emblaApi.on('reInit', onSelect).on('select', onSelect);
99
+ }, [emblaApi, onSelect]);
100
+ return (<div className={props.className}>
101
+ <div className="flex items-center">
102
+ <h2 className="text-lg font-semibold">{props.heading}</h2>
103
+ <div className="grow"/>
104
+ <div className="flex items-center justify-center gap-xl">
105
+ <Link href={props.seeAllUrl} className="flex gap-sm text-sm font-semibold">
106
+ See All
107
+ <ChevronRightIcon className="size-5 lg:hidden"/>
108
+ </Link>
109
+ <div className="hidden lg:flex">
110
+ <Button variant="outline" colorScheme="gray" className="rounded-r-none border-r-0" onClick={onPrevButtonClick} disabled={prevBtnDisabled} aria-label="Previous">
111
+ <ArrowLeftIcon className="size-5"/>
112
+ </Button>
113
+ <Button variant="outline" colorScheme="gray" className="rounded-l-none" onClick={onNextButtonClick} disabled={nextBtnDisabled && !gamesQuery.hasNextPage
114
+ ? true
115
+ : gamesQuery.isFetchingNextPage} aria-label="Next">
116
+ {gamesQuery.isFetchingNextPage ? (<SpinnerIcon className="size-5"/>) : (<ArrowRightIcon className="size-5"/>)}
117
+ </Button>
118
+ </div>
119
+ </div>
120
+ </div>
121
+
122
+ <div ref={emblaRef} className="relative mt-lg lg:overflow-hidden">
123
+ <div className={twMerge('grid auto-cols-[calc((100%-(0.375rem*2))/3)] grid-flow-col gap-sm lg:auto-cols-[calc((100%-(0.5rem*5))/6)] lg:gap-md', numOfRows === 3
124
+ ? 'grid-rows-3'
125
+ : numOfRows === 2
126
+ ? 'grid-rows-2'
127
+ : 'grid-rows-1')}>
128
+ {games.map(function (game) { return (<GameLaunchTrigger key={game.id} game={game} className="block w-full">
129
+ <Image src={game.image} alt="" width={200} height={200} priority className="aspect-square w-full rounded-t-md object-cover"/>
130
+
131
+ <span className="bg-gray-50 block w-full truncate rounded-b-md px-2 py-2.5 text-center text-xs font-semibold">
132
+ {game.name}
133
+ </span>
134
+ </GameLaunchTrigger>); })}
135
+ </div>
136
+ </div>
137
+ </div>);
138
+ }
@@ -0,0 +1 @@
1
+ export * from './Games.jsx';
@@ -0,0 +1 @@
1
+ export * from './Games.jsx';
@@ -0,0 +1,6 @@
1
+ export interface JackpotCounterProps {
2
+ heading: string;
3
+ seeAllUrl: string;
4
+ className?: string;
5
+ }
6
+ export declare function JackpotCounter(props: JackpotCounterProps): Promise<import("react").JSX.Element>;
@@ -0,0 +1,61 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ var __generator = (this && this.__generator) || function (thisArg, body) {
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
+ function verb(n) { return function (v) { return step([n, v]); }; }
14
+ function step(op) {
15
+ if (f) throw new TypeError("Generator is already executing.");
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
+ 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;
18
+ if (y = 0, t) op = [op[0] & 2, t.value];
19
+ switch (op[0]) {
20
+ case 0: case 1: t = op; break;
21
+ case 4: _.label++; return { value: op[1], done: false };
22
+ case 5: _.label++; y = op[1]; op = [0]; continue;
23
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
+ default:
25
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
+ if (t[2]) _.ops.pop();
30
+ _.trys.pop(); continue;
31
+ }
32
+ op = body.call(thisArg, _);
33
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
+ }
36
+ };
37
+ import { JackpotCounterContent } from './JackpotCounterContent.jsx';
38
+ export function JackpotCounter(props) {
39
+ return __awaiter(this, void 0, void 0, function () {
40
+ return __generator(this, function (_a) {
41
+ /*
42
+ await prefetchJackpotsQuery({
43
+ first: 100,
44
+ filter: {
45
+ status: {
46
+ equal: 'ACTIVE',
47
+ },
48
+ deleted: {
49
+ equal: false,
50
+ },
51
+ },
52
+ sort: {
53
+ cursor: 'POOL',
54
+ order: 'DESC',
55
+ },
56
+ });
57
+ */
58
+ return [2 /*return*/, <JackpotCounterContent {...props}/>];
59
+ });
60
+ });
61
+ }
@@ -0,0 +1,2 @@
1
+ import type { JackpotCounterProps } from './JackpotCounter.jsx';
2
+ export declare function JackpotCounterContent(props: JackpotCounterProps): import("react").JSX.Element | null;
@@ -0,0 +1,87 @@
1
+ 'use client';
2
+ import useEmblaCarousel from 'embla-carousel-react';
3
+ import Link from 'next/link';
4
+ import { useCallback, useEffect, useState } from 'react';
5
+ import { useJackpotsQuery } from '../../hooks/useJackpotsQuery/useJackpotsQuery.js';
6
+ import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
7
+ import { ArrowRightIcon } from '../../icons/ArrowRightIcon.jsx';
8
+ import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
9
+ import { Button } from '../../ui/index.js';
10
+ import { JackpotCounterItem } from './JackpotCounterItem.jsx';
11
+ export function JackpotCounterContent(props) {
12
+ var _a, _b;
13
+ var _c = useEmblaCarousel({
14
+ align: 'start',
15
+ slidesToScroll: 1,
16
+ }), emblaRef = _c[0], emblaApi = _c[1];
17
+ var scrollPrev = useCallback(function () {
18
+ if (emblaApi)
19
+ emblaApi.scrollPrev();
20
+ }, [emblaApi]);
21
+ var scrollNext = useCallback(function () {
22
+ if (emblaApi)
23
+ emblaApi.scrollNext();
24
+ }, [emblaApi]);
25
+ var _d = useState(false), canScrollPrev = _d[0], setCanScrollPrev = _d[1];
26
+ var _e = useState(false), canScrollNext = _e[0], setCanScrollNext = _e[1];
27
+ var onSelect = useCallback(function () {
28
+ if (!emblaApi)
29
+ return;
30
+ setCanScrollPrev(emblaApi.canScrollPrev());
31
+ setCanScrollNext(emblaApi.canScrollNext());
32
+ }, [emblaApi]);
33
+ useEffect(function () {
34
+ if (!emblaApi)
35
+ return;
36
+ onSelect();
37
+ emblaApi.on('select', onSelect);
38
+ emblaApi.on('reInit', onSelect);
39
+ }, [emblaApi, onSelect]);
40
+ var jackpotsQuery = useJackpotsQuery({
41
+ first: 100,
42
+ filter: {
43
+ status: {
44
+ equal: 'ACTIVE',
45
+ },
46
+ deleted: {
47
+ equal: false,
48
+ },
49
+ },
50
+ sort: {
51
+ cursor: 'POOL',
52
+ order: 'DESC',
53
+ },
54
+ });
55
+ var jackpots = (_b = (_a = jackpotsQuery.data) === null || _a === void 0 ? void 0 : _a.pages[0].edges.map(function (edge) { return edge.node; })) !== null && _b !== void 0 ? _b : [];
56
+ if (jackpots.length <= 0)
57
+ return null;
58
+ return (<div className={props.className}>
59
+ <div className="flex items-center justify-between">
60
+ <div className="text-lg font-semibold">{props.heading}</div>
61
+ <div className="flex items-center md:gap-3xl">
62
+ <Link href={props.seeAllUrl} className="flex gap-sm text-sm font-semibold">
63
+ See All
64
+ <ChevronRightIcon className="size-5 lg:hidden"/>
65
+ </Link>
66
+
67
+ <div className="hidden lg:flex">
68
+ <Button disabled={!canScrollPrev} onClick={scrollPrev} variant="outline" colorScheme="gray" className="rounded-r-none border-r-0" aria-label="Previous">
69
+ <ArrowLeftIcon className="size-5"/>
70
+ </Button>
71
+ <Button disabled={!canScrollNext} onClick={scrollNext} variant="outline" colorScheme="gray" className="rounded-l-none" aria-label="Next">
72
+ <span className="sr-only">Next</span>
73
+ <ArrowRightIcon className="size-5"/>
74
+ </Button>
75
+ </div>
76
+ </div>
77
+ </div>
78
+
79
+ <div className="relative mt-lg lg:overflow-hidden" ref={emblaRef}>
80
+ <div className="flex gap-2.5">
81
+ {jackpots.map(function (jackpot) { return (<JackpotCounterItem key={jackpot.id} jackpot={jackpot} className={jackpots.length < 2
82
+ ? 'w-full'
83
+ : 'w-full lg:w-[calc((100%-0.75rem)/2)]'}/>); })}
84
+ </div>
85
+ </div>
86
+ </div>);
87
+ }
@@ -0,0 +1,6 @@
1
+ import type { Jackpot } from '@opexa/portal-sdk-core';
2
+ export interface JackpotCounterCardProps {
3
+ jackpot: Jackpot;
4
+ className?: string;
5
+ }
6
+ export declare function JackpotCounterItem({ jackpot, className, }: JackpotCounterCardProps): import("react").JSX.Element;
@@ -0,0 +1,108 @@
1
+ 'use client';
2
+ import { Progress } from '@ark-ui/react';
3
+ import Image from 'next/image';
4
+ import { twMerge } from 'tailwind-merge';
5
+ import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
6
+ import { ArrowNarrowUpRightIcon } from '../../icons/ArrowNarrowUpRightIcon.jsx';
7
+ import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
8
+ import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
9
+ import closeChest from '../../images/close-chest.png';
10
+ import openChest from '../../images/open-chest.png';
11
+ import { formatNumber } from '../../utils/formatNumber.js';
12
+ import styles from './JackpotCounter.module.css';
13
+ export function JackpotCounterItem(_a) {
14
+ var _b, _c;
15
+ var jackpot = _a.jackpot, className = _a.className;
16
+ var localeInfo = useLocaleInfo();
17
+ var isPayingOut = jackpot.drawing;
18
+ var jackpotAmount = isPayingOut
19
+ ? jackpot.maximumJackpotPoolLimit
20
+ : jackpot.pool;
21
+ return (<div className={twMerge('bg-gray-50 border-gray-200 flex shrink-0 flex-col space-y-2 rounded-sm border p-3 text-center', className)}>
22
+ <div className="flex w-full justify-between">
23
+ <div className="flex flex-col gap-1">
24
+ {isPayingOut ? (<div className="border-gray-700 bg-gray-300 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium">
25
+ <span className="full bg-gray-900 size-1.5 animate-pulse rounded"/>
26
+ Paying Out
27
+ </div>) : (<div className="border-gray-700 bg-gray-300 flex w-fit items-center rounded-full border px-2 py-0.5 text-xs font-medium">
28
+ <ArrowNarrowUpRightIcon className="size-3.5"/>
29
+ Accumulating
30
+ </div>)}
31
+
32
+ <div className="text-left text-lg font-medium">{jackpot.name}</div>
33
+ <div className="bg-gray-950 text-gray-300 w-fit rounded-md px-2 py-1 text-2xl font-bold">
34
+ {formatNumber(jackpotAmount, {
35
+ currency: localeInfo.currency.code,
36
+ minDecimalPlaces: 2,
37
+ maxDecimalPlaces: 2,
38
+ })}
39
+ </div>
40
+ </div>
41
+
42
+ <div>
43
+ <Image width={100} height={100} src={isPayingOut ? openChest : closeChest} alt="closeChest" quality={100} className="h-25 w-25 size-full"/>
44
+ </div>
45
+ </div>
46
+
47
+ <div className="flex justify-between">
48
+ <div className="text-xs font-medium">
49
+ {formatNumber(0, {
50
+ currency: localeInfo.currency.code,
51
+ compact: true,
52
+ })}
53
+ </div>
54
+
55
+ <div className="relative flex items-center justify-end gap-1.5">
56
+ {isPayingOut ? (<div className="flex w-6 items-center">
57
+ <div className={twMerge('absolute left-0', styles['animate-arrow-red-flash-1'])}>
58
+ <ChevronLeftIcon className="size-4.5"/>
59
+ </div>
60
+ <div className={twMerge('absolute left-1.5', styles['animate-arrow-red-flash-2'])}>
61
+ <ChevronLeftIcon className="size-4.5"/>
62
+ </div>
63
+ <div className={twMerge('absolute left-3', styles['animate-arrow-red-flash-3'])}>
64
+ <ChevronLeftIcon className="size-4.5"/>
65
+ </div>
66
+ </div>) : (<div className="flex w-6 items-center">
67
+ <div className={twMerge('absolute left-0', styles['animate-arrow-green-flash-1'])}>
68
+ <ChevronRightIcon className="size-4.5"/>
69
+ </div>
70
+ <div className={twMerge('absolute left-1.5', styles['animate-arrow-green-flash-2'])}>
71
+ <ChevronRightIcon className="size-4.5"/>
72
+ </div>
73
+ <div className={twMerge('absolute left-3', styles['animate-arrow-green-flash-3'])}>
74
+ <ChevronRightIcon className="size-4.5"/>
75
+ </div>
76
+ </div>)}
77
+
78
+ <div className="text-xs font-medium">
79
+ {formatNumber(jackpot === null || jackpot === void 0 ? void 0 : jackpot.maximumJackpotPoolLimit, {
80
+ currency: localeInfo.currency.code,
81
+ compact: true,
82
+ })}
83
+ </div>
84
+ </div>
85
+ </div>
86
+
87
+ <Progress.Root className="bg-gray-200 h-2 w-full rounded-full" max={100} value={33}>
88
+ <Progress.Track className="bg-gray-950 h-full rounded-full">
89
+ <Progress.Range className="bg-gray-300 h-full rounded-full"/>
90
+ </Progress.Track>
91
+ </Progress.Root>
92
+
93
+ <div className="mt-1 text-start text-[10px]">
94
+ {isPayingOut
95
+ ? "The pot has hit ".concat(formatNumber(jackpot === null || jackpot === void 0 ? void 0 : jackpot.maximumJackpotPoolLimit, {
96
+ currency: localeInfo.currency.code,
97
+ compact: true,
98
+ }), " Play now for your chance to win big! \uD83D\uDD25")
99
+ : getAccumulatingJackpotDescription((_b = Number(jackpot === null || jackpot === void 0 ? void 0 : jackpot.pool)) !== null && _b !== void 0 ? _b : 0, (_c = Number(jackpot === null || jackpot === void 0 ? void 0 : jackpot.maximumJackpotPoolLimit)) !== null && _c !== void 0 ? _c : 0)}
100
+ </div>
101
+ </div>);
102
+ }
103
+ var getAccumulatingJackpotDescription = function (part, total) {
104
+ var percentage = total === 0 ? 0 : (part / total) * 100;
105
+ return percentage <= 90
106
+ ? 'The jackpot is heating up! Keep playing to stay in the action and watch it grow!'
107
+ : '🔥 It’s about to pop! Stay in the game for your shot at the prize!';
108
+ };
@@ -0,0 +1 @@
1
+ export * from './JackpotCounter.jsx';
@@ -0,0 +1 @@
1
+ export * from './JackpotCounter.jsx';
@@ -0,0 +1,5 @@
1
+ export interface MarqueeProps {
2
+ children?: React.ReactNode;
3
+ className?: string;
4
+ }
5
+ export declare function Marquee(props: MarqueeProps): import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import Primitive from 'react-fast-marquee';
2
+ import { twMerge } from 'tailwind-merge';
3
+ export function Marquee(props) {
4
+ return (<div className={twMerge('border-gray-200 text-gray-700 flex gap-lg rounded-lg border p-1 pr-2.5 text-sm font-medium', props.className)}>
5
+ <div className="border-gray-200 flex shrink-0 items-center gap-sm rounded-sm border px-2 py-0.5">
6
+ <span className="bg-green-400 outline-green-400/20 size-2 rounded-full outline-4"/>
7
+ <span>What&apos;s new</span>
8
+ </div>
9
+ <Primitive className="grow">
10
+ {props.children}
11
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
12
+ </Primitive>
13
+ </div>);
14
+ }
@@ -0,0 +1 @@
1
+ export * from './Marquee.jsx';
@@ -0,0 +1 @@
1
+ export * from './Marquee.jsx';
@@ -0,0 +1,2 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ export declare function PortalProvider({ children }: PropsWithChildren): Promise<import("react").JSX.Element>;
@@ -0,0 +1,67 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ var __generator = (this && this.__generator) || function (thisArg, body) {
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
+ function verb(n) { return function (v) { return step([n, v]); }; }
14
+ function step(op) {
15
+ if (f) throw new TypeError("Generator is already executing.");
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
+ 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;
18
+ if (y = 0, t) op = [op[0] & 2, t.value];
19
+ switch (op[0]) {
20
+ case 0: case 1: t = op; break;
21
+ case 4: _.label++; return { value: op[1], done: false };
22
+ case 5: _.label++; y = op[1]; op = [0]; continue;
23
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
+ default:
25
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
+ if (t[2]) _.ops.pop();
30
+ _.trys.pop(); continue;
31
+ }
32
+ op = body.call(thisArg, _);
33
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
+ }
36
+ };
37
+ import { dehydrate, HydrationBoundary } from '@tanstack/react-query';
38
+ import { prefetchPlatformQuery } from '../../hooks/usePlatformQuery/prefetchPlatformQuery.js';
39
+ import { prefetchSessionQuery } from '../../hooks/useSessionQuery/prefetchSessionQuery.js';
40
+ import { prefetchWalletQuery } from '../../hooks/useWalletQuery/prefetchWalletQuery.js';
41
+ import { getQueryClient } from '../../utils/getQueryClient.js';
42
+ import { FeatureFlagProvider } from '../FeatureFlagProvider/index.js';
43
+ import { Providers } from './Providers.jsx';
44
+ export function PortalProvider(_a) {
45
+ return __awaiter(this, arguments, void 0, function (_b) {
46
+ var queryClient;
47
+ var children = _b.children;
48
+ return __generator(this, function (_c) {
49
+ switch (_c.label) {
50
+ case 0:
51
+ queryClient = getQueryClient();
52
+ return [4 /*yield*/, Promise.all([
53
+ prefetchSessionQuery(),
54
+ prefetchPlatformQuery(),
55
+ prefetchWalletQuery(),
56
+ ])];
57
+ case 1:
58
+ _c.sent();
59
+ return [2 /*return*/, (<Providers>
60
+ <HydrationBoundary state={dehydrate(queryClient)}>
61
+ <FeatureFlagProvider>{children}</FeatureFlagProvider>
62
+ </HydrationBoundary>
63
+ </Providers>)];
64
+ }
65
+ });
66
+ });
67
+ }
@@ -0,0 +1,2 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ export declare function Providers({ children }: PropsWithChildren): import("react").JSX.Element;
@@ -0,0 +1,49 @@
1
+ 'use client';
2
+ import { Toast, Toaster } from '@ark-ui/react';
3
+ import { QueryClientProvider } from '@tanstack/react-query';
4
+ import { twMerge } from 'tailwind-merge';
5
+ import { AlertCircleIcon } from '../../icons/AlertCircleIcon.jsx';
6
+ import { XIcon } from '../../icons/XIcon.jsx';
7
+ import { getQueryClient } from '../../utils/getQueryClient.js';
8
+ import { toaster } from '../../utils/toaster.js';
9
+ export function Providers(_a) {
10
+ var children = _a.children;
11
+ var queryClient = getQueryClient();
12
+ return (<QueryClientProvider client={queryClient}>
13
+ {children}
14
+
15
+ <Toaster toaster={toaster}>
16
+ {function (toast) { return (<Toast.Root key={toast.id} className="shadow-xs border-gray-300 group z-[var(--z-index)] flex h-[var(--height)] w-[860px] max-w-full scale-[var(--scale)] items-center gap-lg rounded-xl border bg-white p-xl opacity-[var(--opacity)] transition-all duration-300 [translate:var(--x)_var(--y)_0]">
17
+ <div className={twMerge('flex size-9.5 items-center justify-center rounded-full border-2', toast.type === 'error'
18
+ ? 'border-red-500/15'
19
+ : 'border-green-500/15')}>
20
+ <div className={twMerge('flex size-7 items-center justify-center rounded-full border-2', toast.type === 'error'
21
+ ? 'border-red-500/35'
22
+ : 'border-green-500/35')}>
23
+ <AlertCircleIcon className={twMerge('size-5', toast.type === 'error' ? 'text-red-500' : 'text-green-500')}/>
24
+ </div>
25
+ </div>
26
+
27
+ <div className="grow text-sm leading-none">
28
+ <Toast.Title className="font-semibold">
29
+ {toast.title
30
+ ? toast.title
31
+ : toast.type === 'error'
32
+ ? 'Error'
33
+ : 'Success'}
34
+ </Toast.Title>
35
+ <Toast.Description className="text-gray-700 mt-1">
36
+ {toast.description
37
+ ? toast.description
38
+ : toast.type === 'error'
39
+ ? 'Something went wrong.'
40
+ : 'Operation completed successfully.'}
41
+ </Toast.Description>
42
+ </div>
43
+ <Toast.CloseTrigger className="text-gray-400 hover:text-gray-500 self-start">
44
+ <XIcon className="size-5"/>
45
+ </Toast.CloseTrigger>
46
+ </Toast.Root>); }}
47
+ </Toaster>
48
+ </QueryClientProvider>);
49
+ }
@@ -0,0 +1 @@
1
+ export * from './PortalProvider.jsx';
@@ -0,0 +1 @@
1
+ export * from './PortalProvider.jsx';
@@ -0,0 +1,4 @@
1
+ export interface PromoProps {
2
+ id: string;
3
+ }
4
+ export declare function Promo(props: PromoProps): Promise<import("react").JSX.Element>;