@opexa/portal-components 0.0.29 → 0.0.30

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 (620) hide show
  1. package/dist/client/hooks/useAccountQuery.d.ts +1 -1
  2. package/dist/client/hooks/useAuthenticateMutation.d.ts +1 -1
  3. package/dist/client/hooks/useAvailablePromosQuery.d.ts +1 -1
  4. package/dist/client/hooks/useBetRecordsQuery.d.ts +1 -1
  5. package/dist/client/hooks/useBonusesQuery.d.ts +1 -1
  6. package/dist/client/hooks/useCashbacksQuery.d.ts +1 -1
  7. package/dist/client/hooks/useCreateGCashDepositMutation.d.ts +1 -1
  8. package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +1 -1
  9. package/dist/client/hooks/useCreateGameSessionMutation.d.ts +1 -1
  10. package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +1 -1
  11. package/dist/client/hooks/useCreateMayaAppDepositMutation.d.ts +1 -1
  12. package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +1 -1
  13. package/dist/client/hooks/useCreateMayaDepositMutation.d.ts +1 -1
  14. package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +1 -1
  15. package/dist/client/hooks/useCreateOnlineBankDepositMutation.d.ts +1 -1
  16. package/dist/client/hooks/useCreateQRPHDepositMutation.d.ts +1 -1
  17. package/dist/client/hooks/useDepositQuery.d.ts +1 -1
  18. package/dist/client/hooks/useDepositRecordsQuery.d.ts +1 -1
  19. package/dist/client/hooks/useDepositsCountQuery.d.ts +1 -1
  20. package/dist/client/hooks/useEndGameSessionMutation.d.ts +1 -1
  21. package/dist/client/hooks/useFavoriteGamesQuery.d.ts +1 -1
  22. package/dist/client/hooks/useGamesQuery.d.ts +1 -1
  23. package/dist/client/hooks/useInfiniteQueryHelper.d.ts +1 -1
  24. package/dist/client/hooks/useInstapayBankListQuery.d.ts +1 -1
  25. package/dist/client/hooks/useIsMayaSessionValidQuery.d.ts +1 -1
  26. package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +1 -1
  27. package/dist/client/hooks/useJackpotsQuery.d.ts +1 -1
  28. package/dist/client/hooks/useLocaleInfo.d.ts +1 -1
  29. package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +1 -1
  30. package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -1
  31. package/dist/client/hooks/useMemberVerificationQuery.d.ts +1 -1
  32. package/dist/client/hooks/useMessagesQuery.d.ts +1 -1
  33. package/dist/client/hooks/usePaymentSettingsQuery.d.ts +1 -1
  34. package/dist/client/hooks/usePlatformQuery.d.ts +1 -1
  35. package/dist/client/hooks/useProfileCompletionQuery.d.ts +1 -1
  36. package/dist/client/hooks/usePromoQuery.d.ts +1 -1
  37. package/dist/client/hooks/usePromosQuery.d.ts +1 -1
  38. package/dist/client/hooks/useSendVerificationCodeMutation.d.ts +1 -1
  39. package/dist/client/hooks/useSessionQuery.d.ts +1 -1
  40. package/dist/client/hooks/useSignInMutation.d.ts +1 -1
  41. package/dist/client/hooks/useSignOutMutation.d.ts +1 -1
  42. package/dist/client/hooks/useSignUpMutation.d.ts +1 -1
  43. package/dist/client/hooks/useTopWinsQuery.d.ts +1 -1
  44. package/dist/client/hooks/useTournamentsQuery.d.ts +1 -1
  45. package/dist/client/hooks/useTransactionRecordsQuery.d.ts +1 -1
  46. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +1 -1
  47. package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +1 -1
  48. package/dist/client/hooks/useWalletQuery.d.ts +1 -1
  49. package/dist/client/hooks/useWithdrawalRecordsQuery.d.ts +1 -1
  50. package/dist/client/services/getSession.d.ts +1 -1
  51. package/dist/client/utils/{createRecipeContext.jsx → createRecipeContext.js} +4 -7
  52. package/dist/client/utils/index.js +1 -1
  53. package/dist/components/Account/Account.d.ts +1 -1
  54. package/dist/components/Account/Account.js +127 -0
  55. package/dist/components/Account/index.js +1 -1
  56. package/dist/components/AccountInfo/AccountInfo.d.ts +1 -1
  57. package/dist/components/AccountInfo/AccountInfo.js +18 -0
  58. package/dist/components/AccountInfo/index.js +1 -1
  59. package/dist/components/AccountPaymentMethods/index.js +1 -1
  60. package/dist/components/AccountSecurity/AccountSecurity.d.ts +1 -1
  61. package/dist/components/AccountSecurity/AccountSecurity.js +47 -0
  62. package/dist/components/AccountSecurity/index.js +1 -1
  63. package/dist/components/AccountVerification/index.js +1 -1
  64. package/dist/components/Banner/Banner.d.ts +1 -1
  65. package/dist/components/Banner/Banner.js +38 -0
  66. package/dist/components/Banner/index.js +1 -1
  67. package/dist/components/BetRecords/BetRecords.d.ts +1 -1
  68. package/dist/components/BetRecords/BetRecords.js +192 -0
  69. package/dist/components/BetRecords/index.js +1 -1
  70. package/dist/components/Bonus/Bonus.client.d.ts +1 -1
  71. package/dist/components/Bonus/Bonus.client.js +9 -0
  72. package/dist/components/Bonus/Bonus.d.ts +1 -1
  73. package/dist/components/Bonus/Bonus.js +5 -0
  74. package/dist/components/Bonus/index.js +1 -1
  75. package/dist/components/Bonuses/Bonuses.d.ts +1 -1
  76. package/dist/components/Bonuses/Bonuses.js +15 -0
  77. package/dist/components/Bonuses/index.js +1 -1
  78. package/dist/components/DepositWithdrawal/AmountChoices.d.ts +1 -1
  79. package/dist/components/DepositWithdrawal/{AmountChoices.jsx → AmountChoices.js} +4 -7
  80. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.d.ts +1 -1
  81. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +26 -0
  82. package/dist/components/DepositWithdrawal/Deposit/Deposit.d.ts +1 -1
  83. package/dist/components/DepositWithdrawal/Deposit/{Deposit.jsx → Deposit.js} +10 -20
  84. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.d.ts +1 -1
  85. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/{GCashDeposit.jsx → GCashDeposit.js} +32 -104
  86. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.d.ts +1 -1
  87. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/{MayaAppDeposit.jsx → MayaAppDeposit.js} +34 -106
  88. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.d.ts +1 -1
  89. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/{MayaDeposit.jsx → MayaDeposit.js} +32 -104
  90. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.d.ts +1 -1
  91. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +11 -0
  92. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -1
  93. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +129 -0
  94. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts +1 -1
  95. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +5 -0
  96. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts +1 -1
  97. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +5 -0
  98. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts +1 -1
  99. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +14 -0
  100. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.d.ts +1 -1
  101. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +11 -0
  102. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -1
  103. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +128 -0
  104. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.d.ts +1 -1
  105. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +5 -0
  106. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.d.ts +1 -1
  107. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +18 -0
  108. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.d.ts +1 -1
  109. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +8 -0
  110. package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +1 -1
  111. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +39 -0
  112. package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +1 -1
  113. package/dist/components/DepositWithdrawal/{DepositWithdrawalTrigger.jsx → DepositWithdrawalTrigger.js} +3 -2
  114. package/dist/components/DepositWithdrawal/MayaSessionExpired.d.ts +1 -1
  115. package/dist/components/DepositWithdrawal/MayaSessionExpired.js +5 -0
  116. package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +1 -1
  117. package/dist/components/DepositWithdrawal/{PaymentMethods.jsx → PaymentMethods.js} +7 -23
  118. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.d.ts +1 -1
  119. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/{GCashWithdrawal.jsx → GCashWithdrawal.js} +14 -78
  120. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.d.ts +1 -1
  121. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +128 -0
  122. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.d.ts +1 -1
  123. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/{MayaAppWithdrawal.jsx → MayaAppWithdrawal.js} +16 -69
  124. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.d.ts +1 -1
  125. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/{MayaWithdrawal.jsx → MayaWithdrawal.js} +14 -78
  126. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.d.ts +1 -1
  127. package/dist/components/DepositWithdrawal/Withdrawal/{Withdrawal.jsx → Withdrawal.js} +14 -37
  128. package/dist/components/DepositWithdrawal/index.js +1 -1
  129. package/dist/components/Disclaimer/Disclaimer.d.ts +1 -1
  130. package/dist/components/Disclaimer/Disclaimer.js +14 -0
  131. package/dist/components/Disclaimer/index.js +1 -1
  132. package/dist/components/Empty.d.ts +1 -1
  133. package/dist/components/Empty.js +7 -0
  134. package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +1 -1
  135. package/dist/components/FavoriteGames/FavoriteGames.client.js +31 -0
  136. package/dist/components/FavoriteGames/FavoriteGames.d.ts +1 -1
  137. package/dist/components/FavoriteGames/FavoriteGames.js +7 -0
  138. package/dist/components/FavoriteGames/index.js +1 -1
  139. package/dist/components/GameLaunch/GameLaunch.d.ts +1 -1
  140. package/dist/components/GameLaunch/GameLaunch.js +99 -0
  141. package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +1 -1
  142. package/dist/components/GameLaunch/{GameLaunchTrigger.jsx → GameLaunchTrigger.js} +4 -3
  143. package/dist/components/GameLaunch/index.js +2 -2
  144. package/dist/components/GameProviders/GameProviders.d.ts +2 -2
  145. package/dist/components/GameProviders/GameProviders.js +32 -0
  146. package/dist/components/GameProviders/index.js +1 -1
  147. package/dist/components/Games/Games.client.d.ts +1 -1
  148. package/dist/components/Games/Games.client.js +84 -0
  149. package/dist/components/Games/Games.d.ts +1 -1
  150. package/dist/components/Games/{Games.jsx → Games.js} +3 -2
  151. package/dist/components/Games/index.js +1 -1
  152. package/dist/components/GamesSearch/GamesSearch.d.ts +1 -1
  153. package/dist/components/GamesSearch/GamesSearch.js +38 -0
  154. package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +1 -1
  155. package/dist/components/GamesSearch/{GamesSearchTrigger.jsx → GamesSearchTrigger.js} +3 -2
  156. package/dist/components/GamesSearch/index.js +2 -2
  157. package/dist/components/InfiniteScroll.d.ts +1 -1
  158. package/dist/components/{InfiniteScroll.jsx → InfiniteScroll.js} +2 -7
  159. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +1 -1
  160. package/dist/components/JackpotCounter/{JackpotCounter.client.jsx → JackpotCounter.client.js} +3 -30
  161. package/dist/components/JackpotCounter/JackpotCounter.d.ts +1 -1
  162. package/dist/components/JackpotCounter/{JackpotCounter.jsx → JackpotCounter.js} +3 -2
  163. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -1
  164. package/dist/components/JackpotCounter/JackpotCounterItem.js +114 -0
  165. package/dist/components/JackpotCounter/index.js +1 -1
  166. package/dist/components/Jackpots/JackpotGameProviders.d.ts +2 -2
  167. package/dist/components/Jackpots/JackpotGameProviders.js +38 -0
  168. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +2 -2
  169. package/dist/components/Jackpots/JackpotItemDesktop.js +44 -0
  170. package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
  171. package/dist/components/Jackpots/JackpotItemMobile.js +48 -0
  172. package/dist/components/Jackpots/JackpotRules.d.ts +1 -1
  173. package/dist/components/Jackpots/JackpotRules.js +9 -0
  174. package/dist/components/Jackpots/Jackpots.d.ts +2 -2
  175. package/dist/components/Jackpots/Jackpots.js +26 -0
  176. package/dist/components/Jackpots/index.js +1 -1
  177. package/dist/components/Jackpots/useJackpotItemData.d.ts +2 -2
  178. package/dist/components/Jackpots/{useJackpotItemData.jsx → useJackpotItemData.js} +5 -4
  179. package/dist/components/KYC/KYC.d.ts +1 -1
  180. package/dist/components/KYC/KYC.js +19 -0
  181. package/dist/components/KYC/KYCTrigger.d.ts +1 -1
  182. package/dist/components/KYC/{KYCTrigger.jsx → KYCTrigger.js} +3 -2
  183. package/dist/components/KYC/Step1.d.ts +1 -1
  184. package/dist/components/KYC/Step1.js +10 -0
  185. package/dist/components/KYC/Step2.d.ts +1 -1
  186. package/dist/components/KYC/Step2.js +15 -0
  187. package/dist/components/KYC/Step3.d.ts +1 -1
  188. package/dist/components/KYC/Step3.js +11 -0
  189. package/dist/components/KYC/StepIndicator.d.ts +1 -1
  190. package/dist/components/KYC/StepIndicator.js +13 -0
  191. package/dist/components/KYC/UploadDocument.d.ts +1 -1
  192. package/dist/components/KYC/UploadDocument.js +8 -0
  193. package/dist/components/KYC/UploadSelfie.d.ts +1 -1
  194. package/dist/components/KYC/UploadSelfie.js +8 -0
  195. package/dist/components/KYC/index.js +2 -2
  196. package/dist/components/Marquee/Marquee.d.ts +1 -1
  197. package/dist/components/Marquee/Marquee.js +5 -0
  198. package/dist/components/Marquee/index.js +1 -1
  199. package/dist/components/Messages/MessageItem.d.ts +1 -1
  200. package/dist/components/Messages/MessageItem.js +28 -0
  201. package/dist/components/Messages/MessagePopup.d.ts +1 -1
  202. package/dist/components/Messages/MessagePopup.js +18 -0
  203. package/dist/components/Messages/Messages.d.ts +1 -1
  204. package/dist/components/Messages/Messages.js +31 -0
  205. package/dist/components/Messages/MessagesTrigger.d.ts +1 -1
  206. package/dist/components/Messages/{MessagesTrigger.jsx → MessagesTrigger.js} +3 -2
  207. package/dist/components/Messages/index.js +2 -2
  208. package/dist/components/Messages/utils.d.ts +1 -1
  209. package/dist/components/PortalProvider/PortalProvider.client.d.ts +1 -1
  210. package/dist/components/PortalProvider/PortalProvider.client.js +26 -0
  211. package/dist/components/PortalProvider/PortalProvider.d.ts +1 -1
  212. package/dist/components/PortalProvider/{PortalProvider.jsx → PortalProvider.js} +3 -6
  213. package/dist/components/PortalProvider/index.js +1 -1
  214. package/dist/components/Promo/Promo.d.ts +1 -1
  215. package/dist/components/Promo/Promo.js +8 -0
  216. package/dist/components/Promo/PromoContent.d.ts +1 -1
  217. package/dist/components/Promo/PromoContent.js +9 -0
  218. package/dist/components/Promo/index.js +1 -1
  219. package/dist/components/Promos/PromoCarousel.d.ts +1 -1
  220. package/dist/components/Promos/PromoCarousel.js +41 -0
  221. package/dist/components/Promos/PromoGrid.d.ts +1 -1
  222. package/dist/components/Promos/PromoGrid.js +12 -0
  223. package/dist/components/Promos/PromoItem.d.ts +1 -1
  224. package/dist/components/Promos/PromoItem.js +10 -0
  225. package/dist/components/Promos/Promos.d.ts +1 -1
  226. package/dist/components/Promos/Promos.js +11 -0
  227. package/dist/components/Promos/index.js +1 -1
  228. package/dist/components/Protected/index.js +1 -1
  229. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
  230. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +58 -0
  231. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +1 -1
  232. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +8 -0
  233. package/dist/components/Quests/Quests.d.ts +1 -1
  234. package/dist/components/Quests/Quests.js +6 -0
  235. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
  236. package/dist/components/Quests/WageringQuest/WageringQuest.js +16 -0
  237. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +1 -1
  238. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +8 -0
  239. package/dist/components/Quests/index.js +1 -1
  240. package/dist/components/SignIn/SignIn.d.ts +1 -1
  241. package/dist/components/SignIn/SignIn.js +15 -0
  242. package/dist/components/SignIn/SignInForm.d.ts +1 -1
  243. package/dist/components/SignIn/SignInForm.js +118 -0
  244. package/dist/components/SignIn/SignInTrigger.d.ts +1 -1
  245. package/dist/components/SignIn/{SignInTrigger.jsx → SignInTrigger.js} +3 -2
  246. package/dist/components/SignIn/index.js +2 -2
  247. package/dist/components/SignUp/SignUp.d.ts +1 -1
  248. package/dist/components/SignUp/SignUp.js +16 -0
  249. package/dist/components/SignUp/SignUpForm.d.ts +1 -1
  250. package/dist/components/SignUp/SignUpForm.js +133 -0
  251. package/dist/components/SignUp/SignUpTrigger.d.ts +1 -1
  252. package/dist/components/SignUp/{SignUpTrigger.jsx → SignUpTrigger.js} +3 -2
  253. package/dist/components/SignUp/index.js +2 -2
  254. package/dist/components/TopWins/TopWins.client.d.ts +1 -1
  255. package/dist/components/TopWins/TopWins.client.js +23 -0
  256. package/dist/components/TopWins/TopWins.d.ts +1 -1
  257. package/dist/components/TopWins/TopWins.js +7 -0
  258. package/dist/components/TopWins/index.js +1 -1
  259. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +1 -1
  260. package/dist/components/TournamentCounter/{TournamentCounter.client.jsx → TournamentCounter.client.js} +3 -30
  261. package/dist/components/TournamentCounter/TournamentCounter.d.ts +1 -1
  262. package/dist/components/TournamentCounter/{TournamentCounter.jsx → TournamentCounter.js} +3 -2
  263. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +1 -2
  264. package/dist/components/TournamentCounter/TournamentCounterItem.js +96 -0
  265. package/dist/components/TournamentCounter/index.js +1 -1
  266. package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -1
  267. package/dist/components/Tournaments/{TournamentGameProviders.jsx → TournamentGameProviders.js} +2 -23
  268. package/dist/components/Tournaments/TournamentItem.d.ts +1 -2
  269. package/dist/components/Tournaments/TournamentItem.js +97 -0
  270. package/dist/components/Tournaments/TournamentItemMobile.d.ts +1 -2
  271. package/dist/components/Tournaments/TournamentItemMobile.js +99 -0
  272. package/dist/components/Tournaments/TournamentRules.d.ts +1 -1
  273. package/dist/components/Tournaments/TournamentRules.js +9 -0
  274. package/dist/components/Tournaments/Tournaments.d.ts +1 -1
  275. package/dist/components/Tournaments/Tournaments.js +26 -0
  276. package/dist/components/Tournaments/index.js +1 -1
  277. package/dist/components/TransactionRecords/DepositRecordsTable.d.ts +1 -1
  278. package/dist/components/TransactionRecords/DepositRecordsTable.js +87 -0
  279. package/dist/components/TransactionRecords/TableFilters.d.ts +2 -2
  280. package/dist/components/TransactionRecords/TableFilters.js +212 -0
  281. package/dist/components/TransactionRecords/TransactionRecords.d.ts +1 -1
  282. package/dist/components/TransactionRecords/TransactionRecords.js +10 -0
  283. package/dist/components/TransactionRecords/TransactionRecordsTable.d.ts +1 -1
  284. package/dist/components/TransactionRecords/TransactionRecordsTable.js +62 -0
  285. package/dist/components/TransactionRecords/WithdrawalRecordsTable.d.ts +1 -1
  286. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +81 -0
  287. package/dist/components/TransactionRecords/index.js +1 -1
  288. package/dist/icons/AlertCircleIcon.d.ts +1 -1
  289. package/dist/icons/AlertCircleIcon.js +4 -0
  290. package/dist/icons/AlertTriangle.d.ts +1 -1
  291. package/dist/icons/AlertTriangle.js +4 -0
  292. package/dist/icons/Announcement01Icon.d.ts +1 -1
  293. package/dist/icons/Announcement01Icon.js +4 -0
  294. package/dist/icons/ArrowLeftIcon.d.ts +1 -1
  295. package/dist/icons/ArrowLeftIcon.js +4 -0
  296. package/dist/icons/ArrowNarrowDownIcon.d.ts +1 -1
  297. package/dist/icons/ArrowNarrowDownIcon.js +4 -0
  298. package/dist/icons/ArrowNarrowUpIcon.d.ts +1 -1
  299. package/dist/icons/ArrowNarrowUpIcon.js +4 -0
  300. package/dist/icons/ArrowNarrowUpRightIcon.d.ts +1 -1
  301. package/dist/icons/ArrowNarrowUpRightIcon.js +4 -0
  302. package/dist/icons/ArrowRightIcon.d.ts +1 -1
  303. package/dist/icons/ArrowRightIcon.js +4 -0
  304. package/dist/icons/Award01Icon.d.ts +1 -1
  305. package/dist/icons/Award01Icon.js +4 -0
  306. package/dist/icons/Award02Icon.d.ts +1 -1
  307. package/dist/icons/Award02Icon.js +4 -0
  308. package/dist/icons/BankIcon.d.ts +1 -1
  309. package/dist/icons/BankIcon.js +4 -0
  310. package/dist/icons/Bell01Icon.d.ts +1 -1
  311. package/dist/icons/Bell01Icon.js +4 -0
  312. package/dist/icons/BellRingIcon.d.ts +1 -1
  313. package/dist/icons/BellRingIcon.js +4 -0
  314. package/dist/icons/CalendarIcon.d.ts +1 -1
  315. package/dist/icons/CalendarIcon.js +4 -0
  316. package/dist/icons/Camera01Icon.d.ts +1 -1
  317. package/dist/icons/Camera01Icon.js +4 -0
  318. package/dist/icons/CheckCircleBrokenIcon.d.ts +1 -1
  319. package/dist/icons/CheckCircleBrokenIcon.js +4 -0
  320. package/dist/icons/CheckCircleIcon.d.ts +1 -1
  321. package/dist/icons/CheckCircleIcon.js +4 -0
  322. package/dist/icons/CheckIcon.d.ts +1 -1
  323. package/dist/icons/CheckIcon.js +4 -0
  324. package/dist/icons/CheckVerified02Icon.d.ts +1 -1
  325. package/dist/icons/CheckVerified02Icon.js +4 -0
  326. package/dist/icons/ChevronDownIcon.d.ts +1 -1
  327. package/dist/icons/ChevronDownIcon.js +4 -0
  328. package/dist/icons/ChevronLeftIcon.d.ts +1 -1
  329. package/dist/icons/ChevronLeftIcon.js +4 -0
  330. package/dist/icons/ChevronRightIcon.d.ts +1 -1
  331. package/dist/icons/ChevronRightIcon.js +4 -0
  332. package/dist/icons/ChevronUpIcon.d.ts +1 -1
  333. package/dist/icons/ChevronUpIcon.js +4 -0
  334. package/dist/icons/ClockStopWatchIcon.d.ts +1 -1
  335. package/dist/icons/ClockStopWatchIcon.js +4 -0
  336. package/dist/icons/CoinsHandIcon.d.ts +1 -1
  337. package/dist/icons/CoinsHandIcon.js +4 -0
  338. package/dist/icons/CoinsStacked02Icon.d.ts +1 -1
  339. package/dist/icons/CoinsStacked02Icon.js +4 -0
  340. package/dist/icons/CoinsSwap02Icon.d.ts +1 -1
  341. package/dist/icons/CoinsSwap02Icon.js +4 -0
  342. package/dist/icons/CreditCard02Icon.d.ts +1 -1
  343. package/dist/icons/CreditCard02Icon.js +4 -0
  344. package/dist/icons/Diamond01Icon.d.ts +1 -1
  345. package/dist/icons/Diamond01Icon.js +4 -0
  346. package/dist/icons/Expand03Icon.d.ts +1 -1
  347. package/dist/icons/Expand03Icon.js +4 -0
  348. package/dist/icons/EyeIcon.d.ts +1 -1
  349. package/dist/icons/EyeIcon.js +4 -0
  350. package/dist/icons/EyeOffIcon.d.ts +1 -1
  351. package/dist/icons/EyeOffIcon.js +4 -0
  352. package/dist/icons/FacebookIcon.d.ts +1 -1
  353. package/dist/icons/FacebookIcon.js +4 -0
  354. package/dist/icons/File02Icon.d.ts +1 -1
  355. package/dist/icons/File02Icon.js +4 -0
  356. package/dist/icons/FileCheck02Icon.d.ts +1 -1
  357. package/dist/icons/FileCheck02Icon.js +4 -0
  358. package/dist/icons/Flag06Icon.d.ts +1 -1
  359. package/dist/icons/Flag06Icon.js +4 -0
  360. package/dist/icons/Gift01Icon.d.ts +1 -1
  361. package/dist/icons/Gift01Icon.js +4 -0
  362. package/dist/icons/GoogleIcon.d.ts +1 -1
  363. package/dist/icons/GoogleIcon.js +4 -0
  364. package/dist/icons/HelpCircleIcon.d.ts +1 -1
  365. package/dist/icons/HelpCircleIcon.js +4 -0
  366. package/dist/icons/InfoCircleIcon.d.ts +1 -1
  367. package/dist/icons/InfoCircleIcon.js +4 -0
  368. package/dist/icons/Lock01Icon.d.ts +1 -1
  369. package/dist/icons/Lock01Icon.js +4 -0
  370. package/dist/icons/Logout01Icon.d.ts +1 -1
  371. package/dist/icons/Logout01Icon.js +4 -0
  372. package/dist/icons/MarkerPin06Icon.d.ts +1 -1
  373. package/dist/icons/MarkerPin06Icon.js +4 -0
  374. package/dist/icons/Menu01Icon.d.ts +1 -1
  375. package/dist/icons/Menu01Icon.js +4 -0
  376. package/dist/icons/Menu03Icon.d.ts +1 -1
  377. package/dist/icons/Menu03Icon.js +4 -0
  378. package/dist/icons/PiggyBank02Icon.d.ts +1 -1
  379. package/dist/icons/PiggyBank02Icon.js +4 -0
  380. package/dist/icons/QrCode02Icon.d.ts +1 -1
  381. package/dist/icons/QrCode02Icon.js +4 -0
  382. package/dist/icons/SearchLgIcon.d.ts +1 -1
  383. package/dist/icons/SearchLgIcon.js +4 -0
  384. package/dist/icons/SearchRefractionIcon.d.ts +1 -1
  385. package/dist/icons/SearchRefractionIcon.js +4 -0
  386. package/dist/icons/Settings02Icon.d.ts +1 -1
  387. package/dist/icons/Settings02Icon.js +4 -0
  388. package/dist/icons/SpinnerIcon.d.ts +1 -1
  389. package/dist/icons/SpinnerIcon.js +5 -0
  390. package/dist/icons/Star01Icon.d.ts +1 -1
  391. package/dist/icons/Star01Icon.js +4 -0
  392. package/dist/icons/StarIcon.d.ts +1 -1
  393. package/dist/icons/StarIcon.js +4 -0
  394. package/dist/icons/StopWatchIcon.d.ts +1 -1
  395. package/dist/icons/StopWatchIcon.js +4 -0
  396. package/dist/icons/Target04Icon.d.ts +1 -1
  397. package/dist/icons/Target04Icon.js +4 -0
  398. package/dist/icons/Trophy01Icon.d.ts +1 -1
  399. package/dist/icons/Trophy01Icon.js +4 -0
  400. package/dist/icons/UploadCloud02Icon.d.ts +1 -1
  401. package/dist/icons/UploadCloud02Icon.js +4 -0
  402. package/dist/icons/User01Icon.d.ts +1 -1
  403. package/dist/icons/User01Icon.js +4 -0
  404. package/dist/icons/Wallet02Icon.d.ts +1 -1
  405. package/dist/icons/Wallet02Icon.js +4 -0
  406. package/dist/icons/XIcon.d.ts +1 -1
  407. package/dist/icons/XIcon.js +4 -0
  408. package/dist/icons/index.js +56 -56
  409. package/dist/server/services/getSession.d.ts +1 -1
  410. package/dist/third-parties/FacebookPixel/index.js +1 -1
  411. package/dist/third-parties/GoogleRecaptcha/index.js +1 -1
  412. package/dist/tsconfig.build.tsbuildinfo +1 -1
  413. package/dist/ui/AlertDialog/index.js +1 -1
  414. package/dist/ui/Avatar/index.js +1 -1
  415. package/dist/ui/Badge/Badge.js +12 -0
  416. package/dist/ui/Badge/index.js +1 -1
  417. package/dist/ui/Button/Button.d.ts +1 -1
  418. package/dist/ui/Button/{Button.jsx → Button.js} +3 -2
  419. package/dist/ui/Button/index.js +1 -1
  420. package/dist/ui/Checkbox/index.js +1 -1
  421. package/dist/ui/Clipboard/index.js +1 -1
  422. package/dist/ui/Collapsible/index.js +1 -1
  423. package/dist/ui/Combobox/index.js +1 -1
  424. package/dist/ui/DatePicker/index.js +1 -1
  425. package/dist/ui/Dialog/index.js +1 -1
  426. package/dist/ui/Drawer/index.js +1 -1
  427. package/dist/ui/Field/index.js +1 -1
  428. package/dist/ui/IconButton/IconButton.d.ts +1 -1
  429. package/dist/ui/IconButton/{IconButton.jsx → IconButton.js} +3 -2
  430. package/dist/ui/IconButton/index.js +1 -1
  431. package/dist/ui/Menu/index.js +1 -1
  432. package/dist/ui/NumberInput/index.js +1 -1
  433. package/dist/ui/PasswordInput/index.js +1 -1
  434. package/dist/ui/PinInput/index.js +1 -1
  435. package/dist/ui/Popover/index.js +1 -1
  436. package/dist/ui/Presence.d.ts +1 -1
  437. package/dist/ui/Presence.js +7 -0
  438. package/dist/ui/Progress/index.js +1 -1
  439. package/dist/ui/Prose.d.ts +1 -1
  440. package/dist/ui/Prose.js +5 -0
  441. package/dist/ui/SegmentGroup/index.js +1 -1
  442. package/dist/ui/Select/index.js +1 -1
  443. package/dist/ui/Table/index.js +1 -1
  444. package/dist/ui/Tabs/index.js +1 -1
  445. package/dist/ui/Tooltip/index.js +1 -1
  446. package/dist/ui/index.js +2 -2
  447. package/dist/utils/getLocaleInfo.js +175 -0
  448. package/dist/utils/index.js +1 -1
  449. package/package.json +1 -1
  450. package/dist/components/Account/Account.jsx +0 -313
  451. package/dist/components/AccountInfo/AccountInfo.jsx +0 -113
  452. package/dist/components/AccountSecurity/AccountSecurity.jsx +0 -142
  453. package/dist/components/Banner/Banner.jsx +0 -51
  454. package/dist/components/BetRecords/BetRecords.jsx +0 -470
  455. package/dist/components/Bonus/Bonus.client.jsx +0 -144
  456. package/dist/components/Bonus/Bonus.jsx +0 -4
  457. package/dist/components/Bonuses/Bonuses.jsx +0 -87
  458. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.jsx +0 -73
  459. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +0 -15
  460. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +0 -203
  461. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +0 -15
  462. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +0 -13
  463. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +0 -90
  464. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +0 -15
  465. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +0 -197
  466. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +0 -14
  467. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +0 -104
  468. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +0 -19
  469. package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +0 -95
  470. package/dist/components/DepositWithdrawal/MayaSessionExpired.jsx +0 -13
  471. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.jsx +0 -218
  472. package/dist/components/Disclaimer/Disclaimer.jsx +0 -45
  473. package/dist/components/Empty.jsx +0 -62
  474. package/dist/components/FavoriteGames/FavoriteGames.client.jsx +0 -63
  475. package/dist/components/FavoriteGames/FavoriteGames.jsx +0 -6
  476. package/dist/components/GameLaunch/GameLaunch.jsx +0 -188
  477. package/dist/components/GameProviders/GameProviders.jsx +0 -60
  478. package/dist/components/Games/Games.client.jsx +0 -118
  479. package/dist/components/GamesSearch/GamesSearch.jsx +0 -110
  480. package/dist/components/JackpotCounter/JackpotCounterItem.jsx +0 -317
  481. package/dist/components/Jackpots/JackpotGameProviders.jsx +0 -59
  482. package/dist/components/Jackpots/JackpotItemDesktop.jsx +0 -251
  483. package/dist/components/Jackpots/JackpotItemMobile.jsx +0 -271
  484. package/dist/components/Jackpots/JackpotRules.jsx +0 -43
  485. package/dist/components/Jackpots/Jackpots.jsx +0 -37
  486. package/dist/components/KYC/KYC.jsx +0 -39
  487. package/dist/components/KYC/Step1.jsx +0 -37
  488. package/dist/components/KYC/Step2.jsx +0 -86
  489. package/dist/components/KYC/Step3.jsx +0 -68
  490. package/dist/components/KYC/StepIndicator.jsx +0 -22
  491. package/dist/components/KYC/UploadDocument.jsx +0 -30
  492. package/dist/components/KYC/UploadSelfie.jsx +0 -28
  493. package/dist/components/Marquee/Marquee.jsx +0 -20
  494. package/dist/components/Messages/MessageItem.jsx +0 -47
  495. package/dist/components/Messages/MessagePopup.jsx +0 -43
  496. package/dist/components/Messages/Messages.jsx +0 -87
  497. package/dist/components/PortalProvider/PortalProvider.client.jsx +0 -54
  498. package/dist/components/Promo/Promo.jsx +0 -7
  499. package/dist/components/Promo/PromoContent.jsx +0 -104
  500. package/dist/components/Promos/PromoCarousel.jsx +0 -69
  501. package/dist/components/Promos/PromoGrid.jsx +0 -24
  502. package/dist/components/Promos/PromoItem.jsx +0 -24
  503. package/dist/components/Promos/Promos.jsx +0 -10
  504. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.jsx +0 -104
  505. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.jsx +0 -46
  506. package/dist/components/Quests/Quests.jsx +0 -12
  507. package/dist/components/Quests/WageringQuest/WageringQuest.jsx +0 -58
  508. package/dist/components/Quests/WageringQuest/WageringQuestModal.jsx +0 -38
  509. package/dist/components/SignIn/SignIn.jsx +0 -29
  510. package/dist/components/SignIn/SignInForm.jsx +0 -233
  511. package/dist/components/SignUp/SignUp.jsx +0 -32
  512. package/dist/components/SignUp/SignUpForm.jsx +0 -230
  513. package/dist/components/TopWins/TopWins.client.jsx +0 -48
  514. package/dist/components/TopWins/TopWins.jsx +0 -6
  515. package/dist/components/TournamentCounter/TournamentCounterItem.jsx +0 -233
  516. package/dist/components/Tournaments/TournamentItem.jsx +0 -224
  517. package/dist/components/Tournaments/TournamentItemMobile.jsx +0 -242
  518. package/dist/components/Tournaments/TournamentRules.jsx +0 -43
  519. package/dist/components/Tournaments/Tournaments.jsx +0 -37
  520. package/dist/components/TransactionRecords/DepositRecordsTable.jsx +0 -193
  521. package/dist/components/TransactionRecords/TableFilters.jsx +0 -446
  522. package/dist/components/TransactionRecords/TransactionRecords.jsx +0 -39
  523. package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +0 -147
  524. package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +0 -182
  525. package/dist/icons/AlertCircleIcon.jsx +0 -5
  526. package/dist/icons/AlertTriangle.jsx +0 -5
  527. package/dist/icons/Announcement01Icon.jsx +0 -5
  528. package/dist/icons/ArrowLeftIcon.jsx +0 -5
  529. package/dist/icons/ArrowNarrowDownIcon.jsx +0 -5
  530. package/dist/icons/ArrowNarrowUpIcon.jsx +0 -5
  531. package/dist/icons/ArrowNarrowUpRightIcon.jsx +0 -5
  532. package/dist/icons/ArrowRightIcon.jsx +0 -5
  533. package/dist/icons/Award01Icon.jsx +0 -5
  534. package/dist/icons/Award02Icon.jsx +0 -5
  535. package/dist/icons/BankIcon.jsx +0 -5
  536. package/dist/icons/Bell01Icon.jsx +0 -5
  537. package/dist/icons/BellRingIcon.jsx +0 -5
  538. package/dist/icons/CalendarIcon.jsx +0 -5
  539. package/dist/icons/Camera01Icon.jsx +0 -6
  540. package/dist/icons/CheckCircleBrokenIcon.jsx +0 -5
  541. package/dist/icons/CheckCircleIcon.jsx +0 -5
  542. package/dist/icons/CheckIcon.jsx +0 -5
  543. package/dist/icons/CheckVerified02Icon.jsx +0 -5
  544. package/dist/icons/ChevronDownIcon.jsx +0 -5
  545. package/dist/icons/ChevronLeftIcon.jsx +0 -5
  546. package/dist/icons/ChevronRightIcon.jsx +0 -5
  547. package/dist/icons/ChevronUpIcon.jsx +0 -5
  548. package/dist/icons/ClockStopWatchIcon.jsx +0 -5
  549. package/dist/icons/CoinsHandIcon.jsx +0 -5
  550. package/dist/icons/CoinsStacked02Icon.jsx +0 -5
  551. package/dist/icons/CoinsSwap02Icon.jsx +0 -5
  552. package/dist/icons/CreditCard02Icon.jsx +0 -5
  553. package/dist/icons/Diamond01Icon.jsx +0 -5
  554. package/dist/icons/Expand03Icon.jsx +0 -5
  555. package/dist/icons/EyeIcon.jsx +0 -6
  556. package/dist/icons/EyeOffIcon.jsx +0 -5
  557. package/dist/icons/FacebookIcon.jsx +0 -6
  558. package/dist/icons/File02Icon.jsx +0 -5
  559. package/dist/icons/FileCheck02Icon.jsx +0 -5
  560. package/dist/icons/Flag06Icon.jsx +0 -5
  561. package/dist/icons/Gift01Icon.jsx +0 -5
  562. package/dist/icons/GoogleIcon.jsx +0 -9
  563. package/dist/icons/HelpCircleIcon.jsx +0 -5
  564. package/dist/icons/InfoCircleIcon.jsx +0 -5
  565. package/dist/icons/Lock01Icon.jsx +0 -5
  566. package/dist/icons/Logout01Icon.jsx +0 -5
  567. package/dist/icons/MarkerPin06Icon.jsx +0 -5
  568. package/dist/icons/Menu01Icon.jsx +0 -5
  569. package/dist/icons/Menu03Icon.jsx +0 -5
  570. package/dist/icons/PiggyBank02Icon.jsx +0 -5
  571. package/dist/icons/QrCode02Icon.jsx +0 -5
  572. package/dist/icons/SearchLgIcon.jsx +0 -5
  573. package/dist/icons/SearchRefractionIcon.jsx +0 -5
  574. package/dist/icons/Settings02Icon.jsx +0 -6
  575. package/dist/icons/SpinnerIcon.jsx +0 -9
  576. package/dist/icons/Star01Icon.jsx +0 -5
  577. package/dist/icons/StarIcon.jsx +0 -5
  578. package/dist/icons/StopWatchIcon.jsx +0 -5
  579. package/dist/icons/Target04Icon.jsx +0 -5
  580. package/dist/icons/Trophy01Icon.jsx +0 -5
  581. package/dist/icons/UploadCloud02Icon.jsx +0 -5
  582. package/dist/icons/User01Icon.jsx +0 -5
  583. package/dist/icons/Wallet02Icon.jsx +0 -5
  584. package/dist/icons/XIcon.jsx +0 -5
  585. package/dist/ui/Badge/Badge.jsx +0 -11
  586. package/dist/ui/Presence.jsx +0 -6
  587. package/dist/ui/Prose.jsx +0 -4
  588. package/dist/utils/getLocaleInfo.jsx +0 -237
  589. /package/dist/components/AccountPaymentMethods/{AccountPaymentMethods.jsx → AccountPaymentMethods.js} +0 -0
  590. /package/dist/components/AccountVerification/{AccountVerification.jsx → AccountVerification.js} +0 -0
  591. /package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/{OnlineBankDepositContext.jsx → OnlineBankDepositContext.js} +0 -0
  592. /package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/{useOnlineBankDeposit.jsx → useOnlineBankDeposit.js} +0 -0
  593. /package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/{QRPHDepositContext.jsx → QRPHDepositContext.js} +0 -0
  594. /package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/{useQRPHDeposit.jsx → useQRPHDeposit.js} +0 -0
  595. /package/dist/components/Disclaimer/{useDisclaimer.jsx → useDisclaimer.js} +0 -0
  596. /package/dist/components/KYC/{KYCContext.jsx → KYCContext.js} +0 -0
  597. /package/dist/components/Protected/{Protected.jsx → Protected.js} +0 -0
  598. /package/dist/third-parties/FacebookPixel/{FacebookPixel.jsx → FacebookPixel.js} +0 -0
  599. /package/dist/third-parties/GoogleRecaptcha/{GoogleRecaptcha.jsx → GoogleRecaptcha.js} +0 -0
  600. /package/dist/ui/AlertDialog/{AlertDialog.jsx → AlertDialog.js} +0 -0
  601. /package/dist/ui/Avatar/{Avatar.jsx → Avatar.js} +0 -0
  602. /package/dist/ui/Checkbox/{Checkbox.jsx → Checkbox.js} +0 -0
  603. /package/dist/ui/Clipboard/{Clipboard.jsx → Clipboard.js} +0 -0
  604. /package/dist/ui/Collapsible/{Collapsible.jsx → Collapsible.js} +0 -0
  605. /package/dist/ui/Combobox/{Combobox.jsx → Combobox.js} +0 -0
  606. /package/dist/ui/DatePicker/{DatePicker.jsx → DatePicker.js} +0 -0
  607. /package/dist/ui/Dialog/{Dialog.jsx → Dialog.js} +0 -0
  608. /package/dist/ui/Drawer/{Drawer.jsx → Drawer.js} +0 -0
  609. /package/dist/ui/Field/{Field.jsx → Field.js} +0 -0
  610. /package/dist/ui/Menu/{Menu.jsx → Menu.js} +0 -0
  611. /package/dist/ui/NumberInput/{NumberInput.jsx → NumberInput.js} +0 -0
  612. /package/dist/ui/PasswordInput/{PasswordInput.jsx → PasswordInput.js} +0 -0
  613. /package/dist/ui/PinInput/{PinInput.jsx → PinInput.js} +0 -0
  614. /package/dist/ui/Popover/{Popover.jsx → Popover.js} +0 -0
  615. /package/dist/ui/Progress/{Progress.jsx → Progress.js} +0 -0
  616. /package/dist/ui/SegmentGroup/{SegmentGroup.jsx → SegmentGroup.js} +0 -0
  617. /package/dist/ui/Select/{Select.jsx → Select.js} +0 -0
  618. /package/dist/ui/Table/{Table.jsx → Table.js} +0 -0
  619. /package/dist/ui/Tabs/{Tabs.jsx → Tabs.js} +0 -0
  620. /package/dist/ui/Tooltip/{Tooltip.jsx → Tooltip.js} +0 -0
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Camera01Icon, CheckCircleIcon, XIcon } from '../../icons/index.js';
3
+ import { Button } from '../../ui/index.js';
4
+ import { useKYCContext } from './KYCContext.js';
5
+ export function UploadDocument() {
6
+ const context = useKYCContext();
7
+ return (_jsxs("div", { className: "bg-bg-primary-alt relative w-[747px] rounded-xl pb-12 pt-4xl", children: [_jsx("button", { type: "button", className: "absolute right-4 top-4", onClick: () => context.setUploadingDocument(false), children: _jsx(XIcon, { className: "text-text-quinary size-5" }) }), _jsx("h2", { className: "text-center text-xl font-semibold", children: "Take a Picture of Your Front ID" }), _jsxs("p", { className: "text-text-tertiary-600 mt-md text-center", children: ["Make sure your ID is clearly visible, well-lit, and not blurry.", _jsx("br", {}), " Avoid glare or reflections, and ensure all corners are within the frame."] }), _jsx("div", { className: "mx-auto mt-10 h-[333px] w-[643px] rounded-xl bg-white/10" }), _jsxs("div", { className: "mx-auto mt-10 flex w-fit gap-3", children: [_jsxs(Button, { variant: "outline", fullWidth: false, children: [_jsx(Camera01Icon, {}), "Retake Photo"] }), _jsxs(Button, { fullWidth: false, children: [_jsx(CheckCircleIcon, {}), "Use Photo"] })] })] }));
8
+ }
@@ -1 +1 @@
1
- export declare function UploadSelfie(): import("react").JSX.Element;
1
+ export declare function UploadSelfie(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Camera01Icon, CheckCircleIcon, XIcon } from '../../icons/index.js';
3
+ import { Button } from '../../ui/index.js';
4
+ import { useKYCContext } from './KYCContext.js';
5
+ export function UploadSelfie() {
6
+ const context = useKYCContext();
7
+ return (_jsxs("div", { className: "bg-bg-primary-alt relative w-[747px] rounded-xl pb-12 pt-4xl", children: [_jsx("button", { type: "button", className: "absolute right-4 top-4", onClick: () => context.setUploadingSelfie(false), children: _jsx(XIcon, { className: "text-text-quinary size-5" }) }), _jsx("h2", { className: "text-center text-xl font-semibold", children: "Take a Selfie Holding Your ID" }), _jsx("p", { className: "text-text-tertiary-600 mt-md text-center", children: "Make sure your face and ID are clearly visible, with no glare or blur." }), _jsx("div", { className: "mx-auto mt-10 h-[333px] w-[643px] rounded-xl bg-white/10" }), _jsxs("div", { className: "mx-auto mt-10 flex w-fit gap-3", children: [_jsxs(Button, { variant: "outline", fullWidth: false, children: [_jsx(Camera01Icon, {}), "Retake Photo"] }), _jsxs(Button, { fullWidth: false, children: [_jsx(CheckCircleIcon, {}), "Use Photo"] })] })] }));
8
+ }
@@ -1,2 +1,2 @@
1
- export * from './KYC';
2
- export * from './KYCTrigger';
1
+ export * from './KYC.js';
2
+ export * from './KYCTrigger.js';
@@ -2,4 +2,4 @@ export interface MarqueeProps {
2
2
  children?: React.ReactNode;
3
3
  className?: string;
4
4
  }
5
- export declare function Marquee(props: MarqueeProps): import("react").JSX.Element;
5
+ export declare function Marquee(props: MarqueeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { twMerge } from 'tailwind-merge';
3
+ export function Marquee(props) {
4
+ return (_jsxs("div", { className: twMerge('border-border-primary bg-bg-primary text-text-secondary-700 shadow-xs flex gap-lg rounded-lg border p-1 pr-2.5 text-sm font-medium', props.className), children: [_jsxs("div", { className: "border-border-primary flex shrink-0 items-center gap-sm rounded-sm border px-2 py-0.5", children: [_jsx("span", { className: "bg-utility-success-500 outline-utility-success-100 size-2 rounded-full outline-2" }), _jsx("span", { children: "What's new" })] }), _jsx("div", { className: "flex grow items-center overflow-hidden", children: _jsxs("div", { className: "flex items-center whitespace-nowrap", children: [_jsx("div", { className: "animate-marquee pr-4 [animation-delay:1s]", children: props.children }), _jsx("div", { className: "animate-marquee pr-4 [animation-delay:1s]", children: props.children })] }) })] }));
5
+ }
@@ -1 +1 @@
1
- export * from './Marquee';
1
+ export * from './Marquee.js';
@@ -1,4 +1,4 @@
1
1
  import type { Message } from '@opexa/portal-sdk-core';
2
2
  export declare function MessageItem({ message }: {
3
3
  message: Message;
4
- }): import("react").JSX.Element;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { tz } from '@date-fns/tz';
3
+ import { format } from 'date-fns';
4
+ import Link from 'next/link';
5
+ import { useShallow } from 'zustand/shallow';
6
+ import { useGlobalStore, useLocaleInfo, useMarkMessageAsReadMutation, } from '../../client/hooks/index.js';
7
+ import { getMessageIcon } from '../../components/Messages/utils.js';
8
+ export function MessageItem({ message }) {
9
+ const { id, title, dateTimeCreated, content, markedAsRead, icon, actions } = message;
10
+ const localeInfo = useLocaleInfo();
11
+ const { messages: messagesStore } = useGlobalStore(useShallow((ctx) => ({ messages: ctx.messages })));
12
+ const { mutate } = useMarkMessageAsReadMutation();
13
+ const Icon = getMessageIcon(icon);
14
+ const handleViewMessage = async () => {
15
+ mutate(id);
16
+ messagesStore.setOpen(false);
17
+ messagesStore.message.setData(message);
18
+ messagesStore.message.setOpen(true);
19
+ };
20
+ const handleActionClick = (e) => {
21
+ e.stopPropagation();
22
+ messagesStore.setOpen(false);
23
+ messagesStore.setTab('ALL');
24
+ };
25
+ return (_jsxs("div", { role: "button", tabIndex: 0, className: "border-border-secondary rounded-xs bg-bg-secondary flex h-auto flex-shrink-0 cursor-pointer flex-col border px-3.5 py-2.5", onClick: handleViewMessage, "aria-pressed": "false", children: [_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx("p", { className: "text-text-tertiary-600 text-xs font-normal", children: format(new Date(dateTimeCreated), 'M/d/yyyy - h:mma', {
26
+ in: tz(localeInfo.timezone),
27
+ }) }), !markedAsRead && (_jsx("div", { className: "bg-utility-success-500 h-2.5 w-2.5 rounded-full" }))] }), _jsxs("div", { className: "mb-2 flex items-center space-x-2", children: [_jsx(Icon, { className: "text-brand-400" }), _jsx("p", { className: "text-text-primary-brand text-sm font-semibold", children: title })] }), _jsx("p", { className: "line-clamp-3 text-wrap text-sm font-normal", dangerouslySetInnerHTML: { __html: content } }), actions.length > 0 && (_jsx("div", { className: "mt-2 flex flex-wrap items-center justify-end gap-2", children: actions.map((action, index) => (_jsx(Link, { className: "border-button-secondary-border text-button-secondary-fg rounded-md border px-3 py-2 text-sm", href: action.url, onClick: handleActionClick, children: action.name }, index))) }))] }));
28
+ }
@@ -1 +1 @@
1
- export declare const MessagePopup: () => import("react").JSX.Element;
1
+ export declare const MessagePopup: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Portal } from '@ark-ui/react';
3
+ import Link from 'next/link';
4
+ import { useShallow } from 'zustand/shallow';
5
+ import { useGlobalStore } from '../../client/hooks/index.js';
6
+ import { XIcon } from '../../icons/index.js';
7
+ import { Dialog } from '../../ui/index.js';
8
+ import { getMessageIcon } from './utils.js';
9
+ export const MessagePopup = () => {
10
+ const { messages: messagesStore } = useGlobalStore(useShallow((ctx) => ({ messages: ctx.messages })));
11
+ const message = messagesStore.message.data;
12
+ const Icon = getMessageIcon(message?.icon ?? 'MESSAGE');
13
+ return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: messagesStore.message.open, onOpenChange: ({ open }) => {
14
+ messagesStore.message.setOpen(open);
15
+ }, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto min-w-[21.438rem] max-w-[21.438rem] rounded-xl px-xl pb-0 pt-5 shadow-xl", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "pb-6", children: [_jsx("div", { className: "bg-bg-brand-secondary mx-auto w-fit rounded-full p-3", children: _jsx(Icon, { className: "text-text-brand", height: "24", width: "24" }) }), _jsx("p", { className: "text-text-primary-brand mt-lg text-center text-lg font-semibold leading-tight", children: message?.title }), _jsx("div", { className: "text-shadow-text-secondary-700 mt-xs text-center text-sm font-normal leading-tight", dangerouslySetInnerHTML: { __html: message?.content ?? '' } })] }), message?.actions.length ? (_jsx("div", { className: "flex flex-col space-y-2 px-4 pb-8 pt-6 text-center", children: message.actions.map((action, index) => (_jsx(Link, { className: "bg-button-primary-bg rounded-xs text-button-primary-fg w-full px-4 py-2.5 text-base font-semibold", href: action.url, onClick: () => {
16
+ messagesStore.message.setOpen(false);
17
+ }, children: action.name }, index))) })) : null] }) })] }) }));
18
+ };
@@ -1 +1 @@
1
- export declare function Messages(): import("react").JSX.Element;
1
+ export declare function Messages(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,31 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { Portal } from '@ark-ui/react';
4
+ import { z } from 'zod';
5
+ import { useShallow } from 'zustand/shallow';
6
+ import { useGlobalStore, useMessagesQuery, useUnreadMessagesCountQuery, } from '../../client/hooks/index.js';
7
+ import { Bell01Icon, SpinnerIcon, XIcon } from '../../icons/index.js';
8
+ import { Drawer, IconButton, Tabs } from '../../ui/index.js';
9
+ import { InfiniteScroll } from '../InfiniteScroll.js';
10
+ import { MessageItem } from './MessageItem.js';
11
+ import { MessagePopup } from './MessagePopup.js';
12
+ const TABS = ['ALL', 'UNREAD'];
13
+ export function Messages() {
14
+ const globalStore = useGlobalStore(useShallow((ctx) => ({ messages: ctx.messages })));
15
+ const unreadMessagesCountQuery = useUnreadMessagesCountQuery({}, { refetchInterval: 5000 });
16
+ const unreadMessagesCount = unreadMessagesCountQuery.data ?? 0;
17
+ const messagesQuery = useMessagesQuery({
18
+ first: 10,
19
+ ...(globalStore.messages.tab === 'UNREAD' && {
20
+ filter: {
21
+ markedAsRead: {
22
+ equal: true,
23
+ },
24
+ },
25
+ }),
26
+ }, { refetchInterval: 5000 });
27
+ const messages = messagesQuery.data?.pages.flatMap((page) => page.edges.map((e) => e.node)) ?? [];
28
+ return (_jsxs(_Fragment, { children: [_jsxs(Drawer.Root, { open: globalStore.messages.open, onOpenChange: ({ open }) => globalStore.messages.setOpen(open), lazyMount: true, unmountOnExit: true, children: [_jsx(Drawer.Trigger, { asChild: true, children: _jsxs(IconButton, { size: "sm", colorScheme: "gray", className: "relative", children: [!!unreadMessagesCount && (_jsx("div", { className: "bg-brand-500 leading-4.5 text-button-primary-fg absolute -right-1.5 -top-1.5 rounded-full border px-1.5 text-2xs font-semibold", children: unreadMessagesCount })), _jsx(Bell01Icon, {})] }) }), _jsxs(Portal, { children: [_jsx(Drawer.Backdrop, {}), _jsx(Drawer.Positioner, { children: _jsx(Drawer.Content, { className: "bg-gray-50 bg-bg-primary flex flex-col", children: _jsxs("div", { className: "flex flex-col space-y-6", children: [_jsxs("div", { className: "flex items-end justify-between px-4 pt-6", children: [_jsx("p", { className: "text-text-primary-brand text-xl font-semibold", children: "Notifications" }), _jsx(Drawer.CloseTrigger, { className: "p-2", children: _jsx(XIcon, {}) })] }), _jsxs(Tabs.Root, { value: globalStore.messages.tab, onValueChange: (details) => globalStore.messages.setTab(z.enum(TABS).parse(details.value)), lazyMount: true, unmountOnExit: true, children: [_jsx("div", { className: "mb-4 w-full px-4", children: _jsxs(Tabs.List, { className: "border-border-secondary w-full border", children: [_jsx(Tabs.Trigger, { value: "ALL", className: "flex-1/5 ui-selected:text-text-primary-brand text-text-tertiary-600", children: "All" }), _jsxs(Tabs.Trigger, { value: "UNREAD", className: "flex-1/5 ui-selected:text-text-primary-brand text-text-tertiary-600 flex items-center justify-center space-x-2", children: [_jsx("div", { children: "Unread" }), !!unreadMessagesCount && (_jsx("div", { className: "border-border-primary bg-bg-secondary rounded-full border px-2 py-0.5", children: unreadMessagesCount }))] }), _jsx(Tabs.Indicator, { className: "bg-bg-active" })] }) }), _jsx("div", { className: "border-border-secondary mb-10 w-full border-t" }), TABS.map((tab) => (_jsxs(Tabs.Content, { id: "messages-scrollable", value: tab, className: "scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full max-h-[calc(100vh-197px)] overflow-y-auto pb-4 pl-4", style: { scrollbarGutter: 'stable' }, children: [messages.length > 0 && (_jsx("div", { className: "flex flex-col space-y-4", children: messages.map((message) => (_jsx(MessageItem, { message: message }, message.id))) })), _jsx(InfiniteScroll, { loader: _jsx(SpinnerIcon, { className: "mx-auto size-5" }), hasMore: !!messagesQuery.hasNextPage, loadMore: async () => {
29
+ await messagesQuery.fetchNextPage();
30
+ }, className: "mt-4" })] }, tab)))] })] }) }) })] })] }), _jsx(MessagePopup, {})] }));
31
+ }
@@ -2,5 +2,5 @@ import type { ComponentPropsWithRef } from 'react';
2
2
  interface MessagesTriggerProps extends ComponentPropsWithRef<'button'> {
3
3
  asChild?: boolean;
4
4
  }
5
- export declare function MessagesTrigger(props: MessagesTriggerProps): import("react").JSX.Element;
5
+ export declare function MessagesTrigger(props: MessagesTriggerProps): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -1,4 +1,5 @@
1
1
  'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
2
3
  import { ark } from '@ark-ui/react';
3
4
  import { useShallow } from 'zustand/shallow';
4
5
  import { useGlobalStore } from '../../client/hooks/index.js';
@@ -6,8 +7,8 @@ export function MessagesTrigger(props) {
6
7
  const globalStore = useGlobalStore(useShallow((ctx) => ({
7
8
  messages: ctx.messages,
8
9
  })));
9
- return (<ark.button type="button" {...props} onClick={(e) => {
10
+ return (_jsx(ark.button, { type: "button", ...props, onClick: (e) => {
10
11
  globalStore.messages.setOpen(!globalStore.messages.open);
11
12
  return props.onClick?.(e);
12
- }} data-state={globalStore.messages.open ? 'open' : 'closed'}/>);
13
+ }, "data-state": globalStore.messages.open ? 'open' : 'closed' }));
13
14
  }
@@ -1,2 +1,2 @@
1
- export * from './Messages';
2
- export * from './MessagesTrigger';
1
+ export * from './Messages.js';
2
+ export * from './MessagesTrigger.js';
@@ -1,3 +1,3 @@
1
1
  import type { MessageIcon } from '@opexa/portal-sdk-core';
2
- import { BellRingIcon } from '../../icons';
2
+ import { BellRingIcon } from '~/icons';
3
3
  export declare function getMessageIcon(logo: MessageIcon): typeof BellRingIcon;
@@ -1,2 +1,2 @@
1
1
  import type { PortalProviderProps } from './PortalProvider';
2
- export declare function PortalProvider__client({ googleAnalyticsId, googleTagManagerId, googleRecaptchaSiteKey, facebookPixelId, children, }: PortalProviderProps): import("react").JSX.Element;
2
+ export declare function PortalProvider__client({ googleAnalyticsId, googleTagManagerId, googleRecaptchaSiteKey, facebookPixelId, children, }: PortalProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Toast, Toaster } from '@ark-ui/react';
4
+ import { GoogleAnalytics, GoogleTagManager } from '@next/third-parties/google';
5
+ import { QueryClientProvider } from '@tanstack/react-query';
6
+ import { twMerge } from 'tailwind-merge';
7
+ import { toaster } from '../../client/utils/index.js';
8
+ import { AlertCircleIcon, XIcon } from '../../icons/index.js';
9
+ import { FacebookPixel, GoogleRecaptcha } from '../../third-parties/index.js';
10
+ import { getQueryClient } from '../../utils/index.js';
11
+ export function PortalProvider__client({ googleAnalyticsId, googleTagManagerId, googleRecaptchaSiteKey, facebookPixelId, children, }) {
12
+ const queryClient = getQueryClient();
13
+ return (_jsxs(QueryClientProvider, { client: queryClient, children: [children, _jsx(Toaster, { toaster: toaster, children: (toast) => (_jsxs(Toast.Root, { 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]", children: [_jsx("div", { className: twMerge('flex size-9.5 items-center justify-center rounded-full border-2', toast.type === 'error'
14
+ ? 'border-red-500/15'
15
+ : 'border-green-500/15'), children: _jsx("div", { className: twMerge('flex size-7 items-center justify-center rounded-full border-2', toast.type === 'error'
16
+ ? 'border-red-500/35'
17
+ : 'border-green-500/35'), children: _jsx(AlertCircleIcon, { className: twMerge('size-5', toast.type === 'error' ? 'text-red-500' : 'text-green-500') }) }) }), _jsxs("div", { className: "grow text-sm leading-none", children: [_jsx(Toast.Title, { className: "font-semibold", children: toast.title
18
+ ? toast.title
19
+ : toast.type === 'error'
20
+ ? 'Error'
21
+ : 'Success' }), _jsx(Toast.Description, { className: "text-gray-700 mt-1", children: toast.description
22
+ ? toast.description
23
+ : toast.type === 'error'
24
+ ? 'Something went wrong.'
25
+ : 'Operation completed successfully.' })] }), _jsx(Toast.CloseTrigger, { className: "text-gray-400 hover:text-gray-500 self-start", children: _jsx(XIcon, { className: "size-5" }) })] }, toast.id)) }), facebookPixelId && _jsx(FacebookPixel, { fbId: facebookPixelId }), googleAnalyticsId && _jsx(GoogleAnalytics, { gaId: googleAnalyticsId }), googleTagManagerId && _jsx(GoogleTagManager, { gtmId: googleTagManagerId }), googleRecaptchaSiteKey && (_jsx(GoogleRecaptcha, { siteKey: googleRecaptchaSiteKey }))] }));
26
+ }
@@ -6,4 +6,4 @@ export interface PortalProviderProps {
6
6
  facebookPixelId?: string;
7
7
  children: ReactNode;
8
8
  }
9
- export declare function PortalProvider({ children, ...props }: PortalProviderProps): Promise<import("react").JSX.Element>;
9
+ export declare function PortalProvider({ children, ...props }: PortalProviderProps): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -1,8 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  import { dehydrate, HydrationBoundary } from '@tanstack/react-query';
2
3
  import {} from 'react';
3
4
  import { prefetchAccountQuery, prefetchSessionQuery, prefetchWalletQuery, } from '../../server/utils/index.js';
4
5
  import { getQueryClient } from '../../utils/index.js';
5
- import { PortalProvider__client } from './PortalProvider.client';
6
+ import { PortalProvider__client } from './PortalProvider.client.js';
6
7
  export async function PortalProvider({ children, ...props }) {
7
8
  const queryClient = getQueryClient();
8
9
  await Promise.all([
@@ -10,9 +11,5 @@ export async function PortalProvider({ children, ...props }) {
10
11
  prefetchAccountQuery(),
11
12
  prefetchWalletQuery(),
12
13
  ]);
13
- return (<PortalProvider__client {...props}>
14
- <HydrationBoundary state={dehydrate(queryClient)}>
15
- {children}
16
- </HydrationBoundary>
17
- </PortalProvider__client>);
14
+ return (_jsx(PortalProvider__client, { ...props, children: _jsx(HydrationBoundary, { state: dehydrate(queryClient), children: children }) }));
18
15
  }
@@ -1 +1 @@
1
- export * from './PortalProvider';
1
+ export * from './PortalProvider.js';
@@ -4,4 +4,4 @@ export interface PromoProps {
4
4
  viewAllPromosUrl?: string;
5
5
  className?: string;
6
6
  }
7
- export declare function Promo(props: PromoProps): Promise<import("react").JSX.Element>;
7
+ export declare function Promo(props: PromoProps): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PromoContent } from './PromoContent.js';
3
+ export async function Promo(props) {
4
+ /**
5
+ * await prefetchPromoQuery(props.id);
6
+ */
7
+ return _jsx(PromoContent, { id: props.id });
8
+ }
@@ -1,2 +1,2 @@
1
1
  import type { PromoProps } from './Promo';
2
- export declare function PromoContent(props: PromoProps): import("react").JSX.Element;
2
+ export declare function PromoContent(props: PromoProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
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 } from '../../icons/index.js';
6
+ import { Button, Prose } from '../../ui/index.js';
7
+ export function PromoContent(props) {
8
+ return (_jsxs("div", { className: props.className, children: [_jsxs(Link, { href: props.viewAllPromosUrl ?? '/promos', className: "text-button-tertiary-fg flex w-fit items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to all Promotions"] }), _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-xl h-auto w-full rounded-xl lg:mt-6" }), _jsx(Button, { className: "mt-xl lg:mt-6", children: "Deposit Now" }), _jsx("h1", { className: "mt-xl text-2xl font-semibold lg:mt-6 lg:text-3xl", children: "Welcome Bonus 100% up to $500 + 10 Free Spins" }), _jsx("p", { className: "text-text-secondary-700 mt-xl lg:mt-6", children: "Ends 5/26/2025, 1:59:59 AM" }), _jsxs(Prose, { className: "mt-2xl lg:mt-6", children: [_jsx("p", { children: "Mi tincidunt elit, id quisque ligula ac diam, amet. Vel etiam suspendisse morbi eleifend faucibus eget vestibulum felis. Dictum quis montes, sit sit. Tellus aliquam enim urna, etiam. Mauris posuere vulputate arcu amet, vitae nisi, tellus tincidunt. At feugiat sapien varius id." }), _jsx("p", { children: "Eget quis mi enim, leo lacinia pharetra, semper. Eget in volutpat mollis at volutpat lectus velit, sed auctor. Porttitor fames arcu quis fusce augue enim. Quis at habitant diam at. Suscipit tristique risus, at donec. In turpis vel et quam imperdiet. Ipsum molestie aliquet sodales id est ac volutpat." }), _jsx("p", { children: "Ipsum sit mattis nulla quam nulla. Gravida id gravida ac enim mauris id. Non pellentesque congue eget consectetur turpis. Sapien, dictum molestie sem tempor. Diam elit, orci, tincidunt aenean tempus. Quis velit eget ut tortor tellus. Sed vel, congue felis elit erat nam nibh orci." }), _jsx("p", { children: "Dolor enim eu tortor urna sed duis nulla. Aliquam vestibulum, nulla odio nisl vitae. In aliquet pellentesque aenean hac vestibulum turpis mi bibendum diam. Tempor integer aliquam in vitae malesuada fringilla." }), _jsx("p", { children: "Elit nisi in eleifend sed nisi. Pulvinar at orci, proin imperdiet commodo consectetur convallis risus. Sed condimentum enim dignissim adipiscing faucibus consequat, urna. Viverra purus et erat auctor aliquam. Risus, volutpat vulputate posuere purus sit congue convallis aliquet. Arcu id augue ut feugiat donec porttitor neque. Mauris, neque ultricies eu vestibulum, bibendum quam lorem id. Dolor lacus, eget nunc lectus in tellus, pharetra, porttitor." }), _jsx("p", { children: "Ipsum sit mattis nulla quam nulla. Gravida id gravida ac enim mauris id. Non pellentesque congue eget consectetur turpis. Sapien, dictum molestie sem tempor. Diam elit, orci, tincidunt aenean tempus. Quis velit eget ut tortor tellus. Sed vel, congue felis elit erat nam nibh orci." }), _jsx("h5", { children: "General Conditions:" }), _jsx("p", { children: "Mi tincidunt elit, id quisque ligula ac diam, amet. Vel etiam suspendisse morbi eleifend faucibus eget vestibulum felis. Dictum quis montes, sit sit. Tellus aliquam enim urna, etiam. Mauris posuere vulputate arcu amet, vitae nisi, tellus tincidunt. At feugiat sapien varius id." }), _jsx("p", { children: "Eget quis mi enim, leo lacinia pharetra, semper. Eget in volutpat mollis at volutpat lectus velit, sed auctor. Porttitor fames arcu quis fusce augue enim. Quis at habitant diam at. Suscipit tristique risus, at donec. In turpis vel et quam imperdiet. Ipsum molestie aliquet sodales id est ac volutpat." })] }), _jsxs(Prose, { className: "bg-bg-secondary mt-xl rounded-2xl p-2xl lg:mt-16 lg:p-4xl", children: [_jsx("h2", { children: "Conclusion" }), _jsx("p", { children: "Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse." }), _jsx("p", { children: "Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus. Etiam egestas in nec sed et. Quis lobortis at sit dictum eget nibh tortor commodo cursus." }), _jsx("p", { children: "Odio felis sagittis, morbi feugiat tortor vitae feugiat fusce aliquet. Nam elementum urna nisi aliquet erat dolor enim. Ornare id morbi eget ipsum. Aliquam senectus neque ut id eget consectetur dictum. Donec posuere pharetra odio consequat scelerisque et, nunc tortor." })] })] }));
9
+ }
@@ -1 +1 @@
1
- export * from './Promo';
1
+ export * from './Promo.js';
@@ -1,2 +1,2 @@
1
1
  import type { PromosProps } from './Promos';
2
- export declare function PromoCarousel(props: PromosProps): import("react").JSX.Element;
2
+ export declare function PromoCarousel(props: PromosProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,41 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import useEmblaCarousel, {} from 'embla-carousel-react';
4
+ import Link from 'next/link';
5
+ import { useCallback, useEffect, useState } from 'react';
6
+ import { twMerge } from 'tailwind-merge';
7
+ import { usePromosQuery } from '../../client/hooks/index.js';
8
+ import { ArrowLeftIcon, ArrowRightIcon, ChevronRightIcon, Gift01Icon, } from '../../icons/index.js';
9
+ import { Button } from '../../ui/index.js';
10
+ import { Empty } from '../Empty.js';
11
+ import { PromosItem } from './PromoItem.js';
12
+ export function PromoCarousel(props) {
13
+ const promosQuery = usePromosQuery({});
14
+ const promos = promosQuery.data || [];
15
+ const [emblaRef, emblaApi] = useEmblaCarousel({
16
+ align: 'start',
17
+ slidesToScroll: 1,
18
+ breakpoints: {
19
+ '(min-width: 1024px)': {
20
+ slidesToScroll: 3,
21
+ },
22
+ },
23
+ });
24
+ const [prevBtnDisabled, setPrevBtnDisabled] = useState(true);
25
+ const [nextBtnDisabled, setNextBtnDisabled] = useState(true);
26
+ const onPrevButtonClick = useCallback(() => emblaApi?.scrollPrev(), [emblaApi]);
27
+ const onNextButtonClick = useCallback(async () => {
28
+ emblaApi?.scrollNext();
29
+ }, [emblaApi]);
30
+ const onSelect = useCallback((emblaApi) => {
31
+ setPrevBtnDisabled(!emblaApi?.canScrollPrev());
32
+ setNextBtnDisabled(!emblaApi?.canScrollNext());
33
+ }, []);
34
+ useEffect(() => {
35
+ if (!emblaApi)
36
+ return;
37
+ onSelect(emblaApi);
38
+ emblaApi.on('reInit', onSelect).on('select', onSelect);
39
+ }, [emblaApi, onSelect]);
40
+ return (_jsxs("div", { className: props.className, children: [_jsxs("div", { className: "flex items-center", children: [_jsx("h2", { className: "text-lg font-semibold", children: props.heading ?? 'Promotions' }), _jsx("div", { className: "grow" }), _jsxs("div", { className: "flex items-center justify-center gap-xl", children: [_jsxs(Link, { href: props.viewAllUrl ?? '/promos', className: "text-button-tertiary-fg flex gap-sm text-sm font-semibold", children: ["See All", _jsx(ChevronRightIcon, { className: "size-5 lg:hidden" })] }), _jsxs("div", { className: "hidden lg:flex", children: [_jsx(Button, { variant: "outline", colorScheme: "gray", className: "rounded-r-none border-r-0", onClick: onPrevButtonClick, disabled: prevBtnDisabled, "aria-label": "Previous", children: _jsx(ArrowLeftIcon, { className: "size-5" }) }), _jsx(Button, { variant: "outline", colorScheme: "gray", className: "rounded-l-none", onClick: onNextButtonClick, disabled: nextBtnDisabled, "aria-label": "Next", children: _jsx(ArrowRightIcon, { className: "size-5" }) })] })] })] }), promos.length <= 0 && (_jsx(Empty, { icon: Gift01Icon, title: "No Promos", message: "No promo is currently available.", className: "mt-8" })), promos.length >= 1 && (_jsx("div", { ref: emblaRef, className: "relative mt-lg lg:overflow-hidden", children: _jsx("div", { className: twMerge('grid auto-cols-[calc((100%-(0.375rem*2))/1)] grid-flow-col gap-sm lg:auto-cols-[calc((100%-(0.5rem*5))/3)] lg:gap-md'), children: promos.map((promo) => (_jsx(PromosItem, { promo: promo, shouldShowDescription: props.shouldShowDescription }, promo.id))) }) }))] }));
41
+ }
@@ -1,2 +1,2 @@
1
1
  import type { PromosProps } from './Promos';
2
- export declare function PromoGrid(props: PromosProps): import("react").JSX.Element;
2
+ export declare function PromoGrid(props: PromosProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { twMerge } from 'tailwind-merge';
4
+ import { usePromosQuery } from '../../client/hooks/index.js';
5
+ import { Gift01Icon } from '../../icons/index.js';
6
+ import { Empty } from '../Empty.js';
7
+ import { PromosItem } from './PromoItem.js';
8
+ export function PromoGrid(props) {
9
+ const promosQuery = usePromosQuery({});
10
+ const promos = promosQuery.data || [];
11
+ return (_jsxs("div", { className: props.className, children: [_jsxs("div", { className: "flex items-center", children: [_jsx("h2", { className: "text-lg font-semibold", children: props.heading ?? 'Promos' }), _jsx("div", { className: "grow" })] }), promos.length <= 0 && (_jsx(Empty, { icon: Gift01Icon, title: "No Promos", message: "No promo is currently available.", className: "mt-lg" })), promos.length >= 1 && (_jsx("div", { className: "relative mt-lg lg:overflow-hidden", children: _jsx("div", { className: twMerge('grid grid-cols-1 gap-sm lg:grid-cols-3 lg:gap-md'), children: promos.map((promo) => (_jsx(PromosItem, { promo: promo, shouldShowDescription: props.shouldShowDescription }, promo.id))) }) }))] }));
12
+ }
@@ -3,5 +3,5 @@ interface PromosItemProps {
3
3
  promo: Promo;
4
4
  shouldShowDescription?: boolean;
5
5
  }
6
- export declare function PromosItem(props: PromosItemProps): import("react").JSX.Element;
6
+ export declare function PromosItem(props: PromosItemProps): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import Image from 'next/image';
3
+ import { useRouter } from 'next/navigation';
4
+ import { twJoin } from 'tailwind-merge';
5
+ import { Button } from '../../ui/index.js';
6
+ export function PromosItem(props) {
7
+ const { promo } = props;
8
+ const router = useRouter();
9
+ return (_jsxs("div", { className: "border-gray-50 bg-accent-50 relative flex h-full flex-col rounded-md border", children: [promo.banner.url && (_jsx(Image, { src: promo.banner.url, alt: promo.name, width: 1200, height: 500, priority: true, className: "aspect-[1200/500] w-full rounded-t-md object-cover" })), _jsxs("div", { className: "flex flex-grow flex-col p-4", children: [_jsx("p", { className: twJoin('w-full text-xl font-bold', props.shouldShowDescription ? 'text-start' : 'text-center'), children: promo.name }), props.shouldShowDescription && promo.description && (_jsx("p", { className: "text-gray-600 mb-2 line-clamp-2 w-full overflow-hidden text-start text-sm", dangerouslySetInnerHTML: { __html: promo.description } })), _jsx("div", { className: "mt-auto pt-4", children: _jsx(Button, { className: "w-full", variant: "outline", onClick: () => router.push(`/promos/${promo.id}`), children: "Read More" }) })] })] }, promo.id));
10
+ }
@@ -10,4 +10,4 @@ export interface PromosProps {
10
10
  /** @default 'carousel' */
11
11
  layout?: 'carousel' | 'grid';
12
12
  }
13
- export declare function Promos(props: PromosProps): import("react").JSX.Element;
13
+ export declare function Promos(props: PromosProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PromoCarousel } from './PromoCarousel.js';
3
+ import { PromoGrid } from './PromoGrid.js';
4
+ export function Promos(props) {
5
+ if (props.layout === 'grid') {
6
+ return _jsx(PromoGrid, { ...props });
7
+ }
8
+ else {
9
+ return _jsx(PromoCarousel, { ...props });
10
+ }
11
+ }
@@ -1 +1 @@
1
- export * from './Promos';
1
+ export * from './Promos.js';
@@ -1 +1 @@
1
- export * from './Protected';
1
+ export * from './Protected.js';
@@ -1 +1 @@
1
- export default function DailyCheckInQuest(): import("react").JSX.Element;
1
+ export default function DailyCheckInQuest(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,58 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { CalendarIcon, ClockStopWatchIcon, InfoCircleIcon } from '../../../icons/index.js';
4
+ import { twMerge } from 'tailwind-merge';
5
+ import { Button } from '../../../ui/index.js';
6
+ import { useState } from 'react';
7
+ import { DailyCheckInQuestModal } from './DailyCheckInQuestModal.js';
8
+ export default function DailyCheckInQuest() {
9
+ const [showRules, setShowRules] = useState(false);
10
+ // dummy data
11
+ const dailyCheckedInData = [
12
+ {
13
+ day: 1,
14
+ reward: 0,
15
+ },
16
+ {
17
+ day: 2,
18
+ reward: 0,
19
+ },
20
+ {
21
+ day: 3,
22
+ reward: 5,
23
+ },
24
+ {
25
+ day: 4,
26
+ reward: 0,
27
+ },
28
+ {
29
+ day: 5,
30
+ reward: 10,
31
+ },
32
+ {
33
+ day: 6,
34
+ reward: 0,
35
+ },
36
+ {
37
+ day: 7,
38
+ reward: 20,
39
+ },
40
+ ];
41
+ const checkedInDays = 4;
42
+ const totalDays = 7;
43
+ const progressPercent = (checkedInDays / totalDays) * 100;
44
+ return (_jsxs(_Fragment, { children: [_jsx(DailyCheckInQuestModal, { modalState: {
45
+ isOpen: showRules,
46
+ setIsOpen: setShowRules,
47
+ } }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary flex h-full w-full min-w-[343px] flex-col space-y-6 rounded-2xl border px-4 pb-6 pt-5", children: [_jsxs("div", { className: "flex flex-col space-y-2", children: [_jsxs("div", { className: "flex max-h-7.5 items-start justify-between", children: [_jsxs("div", { className: "border-utility-brand-200 bg-utility-brand-50 rounded-xs flex items-center space-x-1 border py-1 pl-2 pr-2.5", children: [_jsx(ClockStopWatchIcon, { className: "text-brand-400" }), _jsx("p", { className: "text-utility-brand-700 text-sm font-medium", children: "6d:10h:11m:10s" })] }), _jsx("div", { role: "button", className: "rounded-xs bg-bg-primary border-border-secondary cursor-pointer border p-2", onClick: () => setShowRules((prev) => !prev), children: _jsx(InfoCircleIcon, { className: "text-text-disabled" }) })] }), _jsx("p", { className: "text-xl font-semibold", children: "Daily Check-In" }), _jsx("p", { className: "text-text-secondary-700 text-wrap text-sm font-normal", children: "Check in for 7 days in a row to earn a bonus, don\u2019t miss a day to keep your streak!" })] }), _jsxs("div", { className: "flex w-full flex-col space-y-2", children: [_jsx("div", { className: "grid grid-cols-7", children: dailyCheckedInData.map((item) => {
48
+ const reward = item.reward ? `+₱${item.reward}` : '-';
49
+ return (_jsx("div", { className: twMerge('flex items-center justify-center', item.day <= checkedInDays
50
+ ? 'text-brand-400'
51
+ : 'text-text-secondary-700'), children: _jsx("p", { children: reward }) }, item.day));
52
+ }) }), _jsx("div", { className: "bg-bg-primary h-2 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "bg-utility-brand-600 h-full rounded-full transition-all duration-300", style: { width: `${progressPercent}%` } }) }), _jsx("div", { className: "grid grid-cols-7", children: dailyCheckedInData.map((item) => (_jsx("div", { className: "flex items-center justify-center", children: _jsx(CalendarWithDayNumber, { day: item.day, currentCheckedInDays: checkedInDays }, item.day) }, item.day))) })] }), _jsx(Button, { children: "Check-In" })] })] }));
53
+ }
54
+ function CalendarWithDayNumber({ day, currentCheckedInDays, }) {
55
+ return (_jsxs("div", { className: twMerge('group relative h-fit w-fit', day <= currentCheckedInDays
56
+ ? 'text-brand-400'
57
+ : 'text-text-secondary-700'), children: [_jsx(CalendarIcon, {}), _jsx("div", { className: "absolute inset-0 mt-[4px] flex items-center justify-center text-2xs lg:mt-[2px]", children: _jsx("p", { className: "text-center", children: day }) })] }));
58
+ }
@@ -4,5 +4,5 @@ interface Props {
4
4
  setIsOpen: (isOpen: boolean) => void;
5
5
  };
6
6
  }
7
- export declare function DailyCheckInQuestModal(props: Props): import("react").JSX.Element;
7
+ export declare function DailyCheckInQuestModal(props: Props): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Button, Dialog } from '../../../ui/index.js';
4
+ import { Portal } from '@ark-ui/react';
5
+ import { XIcon } from '../../../icons/index.js';
6
+ export function DailyCheckInQuestModal(props) {
7
+ return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: props.modalState.isOpen, onOpenChange: ({ open }) => props.modalState.setIsOpen(open), closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto max-w-[343px] rounded-xl px-4 pb-0 pt-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col space-y-5", children: [_jsx("p", { className: "text-text-primary-900 text-[18px] font-semibold", children: "Daily Check-In Rules" }), _jsxs("ul", { className: "text-text-tertiary-600 group list-disc text-wrap pl-4 text-sm font-normal", children: [_jsx("li", { children: "Earn rewards just for checking in each day!" }), _jsx("li", { children: "Stay consistent to unlock special rewards on the 3rd, 5th, and 7th day." }), _jsx("li", { children: "Missing a day will reset your streak, starting again from Day 1." }), _jsx("li", { children: "Each check-in unlocks the next one on the following day." }), _jsx("li", { children: "Successfully check in for 7 consecutive days to complete the quest and reset the cycle." })] })] }), _jsx("div", { className: "pb-4 pt-6", children: _jsx(Button, { onClick: () => props.modalState.setIsOpen(false), children: "Ok" }) })] }) })] }) }));
8
+ }
@@ -1 +1 @@
1
- export declare function Quests(): import("react").JSX.Element;
1
+ export declare function Quests(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import DailyCheckInQuest from './DailyCheckInQuest/DailyCheckInQuest.js';
3
+ import WageringQuest from './WageringQuest/WageringQuest.js';
4
+ export function Quests() {
5
+ return (_jsxs("div", { className: "mt-6 flex w-full flex-col px-4 lg:px-0", children: [_jsx("h3", { className: "mb-3 text-lg", children: "Quests" }), _jsxs("div", { className: "grid grid-cols-1 gap-3xl lg:grid-cols-3", children: [_jsx(DailyCheckInQuest, {}), _jsx(WageringQuest, {})] })] }));
6
+ }
@@ -1 +1 @@
1
- export default function WageringQuest(): import("react").JSX.Element;
1
+ export default function WageringQuest(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { ClockStopWatchIcon, InfoCircleIcon } from '../../../icons/index.js';
4
+ import { Button } from '../../../ui/index.js';
5
+ import { useState } from 'react';
6
+ import { WageringQuestModal } from './WageringQuestModal.js';
7
+ export default function WageringQuest() {
8
+ const [showRules, setShowRules] = useState(false);
9
+ const totalBet = 200;
10
+ const targetBet = 500;
11
+ const progressPercent = (totalBet / targetBet) * 100;
12
+ return (_jsxs(_Fragment, { children: [_jsx(WageringQuestModal, { modalState: {
13
+ isOpen: showRules,
14
+ setIsOpen: setShowRules,
15
+ } }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary flex h-full w-full min-w-[343px] flex-col space-y-6 rounded-2xl border px-4 pb-6 pt-5", children: [_jsxs("div", { className: "flex flex-col space-y-2", children: [_jsxs("div", { className: "flex max-h-7.5 items-start justify-between", children: [_jsxs("div", { className: "border-utility-brand-200 bg-utility-brand-50 rounded-xs flex items-center space-x-1 border py-1 pl-2 pr-2.5", children: [_jsx(ClockStopWatchIcon, { className: "text-brand-400" }), _jsx("p", { className: "text-utility-brand-700 text-sm font-medium", children: "6d:10h:11m:10s" })] }), _jsx("div", { role: "button", className: "rounded-xs bg-bg-primary border-border-secondary cursor-pointer border p-2", onClick: () => setShowRules((prev) => !prev), children: _jsx(InfoCircleIcon, { className: "text-text-disabled" }) })] }), _jsx("p", { className: "text-xl font-semibold", children: "Slots - total bet of \u20B1500" }), _jsx("p", { className: "text-text-secondary-700 text-wrap text-sm font-normal", children: "Play any slot game and place a total of \u20B1500 in bets to claim your reward!" })] }), _jsxs("div", { className: "flex w-full flex-col space-y-2", children: [_jsxs("div", { className: "text-text-primary-brand group flex items-center justify-between", children: [_jsxs("p", { children: ["Progress ", progressPercent, "%"] }), _jsxs("p", { children: [totalBet, _jsxs("span", { className: "text-text-quarterary-brand", children: ["/", targetBet] })] })] }), _jsx("div", { className: "bg-bg-primary h-2 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "bg-utility-brand-600 h-full rounded-full transition-all duration-300", style: { width: `${progressPercent}%` } }) })] }), _jsx("div", { className: "flex h-full items-end", children: _jsx(Button, { variant: "solid", className: "bg-button-secondary-bg border-bg-primary-hover border text-white", children: _jsxs("p", { children: ["Complete to get ", _jsx("span", { className: "text-brand-400", children: "\u20B150" }), " bonus!"] }) }) })] })] }));
16
+ }
@@ -4,5 +4,5 @@ interface Props {
4
4
  setIsOpen: (isOpen: boolean) => void;
5
5
  };
6
6
  }
7
- export declare function WageringQuestModal(props: Props): import("react").JSX.Element;
7
+ export declare function WageringQuestModal(props: Props): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Button, Dialog } from '../../../ui/index.js';
4
+ import { Portal } from '@ark-ui/react';
5
+ import { XIcon } from '../../../icons/index.js';
6
+ export function WageringQuestModal(props) {
7
+ return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: props.modalState.isOpen, onOpenChange: ({ open }) => props.modalState.setIsOpen(open), closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto max-w-[343px] rounded-xl px-4 pb-0 pt-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col space-y-5", children: [_jsx("p", { className: "text-text-primary-900 text-[18px] font-semibold", children: "Slots - total bet Rules" }), _jsxs("ul", { className: "text-text-tertiary-600 group list-disc text-wrap pl-4 text-sm font-normal", children: [_jsx("li", { children: "Earn extra rewards just by playing Slots, every bet counts, win or lose!" }), _jsx("li", { children: "Reach the wagering requirement in bets to complete the quest and claim your reward." })] })] }), _jsx("div", { className: "pb-4 pt-6", children: _jsx(Button, { onClick: () => props.modalState.setIsOpen(false), children: "Ok" }) })] }) })] }) }));
8
+ }
@@ -1 +1 @@
1
- export * from './Quests';
1
+ export * from './Quests.js';
@@ -4,4 +4,4 @@ export interface SignInProps {
4
4
  logo: ImageProps['src'];
5
5
  children?: ReactNode;
6
6
  }
7
- export declare function SignIn(props: SignInProps): import("react").JSX.Element;
7
+ export declare function SignIn(props: SignInProps): import("react/jsx-runtime").JSX.Element;