@opexa/portal-components 0.0.18 → 0.0.20

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 (427) hide show
  1. package/dist/client/hooks/index.d.ts +6 -3
  2. package/dist/client/hooks/useAuthenticateMutation.js +1 -1
  3. package/dist/client/hooks/useAuthenticateMutation.mjs +5 -4
  4. package/dist/client/hooks/useBonusesQuery.d.ts +3 -0
  5. package/dist/client/hooks/useBonusesQuery.js +1 -0
  6. package/dist/client/hooks/useBonusesQuery.mjs +38 -0
  7. package/dist/client/hooks/useCreateGameSessionMutation.d.ts +2 -2
  8. package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
  9. package/dist/client/hooks/useCreateGameSessionMutation.mjs +22 -22
  10. package/dist/client/hooks/useEndGameSessionMutation.d.ts +2 -2
  11. package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
  12. package/dist/client/hooks/useEndGameSessionMutation.mjs +18 -18
  13. package/dist/client/hooks/useFavoriteGamesQuery.d.ts +3 -0
  14. package/dist/client/hooks/useFavoriteGamesQuery.js +1 -0
  15. package/dist/client/hooks/useFavoriteGamesQuery.mjs +38 -0
  16. package/dist/client/hooks/useGlobalStore.d.ts +30 -20
  17. package/dist/client/hooks/useGlobalStore.js +1 -1
  18. package/dist/client/hooks/useGlobalStore.mjs +39 -6
  19. package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +3 -0
  20. package/dist/client/hooks/useJackpotPayoutsQuery.js +1 -0
  21. package/dist/client/hooks/useJackpotPayoutsQuery.mjs +31 -0
  22. package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +2 -0
  23. package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +1 -0
  24. package/dist/client/hooks/useMarkGameAsFavoriteMutation.mjs +37 -0
  25. package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -5
  26. package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -1
  27. package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +18 -18
  28. package/dist/client/hooks/useSignInMutation.js +1 -1
  29. package/dist/client/hooks/useSignInMutation.mjs +3 -2
  30. package/dist/client/hooks/useSignOutMutation.js +1 -1
  31. package/dist/client/hooks/useSignOutMutation.mjs +11 -10
  32. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +2 -0
  33. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +1 -0
  34. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.mjs +37 -0
  35. package/dist/client/services/getSession.d.ts +1 -1
  36. package/dist/client/services/getSession.js +1 -1
  37. package/dist/client/services/getSession.mjs +4 -3
  38. package/dist/client-hooks.js +1 -1
  39. package/dist/client-hooks.mjs +90 -84
  40. package/dist/components/Account/Account.d.ts +17 -10
  41. package/dist/components/Account/Account.js +1 -1
  42. package/dist/components/Account/Account.mjs +204 -148
  43. package/dist/components/Account/account.recipe.d.ts +61 -0
  44. package/dist/components/Account/account.recipe.js +1 -0
  45. package/dist/components/Account/account.recipe.mjs +35 -0
  46. package/dist/components/BetRecords/BetRecords.js +1 -1
  47. package/dist/components/BetRecords/BetRecords.mjs +174 -150
  48. package/dist/components/Bonus/Bonus.client.js +1 -0
  49. package/dist/components/Bonus/Bonus.client.mjs +143 -0
  50. package/dist/components/Bonus/Bonus.js +1 -0
  51. package/dist/components/Bonus/Bonus.mjs +8 -0
  52. package/dist/components/Bonuses/Bonuses.js +1 -1
  53. package/dist/components/Bonuses/Bonuses.mjs +6 -5
  54. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  55. package/dist/components/DepositWithdrawal/AmountChoices.mjs +4 -2
  56. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
  57. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +25 -23
  58. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
  59. package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +3 -2
  60. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  61. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +15 -13
  62. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  63. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +4 -2
  64. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  65. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +4 -2
  66. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  67. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +4 -2
  68. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  69. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +3 -2
  70. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
  71. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +9 -8
  72. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  73. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +36 -34
  74. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  75. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +3 -2
  76. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  77. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +7 -6
  78. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
  79. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +9 -8
  80. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  81. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +12 -10
  82. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  83. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +4 -2
  84. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
  85. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +9 -7
  86. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
  87. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +4 -2
  88. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
  89. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +4 -2
  90. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
  91. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +9 -7
  92. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +1 -1
  93. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +3 -2
  94. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  95. package/dist/components/Disclaimer/Disclaimer.mjs +7 -6
  96. package/dist/components/Empty.js +1 -0
  97. package/dist/components/{Empty/CloudIcon.mjs → Empty.mjs} +26 -11
  98. package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +2 -0
  99. package/dist/components/FavoriteGames/FavoriteGames.client.js +1 -0
  100. package/dist/components/FavoriteGames/FavoriteGames.client.mjs +132 -0
  101. package/dist/components/FavoriteGames/FavoriteGames.d.ts +6 -0
  102. package/dist/components/FavoriteGames/FavoriteGames.js +1 -0
  103. package/dist/components/FavoriteGames/FavoriteGames.mjs +17 -0
  104. package/dist/components/FavoriteGames/index.d.ts +1 -0
  105. package/dist/components/GameLaunch/GameLaunch.d.ts +1 -5
  106. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  107. package/dist/components/GameLaunch/GameLaunch.mjs +147 -123
  108. package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +2 -2
  109. package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
  110. package/dist/components/GameLaunch/GameLaunchTrigger.mjs +7 -6
  111. package/dist/components/GameProviders/GameProviders.d.ts +7 -10
  112. package/dist/components/GameProviders/GameProviders.js +1 -0
  113. package/dist/components/GameProviders/GameProviders.mjs +122 -0
  114. package/dist/components/GameProviders/index.d.ts +1 -0
  115. package/dist/components/Games/Games.client.js +1 -1
  116. package/dist/components/Games/Games.client.mjs +91 -66
  117. package/dist/components/Games/Games.js +1 -1
  118. package/dist/components/Games/Games.mjs +4 -2
  119. package/dist/components/GamesSearch/GamesSearch.d.ts +6 -0
  120. package/dist/components/GamesSearch/GamesSearch.js +1 -0
  121. package/dist/components/GamesSearch/GamesSearch.mjs +199 -0
  122. package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +4 -0
  123. package/dist/components/GamesSearch/GamesSearchTrigger.js +1 -0
  124. package/dist/components/GamesSearch/GamesSearchTrigger.mjs +50 -0
  125. package/dist/components/GamesSearch/index.d.ts +2 -0
  126. package/dist/components/InfiniteScroll.d.ts +10 -0
  127. package/dist/components/InfiniteScroll.js +1 -0
  128. package/dist/components/InfiniteScroll.mjs +30 -0
  129. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
  130. package/dist/components/JackpotCounter/JackpotCounter.client.js +1 -0
  131. package/dist/components/JackpotCounter/JackpotCounter.client.mjs +139 -0
  132. package/dist/components/JackpotCounter/JackpotCounter.d.ts +1 -1
  133. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  134. package/dist/components/JackpotCounter/JackpotCounter.mjs +10 -114
  135. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -0
  136. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  137. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +206 -119
  138. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
  139. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +11 -9
  140. package/dist/components/Jackpots/JackpotGameProviders.js +1 -0
  141. package/dist/components/Jackpots/JackpotGameProviders.mjs +105 -0
  142. package/dist/components/Jackpots/JackpotItem.d.ts +2 -2
  143. package/dist/components/Jackpots/JackpotItem.js +1 -0
  144. package/dist/components/Jackpots/JackpotItem.mjs +408 -0
  145. package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
  146. package/dist/components/Jackpots/JackpotItemMobile.js +1 -0
  147. package/dist/components/Jackpots/JackpotItemMobile.mjs +427 -0
  148. package/dist/components/Jackpots/JackpotRules.d.ts +6 -0
  149. package/dist/components/Jackpots/JackpotRules.js +1 -0
  150. package/dist/components/Jackpots/JackpotRules.mjs +78 -0
  151. package/dist/components/Jackpots/Jackpots.d.ts +2 -2
  152. package/dist/components/Jackpots/Jackpots.js +1 -0
  153. package/dist/components/Jackpots/Jackpots.mjs +61 -0
  154. package/dist/components/KYC/KYC.d.ts +5 -0
  155. package/dist/components/KYC/KYC.js +1 -0
  156. package/dist/components/KYC/KYC.mjs +84 -0
  157. package/dist/components/KYC/KYCContext.d.ts +3 -0
  158. package/dist/components/KYC/KYCContext.js +1 -0
  159. package/dist/components/KYC/KYCContext.mjs +11 -0
  160. package/dist/components/KYC/KYCTrigger.d.ts +5 -0
  161. package/dist/components/KYC/KYCTrigger.js +1 -0
  162. package/dist/components/KYC/KYCTrigger.mjs +42 -0
  163. package/dist/components/KYC/Step1.d.ts +1 -0
  164. package/dist/components/KYC/Step1.js +1 -0
  165. package/dist/components/KYC/Step1.mjs +67 -0
  166. package/dist/components/KYC/Step2.d.ts +1 -0
  167. package/dist/components/KYC/Step2.js +1 -0
  168. package/dist/components/KYC/Step2.mjs +126 -0
  169. package/dist/components/KYC/Step3.d.ts +1 -0
  170. package/dist/components/KYC/Step3.js +1 -0
  171. package/dist/components/KYC/Step3.mjs +98 -0
  172. package/dist/components/KYC/StepIndicator.d.ts +1 -0
  173. package/dist/components/KYC/StepIndicator.js +1 -0
  174. package/dist/components/KYC/StepIndicator.mjs +42 -0
  175. package/dist/components/KYC/UploadDocument.d.ts +1 -0
  176. package/dist/components/KYC/UploadDocument.js +1 -0
  177. package/dist/components/KYC/UploadDocument.mjs +69 -0
  178. package/dist/components/KYC/UploadSelfie.d.ts +1 -0
  179. package/dist/components/KYC/UploadSelfie.js +1 -0
  180. package/dist/components/KYC/UploadSelfie.mjs +65 -0
  181. package/dist/components/KYC/index.d.ts +2 -0
  182. package/dist/components/KYC/useKYC.d.ts +14 -0
  183. package/dist/components/KYC/useKYC.js +1 -0
  184. package/dist/components/KYC/useKYC.mjs +43 -0
  185. package/dist/components/KYC/utils.d.ts +1 -0
  186. package/dist/components/Messages/MessageItem.js +1 -1
  187. package/dist/components/Messages/MessageItem.mjs +37 -28
  188. package/dist/components/Messages/MessagePopup.js +1 -1
  189. package/dist/components/Messages/MessagePopup.mjs +35 -29
  190. package/dist/components/Messages/Messages.js +1 -1
  191. package/dist/components/Messages/Messages.mjs +80 -61
  192. package/dist/components/PortalProvider/PortalProvider.client.d.ts +2 -0
  193. package/dist/components/PortalProvider/{Providers.js → PortalProvider.client.js} +1 -1
  194. package/dist/components/PortalProvider/{Providers.mjs → PortalProvider.client.mjs} +28 -15
  195. package/dist/components/PortalProvider/PortalProvider.d.ts +9 -2
  196. package/dist/components/PortalProvider/PortalProvider.js +1 -1
  197. package/dist/components/PortalProvider/PortalProvider.mjs +17 -11
  198. package/dist/components/Promo/Promo.d.ts +4 -1
  199. package/dist/components/Promo/Promo.js +1 -1
  200. package/dist/components/Promo/Promo.mjs +2 -2
  201. package/dist/components/Promo/PromoContent.js +1 -1
  202. package/dist/components/Promo/PromoContent.mjs +75 -22
  203. package/dist/components/Promos/PromoCarousel.js +1 -1
  204. package/dist/components/Promos/PromoCarousel.mjs +5 -3
  205. package/dist/components/Promos/PromoGrid.js +1 -1
  206. package/dist/components/Promos/PromoGrid.mjs +7 -6
  207. package/dist/components/Promos/PromoItem.js +1 -1
  208. package/dist/components/Promos/PromoItem.mjs +3 -2
  209. package/dist/components/Protected/Protected.js +1 -1
  210. package/dist/components/Protected/Protected.mjs +3 -2
  211. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -0
  212. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +1 -0
  213. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.mjs +154 -0
  214. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
  215. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -0
  216. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.mjs +66 -0
  217. package/dist/components/Quests/Quests.d.ts +1 -0
  218. package/dist/components/Quests/Quests.js +1 -0
  219. package/dist/components/Quests/Quests.mjs +15 -0
  220. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -0
  221. package/dist/components/Quests/WageringQuest/WageringQuest.js +1 -0
  222. package/dist/components/Quests/WageringQuest/WageringQuest.mjs +109 -0
  223. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +8 -0
  224. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -0
  225. package/dist/components/Quests/WageringQuest/WageringQuestModal.mjs +63 -0
  226. package/dist/components/Quests/index.d.ts +1 -0
  227. package/dist/components/SignIn/SignIn.js +1 -1
  228. package/dist/components/SignIn/SignIn.mjs +4 -2
  229. package/dist/components/SignIn/SignInForm.js +1 -1
  230. package/dist/components/SignIn/SignInForm.mjs +4 -2
  231. package/dist/components/SignUp/SignUp.js +1 -1
  232. package/dist/components/SignUp/SignUp.mjs +4 -2
  233. package/dist/components/SignUp/SignUpForm.js +1 -1
  234. package/dist/components/SignUp/SignUpForm.mjs +4 -2
  235. package/dist/components/TopWins/TopWins.client.js +1 -1
  236. package/dist/components/TopWins/TopWins.client.mjs +3 -2
  237. package/dist/components/TopWins/TopWins.js +1 -1
  238. package/dist/components/TopWins/TopWins.mjs +4 -2
  239. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
  240. package/dist/components/TournamentCounter/TournamentCounter.client.js +1 -0
  241. package/dist/components/TournamentCounter/TournamentCounter.client.mjs +139 -0
  242. package/dist/components/TournamentCounter/TournamentCounter.d.ts +1 -1
  243. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  244. package/dist/components/TournamentCounter/TournamentCounter.mjs +17 -111
  245. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +7 -5
  246. package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
  247. package/dist/components/TournamentCounter/TournamentCounterItem.mjs +227 -86
  248. package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -0
  249. package/dist/components/Tournaments/TournamentGameProviders.js +1 -0
  250. package/dist/components/Tournaments/TournamentGameProviders.mjs +105 -0
  251. package/dist/components/Tournaments/TournamentItem.d.ts +6 -0
  252. package/dist/components/Tournaments/TournamentItem.js +2 -0
  253. package/dist/components/Tournaments/TournamentItem.mjs +262 -0
  254. package/dist/components/Tournaments/TournamentItemMobile.d.ts +8 -0
  255. package/dist/components/Tournaments/TournamentItemMobile.js +2 -0
  256. package/dist/components/Tournaments/TournamentItemMobile.mjs +285 -0
  257. package/dist/components/Tournaments/TournamentRules.d.ts +6 -0
  258. package/dist/components/Tournaments/TournamentRules.js +1 -0
  259. package/dist/components/Tournaments/TournamentRules.mjs +78 -0
  260. package/dist/components/Tournaments/Tournaments.d.ts +8 -0
  261. package/dist/components/Tournaments/Tournaments.js +1 -0
  262. package/dist/components/Tournaments/Tournaments.mjs +47 -0
  263. package/dist/components/Tournaments/index.d.ts +1 -0
  264. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  265. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +47 -38
  266. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  267. package/dist/components/TransactionRecords/TableFilters.mjs +236 -194
  268. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  269. package/dist/components/TransactionRecords/TransactionRecords.mjs +3 -2
  270. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  271. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +62 -53
  272. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  273. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +61 -52
  274. package/dist/components/index.d.ts +8 -0
  275. package/dist/components.js +1 -1
  276. package/dist/components.mjs +56 -36
  277. package/dist/icons/ArrowNarrowDownIcon.js +1 -0
  278. package/dist/icons/ArrowNarrowDownIcon.mjs +22 -0
  279. package/dist/icons/ArrowNarrowUpIcon.js +1 -0
  280. package/dist/icons/ArrowNarrowUpIcon.mjs +22 -0
  281. package/dist/icons/Award01Icon.d.ts +2 -0
  282. package/dist/icons/Award01Icon.js +1 -0
  283. package/dist/icons/Award01Icon.mjs +22 -0
  284. package/dist/icons/CalendarIcon.d.ts +2 -0
  285. package/dist/icons/CalendarIcon.js +1 -0
  286. package/dist/icons/CalendarIcon.mjs +26 -0
  287. package/dist/icons/Camera01Icon.d.ts +2 -0
  288. package/dist/icons/Camera01Icon.js +1 -0
  289. package/dist/icons/Camera01Icon.mjs +25 -0
  290. package/dist/icons/CheckCircleIcon.d.ts +2 -0
  291. package/dist/icons/CheckCircleIcon.js +1 -0
  292. package/dist/icons/CheckCircleIcon.mjs +22 -0
  293. package/dist/icons/ClockStopWatchIcon.d.ts +2 -0
  294. package/dist/icons/ClockStopWatchIcon.js +1 -0
  295. package/dist/icons/ClockStopWatchIcon.mjs +26 -0
  296. package/dist/icons/CoinsHandIcon.d.ts +2 -0
  297. package/dist/icons/CoinsHandIcon.js +1 -0
  298. package/dist/icons/CoinsHandIcon.mjs +22 -0
  299. package/dist/icons/CoinsStacked02Icon.d.ts +2 -0
  300. package/dist/icons/CoinsStacked02Icon.js +1 -0
  301. package/dist/icons/CoinsStacked02Icon.mjs +22 -0
  302. package/dist/icons/CoinsSwap02Icon.d.ts +2 -0
  303. package/dist/icons/CoinsSwap02Icon.js +1 -0
  304. package/dist/icons/CoinsSwap02Icon.mjs +22 -0
  305. package/dist/icons/Flag06Icon.d.ts +2 -0
  306. package/dist/icons/Flag06Icon.js +1 -0
  307. package/dist/icons/Flag06Icon.mjs +22 -0
  308. package/dist/icons/HelpCircleIcon.d.ts +2 -0
  309. package/dist/icons/HelpCircleIcon.js +1 -0
  310. package/dist/icons/HelpCircleIcon.mjs +22 -0
  311. package/dist/icons/InfoCircleIcon.d.ts +2 -0
  312. package/dist/icons/InfoCircleIcon.js +1 -0
  313. package/dist/icons/InfoCircleIcon.mjs +27 -0
  314. package/dist/icons/Menu01Icon.d.ts +2 -0
  315. package/dist/icons/Menu01Icon.js +1 -0
  316. package/dist/icons/Menu01Icon.mjs +22 -0
  317. package/dist/icons/Menu03Icon.d.ts +2 -0
  318. package/dist/icons/Menu03Icon.js +1 -0
  319. package/dist/icons/Menu03Icon.mjs +22 -0
  320. package/dist/icons/SearchLgIcon.d.ts +2 -0
  321. package/dist/icons/SearchLgIcon.js +1 -0
  322. package/dist/icons/SearchLgIcon.mjs +22 -0
  323. package/dist/icons/Settings02Icon.d.ts +2 -0
  324. package/dist/icons/Settings02Icon.js +1 -0
  325. package/dist/icons/Settings02Icon.mjs +25 -0
  326. package/dist/icons/Star01Icon.d.ts +2 -0
  327. package/dist/icons/Star01Icon.js +1 -0
  328. package/dist/icons/Star01Icon.mjs +22 -0
  329. package/dist/icons/StarIcon.js +1 -1
  330. package/dist/icons/StarIcon.mjs +1 -2
  331. package/dist/icons/UploadCloud02Icon.d.ts +2 -0
  332. package/dist/icons/UploadCloud02Icon.js +1 -0
  333. package/dist/icons/UploadCloud02Icon.mjs +22 -0
  334. package/dist/icons/index.d.ts +16 -0
  335. package/dist/icons.js +1 -1
  336. package/dist/icons.mjs +80 -48
  337. package/dist/images/fantasma-games.png.js +1 -0
  338. package/dist/images/fantasma-games.png.mjs +4 -0
  339. package/dist/images/hacksaw-gaming.png.js +1 -0
  340. package/dist/images/hacksaw-gaming.png.mjs +4 -0
  341. package/dist/images/trophy-two.png.js +1 -0
  342. package/dist/images/trophy-two.png.mjs +4 -0
  343. package/dist/portal-components.css +1 -1
  344. package/dist/server/services/getSession.d.ts +1 -1
  345. package/dist/server/services/getSession.js +1 -1
  346. package/dist/server/services/getSession.mjs +6 -5
  347. package/dist/server/utils/index.d.ts +2 -1
  348. package/dist/server/utils/prefetchBonusesQuery.d.ts +1 -0
  349. package/dist/server/utils/prefetchBonusesQuery.js +1 -0
  350. package/dist/server/utils/prefetchBonusesQuery.mjs +26 -0
  351. package/dist/server/utils/prefetchFavoriteGamesQuery.d.ts +1 -0
  352. package/dist/server/utils/prefetchFavoriteGamesQuery.js +1 -0
  353. package/dist/server/utils/prefetchFavoriteGamesQuery.mjs +28 -0
  354. package/dist/server-utils.js +1 -1
  355. package/dist/server-utils.mjs +38 -36
  356. package/dist/theme.css +9 -2
  357. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
  358. package/dist/third-parties/FacebookPixel/FacebookPixel.js +1 -0
  359. package/dist/third-parties/FacebookPixel/FacebookPixel.mjs +6 -0
  360. package/dist/third-parties/FacebookPixel/api.d.ts +1 -0
  361. package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
  362. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
  363. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +1 -0
  364. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.mjs +6 -0
  365. package/dist/third-parties/GoogleRecaptcha/api.d.ts +1 -0
  366. package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
  367. package/dist/third-parties/index.d.ts +2 -0
  368. package/dist/types/index.d.ts +8 -0
  369. package/dist/types.d.ts +1 -0
  370. package/dist/types.js +1 -0
  371. package/dist/types.mjs +1 -0
  372. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  373. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  374. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  375. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +1 -1
  376. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  377. package/dist/ui/Checkbox/checkbox.recipe.mjs +6 -6
  378. package/dist/ui/Combobox/Combobox.d.ts +815 -1
  379. package/dist/ui/Combobox/Combobox.js +1 -1
  380. package/dist/ui/Combobox/Combobox.mjs +27 -2
  381. package/dist/ui/Combobox/combobox.recipe.d.ts +58 -1
  382. package/dist/ui/Combobox/combobox.recipe.js +1 -0
  383. package/dist/ui/Combobox/combobox.recipe.mjs +15 -0
  384. package/dist/ui/DatePicker/DatePicker.d.ts +192 -192
  385. package/dist/ui/DatePicker/datePicker.recipe.d.ts +8 -8
  386. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  387. package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
  388. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  389. package/dist/ui/Dialog/dialog.recipe.mjs +3 -3
  390. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  391. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  392. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  393. package/dist/ui/Drawer/drawer.recipe.mjs +1 -1
  394. package/dist/ui/IconButton/iconButton.recipe.d.ts +1 -0
  395. package/dist/ui/IconButton/iconButton.recipe.js +1 -1
  396. package/dist/ui/IconButton/iconButton.recipe.mjs +3 -2
  397. package/dist/ui/Popover/Popover.d.ts +55 -55
  398. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  399. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  400. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  401. package/dist/ui/Select/Select.d.ts +45 -45
  402. package/dist/ui/Select/select.recipe.d.ts +3 -3
  403. package/dist/ui/Select/select.recipe.js +1 -1
  404. package/dist/ui/Select/select.recipe.mjs +2 -1
  405. package/dist/utils/queryKeys.d.ts +7 -3
  406. package/dist/utils/queryKeys.js +1 -1
  407. package/dist/utils/queryKeys.mjs +53 -43
  408. package/dist/utils.js +1 -1
  409. package/dist/utils.mjs +43 -39
  410. package/package.json +16 -11
  411. package/dist/client/hooks/useSiteQuery.d.ts +0 -3
  412. package/dist/client/hooks/useSiteQuery.js +0 -1
  413. package/dist/client/hooks/useSiteQuery.mjs +0 -23
  414. package/dist/components/Empty/CloudIcon.d.ts +0 -2
  415. package/dist/components/Empty/CloudIcon.js +0 -1
  416. package/dist/components/Empty/Empty.js +0 -1
  417. package/dist/components/Empty/Empty.mjs +0 -20
  418. package/dist/components/Empty/index.d.ts +0 -1
  419. package/dist/components/PortalProvider/Providers.d.ts +0 -2
  420. package/dist/images/ball.png.js +0 -1
  421. package/dist/images/ball.png.mjs +0 -4
  422. package/dist/images/card.png.js +0 -1
  423. package/dist/images/card.png.mjs +0 -4
  424. package/dist/server/utils/prefetchSiteQuery.d.ts +0 -1
  425. package/dist/server/utils/prefetchSiteQuery.js +0 -1
  426. package/dist/server/utils/prefetchSiteQuery.mjs +0 -23
  427. /package/dist/components/{Empty/Empty.d.ts → Empty.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
- import { jsxs as i, jsx as e, Fragment as ve } from "react/jsx-runtime";
2
- import { createListCollection as s, Portal as m, parseDate as pe } from "@ark-ui/react";
3
- import { endOfDay as Ee, startOfDay as Se } from "date-fns";
4
- import { useState as we } from "react";
5
- import { z as u } from "zod";
1
+ import { jsxs as a, jsx as e, Fragment as c } from "react/jsx-runtime";
2
+ import { createListCollection as h, Portal as m, parseDate as Se } from "@ark-ui/react";
3
+ import { endOfDay as we, startOfDay as De } from "date-fns";
4
+ import { useState as Re } from "react";
5
+ import { z as s } from "zod";
6
6
  import "@opexa/portal-sdk-core";
7
7
  import "@tanstack/react-query";
8
8
  import "tiny-invariant";
@@ -12,16 +12,17 @@ import "../../utils/parseDecimal.mjs";
12
12
  import "../../utils/getLocaleInfo.mjs";
13
13
  import "../../utils/getQueryClient.mjs";
14
14
  import "../../utils/isMobile.mjs";
15
- import { useControllableState as c } from "../../client/hooks/useControllableState.mjs";
15
+ import "../../client/services/getSession.mjs";
16
+ import { useControllableState as u } from "../../client/hooks/useControllableState.mjs";
16
17
  import "lodash-es";
17
18
  import "@opexa/portal-sdk-core/object-id";
18
19
  import "../../client/hooks/useGlobalStore.mjs";
19
20
  import "../../client/hooks/useInfiniteQueryHelper.mjs";
20
21
  import "usehooks-ts";
21
- import { CheckIcon as h } from "../../icons/CheckIcon.mjs";
22
+ import { CheckIcon as C } from "../../icons/CheckIcon.mjs";
22
23
  import { ChevronDownIcon as g } from "../../icons/ChevronDownIcon.mjs";
23
- import { ChevronLeftIcon as De } from "../../icons/ChevronLeftIcon.mjs";
24
- import { ChevronRightIcon as Re } from "../../icons/ChevronRightIcon.mjs";
24
+ import { ChevronLeftIcon as Pe } from "../../icons/ChevronLeftIcon.mjs";
25
+ import { ChevronRightIcon as Ne } from "../../icons/ChevronRightIcon.mjs";
25
26
  import "../../ui/AlertDialog/AlertDialog.mjs";
26
27
  import "../../ui/Avatar/Avatar.mjs";
27
28
  import "../../ui/Badge/Badge.mjs";
@@ -29,7 +30,8 @@ import "../../ui/Button/button.recipe.mjs";
29
30
  import "../../ui/Checkbox/Checkbox.mjs";
30
31
  import "../../ui/Clipboard/Clipboard.mjs";
31
32
  import "../../ui/Collapsible/Collapsible.mjs";
32
- import { Root as Ne, Context as ne, Control as Ie, Positioner as Ve, Content as Pe, View as ye, ViewControl as Oe, PrevTrigger as be, ViewTrigger as Ae, RangeText as xe, NextTrigger as Fe, Table as Ue, TableHead as Le, TableRow as re, TableHeader as We, TableBody as ze, TableCell as Me, TableCellTrigger as Ge } from "../../ui/DatePicker/DatePicker.mjs";
33
+ import "../../ui/Combobox/Combobox.mjs";
34
+ import { Root as Ie, Context as de, Control as Ve, Positioner as ye, Content as Oe, View as be, ViewControl as Ae, PrevTrigger as xe, ViewTrigger as Fe, RangeText as Ue, NextTrigger as ke, Table as Le, TableHead as We, TableRow as ce, TableHeader as ze, TableBody as Me, TableCell as $e, TableCellTrigger as Ge } from "../../ui/DatePicker/DatePicker.mjs";
33
35
  import "../../ui/Dialog/Dialog.mjs";
34
36
  import "../../ui/Drawer/Drawer.mjs";
35
37
  import "../../ui/Field/Field.mjs";
@@ -40,11 +42,11 @@ import "../../ui/PinInput/PinInput.mjs";
40
42
  import "../../ui/Popover/Popover.mjs";
41
43
  import "tailwind-merge";
42
44
  import "../../ui/Progress/Progress.mjs";
43
- import { Root as $e, Item as O, ItemText as b, ItemControl as A, ItemHiddenInput as x, Indicator as ke } from "../../ui/SegmentGroup/SegmentGroup.mjs";
44
- import { Root as C, Trigger as T, ValueText as f, Indicator as v, Positioner as p, Content as E, ItemGroup as S, Item as w, ItemText as D, ItemIndicator as R } from "../../ui/Select/Select.mjs";
45
+ import { Root as He, Item as x, ItemText as F, ItemControl as U, ItemHiddenInput as k, Indicator as Be } from "../../ui/SegmentGroup/SegmentGroup.mjs";
46
+ import { Root as T, Trigger as p, ValueText as v, Context as f, ClearTrigger as E, Indicator as S, Positioner as w, Content as D, ItemGroup as R, Item as P, ItemText as N, ItemIndicator as I } from "../../ui/Select/Select.mjs";
45
47
  import "../../ui/Table/Table.mjs";
46
48
  import "../../ui/Tabs/Tabs.mjs";
47
- const He = u.enum(["all", "today", "custom"]).catch("all"), oe = [
49
+ const _e = s.enum(["all", "today", "custom"]).catch("all"), me = [
48
50
  "ACCEPTED",
49
51
  "APPROVED",
50
52
  "CANCELLED",
@@ -52,7 +54,7 @@ const He = u.enum(["all", "today", "custom"]).catch("all"), oe = [
52
54
  "FAILED",
53
55
  "PENDING",
54
56
  "REJECTED"
55
- ], de = [
57
+ ], ue = [
56
58
  "ACCEPTED",
57
59
  "APPROVED",
58
60
  "CANCELLED",
@@ -60,109 +62,109 @@ const He = u.enum(["all", "today", "custom"]).catch("all"), oe = [
60
62
  "FAILED",
61
63
  "PENDING",
62
64
  "REJECTED"
63
- ], me = [
65
+ ], se = [
64
66
  "DEPOSIT",
65
67
  "WITHDRAWAL",
66
68
  "BET"
67
- ], ce = Intl.DateTimeFormat().resolvedOptions().timeZone;
68
- function Lt(l) {
69
- var $, k, H, B, _, j, J, Y, Z, q, K, Q, X, ee, te, le, ie;
70
- const F = s({
71
- items: l.gameTypeOptions ?? [],
72
- itemToValue: (t) => t,
73
- itemToString: (t) => n(t, {
69
+ ], he = Intl.DateTimeFormat().resolvedOptions().timeZone;
70
+ function Ml(i) {
71
+ var B, _, j, J, Y, Z, q, K, Q, X, ee, le, te, ie, ae, ne, re;
72
+ const L = h({
73
+ items: i.gameTypeOptions ?? [],
74
+ itemToValue: (l) => l,
75
+ itemToString: (l) => n(l, {
74
76
  delimiter: n.delimiters.UNDERSCORE
75
77
  })
76
- }), U = s({
77
- items: l.gameProviderOptions ?? [],
78
- itemToValue: (t) => t,
79
- itemToString: (t) => n(t, {
78
+ }), W = h({
79
+ items: i.gameProviderOptions ?? [],
80
+ itemToValue: (l) => l,
81
+ itemToString: (l) => n(l, {
80
82
  delimiter: n.delimiters.UNDERSCORE
81
83
  })
82
- }), L = s({
83
- items: oe,
84
- itemToValue: (t) => t,
85
- itemToString: (t) => n(t, {
84
+ }), z = h({
85
+ items: me,
86
+ itemToValue: (l) => l,
87
+ itemToString: (l) => n(l, {
86
88
  delimiter: n.delimiters.UNDERSCORE
87
89
  })
88
- }), W = s({
89
- items: de,
90
- itemToValue: (t) => t,
91
- itemToString: (t) => n(t, {
90
+ }), M = h({
91
+ items: ue,
92
+ itemToValue: (l) => l,
93
+ itemToString: (l) => n(l, {
92
94
  delimiter: n.delimiters.UNDERSCORE
93
95
  })
94
- }), z = s({
95
- items: me,
96
- itemToValue: (t) => t,
97
- itemToString: (t) => n(t, {
96
+ }), $ = h({
97
+ items: se,
98
+ itemToValue: (l) => l,
99
+ itemToString: (l) => n(l, {
98
100
  delimiter: n.delimiters.UNDERSCORE
99
101
  })
100
- }), [ue, M] = we("all"), d = (t) => {
102
+ }), [Ce, G] = Re("all"), d = (l) => {
101
103
  var r;
102
- const a = {
104
+ const t = {
103
105
  timestamp: o,
104
- gameType: I,
105
- gameProvider: V,
106
- depositStatus: P,
107
- withdrawalStatus: y
106
+ gameType: y,
107
+ gameProvider: O,
108
+ depositStatus: b,
109
+ withdrawalStatus: A
108
110
  };
109
- (r = l.onChange) == null || r.call(l, {
110
- ...a,
111
- ...t
111
+ (r = i.onChange) == null || r.call(i, {
112
+ ...t,
113
+ ...l
112
114
  });
113
- }, [o, N] = c({
114
- value: ($ = l.value) == null ? void 0 : $.timestamp,
115
- defaultValue: ((k = l.defaultValue) == null ? void 0 : k.timestamp) ?? null,
116
- onChange(t) {
117
- d({ timestamp: t });
115
+ }, [o, V] = u({
116
+ value: (B = i.value) == null ? void 0 : B.timestamp,
117
+ defaultValue: ((_ = i.defaultValue) == null ? void 0 : _.timestamp) ?? null,
118
+ onChange(l) {
119
+ d({ timestamp: l });
118
120
  }
119
- }), [I, se] = c({
120
- value: (H = l.value) == null ? void 0 : H.gameType,
121
- defaultValue: ((B = l.defaultValue) == null ? void 0 : B.gameType) ?? null,
122
- onChange(t) {
123
- d({ gameType: t });
121
+ }), [y, ge] = u({
122
+ value: (j = i.value) == null ? void 0 : j.gameType,
123
+ defaultValue: ((J = i.defaultValue) == null ? void 0 : J.gameType) ?? null,
124
+ onChange(l) {
125
+ d({ gameType: l });
124
126
  }
125
- }), [V, he] = c({
126
- value: (_ = l.value) == null ? void 0 : _.gameProvider,
127
- defaultValue: ((j = l.defaultValue) == null ? void 0 : j.gameProvider) ?? null,
128
- onChange(t) {
129
- d({ gameProvider: t });
127
+ }), [O, Te] = u({
128
+ value: (Y = i.value) == null ? void 0 : Y.gameProvider,
129
+ defaultValue: ((Z = i.defaultValue) == null ? void 0 : Z.gameProvider) ?? null,
130
+ onChange(l) {
131
+ d({ gameProvider: l });
130
132
  }
131
- }), [P, ge] = c({
132
- value: (J = l.value) == null ? void 0 : J.depositStatus,
133
- defaultValue: ((Y = l.defaultValue) == null ? void 0 : Y.depositStatus) ?? null,
134
- onChange(t) {
135
- d({ depositStatus: t });
133
+ }), [b, pe] = u({
134
+ value: (q = i.value) == null ? void 0 : q.depositStatus,
135
+ defaultValue: ((K = i.defaultValue) == null ? void 0 : K.depositStatus) ?? null,
136
+ onChange(l) {
137
+ d({ depositStatus: l });
136
138
  }
137
- }), [y, Ce] = c({
138
- value: (Z = l.value) == null ? void 0 : Z.withdrawalStatus,
139
- defaultValue: ((q = l.defaultValue) == null ? void 0 : q.withdrawalStatus) ?? null,
140
- onChange(t) {
141
- d({ withdrawalStatus: t });
139
+ }), [A, ve] = u({
140
+ value: (Q = i.value) == null ? void 0 : Q.withdrawalStatus,
141
+ defaultValue: ((X = i.defaultValue) == null ? void 0 : X.withdrawalStatus) ?? null,
142
+ onChange(l) {
143
+ d({ withdrawalStatus: l });
142
144
  }
143
- }), [G, Te] = c({
144
- value: (K = l.value) == null ? void 0 : K.transactionType,
145
- defaultValue: ((Q = l.defaultValue) == null ? void 0 : Q.transactionType) ?? null,
146
- onChange(t) {
147
- d({ transactionType: t });
145
+ }), [H, fe] = u({
146
+ value: (ee = i.value) == null ? void 0 : ee.transactionType,
147
+ defaultValue: ((le = i.defaultValue) == null ? void 0 : le.transactionType) ?? null,
148
+ onChange(l) {
149
+ d({ transactionType: l });
148
150
  }
149
151
  });
150
- return /* @__PURE__ */ i("div", { className: "flex flex-col gap-lg lg:flex-row lg:items-center", children: [
151
- /* @__PURE__ */ i(
152
- Ne,
152
+ return /* @__PURE__ */ a("div", { className: "flex flex-col gap-lg lg:flex-row lg:items-center", children: [
153
+ /* @__PURE__ */ a(
154
+ Ie,
153
155
  {
154
156
  lazyMount: !0,
155
157
  unmountOnExit: !0,
156
- value: [o == null ? void 0 : o.start, o == null ? void 0 : o.end].filter(Boolean).map((t) => pe(t)),
157
- onValueChange: (t) => {
158
- var a, r;
159
- N({
160
- start: (a = t.value.at(0)) == null ? void 0 : a.toDate(ce),
161
- end: (r = t.value.at(1)) == null ? void 0 : r.toDate(ce)
158
+ value: [o == null ? void 0 : o.start, o == null ? void 0 : o.end].filter(Boolean).map((l) => Se(l)),
159
+ onValueChange: (l) => {
160
+ var t, r;
161
+ V({
162
+ start: (t = l.value.at(0)) == null ? void 0 : t.toDate(he),
163
+ end: (r = l.value.at(1)) == null ? void 0 : r.toDate(he)
162
164
  });
163
165
  },
164
- onOpenChange: (t) => {
165
- t.open || o || M("all");
166
+ onOpenChange: (l) => {
167
+ l.open || o || G("all");
166
168
  },
167
169
  selectionMode: "range",
168
170
  closeOnSelect: !1,
@@ -171,74 +173,74 @@ function Lt(l) {
171
173
  placement: "bottom"
172
174
  },
173
175
  children: [
174
- /* @__PURE__ */ i(
175
- $e,
176
+ /* @__PURE__ */ a(
177
+ He,
176
178
  {
177
- value: ue,
178
- onValueChange: (t) => {
179
- const a = He.parse(t.value);
180
- if (a === "today") {
179
+ value: Ce,
180
+ onValueChange: (l) => {
181
+ const t = _e.parse(l.value);
182
+ if (t === "today") {
181
183
  const r = /* @__PURE__ */ new Date();
182
- N({
183
- start: Se(r),
184
- end: Ee(r)
184
+ V({
185
+ start: De(r),
186
+ end: we(r)
185
187
  });
186
188
  } else
187
- N(null);
188
- M(a);
189
+ V(null);
190
+ G(t);
189
191
  },
190
192
  className: "w-full lg:w-fit",
191
193
  children: [
192
- /* @__PURE__ */ i(O, { value: "all", className: "w-full lg:w-auto", children: [
193
- /* @__PURE__ */ e(b, { children: "All" }),
194
- /* @__PURE__ */ e(A, {}),
195
- /* @__PURE__ */ e(x, {})
194
+ /* @__PURE__ */ a(x, { value: "all", className: "w-full lg:w-auto", children: [
195
+ /* @__PURE__ */ e(F, { children: "All" }),
196
+ /* @__PURE__ */ e(U, {}),
197
+ /* @__PURE__ */ e(k, {})
196
198
  ] }),
197
- /* @__PURE__ */ i(O, { value: "today", className: "w-full lg:w-auto", children: [
198
- /* @__PURE__ */ e(b, { children: "Today" }),
199
- /* @__PURE__ */ e(A, {}),
200
- /* @__PURE__ */ e(x, {})
199
+ /* @__PURE__ */ a(x, { value: "today", className: "w-full lg:w-auto", children: [
200
+ /* @__PURE__ */ e(F, { children: "Today" }),
201
+ /* @__PURE__ */ e(U, {}),
202
+ /* @__PURE__ */ e(k, {})
201
203
  ] }),
202
- /* @__PURE__ */ e(ne, { children: (t) => /* @__PURE__ */ e(
203
- O,
204
+ /* @__PURE__ */ e(de, { children: (l) => /* @__PURE__ */ e(
205
+ x,
204
206
  {
205
207
  value: "custom",
206
- onClick: () => t.setOpen(!0),
208
+ onClick: () => l.setOpen(!0),
207
209
  className: "w-full lg:w-auto",
208
- children: /* @__PURE__ */ i(Ie, { children: [
209
- /* @__PURE__ */ e(b, { children: "Custom" }),
210
- /* @__PURE__ */ e(A, {}),
211
- /* @__PURE__ */ e(x, {})
210
+ children: /* @__PURE__ */ a(Ve, { children: [
211
+ /* @__PURE__ */ e(F, { children: "Custom" }),
212
+ /* @__PURE__ */ e(U, {}),
213
+ /* @__PURE__ */ e(k, {})
212
214
  ] })
213
215
  }
214
216
  ) }),
215
- /* @__PURE__ */ e(ke, {})
217
+ /* @__PURE__ */ e(Be, {})
216
218
  ]
217
219
  }
218
220
  ),
219
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(Pe, { children: /* @__PURE__ */ e(ye, { view: "day", children: /* @__PURE__ */ e(ne, { children: (t) => /* @__PURE__ */ i(ve, { children: [
220
- /* @__PURE__ */ i(Oe, { children: [
221
- /* @__PURE__ */ e(be, { children: /* @__PURE__ */ e(De, {}) }),
222
- /* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(xe, {}) }),
223
- /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ e(Re, {}) })
221
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(ye, { children: /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(be, { view: "day", children: /* @__PURE__ */ e(de, { children: (l) => /* @__PURE__ */ a(c, { children: [
222
+ /* @__PURE__ */ a(Ae, { children: [
223
+ /* @__PURE__ */ e(xe, { children: /* @__PURE__ */ e(Pe, {}) }),
224
+ /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ e(Ue, {}) }),
225
+ /* @__PURE__ */ e(ke, { children: /* @__PURE__ */ e(Ne, {}) })
224
226
  ] }),
225
- /* @__PURE__ */ i(Ue, { children: [
226
- /* @__PURE__ */ e(Le, { children: /* @__PURE__ */ e(re, { children: t.weekDays.map((a, r) => /* @__PURE__ */ e(We, { children: a.short.substring(0, 2) }, r)) }) }),
227
- /* @__PURE__ */ e(ze, { children: t.weeks.map((a, r) => /* @__PURE__ */ e(re, { children: a.map((ae, fe) => /* @__PURE__ */ e(Me, { value: ae, children: /* @__PURE__ */ e(Ge, { children: ae.day }) }, fe)) }, r)) })
227
+ /* @__PURE__ */ a(Le, { children: [
228
+ /* @__PURE__ */ e(We, { children: /* @__PURE__ */ e(ce, { children: l.weekDays.map((t, r) => /* @__PURE__ */ e(ze, { children: t.short.substring(0, 2) }, r)) }) }),
229
+ /* @__PURE__ */ e(Me, { children: l.weeks.map((t, r) => /* @__PURE__ */ e(ce, { children: t.map((oe, Ee) => /* @__PURE__ */ e($e, { value: oe, children: /* @__PURE__ */ e(Ge, { children: oe.day }) }, Ee)) }, r)) })
228
230
  ] })
229
231
  ] }) }) }) }) }) })
230
232
  ]
231
233
  }
232
234
  ),
233
235
  /* @__PURE__ */ e("div", { className: "hidden grow lg:block" }),
234
- ((X = l.enabledFilters) == null ? void 0 : X.gameType) && /* @__PURE__ */ i(
235
- C,
236
+ ((te = i.enabledFilters) == null ? void 0 : te.gameType) && /* @__PURE__ */ a(
237
+ T,
236
238
  {
237
- collection: F,
238
- value: I ? [I] : [],
239
- onValueChange: (t) => {
240
- const a = u.enum(l.gameTypeOptions ?? []).safeParse(t.value.at(0)).data;
241
- se(a ?? null);
239
+ collection: L,
240
+ value: y ? [y] : [],
241
+ onValueChange: (l) => {
242
+ const t = s.enum(i.gameTypeOptions ?? []).safeParse(l.value.at(0)).data;
243
+ ge(t ?? null);
242
244
  },
243
245
  lazyMount: !0,
244
246
  deselectable: !0,
@@ -246,27 +248,35 @@ function Lt(l) {
246
248
  sameWidth: !0
247
249
  },
248
250
  children: [
249
- /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
250
- /* @__PURE__ */ e(f, { placeholder: "Game Type" }),
251
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
251
+ /* @__PURE__ */ a(p, { className: "w-full lg:w-[14rem]", children: [
252
+ /* @__PURE__ */ e(v, { placeholder: "Game Type" }),
253
+ /* @__PURE__ */ e(f, { children: (l) => /* @__PURE__ */ e(c, { children: l.value.length ? /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
254
+ "span",
255
+ {
256
+ onClick: (t) => {
257
+ t.stopPropagation();
258
+ },
259
+ children: "Clear"
260
+ }
261
+ ) }) : /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(g, {}) }) }) })
252
262
  ] }),
253
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: F.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
254
- /* @__PURE__ */ e(D, { children: n(t, {
263
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(R, { children: L.items.map((l) => /* @__PURE__ */ a(P, { item: l, children: [
264
+ /* @__PURE__ */ e(N, { children: n(l, {
255
265
  delimiter: n.delimiters.UNDERSCORE
256
266
  }) }),
257
- /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
258
- ] }, t)) }) }) }) })
267
+ /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
268
+ ] }, l)) }) }) }) })
259
269
  ]
260
270
  }
261
271
  ),
262
- ((ee = l.enabledFilters) == null ? void 0 : ee.gameProvider) && /* @__PURE__ */ i(
263
- C,
272
+ ((ie = i.enabledFilters) == null ? void 0 : ie.gameProvider) && /* @__PURE__ */ a(
273
+ T,
264
274
  {
265
- collection: U,
266
- value: V ? [V] : [],
267
- onValueChange: (t) => {
268
- const a = u.enum(l.gameProviderOptions ?? []).safeParse(t.value.at(0)).data;
269
- he(a ?? null);
275
+ collection: W,
276
+ value: O ? [O] : [],
277
+ onValueChange: (l) => {
278
+ const t = s.enum(i.gameProviderOptions ?? []).safeParse(l.value.at(0)).data;
279
+ Te(t ?? null);
270
280
  },
271
281
  lazyMount: !0,
272
282
  deselectable: !0,
@@ -274,27 +284,35 @@ function Lt(l) {
274
284
  sameWidth: !0
275
285
  },
276
286
  children: [
277
- /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
278
- /* @__PURE__ */ e(f, { placeholder: "Game Vendor" }),
279
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
287
+ /* @__PURE__ */ a(p, { className: "w-full lg:w-[14rem]", children: [
288
+ /* @__PURE__ */ e(v, { placeholder: "Game Vendor" }),
289
+ /* @__PURE__ */ e(f, { children: (l) => /* @__PURE__ */ e(c, { children: l.value.length ? /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
290
+ "span",
291
+ {
292
+ onClick: (t) => {
293
+ t.stopPropagation();
294
+ },
295
+ children: "Clear"
296
+ }
297
+ ) }) : /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(g, {}) }) }) })
280
298
  ] }),
281
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: U.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
282
- /* @__PURE__ */ e(D, { children: n(t, {
299
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(R, { children: W.items.map((l) => /* @__PURE__ */ a(P, { item: l, children: [
300
+ /* @__PURE__ */ e(N, { children: n(l, {
283
301
  delimiter: n.delimiters.UNDERSCORE
284
302
  }) }),
285
- /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
286
- ] }, t)) }) }) }) })
303
+ /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
304
+ ] }, l)) }) }) }) })
287
305
  ]
288
306
  }
289
307
  ),
290
- ((te = l.enabledFilters) == null ? void 0 : te.depositStatus) && /* @__PURE__ */ i(
291
- C,
308
+ ((ae = i.enabledFilters) == null ? void 0 : ae.depositStatus) && /* @__PURE__ */ a(
309
+ T,
292
310
  {
293
- collection: L,
294
- value: P ? [P] : [],
295
- onValueChange: (t) => {
296
- const a = u.enum(oe).safeParse(t.value.at(0)).data;
297
- ge(a ?? null);
311
+ collection: z,
312
+ value: b ? [b] : [],
313
+ onValueChange: (l) => {
314
+ const t = s.enum(me).safeParse(l.value.at(0)).data;
315
+ pe(t ?? null);
298
316
  },
299
317
  lazyMount: !0,
300
318
  deselectable: !0,
@@ -302,27 +320,35 @@ function Lt(l) {
302
320
  sameWidth: !0
303
321
  },
304
322
  children: [
305
- /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
306
- /* @__PURE__ */ e(f, { placeholder: "Status" }),
307
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
323
+ /* @__PURE__ */ a(p, { className: "w-full lg:w-[14rem]", children: [
324
+ /* @__PURE__ */ e(v, { placeholder: "Status" }),
325
+ /* @__PURE__ */ e(f, { children: (l) => /* @__PURE__ */ e(c, { children: l.value.length ? /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
326
+ "span",
327
+ {
328
+ onClick: (t) => {
329
+ t.stopPropagation();
330
+ },
331
+ children: "Clear"
332
+ }
333
+ ) }) : /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(g, {}) }) }) })
308
334
  ] }),
309
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: W.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
310
- /* @__PURE__ */ e(D, { children: n(t, {
335
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(R, { children: M.items.map((l) => /* @__PURE__ */ a(P, { item: l, children: [
336
+ /* @__PURE__ */ e(N, { children: n(l, {
311
337
  delimiter: n.delimiters.UNDERSCORE
312
338
  }) }),
313
- /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
314
- ] }, t)) }) }) }) })
339
+ /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
340
+ ] }, l)) }) }) }) })
315
341
  ]
316
342
  }
317
343
  ),
318
- ((le = l.enabledFilters) == null ? void 0 : le.withdrawalStatus) && /* @__PURE__ */ i(
319
- C,
344
+ ((ne = i.enabledFilters) == null ? void 0 : ne.withdrawalStatus) && /* @__PURE__ */ a(
345
+ T,
320
346
  {
321
- collection: W,
322
- value: y ? [y] : [],
323
- onValueChange: (t) => {
324
- const a = u.enum(de).safeParse(t.value.at(0)).data;
325
- Ce(a ?? null);
347
+ collection: M,
348
+ value: A ? [A] : [],
349
+ onValueChange: (l) => {
350
+ const t = s.enum(ue).safeParse(l.value.at(0)).data;
351
+ ve(t ?? null);
326
352
  },
327
353
  lazyMount: !0,
328
354
  deselectable: !0,
@@ -330,27 +356,35 @@ function Lt(l) {
330
356
  sameWidth: !0
331
357
  },
332
358
  children: [
333
- /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
334
- /* @__PURE__ */ e(f, { placeholder: "Status" }),
335
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
359
+ /* @__PURE__ */ a(p, { className: "w-full lg:w-[14rem]", children: [
360
+ /* @__PURE__ */ e(v, { placeholder: "Status" }),
361
+ /* @__PURE__ */ e(f, { children: (l) => /* @__PURE__ */ e(c, { children: l.value.length ? /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
362
+ "span",
363
+ {
364
+ onClick: (t) => {
365
+ t.stopPropagation();
366
+ },
367
+ children: "Clear"
368
+ }
369
+ ) }) : /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(g, {}) }) }) })
336
370
  ] }),
337
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: L.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
338
- /* @__PURE__ */ e(D, { children: n(t, {
371
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(R, { children: z.items.map((l) => /* @__PURE__ */ a(P, { item: l, children: [
372
+ /* @__PURE__ */ e(N, { children: n(l, {
339
373
  delimiter: n.delimiters.UNDERSCORE
340
374
  }) }),
341
- /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
342
- ] }, t)) }) }) }) })
375
+ /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
376
+ ] }, l)) }) }) }) })
343
377
  ]
344
378
  }
345
379
  ),
346
- ((ie = l.enabledFilters) == null ? void 0 : ie.transactionType) && /* @__PURE__ */ i(
347
- C,
380
+ ((re = i.enabledFilters) == null ? void 0 : re.transactionType) && /* @__PURE__ */ a(
381
+ T,
348
382
  {
349
- collection: z,
350
- value: G ? [G] : [],
351
- onValueChange: (t) => {
352
- const a = u.enum(me).safeParse(t.value.at(0)).data;
353
- Te(a ?? null);
383
+ collection: $,
384
+ value: H ? [H] : [],
385
+ onValueChange: (l) => {
386
+ const t = s.enum(se).safeParse(l.value.at(0)).data;
387
+ fe(t ?? null);
354
388
  },
355
389
  lazyMount: !0,
356
390
  deselectable: !0,
@@ -358,21 +392,29 @@ function Lt(l) {
358
392
  sameWidth: !0
359
393
  },
360
394
  children: [
361
- /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
362
- /* @__PURE__ */ e(f, { placeholder: "Type" }),
363
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
395
+ /* @__PURE__ */ a(p, { className: "w-full lg:w-[14rem]", children: [
396
+ /* @__PURE__ */ e(v, { placeholder: "Type" }),
397
+ /* @__PURE__ */ e(f, { children: (l) => /* @__PURE__ */ e(c, { children: l.value.length ? /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
398
+ "span",
399
+ {
400
+ onClick: (t) => {
401
+ t.stopPropagation();
402
+ },
403
+ children: "Clear"
404
+ }
405
+ ) }) : /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(g, {}) }) }) })
364
406
  ] }),
365
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: z.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
366
- /* @__PURE__ */ e(D, { children: n(t, {
407
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(R, { children: $.items.map((l) => /* @__PURE__ */ a(P, { item: l, children: [
408
+ /* @__PURE__ */ e(N, { children: n(l, {
367
409
  delimiter: n.delimiters.UNDERSCORE
368
410
  }) }),
369
- /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
370
- ] }, t)) }) }) }) })
411
+ /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
412
+ ] }, l)) }) }) }) })
371
413
  ]
372
414
  }
373
415
  )
374
416
  ] });
375
417
  }
376
418
  export {
377
- Lt as TableFilters
419
+ Ml as TableFilters
378
420
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("tailwind-merge");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const r=require("../../ui/Tabs/Tabs.js"),i=require("./DepositRecordsTable.js"),a=require("./TransactionRecordsTable.js"),n=require("./WithdrawalRecordsTable.js");function l(s){return e.jsxs("div",{className:t.twMerge("px-4 pb-3xl pt-4",s.className),children:[e.jsx("h2",{className:"text-text-secondary-700 text-sm font-semibold leading-tight",children:"Transaction Records"}),e.jsx("p",{className:"text-text-tertiary-600 mt-xs text-sm leading-tight",children:"View your transaction records"}),e.jsxs(r.Root,{className:"mt-lg",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0,children:[e.jsxs(r.List,{children:[e.jsx(r.Trigger,{value:"transactions",children:"Transactions"}),e.jsx(r.Trigger,{value:"deposits",children:"Deposits"}),e.jsx(r.Trigger,{value:"withdrawals",children:"Withdrawals"}),e.jsx(r.Indicator,{})]}),e.jsx("h3",{className:"text-text-secondary-700 mt-3xl text-sm font-semibold",children:"Table"}),e.jsx(r.Content,{value:"transactions",className:"mt-xl",children:e.jsx(a.TransactionRecordsTable,{})}),e.jsx(r.Content,{value:"deposits",className:"mt-xl",children:e.jsx(i.DepositRecordsTable,{})}),e.jsx(r.Content,{value:"withdrawals",className:"mt-xl",children:e.jsx(n.WithdrawalRecordsTable,{})})]})]})}exports.TransactionRecords=l;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("tailwind-merge");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const r=require("../../ui/Tabs/Tabs.js"),i=require("./DepositRecordsTable.js"),a=require("./TransactionRecordsTable.js"),n=require("./WithdrawalRecordsTable.js");function l(s){return e.jsxs("div",{className:t.twMerge("px-4 pb-3xl pt-4",s.className),children:[e.jsx("h2",{className:"text-text-secondary-700 text-sm font-semibold leading-tight",children:"Transaction Records"}),e.jsx("p",{className:"text-text-tertiary-600 mt-xs text-sm leading-tight",children:"View your transaction records"}),e.jsxs(r.Root,{className:"mt-lg",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0,children:[e.jsxs(r.List,{children:[e.jsx(r.Trigger,{value:"transactions",children:"Transactions"}),e.jsx(r.Trigger,{value:"deposits",children:"Deposits"}),e.jsx(r.Trigger,{value:"withdrawals",children:"Withdrawals"}),e.jsx(r.Indicator,{})]}),e.jsx("h3",{className:"text-text-secondary-700 mt-3xl text-sm font-semibold",children:"Table"}),e.jsx(r.Content,{value:"transactions",className:"mt-xl",children:e.jsx(a.TransactionRecordsTable,{})}),e.jsx(r.Content,{value:"deposits",className:"mt-xl",children:e.jsx(i.DepositRecordsTable,{})}),e.jsx(r.Content,{value:"withdrawals",className:"mt-xl",children:e.jsx(n.WithdrawalRecordsTable,{})})]})]})}exports.TransactionRecords=l;