@opexa/portal-components 0.0.8 → 0.0.9

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 (337) hide show
  1. package/dist/_virtual/jsx-runtime.js +1 -1
  2. package/dist/_virtual/jsx-runtime.mjs +3 -2
  3. package/dist/_virtual/jsx-runtime2.js +1 -0
  4. package/dist/_virtual/jsx-runtime2.mjs +4 -0
  5. package/dist/components/Account/Account.js +1 -1
  6. package/dist/components/Account/Account.mjs +159 -117
  7. package/dist/components/Banner/Banner.js +1 -1
  8. package/dist/components/Banner/Banner.mjs +49 -45
  9. package/dist/components/BetRecords/BetRecords.js +1 -1
  10. package/dist/components/BetRecords/BetRecords.mjs +344 -232
  11. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  12. package/dist/components/DepositWithdrawal/AmountChoices.mjs +20 -19
  13. package/dist/components/DepositWithdrawal/AvailablePromos.js +1 -1
  14. package/dist/components/DepositWithdrawal/AvailablePromos.mjs +98 -80
  15. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
  16. package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +38 -27
  17. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  18. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +189 -148
  19. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  20. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +181 -140
  21. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.js +1 -1
  22. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.mjs +9 -4
  23. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  24. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +187 -146
  25. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +1 -1
  26. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.mjs +16 -10
  27. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  28. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +198 -151
  29. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +1 -1
  30. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.mjs +9 -4
  31. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +1 -1
  32. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.mjs +9 -4
  33. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  34. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +65 -29
  35. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
  36. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +8 -7
  37. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +1 -1
  38. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.mjs +14 -8
  39. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  40. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +179 -141
  41. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +1 -1
  42. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.mjs +9 -4
  43. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  44. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +103 -55
  45. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  46. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +22 -16
  47. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
  48. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +7 -6
  49. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  50. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +87 -59
  51. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  52. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +57 -51
  53. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  54. package/dist/components/Disclaimer/Disclaimer.mjs +77 -58
  55. package/dist/components/Empty/CloudIcon.js +1 -1
  56. package/dist/components/Empty/CloudIcon.mjs +189 -168
  57. package/dist/components/Empty/Empty.js +1 -1
  58. package/dist/components/Empty/Empty.mjs +13 -4
  59. package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +4 -1
  60. package/dist/components/FeatureFlagProvider/FeatureFlagContext.js +1 -1
  61. package/dist/components/FeatureFlagProvider/FeatureFlagContext.mjs +8 -7
  62. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.js +1 -1
  63. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.mjs +33 -27
  64. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  65. package/dist/components/GameLaunch/GameLaunch.mjs +216 -170
  66. package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
  67. package/dist/components/GameLaunch/GameLaunchTrigger.mjs +20 -19
  68. package/dist/components/Games/Games.js +1 -1
  69. package/dist/components/Games/Games.mjs +102 -84
  70. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  71. package/dist/components/JackpotCounter/JackpotCounter.mjs +80 -63
  72. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  73. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +144 -114
  74. package/dist/components/Marquee/Marquee.js +1 -1
  75. package/dist/components/Marquee/Marquee.mjs +19 -10
  76. package/dist/components/PortalProvider/PortalProvider.js +1 -1
  77. package/dist/components/PortalProvider/PortalProvider.mjs +53 -46
  78. package/dist/components/Promos/PromoCarousel.js +1 -1
  79. package/dist/components/Promos/PromoCarousel.mjs +93 -76
  80. package/dist/components/Promos/PromoGrid.js +1 -1
  81. package/dist/components/Promos/PromoGrid.mjs +37 -29
  82. package/dist/components/Promos/PromoItem.js +1 -1
  83. package/dist/components/Promos/PromoItem.mjs +51 -44
  84. package/dist/components/Promos/Promos.js +1 -1
  85. package/dist/components/Promos/Promos.mjs +5 -4
  86. package/dist/components/Protected/Protected.js +1 -1
  87. package/dist/components/Protected/Protected.mjs +3 -2
  88. package/dist/components/SignIn/SignIn.js +1 -1
  89. package/dist/components/SignIn/SignIn.mjs +49 -36
  90. package/dist/components/SignIn/SignInForm.js +1 -1
  91. package/dist/components/SignIn/SignInForm.mjs +261 -198
  92. package/dist/components/SignUp/SignUp.js +1 -1
  93. package/dist/components/SignUp/SignUp.mjs +51 -38
  94. package/dist/components/SignUp/SignUpForm.js +1 -1
  95. package/dist/components/SignUp/SignUpForm.mjs +240 -189
  96. package/dist/components/TopWins/TopWins.js +1 -1
  97. package/dist/components/TopWins/TopWins.mjs +39 -29
  98. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  99. package/dist/components/TournamentCounter/TournamentCounter.mjs +72 -57
  100. package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
  101. package/dist/components/TournamentCounter/TournamentCounterItem.mjs +92 -66
  102. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  103. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +163 -115
  104. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  105. package/dist/components/TransactionRecords/TableFilters.mjs +252 -186
  106. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  107. package/dist/components/TransactionRecords/TransactionRecords.mjs +31 -19
  108. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  109. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +143 -101
  110. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  111. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +164 -114
  112. package/dist/components.d.ts +2 -0
  113. package/dist/hooks/useAccountQuery.js +1 -1
  114. package/dist/hooks/useAccountQuery.mjs +8 -7
  115. package/dist/hooks/useAuthenticateMutation.js +1 -1
  116. package/dist/hooks/useAuthenticateMutation.mjs +6 -5
  117. package/dist/hooks/useAvailablePromosQuery.js +1 -1
  118. package/dist/hooks/useAvailablePromosQuery.mjs +3 -2
  119. package/dist/hooks/useBetRecordsQuery.js +1 -1
  120. package/dist/hooks/useBetRecordsQuery.mjs +3 -2
  121. package/dist/hooks/useCashbacksQuery.js +1 -1
  122. package/dist/hooks/useCashbacksQuery.mjs +3 -2
  123. package/dist/hooks/useCreateGCashDepositMutation.js +1 -1
  124. package/dist/hooks/useCreateGCashDepositMutation.mjs +10 -9
  125. package/dist/hooks/useCreateGameSessionMutation.js +1 -1
  126. package/dist/hooks/useCreateGameSessionMutation.mjs +8 -7
  127. package/dist/hooks/useCreateMayaAppDepositMutation.js +1 -1
  128. package/dist/hooks/useCreateMayaAppDepositMutation.mjs +9 -8
  129. package/dist/hooks/useCreateMayaDepositMutation.js +1 -1
  130. package/dist/hooks/useCreateMayaDepositMutation.mjs +10 -9
  131. package/dist/hooks/useCreateOnlineBankDepositMutation.js +1 -1
  132. package/dist/hooks/useCreateOnlineBankDepositMutation.mjs +4 -3
  133. package/dist/hooks/useCreateQRPHDepositMutation.js +1 -1
  134. package/dist/hooks/useCreateQRPHDepositMutation.mjs +4 -3
  135. package/dist/hooks/useDepositQuery.js +1 -1
  136. package/dist/hooks/useDepositQuery.mjs +7 -6
  137. package/dist/hooks/useDepositRecordsQuery.js +1 -1
  138. package/dist/hooks/useDepositRecordsQuery.mjs +10 -9
  139. package/dist/hooks/useDepositsCountQuery.js +1 -1
  140. package/dist/hooks/useDepositsCountQuery.mjs +3 -2
  141. package/dist/hooks/useEndGameSessionMutation.js +1 -1
  142. package/dist/hooks/useEndGameSessionMutation.mjs +3 -2
  143. package/dist/hooks/useGamesQuery.js +1 -1
  144. package/dist/hooks/useGamesQuery.mjs +3 -2
  145. package/dist/hooks/useInstapayBankListQuery.js +1 -1
  146. package/dist/hooks/useInstapayBankListQuery.mjs +10 -9
  147. package/dist/hooks/useIsMayaSessionValidQuery.js +1 -1
  148. package/dist/hooks/useIsMayaSessionValidQuery.mjs +3 -2
  149. package/dist/hooks/useJackpotsQuery.js +1 -1
  150. package/dist/hooks/useJackpotsQuery.mjs +6 -5
  151. package/dist/hooks/useLocaleInfo.js +1 -1
  152. package/dist/hooks/useLocaleInfo.mjs +3 -2
  153. package/dist/hooks/useMemberVerificationQuery.js +1 -1
  154. package/dist/hooks/useMemberVerificationQuery.mjs +7 -6
  155. package/dist/hooks/usePaymentSettingsQuery.js +1 -1
  156. package/dist/hooks/usePaymentSettingsQuery.mjs +7 -6
  157. package/dist/hooks/usePlatformQuery.js +1 -1
  158. package/dist/hooks/usePlatformQuery.mjs +3 -2
  159. package/dist/hooks/usePromoQuery.js +1 -1
  160. package/dist/hooks/usePromoQuery.mjs +3 -2
  161. package/dist/hooks/usePromosQuery.js +1 -1
  162. package/dist/hooks/usePromosQuery.mjs +3 -2
  163. package/dist/hooks/useSendVerificationCodeMutation.js +1 -1
  164. package/dist/hooks/useSendVerificationCodeMutation.mjs +3 -2
  165. package/dist/hooks/useSessionQuery.js +1 -1
  166. package/dist/hooks/useSessionQuery.mjs +3 -2
  167. package/dist/hooks/useSignInMutation.js +1 -1
  168. package/dist/hooks/useSignInMutation.mjs +3 -2
  169. package/dist/hooks/useSignOutMutation.js +1 -1
  170. package/dist/hooks/useSignOutMutation.mjs +3 -2
  171. package/dist/hooks/useSignUpMutation.js +1 -1
  172. package/dist/hooks/useSignUpMutation.mjs +3 -2
  173. package/dist/hooks/useSiteQuery.js +1 -1
  174. package/dist/hooks/useSiteQuery.mjs +3 -2
  175. package/dist/hooks/useTopWinsQuery.js +1 -1
  176. package/dist/hooks/useTopWinsQuery.mjs +3 -2
  177. package/dist/hooks/useTournamentsQuery.js +1 -1
  178. package/dist/hooks/useTournamentsQuery.mjs +6 -5
  179. package/dist/hooks/useTransactionRecordsQuery.js +1 -1
  180. package/dist/hooks/useTransactionRecordsQuery.mjs +3 -2
  181. package/dist/hooks/useWalletQuery.js +1 -1
  182. package/dist/hooks/useWalletQuery.mjs +3 -2
  183. package/dist/hooks/useWithdrawalRecordsQuery.js +1 -1
  184. package/dist/hooks/useWithdrawalRecordsQuery.mjs +9 -8
  185. package/dist/hooks.d.ts +2 -0
  186. package/dist/icons/AlertCircleIcon.js +1 -1
  187. package/dist/icons/AlertCircleIcon.mjs +7 -6
  188. package/dist/icons/AlertTriangle.js +1 -1
  189. package/dist/icons/AlertTriangle.mjs +7 -6
  190. package/dist/icons/ArrowLeftIcon.js +1 -1
  191. package/dist/icons/ArrowLeftIcon.mjs +7 -6
  192. package/dist/icons/ArrowNarrowUpRightIcon.js +1 -1
  193. package/dist/icons/ArrowNarrowUpRightIcon.mjs +7 -6
  194. package/dist/icons/ArrowRightIcon.js +1 -1
  195. package/dist/icons/ArrowRightIcon.mjs +7 -6
  196. package/dist/icons/Award02Icon.js +1 -1
  197. package/dist/icons/Award02Icon.mjs +7 -6
  198. package/dist/icons/BankIcon.js +1 -1
  199. package/dist/icons/BankIcon.mjs +7 -6
  200. package/dist/icons/CheckCircleBrokenIcon.js +1 -1
  201. package/dist/icons/CheckCircleBrokenIcon.mjs +6 -5
  202. package/dist/icons/CheckIcon.js +1 -1
  203. package/dist/icons/CheckIcon.mjs +7 -6
  204. package/dist/icons/ChevronDownIcon.js +1 -1
  205. package/dist/icons/ChevronDownIcon.mjs +6 -5
  206. package/dist/icons/ChevronLeftIcon.js +1 -1
  207. package/dist/icons/ChevronLeftIcon.mjs +7 -6
  208. package/dist/icons/ChevronRightIcon.js +1 -1
  209. package/dist/icons/ChevronRightIcon.mjs +7 -6
  210. package/dist/icons/ChevronUpIcon.js +1 -1
  211. package/dist/icons/ChevronUpIcon.mjs +7 -6
  212. package/dist/icons/Expand03Icon.js +1 -1
  213. package/dist/icons/Expand03Icon.mjs +7 -6
  214. package/dist/icons/FacebookIcon.js +1 -1
  215. package/dist/icons/FacebookIcon.mjs +22 -19
  216. package/dist/icons/File02Icon.js +1 -1
  217. package/dist/icons/File02Icon.mjs +7 -6
  218. package/dist/icons/Gift01Icon.js +1 -1
  219. package/dist/icons/Gift01Icon.mjs +7 -6
  220. package/dist/icons/GoogleIcon.js +1 -1
  221. package/dist/icons/GoogleIcon.mjs +43 -40
  222. package/dist/icons/Logout01Icon.js +1 -1
  223. package/dist/icons/Logout01Icon.mjs +7 -6
  224. package/dist/icons/QrCode02Icon.js +1 -1
  225. package/dist/icons/QrCode02Icon.mjs +7 -6
  226. package/dist/icons/SpinnerIcon.js +1 -1
  227. package/dist/icons/SpinnerIcon.mjs +33 -30
  228. package/dist/icons/User01Icon.js +1 -1
  229. package/dist/icons/User01Icon.mjs +7 -6
  230. package/dist/icons/Wallet02Icon.js +1 -1
  231. package/dist/icons/Wallet02Icon.mjs +7 -6
  232. package/dist/icons/XIcon.js +1 -1
  233. package/dist/icons/XIcon.mjs +7 -6
  234. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js +6 -0
  235. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.mjs +953 -0
  236. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +1 -1
  237. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs +1 -1
  238. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +1 -1
  239. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.mjs +1 -1
  240. package/dist/server/utils/prefetchAccountQuery.js +1 -1
  241. package/dist/server/utils/prefetchAccountQuery.mjs +7 -6
  242. package/dist/server/utils/prefetchAvailablePromosQuery.js +1 -1
  243. package/dist/server/utils/prefetchAvailablePromosQuery.mjs +11 -10
  244. package/dist/server/utils/prefetchBetRecordsQuery.js +1 -1
  245. package/dist/server/utils/prefetchBetRecordsQuery.mjs +9 -8
  246. package/dist/server/utils/prefetchCashbacksQuery.js +1 -1
  247. package/dist/server/utils/prefetchCashbacksQuery.mjs +9 -8
  248. package/dist/server/utils/prefetchDepositQuery.js +1 -1
  249. package/dist/server/utils/prefetchDepositQuery.mjs +11 -10
  250. package/dist/server/utils/prefetchDepositRecordsQuery.js +1 -1
  251. package/dist/server/utils/prefetchDepositRecordsQuery.mjs +11 -10
  252. package/dist/server/utils/prefetchGamesQuery.js +1 -1
  253. package/dist/server/utils/prefetchGamesQuery.mjs +3 -2
  254. package/dist/server/utils/prefetchInstapayBankListQuery.js +1 -1
  255. package/dist/server/utils/prefetchInstapayBankListQuery.mjs +3 -2
  256. package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +1 -1
  257. package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +3 -2
  258. package/dist/server/utils/prefetchJackpotsQuery.js +1 -1
  259. package/dist/server/utils/prefetchJackpotsQuery.mjs +5 -4
  260. package/dist/server/utils/prefetchMemberVerificationQuery.js +1 -1
  261. package/dist/server/utils/prefetchMemberVerificationQuery.mjs +6 -5
  262. package/dist/server/utils/prefetchPaymentSettingsQuery.js +1 -1
  263. package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +3 -2
  264. package/dist/server/utils/prefetchPlatformQuery.js +1 -1
  265. package/dist/server/utils/prefetchPlatformQuery.mjs +3 -2
  266. package/dist/server/utils/prefetchPromoQuery.js +1 -1
  267. package/dist/server/utils/prefetchPromoQuery.mjs +7 -6
  268. package/dist/server/utils/prefetchPromosQuery.js +1 -1
  269. package/dist/server/utils/prefetchPromosQuery.mjs +6 -5
  270. package/dist/server/utils/prefetchSessionQuery.js +1 -1
  271. package/dist/server/utils/prefetchSessionQuery.mjs +3 -2
  272. package/dist/server/utils/prefetchSiteQuery.js +1 -1
  273. package/dist/server/utils/prefetchSiteQuery.mjs +3 -2
  274. package/dist/server/utils/prefetchTopWinsQuery.js +1 -1
  275. package/dist/server/utils/prefetchTopWinsQuery.mjs +7 -6
  276. package/dist/server/utils/prefetchTournamentsQuery.js +1 -1
  277. package/dist/server/utils/prefetchTournamentsQuery.mjs +3 -2
  278. package/dist/server/utils/prefetchTransactionRecordsQuery.js +1 -1
  279. package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +3 -2
  280. package/dist/server/utils/prefetchWalletQuery.js +1 -1
  281. package/dist/server/utils/prefetchWalletQuery.mjs +10 -9
  282. package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +1 -1
  283. package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +3 -2
  284. package/dist/server-services.d.ts +2 -0
  285. package/dist/server-utils.d.ts +2 -0
  286. package/dist/services.d.ts +2 -0
  287. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  288. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +3 -2
  289. package/dist/ui/Avatar/avatar.recipe.js +1 -1
  290. package/dist/ui/Avatar/avatar.recipe.mjs +6 -5
  291. package/dist/ui/Badge/Badge.js +1 -1
  292. package/dist/ui/Badge/Badge.mjs +13 -12
  293. package/dist/ui/Badge/badge.recipe.js +1 -1
  294. package/dist/ui/Badge/badge.recipe.mjs +3 -2
  295. package/dist/ui/Button/Button.js +1 -1
  296. package/dist/ui/Button/Button.mjs +14 -13
  297. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  298. package/dist/ui/Checkbox/checkbox.recipe.mjs +3 -2
  299. package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
  300. package/dist/ui/Clipboard/clipboard.recipe.mjs +3 -2
  301. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  302. package/dist/ui/DatePicker/datePicker.recipe.mjs +3 -2
  303. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  304. package/dist/ui/Dialog/dialog.recipe.mjs +3 -2
  305. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  306. package/dist/ui/Drawer/drawer.recipe.mjs +3 -2
  307. package/dist/ui/Field/field.recipe.js +1 -1
  308. package/dist/ui/Field/field.recipe.mjs +3 -2
  309. package/dist/ui/IconButton/IconButton.js +1 -1
  310. package/dist/ui/IconButton/IconButton.mjs +9 -8
  311. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  312. package/dist/ui/NumberInput/numberInput.recipe.mjs +3 -2
  313. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  314. package/dist/ui/PinInput/pinInput.recipe.mjs +3 -2
  315. package/dist/ui/Popover/popover.recipe.js +1 -1
  316. package/dist/ui/Popover/popover.recipe.mjs +6 -5
  317. package/dist/ui/Presence.js +1 -1
  318. package/dist/ui/Presence.mjs +8 -7
  319. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  320. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -2
  321. package/dist/ui/Select/select.recipe.js +1 -1
  322. package/dist/ui/Select/select.recipe.mjs +3 -2
  323. package/dist/ui/Table/table.recipe.js +1 -1
  324. package/dist/ui/Table/table.recipe.mjs +3 -2
  325. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  326. package/dist/ui/Tabs/tabs.recipe.mjs +3 -2
  327. package/dist/ui.d.ts +2 -0
  328. package/dist/utils/createRecipeContext.js +1 -1
  329. package/dist/utils/createRecipeContext.mjs +30 -29
  330. package/dist/utils/getLocaleInfo.js +1 -1
  331. package/dist/utils/getLocaleInfo.mjs +212 -173
  332. package/dist/utils.d.ts +2 -0
  333. package/package.json +6 -6
  334. package/dist/node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.js +0 -6
  335. package/dist/node_modules/.pnpm/buffer@5.6.0/node_modules/buffer/index.mjs +0 -790
  336. /package/dist/node_modules/.pnpm/{@opexa_portal-sdk-core@0.0.19 → @opexa_portal-sdk-core@0.0.21}/node_modules/@opexa/portal-sdk-core/dist/object-id.js +0 -0
  337. /package/dist/node_modules/.pnpm/{@opexa_portal-sdk-core@0.0.19 → @opexa_portal-sdk-core@0.0.21}/node_modules/@opexa/portal-sdk-core/dist/object-id.mjs +0 -0
@@ -1,34 +1,35 @@
1
- import { createListCollection as u, parseDate as ie, Portal as m } from "@ark-ui/react";
2
- import { endOfDay as ue, startOfDay as Ee } from "date-fns";
3
- import { useState as Re } from "react";
4
- import { z as i } from "zod";
1
+ import { j as e } from "../../_virtual/jsx-runtime.mjs";
2
+ import { createListCollection as c, Portal as o, parseDate as me } from "@ark-ui/react";
3
+ import { endOfDay as ce, startOfDay as ue } from "date-fns";
4
+ import { useState as he } from "react";
5
+ import { z as m } from "zod";
5
6
  import "@opexa/portal-sdk-core";
6
7
  import "@tanstack/react-query";
7
8
  import "tiny-invariant";
8
9
  import "../../constants/index.mjs";
9
- import { capitalize as l } from "../../utils/capitalize.mjs";
10
+ import { capitalize as a } from "../../utils/capitalize.mjs";
10
11
  import "../../utils/parseDecimal.mjs";
11
12
  import "../../utils/getLocaleInfo.mjs";
12
13
  import "../../utils/getQueryClient.mjs";
13
14
  import "../../utils/isMobile.mjs";
14
15
  import "../../utils/toaster.mjs";
15
- import { useControllableState as o } from "../../hooks/useControllableState.mjs";
16
+ import { useControllableState as d } from "../../hooks/useControllableState.mjs";
16
17
  import "lodash-es";
17
18
  import "../../_virtual/index.cjs.mjs";
18
19
  import "../../hooks/useGlobalStore.mjs";
19
20
  import "../../hooks/useInfiniteQueryHelper.mjs";
20
21
  import "usehooks-ts";
21
- import { CheckIcon as E } from "../../icons/CheckIcon.mjs";
22
- import { ChevronDownIcon as R } from "../../icons/ChevronDownIcon.mjs";
23
- import { ChevronLeftIcon as se } from "../../icons/ChevronLeftIcon.mjs";
24
- import { ChevronRightIcon as de } from "../../icons/ChevronRightIcon.mjs";
22
+ import { CheckIcon as u } from "../../icons/CheckIcon.mjs";
23
+ import { ChevronDownIcon as h } from "../../icons/ChevronDownIcon.mjs";
24
+ import { ChevronLeftIcon as xe } from "../../icons/ChevronLeftIcon.mjs";
25
+ import { ChevronRightIcon as je } 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";
28
29
  import "../../ui/Button/button.recipe.mjs";
29
30
  import "../../ui/Checkbox/Checkbox.mjs";
30
31
  import "../../ui/Clipboard/Clipboard.mjs";
31
- import { Root as Ce, Context as X, Control as ge, Positioner as Te, Content as ve, View as pe, ViewControl as he, PrevTrigger as fe, ViewTrigger as Se, RangeText as De, NextTrigger as ye, Table as Ie, TableHead as Pe, TableRow as Y, TableHeader as Ve, TableBody as we, TableCell as Oe, TableCellTrigger as be } from "../../ui/DatePicker/DatePicker.mjs";
32
+ import { Root as Ce, Context as Y, Control as ge, Positioner as Te, Content as ve, View as pe, ViewControl as Ee, PrevTrigger as fe, ViewTrigger as Se, RangeText as De, NextTrigger as Re, Table as Ie, TableHead as Pe, TableRow as ee, TableHeader as Ve, TableBody as we, TableCell as Oe, TableCellTrigger as be } from "../../ui/DatePicker/DatePicker.mjs";
32
33
  import "../../ui/Dialog/Dialog.mjs";
33
34
  import "../../ui/Drawer/Drawer.mjs";
34
35
  import "../../ui/Field/Field.mjs";
@@ -37,11 +38,11 @@ import "../../ui/NumberInput/NumberInput.mjs";
37
38
  import "../../ui/PinInput/PinInput.mjs";
38
39
  import "../../ui/Popover/Popover.mjs";
39
40
  import "tailwind-merge";
40
- import { Root as Ne, Item as w, ItemText as O, ItemControl as b, ItemHiddenInput as N, Indicator as Ae } from "../../ui/SegmentGroup/SegmentGroup.mjs";
41
- import { Root as s, Trigger as d, ValueText as C, Indicator as g, Positioner as T, Content as v, ItemGroup as p, Item as h, ItemText as f, ItemIndicator as S } from "../../ui/Select/Select.mjs";
41
+ import { Root as ye, Item as w, ItemText as O, ItemControl as b, ItemHiddenInput as y, Indicator as Ne } from "../../ui/SegmentGroup/SegmentGroup.mjs";
42
+ import { Root as x, Trigger as j, ValueText as C, Indicator as g, Positioner as T, Content as v, ItemGroup as p, Item as E, ItemText as f, ItemIndicator as S } from "../../ui/Select/Select.mjs";
42
43
  import "../../ui/Table/Table.mjs";
43
44
  import "../../ui/Tabs/Tabs.mjs";
44
- const ke = i.enum(["all", "today", "custom"]).catch("all"), ee = [
45
+ const Ae = m.enum(["all", "today", "custom"]).catch("all"), te = [
45
46
  "ACCEPTED",
46
47
  "APPROVED",
47
48
  "CANCELLED",
@@ -49,7 +50,7 @@ const ke = i.enum(["all", "today", "custom"]).catch("all"), ee = [
49
50
  "FAILED",
50
51
  "PENDING",
51
52
  "REJECTED"
52
- ], te = [
53
+ ], le = [
53
54
  "ACCEPTED",
54
55
  "APPROVED",
55
56
  "CANCELLED",
@@ -57,196 +58,261 @@ const ke = i.enum(["all", "today", "custom"]).catch("all"), ee = [
57
58
  "FAILED",
58
59
  "PENDING",
59
60
  "REJECTED"
60
- ], ae = Intl.DateTimeFormat().resolvedOptions().timeZone;
61
- function Dt(t) {
62
- var L, z, M, G, $, H, W, B, J, _, Z, j, q, K;
63
- const A = u({
64
- items: t.gameTypeOptions ?? [],
65
- itemToValue: (e) => e,
66
- itemToString: (e) => l(e, {
67
- delimiter: l.delimiters.UNDERSCORE
61
+ ], ie = Intl.DateTimeFormat().resolvedOptions().timeZone;
62
+ function Rt(l) {
63
+ var z, M, G, $, k, H, W, B, J, _, Z, q, K, Q;
64
+ const N = c({
65
+ items: l.gameTypeOptions ?? [],
66
+ itemToValue: (t) => t,
67
+ itemToString: (t) => a(t, {
68
+ delimiter: a.delimiters.UNDERSCORE
68
69
  })
69
- }), k = u({
70
- items: t.gameProviderOptions ?? [],
71
- itemToValue: (e) => e,
72
- itemToString: (e) => l(e, {
73
- delimiter: l.delimiters.UNDERSCORE
70
+ }), A = c({
71
+ items: l.gameProviderOptions ?? [],
72
+ itemToValue: (t) => t,
73
+ itemToString: (t) => a(t, {
74
+ delimiter: a.delimiters.UNDERSCORE
74
75
  })
75
- }), F = u({
76
- items: ee,
77
- itemToValue: (e) => e,
78
- itemToString: (e) => l(e, {
79
- delimiter: l.delimiters.UNDERSCORE
80
- })
81
- }), x = u({
76
+ }), F = c({
82
77
  items: te,
83
- itemToValue: (e) => e,
84
- itemToString: (e) => l(e, {
85
- delimiter: l.delimiters.UNDERSCORE
78
+ itemToValue: (t) => t,
79
+ itemToString: (t) => a(t, {
80
+ delimiter: a.delimiters.UNDERSCORE
81
+ })
82
+ }), U = c({
83
+ items: le,
84
+ itemToValue: (t) => t,
85
+ itemToString: (t) => a(t, {
86
+ delimiter: a.delimiters.UNDERSCORE
86
87
  })
87
- }), [le, U] = Re("all"), r = (e) => {
88
- var n;
89
- const a = {
90
- timestamp: c,
91
- gameType: y,
88
+ }), [ae, L] = he("all"), s = (t) => {
89
+ var r;
90
+ const i = {
91
+ timestamp: n,
92
+ gameType: R,
92
93
  gameProvider: I,
93
94
  depositStatus: P,
94
95
  withdrawalStatus: V
95
96
  };
96
- (n = t.onChange) == null || n.call(t, {
97
- ...a,
98
- ...e
97
+ (r = l.onChange) == null || r.call(l, {
98
+ ...i,
99
+ ...t
99
100
  });
100
- }, [c, D] = o({
101
- value: (L = t.value) == null ? void 0 : L.timestamp,
102
- defaultValue: ((z = t.defaultValue) == null ? void 0 : z.timestamp) ?? null,
103
- onChange(e) {
104
- r({ timestamp: e });
101
+ }, [n, D] = d({
102
+ value: (z = l.value) == null ? void 0 : z.timestamp,
103
+ defaultValue: ((M = l.defaultValue) == null ? void 0 : M.timestamp) ?? null,
104
+ onChange(t) {
105
+ s({ timestamp: t });
105
106
  }
106
- }), [y, ne] = o({
107
- value: (M = t.value) == null ? void 0 : M.gameType,
108
- defaultValue: ((G = t.defaultValue) == null ? void 0 : G.gameType) ?? null,
109
- onChange(e) {
110
- r({ gameType: e });
107
+ }), [R, re] = d({
108
+ value: (G = l.value) == null ? void 0 : G.gameType,
109
+ defaultValue: (($ = l.defaultValue) == null ? void 0 : $.gameType) ?? null,
110
+ onChange(t) {
111
+ s({ gameType: t });
111
112
  }
112
- }), [I, ce] = o({
113
- value: ($ = t.value) == null ? void 0 : $.gameProvider,
114
- defaultValue: ((H = t.defaultValue) == null ? void 0 : H.gameProvider) ?? null,
115
- onChange(e) {
116
- r({ gameProvider: e });
113
+ }), [I, ne] = d({
114
+ value: (k = l.value) == null ? void 0 : k.gameProvider,
115
+ defaultValue: ((H = l.defaultValue) == null ? void 0 : H.gameProvider) ?? null,
116
+ onChange(t) {
117
+ s({ gameProvider: t });
117
118
  }
118
- }), [P, re] = o({
119
- value: (W = t.value) == null ? void 0 : W.depositStatus,
120
- defaultValue: ((B = t.defaultValue) == null ? void 0 : B.depositStatus) ?? null,
121
- onChange(e) {
122
- r({ depositStatus: e });
119
+ }), [P, se] = d({
120
+ value: (W = l.value) == null ? void 0 : W.depositStatus,
121
+ defaultValue: ((B = l.defaultValue) == null ? void 0 : B.depositStatus) ?? null,
122
+ onChange(t) {
123
+ s({ depositStatus: t });
123
124
  }
124
- }), [V, me] = o({
125
- value: (J = t.value) == null ? void 0 : J.withdrawalStatus,
126
- defaultValue: ((_ = t.defaultValue) == null ? void 0 : _.withdrawalStatus) ?? null,
127
- onChange(e) {
128
- r({ withdrawalStatus: e });
125
+ }), [V, oe] = d({
126
+ value: (J = l.value) == null ? void 0 : J.withdrawalStatus,
127
+ defaultValue: ((_ = l.defaultValue) == null ? void 0 : _.withdrawalStatus) ?? null,
128
+ onChange(t) {
129
+ s({ withdrawalStatus: t });
129
130
  }
130
131
  });
131
- return /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-lg" }, /* @__PURE__ */ React.createElement(
132
- Ce,
133
- {
134
- lazyMount: !0,
135
- unmountOnExit: !0,
136
- value: [c == null ? void 0 : c.start, c == null ? void 0 : c.end].filter(Boolean).map((e) => ie(e)),
137
- onValueChange: (e) => {
138
- var a, n;
139
- D({
140
- start: (a = e.value.at(0)) == null ? void 0 : a.toDate(ae),
141
- end: (n = e.value.at(1)) == null ? void 0 : n.toDate(ae)
142
- });
143
- },
144
- onOpenChange: (e) => {
145
- e.open || c || U("all");
146
- },
147
- selectionMode: "range",
148
- closeOnSelect: !1,
149
- positioning: {
150
- gutter: 20,
151
- placement: "bottom"
132
+ return /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-lg", children: [
133
+ /* @__PURE__ */ e.jsxs(
134
+ Ce,
135
+ {
136
+ lazyMount: !0,
137
+ unmountOnExit: !0,
138
+ value: [n == null ? void 0 : n.start, n == null ? void 0 : n.end].filter(Boolean).map((t) => me(t)),
139
+ onValueChange: (t) => {
140
+ var i, r;
141
+ D({
142
+ start: (i = t.value.at(0)) == null ? void 0 : i.toDate(ie),
143
+ end: (r = t.value.at(1)) == null ? void 0 : r.toDate(ie)
144
+ });
145
+ },
146
+ onOpenChange: (t) => {
147
+ t.open || n || L("all");
148
+ },
149
+ selectionMode: "range",
150
+ closeOnSelect: !1,
151
+ positioning: {
152
+ gutter: 20,
153
+ placement: "bottom"
154
+ },
155
+ children: [
156
+ /* @__PURE__ */ e.jsxs(
157
+ ye,
158
+ {
159
+ value: ae,
160
+ onValueChange: (t) => {
161
+ const i = Ae.parse(t.value);
162
+ if (i === "today") {
163
+ const r = /* @__PURE__ */ new Date();
164
+ D({
165
+ start: ue(r),
166
+ end: ce(r)
167
+ });
168
+ } else
169
+ D(null);
170
+ L(i);
171
+ },
172
+ children: [
173
+ /* @__PURE__ */ e.jsxs(w, { value: "all", children: [
174
+ /* @__PURE__ */ e.jsx(O, { children: "All" }),
175
+ /* @__PURE__ */ e.jsx(b, {}),
176
+ /* @__PURE__ */ e.jsx(y, {})
177
+ ] }),
178
+ /* @__PURE__ */ e.jsxs(w, { value: "today", children: [
179
+ /* @__PURE__ */ e.jsx(O, { children: "Today" }),
180
+ /* @__PURE__ */ e.jsx(b, {}),
181
+ /* @__PURE__ */ e.jsx(y, {})
182
+ ] }),
183
+ /* @__PURE__ */ e.jsx(Y, { children: (t) => /* @__PURE__ */ e.jsx(
184
+ w,
185
+ {
186
+ value: "custom",
187
+ onClick: () => t.setOpen(!0),
188
+ children: /* @__PURE__ */ e.jsxs(ge, { children: [
189
+ /* @__PURE__ */ e.jsx(O, { children: "Custom" }),
190
+ /* @__PURE__ */ e.jsx(b, {}),
191
+ /* @__PURE__ */ e.jsx(y, {})
192
+ ] })
193
+ }
194
+ ) }),
195
+ /* @__PURE__ */ e.jsx(Ne, {})
196
+ ]
197
+ }
198
+ ),
199
+ /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(Te, { children: /* @__PURE__ */ e.jsx(ve, { children: /* @__PURE__ */ e.jsx(pe, { view: "day", children: /* @__PURE__ */ e.jsx(Y, { children: (t) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
200
+ /* @__PURE__ */ e.jsxs(Ee, { children: [
201
+ /* @__PURE__ */ e.jsx(fe, { children: /* @__PURE__ */ e.jsx(xe, {}) }),
202
+ /* @__PURE__ */ e.jsx(Se, { children: /* @__PURE__ */ e.jsx(De, {}) }),
203
+ /* @__PURE__ */ e.jsx(Re, { children: /* @__PURE__ */ e.jsx(je, {}) })
204
+ ] }),
205
+ /* @__PURE__ */ e.jsxs(Ie, { children: [
206
+ /* @__PURE__ */ e.jsx(Pe, { children: /* @__PURE__ */ e.jsx(ee, { children: t.weekDays.map((i, r) => /* @__PURE__ */ e.jsx(Ve, { children: i.short.substring(0, 2) }, r)) }) }),
207
+ /* @__PURE__ */ e.jsx(we, { children: t.weeks.map((i, r) => /* @__PURE__ */ e.jsx(ee, { children: i.map((X, de) => /* @__PURE__ */ e.jsx(Oe, { value: X, children: /* @__PURE__ */ e.jsx(be, { children: X.day }) }, de)) }, r)) })
208
+ ] })
209
+ ] }) }) }) }) }) })
210
+ ]
152
211
  }
153
- },
154
- /* @__PURE__ */ React.createElement(
155
- Ne,
212
+ ),
213
+ /* @__PURE__ */ e.jsx("div", { className: "grow" }),
214
+ ((Z = l.enabledFilters) == null ? void 0 : Z.gameType) && /* @__PURE__ */ e.jsxs(
215
+ x,
156
216
  {
157
- value: le,
158
- onValueChange: (e) => {
159
- const a = ke.parse(e.value);
160
- if (a === "today") {
161
- const n = /* @__PURE__ */ new Date();
162
- D({
163
- start: Ee(n),
164
- end: ue(n)
165
- });
166
- } else
167
- D(null);
168
- U(a);
169
- }
170
- },
171
- /* @__PURE__ */ React.createElement(w, { value: "all" }, /* @__PURE__ */ React.createElement(O, null, "All"), /* @__PURE__ */ React.createElement(b, null), /* @__PURE__ */ React.createElement(N, null)),
172
- /* @__PURE__ */ React.createElement(w, { value: "today" }, /* @__PURE__ */ React.createElement(O, null, "Today"), /* @__PURE__ */ React.createElement(b, null), /* @__PURE__ */ React.createElement(N, null)),
173
- /* @__PURE__ */ React.createElement(X, null, (e) => /* @__PURE__ */ React.createElement(
174
- w,
175
- {
176
- value: "custom",
177
- onClick: () => e.setOpen(!0)
217
+ collection: N,
218
+ value: R ? [R] : [],
219
+ onValueChange: (t) => {
220
+ const i = m.enum(l.gameTypeOptions ?? []).safeParse(t.value.at(0)).data;
221
+ re(i ?? null);
178
222
  },
179
- /* @__PURE__ */ React.createElement(ge, null, /* @__PURE__ */ React.createElement(O, null, "Custom"), /* @__PURE__ */ React.createElement(b, null), /* @__PURE__ */ React.createElement(N, null))
180
- )),
181
- /* @__PURE__ */ React.createElement(Ae, null)
223
+ lazyMount: !0,
224
+ deselectable: !0,
225
+ children: [
226
+ /* @__PURE__ */ e.jsxs(j, { children: [
227
+ /* @__PURE__ */ e.jsx(C, { placeholder: "Game Type" }),
228
+ /* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
229
+ ] }),
230
+ /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: N.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
231
+ /* @__PURE__ */ e.jsx(f, { children: a(t, {
232
+ delimiter: a.delimiters.UNDERSCORE
233
+ }) }),
234
+ /* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
235
+ ] }, t)) }) }) }) })
236
+ ]
237
+ }
182
238
  ),
183
- /* @__PURE__ */ React.createElement(m, null, /* @__PURE__ */ React.createElement(Te, null, /* @__PURE__ */ React.createElement(ve, null, /* @__PURE__ */ React.createElement(pe, { view: "day" }, /* @__PURE__ */ React.createElement(X, null, (e) => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(he, null, /* @__PURE__ */ React.createElement(fe, null, /* @__PURE__ */ React.createElement(se, null)), /* @__PURE__ */ React.createElement(Se, null, /* @__PURE__ */ React.createElement(De, null)), /* @__PURE__ */ React.createElement(ye, null, /* @__PURE__ */ React.createElement(de, null))), /* @__PURE__ */ React.createElement(Ie, null, /* @__PURE__ */ React.createElement(Pe, null, /* @__PURE__ */ React.createElement(Y, null, e.weekDays.map((a, n) => /* @__PURE__ */ React.createElement(Ve, { key: n }, a.short.substring(0, 2))))), /* @__PURE__ */ React.createElement(we, null, e.weeks.map((a, n) => /* @__PURE__ */ React.createElement(Y, { key: n }, a.map((Q, oe) => /* @__PURE__ */ React.createElement(Oe, { key: oe, value: Q }, /* @__PURE__ */ React.createElement(be, null, Q.day)))))))))))))
184
- ), /* @__PURE__ */ React.createElement("div", { className: "grow" }), ((Z = t.enabledFilters) == null ? void 0 : Z.gameType) && /* @__PURE__ */ React.createElement(
185
- s,
186
- {
187
- collection: A,
188
- value: y ? [y] : [],
189
- onValueChange: (e) => {
190
- const a = i.enum(t.gameTypeOptions ?? []).safeParse(e.value.at(0)).data;
191
- ne(a ?? null);
192
- },
193
- lazyMount: !0,
194
- deselectable: !0
195
- },
196
- /* @__PURE__ */ React.createElement(d, null, /* @__PURE__ */ React.createElement(C, { placeholder: "Game Type" }), /* @__PURE__ */ React.createElement(g, { asChild: !0 }, /* @__PURE__ */ React.createElement(R, null))),
197
- /* @__PURE__ */ React.createElement(m, null, /* @__PURE__ */ React.createElement(T, null, /* @__PURE__ */ React.createElement(v, null, /* @__PURE__ */ React.createElement(p, null, A.items.map((e) => /* @__PURE__ */ React.createElement(h, { key: e, item: e }, /* @__PURE__ */ React.createElement(f, null, l(e, {
198
- delimiter: l.delimiters.UNDERSCORE
199
- })), /* @__PURE__ */ React.createElement(S, { asChild: !0 }, /* @__PURE__ */ React.createElement(E, null))))))))
200
- ), ((j = t.enabledFilters) == null ? void 0 : j.gameProvider) && /* @__PURE__ */ React.createElement(
201
- s,
202
- {
203
- collection: k,
204
- value: I ? [I] : [],
205
- onValueChange: (e) => {
206
- const a = i.enum(t.gameProviderOptions ?? []).safeParse(e.value.at(0)).data;
207
- ce(a ?? null);
208
- },
209
- lazyMount: !0,
210
- deselectable: !0
211
- },
212
- /* @__PURE__ */ React.createElement(d, null, /* @__PURE__ */ React.createElement(C, { placeholder: "Game Vendor" }), /* @__PURE__ */ React.createElement(g, { asChild: !0 }, /* @__PURE__ */ React.createElement(R, null))),
213
- /* @__PURE__ */ React.createElement(m, null, /* @__PURE__ */ React.createElement(T, null, /* @__PURE__ */ React.createElement(v, null, /* @__PURE__ */ React.createElement(p, null, k.items.map((e) => /* @__PURE__ */ React.createElement(h, { key: e, item: e }, /* @__PURE__ */ React.createElement(f, null, l(e, {
214
- delimiter: l.delimiters.UNDERSCORE
215
- })), /* @__PURE__ */ React.createElement(S, { asChild: !0 }, /* @__PURE__ */ React.createElement(E, null))))))))
216
- ), ((q = t.enabledFilters) == null ? void 0 : q.depositStatus) && /* @__PURE__ */ React.createElement(
217
- s,
218
- {
219
- collection: F,
220
- value: P ? [P] : [],
221
- onValueChange: (e) => {
222
- const a = i.enum(ee).safeParse(e.value.at(0)).data;
223
- re(a ?? null);
224
- },
225
- lazyMount: !0,
226
- deselectable: !0
227
- },
228
- /* @__PURE__ */ React.createElement(d, null, /* @__PURE__ */ React.createElement(C, { placeholder: "Status" }), /* @__PURE__ */ React.createElement(g, { asChild: !0 }, /* @__PURE__ */ React.createElement(R, null))),
229
- /* @__PURE__ */ React.createElement(m, null, /* @__PURE__ */ React.createElement(T, null, /* @__PURE__ */ React.createElement(v, null, /* @__PURE__ */ React.createElement(p, null, x.items.map((e) => /* @__PURE__ */ React.createElement(h, { key: e, item: e }, /* @__PURE__ */ React.createElement(f, null, l(e, {
230
- delimiter: l.delimiters.UNDERSCORE
231
- })), /* @__PURE__ */ React.createElement(S, { asChild: !0 }, /* @__PURE__ */ React.createElement(E, null))))))))
232
- ), ((K = t.enabledFilters) == null ? void 0 : K.withdrawalStatus) && /* @__PURE__ */ React.createElement(
233
- s,
234
- {
235
- collection: x,
236
- value: V ? [V] : [],
237
- onValueChange: (e) => {
238
- const a = i.enum(te).safeParse(e.value.at(0)).data;
239
- me(a ?? null);
240
- },
241
- lazyMount: !0,
242
- deselectable: !0
243
- },
244
- /* @__PURE__ */ React.createElement(d, null, /* @__PURE__ */ React.createElement(C, { placeholder: "Status" }), /* @__PURE__ */ React.createElement(g, { asChild: !0 }, /* @__PURE__ */ React.createElement(R, null))),
245
- /* @__PURE__ */ React.createElement(m, null, /* @__PURE__ */ React.createElement(T, null, /* @__PURE__ */ React.createElement(v, null, /* @__PURE__ */ React.createElement(p, null, F.items.map((e) => /* @__PURE__ */ React.createElement(h, { key: e, item: e }, /* @__PURE__ */ React.createElement(f, null, l(e, {
246
- delimiter: l.delimiters.UNDERSCORE
247
- })), /* @__PURE__ */ React.createElement(S, { asChild: !0 }, /* @__PURE__ */ React.createElement(E, null))))))))
248
- ));
239
+ ((q = l.enabledFilters) == null ? void 0 : q.gameProvider) && /* @__PURE__ */ e.jsxs(
240
+ x,
241
+ {
242
+ collection: A,
243
+ value: I ? [I] : [],
244
+ onValueChange: (t) => {
245
+ const i = m.enum(l.gameProviderOptions ?? []).safeParse(t.value.at(0)).data;
246
+ ne(i ?? null);
247
+ },
248
+ lazyMount: !0,
249
+ deselectable: !0,
250
+ children: [
251
+ /* @__PURE__ */ e.jsxs(j, { children: [
252
+ /* @__PURE__ */ e.jsx(C, { placeholder: "Game Vendor" }),
253
+ /* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
254
+ ] }),
255
+ /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: A.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
256
+ /* @__PURE__ */ e.jsx(f, { children: a(t, {
257
+ delimiter: a.delimiters.UNDERSCORE
258
+ }) }),
259
+ /* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
260
+ ] }, t)) }) }) }) })
261
+ ]
262
+ }
263
+ ),
264
+ ((K = l.enabledFilters) == null ? void 0 : K.depositStatus) && /* @__PURE__ */ e.jsxs(
265
+ x,
266
+ {
267
+ collection: F,
268
+ value: P ? [P] : [],
269
+ onValueChange: (t) => {
270
+ const i = m.enum(te).safeParse(t.value.at(0)).data;
271
+ se(i ?? null);
272
+ },
273
+ lazyMount: !0,
274
+ deselectable: !0,
275
+ children: [
276
+ /* @__PURE__ */ e.jsxs(j, { children: [
277
+ /* @__PURE__ */ e.jsx(C, { placeholder: "Status" }),
278
+ /* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
279
+ ] }),
280
+ /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: U.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
281
+ /* @__PURE__ */ e.jsx(f, { children: a(t, {
282
+ delimiter: a.delimiters.UNDERSCORE
283
+ }) }),
284
+ /* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
285
+ ] }, t)) }) }) }) })
286
+ ]
287
+ }
288
+ ),
289
+ ((Q = l.enabledFilters) == null ? void 0 : Q.withdrawalStatus) && /* @__PURE__ */ e.jsxs(
290
+ x,
291
+ {
292
+ collection: U,
293
+ value: V ? [V] : [],
294
+ onValueChange: (t) => {
295
+ const i = m.enum(le).safeParse(t.value.at(0)).data;
296
+ oe(i ?? null);
297
+ },
298
+ lazyMount: !0,
299
+ deselectable: !0,
300
+ children: [
301
+ /* @__PURE__ */ e.jsxs(j, { children: [
302
+ /* @__PURE__ */ e.jsx(C, { placeholder: "Status" }),
303
+ /* @__PURE__ */ e.jsx(g, { asChild: !0, children: /* @__PURE__ */ e.jsx(h, {}) })
304
+ ] }),
305
+ /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(T, { children: /* @__PURE__ */ e.jsx(v, { children: /* @__PURE__ */ e.jsx(p, { children: F.items.map((t) => /* @__PURE__ */ e.jsxs(E, { item: t, children: [
306
+ /* @__PURE__ */ e.jsx(f, { children: a(t, {
307
+ delimiter: a.delimiters.UNDERSCORE
308
+ }) }),
309
+ /* @__PURE__ */ e.jsx(S, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, {}) })
310
+ ] }, t)) }) }) }) })
311
+ ]
312
+ }
313
+ )
314
+ ] });
249
315
  }
250
316
  export {
251
- Dt as TableFilters
317
+ Rt as TableFilters
252
318
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("react");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/toaster.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.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/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const e=require("../../ui/Tabs/Tabs.js"),t=require("./DepositRecordsTable.js"),a=require("./TransactionRecordsTable.js"),c=require("./WithdrawalRecordsTable.js");function i(r){return React.createElement("div",{className:r.className},React.createElement("h2",{className:"text-lg font-semibold"},"Transaction Records"),React.createElement("p",{className:"text-gray-600 mt-xs text-xs"},"View your transaction records"),React.createElement(e.Root,{className:"mt-2xl",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0},React.createElement("div",{className:"pb-2xl"},React.createElement(e.List,null,React.createElement(e.Trigger,{value:"transactions"},"Transactions"),React.createElement(e.Trigger,{value:"deposits"},"Deposits"),React.createElement(e.Trigger,{value:"withdrawals"},"Withdrawals"),React.createElement(e.Indicator,null))),React.createElement(e.Content,{value:"transactions",className:"mt-4xl"},React.createElement(a.TransactionRecordsTable,null)),React.createElement(e.Content,{value:"deposits",className:"mt-4xl"},React.createElement(t.DepositRecordsTable,null)),React.createElement(e.Content,{value:"withdrawals",className:"mt-4xl"},React.createElement(c.WithdrawalRecordsTable,null))))}exports.TransactionRecords=i;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("react");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/toaster.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.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/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const r=require("../../ui/Tabs/Tabs.js"),t=require("./DepositRecordsTable.js"),i=require("./TransactionRecordsTable.js"),n=require("./WithdrawalRecordsTable.js");function u(s){return e.jsxRuntimeExports.jsxs("div",{className:s.className,children:[e.jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold",children:"Transaction Records"}),e.jsxRuntimeExports.jsx("p",{className:"text-gray-600 mt-xs text-xs",children:"View your transaction records"}),e.jsxRuntimeExports.jsxs(r.Root,{className:"mt-2xl",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0,children:[e.jsxRuntimeExports.jsx("div",{className:"pb-2xl",children:e.jsxRuntimeExports.jsxs(r.List,{children:[e.jsxRuntimeExports.jsx(r.Trigger,{value:"transactions",children:"Transactions"}),e.jsxRuntimeExports.jsx(r.Trigger,{value:"deposits",children:"Deposits"}),e.jsxRuntimeExports.jsx(r.Trigger,{value:"withdrawals",children:"Withdrawals"}),e.jsxRuntimeExports.jsx(r.Indicator,{})]})}),e.jsxRuntimeExports.jsx(r.Content,{value:"transactions",className:"mt-4xl",children:e.jsxRuntimeExports.jsx(i.TransactionRecordsTable,{})}),e.jsxRuntimeExports.jsx(r.Content,{value:"deposits",className:"mt-4xl",children:e.jsxRuntimeExports.jsx(t.DepositRecordsTable,{})}),e.jsxRuntimeExports.jsx(r.Content,{value:"withdrawals",className:"mt-4xl",children:e.jsxRuntimeExports.jsx(n.WithdrawalRecordsTable,{})})]})]})}exports.TransactionRecords=u;
@@ -1,4 +1,5 @@
1
1
  "use client";
2
+ import { j as t } from "../../_virtual/jsx-runtime.mjs";
2
3
  import "../../ui/AlertDialog/AlertDialog.mjs";
3
4
  import "../../ui/Avatar/Avatar.mjs";
4
5
  import "../../ui/Badge/Badge.mjs";
@@ -26,25 +27,36 @@ import "tailwind-merge";
26
27
  import "../../ui/SegmentGroup/SegmentGroup.mjs";
27
28
  import "../../ui/Select/Select.mjs";
28
29
  import "../../ui/Table/Table.mjs";
29
- import { Root as r, List as m, Trigger as t, Indicator as o, Content as e } from "../../ui/Tabs/Tabs.mjs";
30
- import { DepositRecordsTable as l } from "./DepositRecordsTable.mjs";
31
- import { TransactionRecordsTable as c } from "./TransactionRecordsTable.mjs";
32
- import { WithdrawalRecordsTable as i } from "./WithdrawalRecordsTable.mjs";
33
- function F(a) {
34
- return /* @__PURE__ */ React.createElement("div", { className: a.className }, /* @__PURE__ */ React.createElement("h2", { className: "text-lg font-semibold" }, "Transaction Records"), /* @__PURE__ */ React.createElement("p", { className: "text-gray-600 mt-xs text-xs" }, "View your transaction records"), /* @__PURE__ */ React.createElement(
35
- r,
36
- {
37
- className: "mt-2xl",
38
- defaultValue: "transactions",
39
- lazyMount: !0,
40
- unmountOnExit: !0
41
- },
42
- /* @__PURE__ */ React.createElement("div", { className: "pb-2xl" }, /* @__PURE__ */ React.createElement(m, null, /* @__PURE__ */ React.createElement(t, { value: "transactions" }, "Transactions"), /* @__PURE__ */ React.createElement(t, { value: "deposits" }, "Deposits"), /* @__PURE__ */ React.createElement(t, { value: "withdrawals" }, "Withdrawals"), /* @__PURE__ */ React.createElement(o, null))),
43
- /* @__PURE__ */ React.createElement(e, { value: "transactions", className: "mt-4xl" }, /* @__PURE__ */ React.createElement(c, null)),
44
- /* @__PURE__ */ React.createElement(e, { value: "deposits", className: "mt-4xl" }, /* @__PURE__ */ React.createElement(l, null)),
45
- /* @__PURE__ */ React.createElement(e, { value: "withdrawals", className: "mt-4xl" }, /* @__PURE__ */ React.createElement(i, null))
46
- ));
30
+ import { Root as o, List as a, Trigger as r, Indicator as e, Content as s } from "../../ui/Tabs/Tabs.mjs";
31
+ import { DepositRecordsTable as m } from "./DepositRecordsTable.mjs";
32
+ import { TransactionRecordsTable as l } from "./TransactionRecordsTable.mjs";
33
+ import { WithdrawalRecordsTable as n } from "./WithdrawalRecordsTable.mjs";
34
+ function H(i) {
35
+ return /* @__PURE__ */ t.jsxs("div", { className: i.className, children: [
36
+ /* @__PURE__ */ t.jsx("h2", { className: "text-lg font-semibold", children: "Transaction Records" }),
37
+ /* @__PURE__ */ t.jsx("p", { className: "text-gray-600 mt-xs text-xs", children: "View your transaction records" }),
38
+ /* @__PURE__ */ t.jsxs(
39
+ o,
40
+ {
41
+ className: "mt-2xl",
42
+ defaultValue: "transactions",
43
+ lazyMount: !0,
44
+ unmountOnExit: !0,
45
+ children: [
46
+ /* @__PURE__ */ t.jsx("div", { className: "pb-2xl", children: /* @__PURE__ */ t.jsxs(a, { children: [
47
+ /* @__PURE__ */ t.jsx(r, { value: "transactions", children: "Transactions" }),
48
+ /* @__PURE__ */ t.jsx(r, { value: "deposits", children: "Deposits" }),
49
+ /* @__PURE__ */ t.jsx(r, { value: "withdrawals", children: "Withdrawals" }),
50
+ /* @__PURE__ */ t.jsx(e, {})
51
+ ] }) }),
52
+ /* @__PURE__ */ t.jsx(s, { value: "transactions", className: "mt-4xl", children: /* @__PURE__ */ t.jsx(l, {}) }),
53
+ /* @__PURE__ */ t.jsx(s, { value: "deposits", className: "mt-4xl", children: /* @__PURE__ */ t.jsx(m, {}) }),
54
+ /* @__PURE__ */ t.jsx(s, { value: "withdrawals", className: "mt-4xl", children: /* @__PURE__ */ t.jsx(n, {}) })
55
+ ]
56
+ }
57
+ )
58
+ ] });
47
59
  }
48
60
  export {
49
- F as TransactionRecords
61
+ H as TransactionRecords
50
62
  };