@opexa/portal-components 0.0.27 → 0.0.28
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.
- package/dist/client/hooks/index.js +54 -0
- package/dist/client/hooks/useAccountQuery.d.ts +2 -2
- package/dist/client/hooks/useAccountQuery.js +34 -1
- package/dist/client/hooks/useAuthenticateMutation.d.ts +2 -2
- package/dist/client/hooks/useAuthenticateMutation.js +16 -1
- package/dist/client/hooks/useAvailablePromosQuery.d.ts +2 -2
- package/dist/client/hooks/useAvailablePromosQuery.js +34 -1
- package/dist/client/hooks/useBetRecordsQuery.d.ts +2 -2
- package/dist/client/hooks/useBetRecordsQuery.js +38 -1
- package/dist/client/hooks/useBonusesQuery.d.ts +2 -2
- package/dist/client/hooks/useBonusesQuery.js +34 -1
- package/dist/client/hooks/useCashbacksQuery.d.ts +2 -2
- package/dist/client/hooks/useCashbacksQuery.js +19 -1
- package/dist/client/hooks/useControllableState.js +30 -1
- package/dist/client/hooks/useCooldown.js +100 -1
- package/dist/client/hooks/useCreateGCashDepositMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateGCashDepositMutation.js +58 -1
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +31 -1
- package/dist/client/hooks/useCreateGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useCreateGameSessionMutation.js +96 -1
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +31 -1
- package/dist/client/hooks/useCreateMayaAppDepositMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateMayaAppDepositMutation.js +58 -1
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +31 -1
- package/dist/client/hooks/useCreateMayaDepositMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateMayaDepositMutation.js +58 -1
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +31 -1
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +58 -1
- package/dist/client/hooks/useCreateQRPHDepositMutation.d.ts +3 -3
- package/dist/client/hooks/useCreateQRPHDepositMutation.js +58 -1
- package/dist/client/hooks/useDepositQuery.d.ts +2 -2
- package/dist/client/hooks/useDepositQuery.js +36 -1
- package/dist/client/hooks/useDepositRecordsQuery.d.ts +2 -2
- package/dist/client/hooks/useDepositRecordsQuery.js +40 -1
- package/dist/client/hooks/useDepositsCountQuery.d.ts +1 -1
- package/dist/client/hooks/useDepositsCountQuery.js +34 -1
- package/dist/client/hooks/useDisclosure.d.ts +1 -1
- package/dist/client/hooks/useDisclosure.js +12 -1
- package/dist/client/hooks/useEndGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useEndGameSessionMutation.js +38 -1
- package/dist/client/hooks/useFavoriteGamesQuery.d.ts +2 -2
- package/dist/client/hooks/useFavoriteGamesQuery.js +33 -1
- package/dist/client/hooks/useGamesQuery.d.ts +2 -2
- package/dist/client/hooks/useGamesQuery.js +32 -1
- package/dist/client/hooks/useGlobalStore.d.ts +2 -2
- package/dist/client/hooks/useGlobalStore.js +179 -1
- package/dist/client/hooks/useInfiniteQueryHelper.d.ts +2 -2
- package/dist/client/hooks/useInfiniteQueryHelper.js +65 -1
- package/dist/client/hooks/useInstapayBankListQuery.d.ts +2 -2
- package/dist/client/hooks/useInstapayBankListQuery.js +34 -1
- package/dist/client/hooks/useIsMayaSessionValidQuery.d.ts +1 -1
- package/dist/client/hooks/useIsMayaSessionValidQuery.js +45 -1
- package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +2 -2
- package/dist/client/hooks/useJackpotPayoutsQuery.js +26 -1
- package/dist/client/hooks/useJackpotsQuery.d.ts +2 -2
- package/dist/client/hooks/useJackpotsQuery.js +26 -1
- package/dist/client/hooks/useLocaleInfo.d.ts +1 -1
- package/dist/client/hooks/useLocaleInfo.js +6 -1
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +1 -1
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +33 -1
- package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -1
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +35 -1
- package/dist/client/hooks/useMemberVerificationQuery.d.ts +2 -2
- package/dist/client/hooks/useMemberVerificationQuery.js +33 -1
- package/dist/client/hooks/useMessagesQuery.d.ts +2 -2
- package/dist/client/hooks/useMessagesQuery.js +41 -1
- package/dist/client/hooks/useMobileNumberParser.js +63 -1
- package/dist/client/hooks/useOnMMA.d.ts +1 -1
- package/dist/client/hooks/useOnMMA.js +5 -1
- package/dist/client/hooks/usePaymentSettingsQuery.d.ts +2 -2
- package/dist/client/hooks/usePaymentSettingsQuery.js +34 -1
- package/dist/client/hooks/usePlatformQuery.d.ts +2 -2
- package/dist/client/hooks/usePlatformQuery.js +17 -1
- package/dist/client/hooks/useProfileCompletionQuery.d.ts +2 -2
- package/dist/client/hooks/useProfileCompletionQuery.js +34 -1
- package/dist/client/hooks/usePromoQuery.d.ts +2 -2
- package/dist/client/hooks/usePromoQuery.js +20 -1
- package/dist/client/hooks/usePromosQuery.d.ts +2 -2
- package/dist/client/hooks/usePromosQuery.js +19 -1
- package/dist/client/hooks/useSendVerificationCodeMutation.d.ts +2 -2
- package/dist/client/hooks/useSendVerificationCodeMutation.js +18 -1
- package/dist/client/hooks/useSessionQuery.d.ts +1 -1
- package/dist/client/hooks/useSessionQuery.js +14 -1
- package/dist/client/hooks/useSignInMutation.d.ts +3 -3
- package/dist/client/hooks/useSignInMutation.js +19 -1
- package/dist/client/hooks/useSignOutMutation.d.ts +1 -1
- package/dist/client/hooks/useSignOutMutation.js +15 -1
- package/dist/client/hooks/useSignUpMutation.d.ts +2 -2
- package/dist/client/hooks/useSignUpMutation.js +21 -1
- package/dist/client/hooks/useTopWinsQuery.d.ts +2 -2
- package/dist/client/hooks/useTopWinsQuery.js +18 -1
- package/dist/client/hooks/useTournamentsQuery.d.ts +2 -2
- package/dist/client/hooks/useTournamentsQuery.js +26 -1
- package/dist/client/hooks/useTransactionRecordsQuery.d.ts +2 -2
- package/dist/client/hooks/useTransactionRecordsQuery.js +41 -1
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +1 -1
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +32 -1
- package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +2 -2
- package/dist/client/hooks/useUnreadMessagesCountQuery.js +34 -1
- package/dist/client/hooks/useWalletQuery.d.ts +2 -2
- package/dist/client/hooks/useWalletQuery.js +33 -1
- package/dist/client/hooks/useWithdrawalRecordsQuery.d.ts +2 -2
- package/dist/client/hooks/useWithdrawalRecordsQuery.js +41 -1
- package/dist/client/services/authenticate.d.ts +1 -1
- package/dist/client/services/authenticate.js +21 -1
- package/dist/client/services/getSession.d.ts +1 -1
- package/dist/client/services/getSession.js +13 -1
- package/dist/client/services/index.js +4 -0
- package/dist/client/services/signIn.d.ts +1 -1
- package/dist/client/services/signIn.js +22 -1
- package/dist/client/services/signOut.js +15 -1
- package/dist/client/utils/createRecipeContext.d.ts +2 -2
- package/dist/client/utils/createRecipeContext.jsx +68 -0
- package/dist/client/utils/index.js +2 -0
- package/dist/client/utils/toaster.d.ts +1 -1
- package/dist/client/utils/toaster.js +8 -1
- package/dist/components/Account/Account.d.ts +1 -1
- package/dist/components/Account/Account.jsx +313 -0
- package/dist/components/Account/account.recipe.d.ts +26 -26
- package/dist/components/Account/account.recipe.js +32 -1
- package/dist/components/Account/index.js +1 -0
- package/dist/components/AccountInfo/AccountInfo.jsx +113 -0
- package/dist/components/AccountInfo/index.js +1 -0
- package/dist/components/AccountPaymentMethods/AccountPaymentMethods.jsx +3 -0
- package/dist/components/AccountPaymentMethods/index.js +1 -0
- package/dist/components/AccountSecurity/AccountSecurity.jsx +142 -0
- package/dist/components/AccountSecurity/index.js +1 -0
- package/dist/components/AccountVerification/AccountVerification.jsx +3 -0
- package/dist/components/AccountVerification/index.js +1 -0
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.jsx +51 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/BetRecords/BetRecords.d.ts +1 -1
- package/dist/components/BetRecords/BetRecords.jsx +470 -0
- package/dist/components/BetRecords/index.js +1 -0
- package/dist/components/Bonus/Bonus.client.d.ts +1 -1
- package/dist/components/Bonus/Bonus.client.jsx +144 -0
- package/dist/components/Bonus/Bonus.jsx +4 -0
- package/dist/components/Bonus/index.js +1 -0
- package/dist/components/Bonuses/Bonuses.jsx +87 -0
- package/dist/components/Bonuses/index.js +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.jsx +28 -0
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.jsx +73 -0
- package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +74 -0
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +213 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +219 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +213 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +3 -3
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.jsx +8 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +203 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +13 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +90 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +73 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +3 -3
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.jsx +8 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +197 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +14 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +104 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +19 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +77 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +95 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +19 -0
- package/dist/components/DepositWithdrawal/MayaSessionExpired.jsx +13 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.jsx +75 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.jsx +169 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.jsx +218 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.jsx +156 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.jsx +169 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.jsx +98 -0
- package/dist/components/DepositWithdrawal/index.js +1 -0
- package/dist/components/DepositWithdrawal/utils.js +9 -1
- package/dist/components/Disclaimer/Disclaimer.d.ts +1 -1
- package/dist/components/Disclaimer/Disclaimer.jsx +45 -0
- package/dist/components/Disclaimer/index.js +1 -0
- package/dist/components/Disclaimer/useDisclaimer.jsx +37 -0
- package/dist/components/Empty.d.ts +1 -1
- package/dist/components/Empty.jsx +62 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +1 -1
- package/dist/components/FavoriteGames/FavoriteGames.client.jsx +63 -0
- package/dist/components/FavoriteGames/FavoriteGames.jsx +6 -0
- package/dist/components/FavoriteGames/index.js +1 -0
- package/dist/components/GameLaunch/GameLaunch.jsx +188 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +2 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.jsx +53 -0
- package/dist/components/GameLaunch/index.js +2 -0
- package/dist/components/GameProviders/GameProviders.d.ts +1 -1
- package/dist/components/GameProviders/GameProviders.jsx +60 -0
- package/dist/components/GameProviders/index.js +1 -0
- package/dist/components/Games/Games.client.d.ts +1 -1
- package/dist/components/Games/Games.client.jsx +118 -0
- package/dist/components/Games/Games.d.ts +1 -1
- package/dist/components/Games/Games.jsx +10 -0
- package/dist/components/Games/index.js +1 -0
- package/dist/components/GamesSearch/GamesSearch.d.ts +1 -1
- package/dist/components/GamesSearch/GamesSearch.jsx +110 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +1 -1
- package/dist/components/GamesSearch/GamesSearchTrigger.jsx +13 -0
- package/dist/components/GamesSearch/index.js +2 -0
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/InfiniteScroll.jsx +30 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.client.jsx +84 -0
- package/dist/components/JackpotCounter/JackpotCounter.jsx +20 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.jsx +317 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -0
- package/dist/components/JackpotCounter/index.js +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -1
- package/dist/components/Jackpots/JackpotGameProviders.jsx +59 -0
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItemDesktop.jsx +251 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItemMobile.jsx +271 -0
- package/dist/components/Jackpots/JackpotRules.d.ts +1 -1
- package/dist/components/Jackpots/JackpotRules.jsx +43 -0
- package/dist/components/Jackpots/Jackpots.d.ts +1 -1
- package/dist/components/Jackpots/Jackpots.jsx +37 -0
- package/dist/components/Jackpots/index.js +1 -0
- package/dist/components/Jackpots/useJackpotItemData.d.ts +5 -5
- package/dist/components/Jackpots/useJackpotItemData.jsx +91 -0
- package/dist/components/KYC/KYC.d.ts +1 -1
- package/dist/components/KYC/KYC.jsx +39 -0
- package/dist/components/KYC/KYCContext.d.ts +2 -2
- package/dist/components/KYC/KYCContext.jsx +8 -0
- package/dist/components/KYC/KYCTrigger.d.ts +1 -1
- package/dist/components/KYC/KYCTrigger.jsx +13 -0
- package/dist/components/KYC/Step1.jsx +37 -0
- package/dist/components/KYC/Step2.jsx +86 -0
- package/dist/components/KYC/Step3.jsx +68 -0
- package/dist/components/KYC/StepIndicator.jsx +22 -0
- package/dist/components/KYC/UploadDocument.jsx +30 -0
- package/dist/components/KYC/UploadSelfie.jsx +28 -0
- package/dist/components/KYC/index.js +2 -0
- package/dist/components/KYC/useKYC.d.ts +2 -2
- package/dist/components/KYC/useKYC.js +32 -1
- package/dist/components/KYC/utils.d.ts +0 -1
- package/dist/components/Marquee/Marquee.jsx +20 -0
- package/dist/components/Marquee/index.js +1 -0
- package/dist/components/Messages/MessageItem.d.ts +1 -1
- package/dist/components/Messages/MessageItem.jsx +47 -0
- package/dist/components/Messages/MessagePopup.jsx +43 -0
- package/dist/components/Messages/Messages.jsx +87 -0
- package/dist/components/Messages/MessagesTrigger.d.ts +1 -1
- package/dist/components/Messages/MessagesTrigger.jsx +13 -0
- package/dist/components/Messages/index.js +2 -0
- package/dist/components/Messages/utils.d.ts +1 -1
- package/dist/components/Messages/utils.js +27 -1
- package/dist/components/PortalProvider/PortalProvider.client.d.ts +1 -1
- package/dist/components/PortalProvider/PortalProvider.client.jsx +54 -0
- package/dist/components/PortalProvider/PortalProvider.d.ts +1 -1
- package/dist/components/PortalProvider/PortalProvider.jsx +18 -0
- package/dist/components/PortalProvider/index.js +1 -0
- package/dist/components/Promo/Promo.jsx +7 -0
- package/dist/components/Promo/PromoContent.d.ts +1 -1
- package/dist/components/Promo/PromoContent.jsx +104 -0
- package/dist/components/Promo/index.js +1 -0
- package/dist/components/Promos/PromoCarousel.d.ts +1 -1
- package/dist/components/Promos/PromoCarousel.jsx +69 -0
- package/dist/components/Promos/PromoGrid.d.ts +1 -1
- package/dist/components/Promos/PromoGrid.jsx +24 -0
- package/dist/components/Promos/PromoItem.d.ts +1 -1
- package/dist/components/Promos/PromoItem.jsx +24 -0
- package/dist/components/Promos/Promos.jsx +10 -0
- package/dist/components/Promos/index.js +1 -0
- package/dist/components/Protected/Protected.d.ts +1 -1
- package/dist/components/Protected/Protected.jsx +8 -0
- package/dist/components/Protected/index.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.jsx +104 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.jsx +46 -0
- package/dist/components/Quests/Quests.jsx +12 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.jsx +58 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.jsx +38 -0
- package/dist/components/Quests/index.js +1 -0
- package/dist/components/SignIn/SignIn.d.ts +2 -2
- package/dist/components/SignIn/SignIn.jsx +29 -0
- package/dist/components/SignIn/SignInForm.jsx +233 -0
- package/dist/components/SignIn/SignInTrigger.d.ts +1 -1
- package/dist/components/SignIn/SignInTrigger.jsx +13 -0
- package/dist/components/SignIn/index.js +2 -0
- package/dist/components/SignUp/SignUp.d.ts +2 -2
- package/dist/components/SignUp/SignUp.jsx +32 -0
- package/dist/components/SignUp/SignUpForm.jsx +230 -0
- package/dist/components/SignUp/SignUpTrigger.d.ts +1 -1
- package/dist/components/SignUp/SignUpTrigger.jsx +13 -0
- package/dist/components/SignUp/index.js +2 -0
- package/dist/components/TopWins/TopWins.client.d.ts +1 -1
- package/dist/components/TopWins/TopWins.client.jsx +48 -0
- package/dist/components/TopWins/TopWins.jsx +6 -0
- package/dist/components/TopWins/index.js +1 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.client.jsx +84 -0
- package/dist/components/TournamentCounter/TournamentCounter.jsx +20 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +2 -2
- package/dist/components/TournamentCounter/TournamentCounterItem.jsx +233 -0
- package/dist/components/TournamentCounter/index.js +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.jsx +60 -0
- package/dist/components/Tournaments/TournamentItem.d.ts +2 -2
- package/dist/components/Tournaments/TournamentItem.jsx +224 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +2 -2
- package/dist/components/Tournaments/TournamentItemMobile.jsx +242 -0
- package/dist/components/Tournaments/TournamentRules.d.ts +1 -1
- package/dist/components/Tournaments/TournamentRules.jsx +43 -0
- package/dist/components/Tournaments/Tournaments.jsx +37 -0
- package/dist/components/Tournaments/index.js +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.jsx +193 -0
- package/dist/components/TransactionRecords/TableFilters.d.ts +2 -2
- package/dist/components/TransactionRecords/TableFilters.jsx +446 -0
- package/dist/components/TransactionRecords/TransactionRecords.d.ts +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.jsx +39 -0
- package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +147 -0
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +182 -0
- package/dist/components/TransactionRecords/index.js +1 -0
- package/dist/components/index.js +32 -0
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +64 -1
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +240 -1
- package/dist/icons/AlertCircleIcon.d.ts +1 -1
- package/dist/icons/AlertCircleIcon.jsx +5 -0
- package/dist/icons/AlertTriangle.d.ts +1 -1
- package/dist/icons/AlertTriangle.jsx +5 -0
- package/dist/icons/Announcement01Icon.d.ts +1 -1
- package/dist/icons/Announcement01Icon.jsx +5 -0
- package/dist/icons/ArrowLeftIcon.d.ts +1 -1
- package/dist/icons/ArrowLeftIcon.jsx +5 -0
- package/dist/icons/ArrowNarrowDownIcon.d.ts +1 -1
- package/dist/icons/ArrowNarrowDownIcon.jsx +5 -0
- package/dist/icons/ArrowNarrowUpIcon.d.ts +1 -1
- package/dist/icons/ArrowNarrowUpIcon.jsx +5 -0
- package/dist/icons/ArrowNarrowUpRightIcon.d.ts +1 -1
- package/dist/icons/ArrowNarrowUpRightIcon.jsx +5 -0
- package/dist/icons/ArrowRightIcon.d.ts +1 -1
- package/dist/icons/ArrowRightIcon.jsx +5 -0
- package/dist/icons/Award01Icon.d.ts +1 -1
- package/dist/icons/Award01Icon.jsx +5 -0
- package/dist/icons/Award02Icon.d.ts +1 -1
- package/dist/icons/Award02Icon.jsx +5 -0
- package/dist/icons/BankIcon.d.ts +1 -1
- package/dist/icons/BankIcon.jsx +5 -0
- package/dist/icons/Bell01Icon.d.ts +1 -1
- package/dist/icons/Bell01Icon.jsx +5 -0
- package/dist/icons/BellRingIcon.d.ts +1 -1
- package/dist/icons/BellRingIcon.jsx +5 -0
- package/dist/icons/CalendarIcon.d.ts +1 -1
- package/dist/icons/CalendarIcon.jsx +5 -0
- package/dist/icons/Camera01Icon.d.ts +1 -1
- package/dist/icons/Camera01Icon.jsx +6 -0
- package/dist/icons/CheckCircleBrokenIcon.d.ts +1 -1
- package/dist/icons/CheckCircleBrokenIcon.jsx +5 -0
- package/dist/icons/CheckCircleIcon.d.ts +1 -1
- package/dist/icons/CheckCircleIcon.jsx +5 -0
- package/dist/icons/CheckIcon.d.ts +1 -1
- package/dist/icons/CheckIcon.jsx +5 -0
- package/dist/icons/CheckVerified02Icon.d.ts +1 -1
- package/dist/icons/CheckVerified02Icon.jsx +5 -0
- package/dist/icons/ChevronDownIcon.d.ts +1 -1
- package/dist/icons/ChevronDownIcon.jsx +5 -0
- package/dist/icons/ChevronLeftIcon.d.ts +1 -1
- package/dist/icons/ChevronLeftIcon.jsx +5 -0
- package/dist/icons/ChevronRightIcon.d.ts +1 -1
- package/dist/icons/ChevronRightIcon.jsx +5 -0
- package/dist/icons/ChevronUpIcon.d.ts +1 -1
- package/dist/icons/ChevronUpIcon.jsx +5 -0
- package/dist/icons/ClockStopWatchIcon.d.ts +1 -1
- package/dist/icons/ClockStopWatchIcon.jsx +5 -0
- package/dist/icons/CoinsHandIcon.d.ts +1 -1
- package/dist/icons/CoinsHandIcon.jsx +5 -0
- package/dist/icons/CoinsStacked02Icon.d.ts +1 -1
- package/dist/icons/CoinsStacked02Icon.jsx +5 -0
- package/dist/icons/CoinsSwap02Icon.d.ts +1 -1
- package/dist/icons/CoinsSwap02Icon.jsx +5 -0
- package/dist/icons/CreditCard02Icon.d.ts +1 -1
- package/dist/icons/CreditCard02Icon.jsx +5 -0
- package/dist/icons/Diamond01Icon.d.ts +1 -1
- package/dist/icons/Diamond01Icon.jsx +5 -0
- package/dist/icons/Expand03Icon.d.ts +1 -1
- package/dist/icons/Expand03Icon.jsx +5 -0
- package/dist/icons/EyeIcon.d.ts +1 -1
- package/dist/icons/EyeIcon.jsx +6 -0
- package/dist/icons/EyeOffIcon.d.ts +1 -1
- package/dist/icons/EyeOffIcon.jsx +5 -0
- package/dist/icons/FacebookIcon.d.ts +1 -1
- package/dist/icons/FacebookIcon.jsx +6 -0
- package/dist/icons/File02Icon.d.ts +1 -1
- package/dist/icons/File02Icon.jsx +5 -0
- package/dist/icons/FileCheck02Icon.d.ts +1 -1
- package/dist/icons/FileCheck02Icon.jsx +5 -0
- package/dist/icons/Flag06Icon.d.ts +1 -1
- package/dist/icons/Flag06Icon.jsx +5 -0
- package/dist/icons/Gift01Icon.d.ts +1 -1
- package/dist/icons/Gift01Icon.jsx +5 -0
- package/dist/icons/GoogleIcon.d.ts +1 -1
- package/dist/icons/GoogleIcon.jsx +9 -0
- package/dist/icons/HelpCircleIcon.d.ts +1 -1
- package/dist/icons/HelpCircleIcon.jsx +5 -0
- package/dist/icons/InfoCircleIcon.d.ts +1 -1
- package/dist/icons/InfoCircleIcon.jsx +5 -0
- package/dist/icons/Lock01Icon.d.ts +1 -1
- package/dist/icons/Lock01Icon.jsx +5 -0
- package/dist/icons/Logout01Icon.d.ts +1 -1
- package/dist/icons/Logout01Icon.jsx +5 -0
- package/dist/icons/MarkerPin06Icon.d.ts +1 -1
- package/dist/icons/MarkerPin06Icon.jsx +5 -0
- package/dist/icons/Menu01Icon.d.ts +1 -1
- package/dist/icons/Menu01Icon.jsx +5 -0
- package/dist/icons/Menu03Icon.d.ts +1 -1
- package/dist/icons/Menu03Icon.jsx +5 -0
- package/dist/icons/PiggyBank02Icon.d.ts +1 -1
- package/dist/icons/PiggyBank02Icon.jsx +5 -0
- package/dist/icons/QrCode02Icon.d.ts +1 -1
- package/dist/icons/QrCode02Icon.jsx +5 -0
- package/dist/icons/SearchLgIcon.d.ts +1 -1
- package/dist/icons/SearchLgIcon.jsx +5 -0
- package/dist/icons/SearchRefractionIcon.d.ts +1 -1
- package/dist/icons/SearchRefractionIcon.jsx +5 -0
- package/dist/icons/Settings02Icon.d.ts +1 -1
- package/dist/icons/Settings02Icon.jsx +6 -0
- package/dist/icons/SpinnerIcon.d.ts +1 -1
- package/dist/icons/SpinnerIcon.jsx +9 -0
- package/dist/icons/Star01Icon.d.ts +1 -1
- package/dist/icons/Star01Icon.jsx +5 -0
- package/dist/icons/StarIcon.d.ts +1 -1
- package/dist/icons/StarIcon.jsx +5 -0
- package/dist/icons/StopWatchIcon.d.ts +1 -1
- package/dist/icons/StopWatchIcon.jsx +5 -0
- package/dist/icons/Target04Icon.d.ts +1 -1
- package/dist/icons/Target04Icon.jsx +5 -0
- package/dist/icons/Trophy01Icon.d.ts +1 -1
- package/dist/icons/Trophy01Icon.jsx +5 -0
- package/dist/icons/UploadCloud02Icon.d.ts +1 -1
- package/dist/icons/UploadCloud02Icon.jsx +5 -0
- package/dist/icons/User01Icon.d.ts +1 -1
- package/dist/icons/User01Icon.jsx +5 -0
- package/dist/icons/Wallet02Icon.d.ts +1 -1
- package/dist/icons/Wallet02Icon.jsx +5 -0
- package/dist/icons/XIcon.jsx +5 -0
- package/dist/icons/index.js +56 -0
- package/dist/images/QRPh.png +0 -0
- package/dist/images/bank-icon.png +0 -0
- package/dist/images/close-chest.png +0 -0
- package/dist/images/fantasma-games.png +0 -0
- package/dist/images/first-place.png +0 -0
- package/dist/images/gcash.png +0 -0
- package/dist/images/hacksaw-gaming.png +0 -0
- package/dist/images/instapay.png +0 -0
- package/dist/images/leaderboard.png +0 -0
- package/dist/images/left-arrow.png +0 -0
- package/dist/images/maya.png +0 -0
- package/dist/images/online-bank.png +0 -0
- package/dist/images/open-chest.png +0 -0
- package/dist/images/pagcor.png +0 -0
- package/dist/images/placeholder-avatar.png +0 -0
- package/dist/images/qrph-icon.png +0 -0
- package/dist/images/responsible-gaming.png +0 -0
- package/dist/images/right-arrow.png +0 -0
- package/dist/images/trophy-two.png +0 -0
- package/dist/images/trophy.png +0 -0
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.js +44 -1
- package/dist/server/services/authenticate.d.ts +1 -1
- package/dist/server/services/authenticate.js +21 -1
- package/dist/server/services/getSession.d.ts +1 -1
- package/dist/server/services/getSession.js +10 -1
- package/dist/server/services/index.js +4 -0
- package/dist/server/services/signIn.d.ts +1 -1
- package/dist/server/services/signIn.js +27 -1
- package/dist/server/services/signOut.js +17 -1
- package/dist/server/utils/index.js +24 -0
- package/dist/server/utils/prefetchAccountQuery.js +22 -1
- package/dist/server/utils/prefetchAvailablePromosQuery.d.ts +1 -1
- package/dist/server/utils/prefetchAvailablePromosQuery.js +22 -1
- package/dist/server/utils/prefetchBetRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchBetRecordsQuery.js +22 -1
- package/dist/server/utils/prefetchBonusesQuery.js +22 -1
- package/dist/server/utils/prefetchCashbacksQuery.js +17 -1
- package/dist/server/utils/prefetchDepositQuery.js +22 -1
- package/dist/server/utils/prefetchDepositRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchDepositRecordsQuery.js +22 -1
- package/dist/server/utils/prefetchDepositsCountQuery.js +22 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +22 -1
- package/dist/server/utils/prefetchGamesQuery.d.ts +1 -1
- package/dist/server/utils/prefetchGamesQuery.js +22 -1
- package/dist/server/utils/prefetchInstapayBankListQuery.js +22 -1
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +28 -1
- package/dist/server/utils/prefetchJackpotsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchJackpotsQuery.js +18 -1
- package/dist/server/utils/prefetchMemberVerificationQuery.js +22 -1
- package/dist/server/utils/prefetchPaymentSettingsQuery.js +22 -1
- package/dist/server/utils/prefetchPlatformQuery.js +17 -1
- package/dist/server/utils/prefetchProfileCompletionQuery.js +22 -1
- package/dist/server/utils/prefetchPromoQuery.js +17 -1
- package/dist/server/utils/prefetchPromosQuery.js +17 -1
- package/dist/server/utils/prefetchSessionQuery.js +10 -1
- package/dist/server/utils/prefetchTopWinsQuery.js +17 -1
- package/dist/server/utils/prefetchTournamentsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchTournamentsQuery.js +18 -1
- package/dist/server/utils/prefetchTransactionRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchTransactionRecordsQuery.js +22 -1
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +1 -1
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.js +22 -0
- package/dist/server/utils/prefetchWalletQuery.js +22 -1
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +22 -1
- package/dist/third-parties/FacebookPixel/FacebookPixel.jsx +4 -0
- package/dist/third-parties/FacebookPixel/api.d.ts +0 -1
- package/dist/third-parties/FacebookPixel/api.js +1 -0
- package/dist/third-parties/FacebookPixel/index.js +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.jsx +4 -0
- package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -1
- package/dist/third-parties/GoogleRecaptcha/api.js +1 -0
- package/dist/third-parties/GoogleRecaptcha/index.js +1 -0
- package/dist/third-parties/index.js +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +408 -408
- package/dist/ui/AlertDialog/AlertDialog.jsx +17 -0
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +35 -35
- package/dist/ui/AlertDialog/alertDialog.recipe.js +17 -1
- package/dist/ui/AlertDialog/index.js +1 -0
- package/dist/ui/Avatar/Avatar.d.ts +7 -7
- package/dist/ui/Avatar/Avatar.jsx +9 -0
- package/dist/ui/Avatar/avatar.recipe.d.ts +2 -2
- package/dist/ui/Avatar/avatar.recipe.js +21 -1
- package/dist/ui/Avatar/index.js +1 -0
- package/dist/ui/Badge/Badge.d.ts +9 -9
- package/dist/ui/Badge/Badge.jsx +11 -0
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.anatomy.js +2 -1
- package/dist/ui/Badge/badge.recipe.d.ts +2 -2
- package/dist/ui/Badge/badge.recipe.js +103 -1
- package/dist/ui/Badge/index.js +1 -0
- package/dist/ui/Button/Button.d.ts +3 -3
- package/dist/ui/Button/Button.jsx +11 -0
- package/dist/ui/Button/button.recipe.d.ts +3 -3
- package/dist/ui/Button/button.recipe.js +56 -1
- package/dist/ui/Button/index.js +1 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +30 -30
- package/dist/ui/Checkbox/Checkbox.jsx +12 -0
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +4 -4
- package/dist/ui/Checkbox/checkbox.recipe.js +40 -1
- package/dist/ui/Checkbox/index.js +1 -0
- package/dist/ui/Clipboard/Clipboard.d.ts +13 -13
- package/dist/ui/Clipboard/Clipboard.jsx +12 -0
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +2 -2
- package/dist/ui/Clipboard/clipboard.recipe.js +38 -1
- package/dist/ui/Clipboard/index.js +1 -0
- package/dist/ui/Collapsible/Collapsible.d.ts +69 -69
- package/dist/ui/Collapsible/Collapsible.jsx +10 -0
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +17 -17
- package/dist/ui/Collapsible/collapsible.recipe.js +9 -1
- package/dist/ui/Collapsible/index.js +1 -0
- package/dist/ui/Combobox/Combobox.d.ts +730 -730
- package/dist/ui/Combobox/Combobox.jsx +22 -0
- package/dist/ui/Combobox/combobox.recipe.d.ts +48 -48
- package/dist/ui/Combobox/combobox.recipe.js +6 -1
- package/dist/ui/Combobox/index.js +1 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +1897 -1897
- package/dist/ui/DatePicker/DatePicker.jsx +30 -0
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +77 -77
- package/dist/ui/DatePicker/datePicker.recipe.js +46 -1
- package/dist/ui/DatePicker/index.js +1 -0
- package/dist/ui/Dialog/Dialog.d.ts +408 -408
- package/dist/ui/Dialog/Dialog.jsx +17 -0
- package/dist/ui/Dialog/dialog.recipe.d.ts +35 -35
- package/dist/ui/Dialog/dialog.recipe.js +12 -1
- package/dist/ui/Dialog/index.js +1 -0
- package/dist/ui/Drawer/Drawer.d.ts +23 -23
- package/dist/ui/Drawer/Drawer.jsx +17 -0
- package/dist/ui/Drawer/drawer.recipe.d.ts +2 -2
- package/dist/ui/Drawer/drawer.recipe.js +24 -1
- package/dist/ui/Drawer/index.js +1 -0
- package/dist/ui/Field/Field.d.ts +15 -15
- package/dist/ui/Field/Field.jsx +13 -0
- package/dist/ui/Field/field.recipe.d.ts +2 -2
- package/dist/ui/Field/field.recipe.js +46 -1
- package/dist/ui/Field/index.js +1 -0
- package/dist/ui/IconButton/IconButton.d.ts +3 -3
- package/dist/ui/IconButton/IconButton.jsx +11 -0
- package/dist/ui/IconButton/iconButton.recipe.d.ts +4 -4
- package/dist/ui/IconButton/iconButton.recipe.js +19 -1
- package/dist/ui/IconButton/index.js +1 -0
- package/dist/ui/Menu/Menu.jsx +2 -0
- package/dist/ui/Menu/index.js +1 -0
- package/dist/ui/Menu/menu.recipe.d.ts +0 -1
- package/dist/ui/Menu/menu.recipe.js +1 -0
- package/dist/ui/NumberInput/NumberInput.d.ts +17 -17
- package/dist/ui/NumberInput/NumberInput.jsx +14 -0
- package/dist/ui/NumberInput/index.js +1 -0
- package/dist/ui/NumberInput/numberInput.recipe.d.ts +2 -2
- package/dist/ui/NumberInput/numberInput.recipe.js +24 -1
- package/dist/ui/PasswordInput/PasswordInput.d.ts +13 -13
- package/dist/ui/PasswordInput/PasswordInput.jsx +12 -0
- package/dist/ui/PasswordInput/index.js +1 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +2 -2
- package/dist/ui/PasswordInput/passwordInput.recipe.js +39 -1
- package/dist/ui/PinInput/PinInput.d.ts +10 -10
- package/dist/ui/PinInput/PinInput.jsx +11 -0
- package/dist/ui/PinInput/index.js +1 -0
- package/dist/ui/PinInput/pinInput.recipe.d.ts +2 -2
- package/dist/ui/PinInput/pinInput.recipe.js +38 -1
- package/dist/ui/Popover/Popover.d.ts +408 -408
- package/dist/ui/Popover/Popover.jsx +17 -0
- package/dist/ui/Popover/index.js +1 -0
- package/dist/ui/Popover/popover.recipe.d.ts +35 -35
- package/dist/ui/Popover/popover.recipe.js +9 -1
- package/dist/ui/Presence.d.ts +1 -1
- package/dist/ui/Presence.jsx +6 -0
- package/dist/ui/Progress/Progress.d.ts +19 -19
- package/dist/ui/Progress/Progress.jsx +15 -0
- package/dist/ui/Progress/index.js +1 -0
- package/dist/ui/Progress/progress.recipe.d.ts +2 -2
- package/dist/ui/Progress/progress.recipe.js +32 -1
- package/dist/ui/Prose.d.ts +1 -1
- package/dist/ui/Prose.jsx +4 -0
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +15 -15
- package/dist/ui/SegmentGroup/SegmentGroup.jsx +14 -0
- package/dist/ui/SegmentGroup/index.js +1 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +2 -2
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +33 -1
- package/dist/ui/Select/Select.d.ts +63 -63
- package/dist/ui/Select/Select.jsx +24 -0
- package/dist/ui/Select/index.js +1 -0
- package/dist/ui/Select/select.recipe.d.ts +4 -4
- package/dist/ui/Select/select.recipe.js +38 -1
- package/dist/ui/Table/Table.d.ts +28 -28
- package/dist/ui/Table/Table.jsx +12 -0
- package/dist/ui/Table/index.js +1 -0
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.anatomy.js +2 -1
- package/dist/ui/Table/table.recipe.d.ts +4 -4
- package/dist/ui/Table/table.recipe.js +27 -1
- package/dist/ui/Tabs/Tabs.d.ts +21 -21
- package/dist/ui/Tabs/Tabs.jsx +11 -0
- package/dist/ui/Tabs/index.js +1 -0
- package/dist/ui/Tabs/tabs.recipe.d.ts +4 -4
- package/dist/ui/Tabs/tabs.recipe.js +33 -1
- package/dist/ui/Tooltip/Tooltip.jsx +2 -0
- package/dist/ui/Tooltip/index.js +1 -0
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +0 -1
- package/dist/ui/Tooltip/tooltip.recipe.js +1 -0
- package/dist/ui/index.js +26 -0
- package/dist/utils/anatomyToRecipeSlots.d.ts +1 -1
- package/dist/utils/anatomyToRecipeSlots.js +11 -1
- package/dist/utils/capitalize.js +46 -1
- package/dist/utils/createPoll.js +43 -1
- package/dist/utils/createSplitProps.js +19 -1
- package/dist/utils/dataAttr.js +3 -1
- package/dist/utils/formatNumber.js +39 -1
- package/dist/utils/getGameImageUrl.d.ts +1 -1
- package/dist/utils/getGameImageUrl.js +9 -1
- package/dist/utils/getLocaleInfo.d.ts +1 -1
- package/dist/utils/getLocaleInfo.jsx +237 -0
- package/dist/utils/getQueryClient.js +26 -1
- package/dist/utils/index.js +12 -0
- package/dist/utils/isMobile.d.ts +1 -1
- package/dist/utils/isMobile.js +9 -1
- package/dist/utils/parseDecimal.js +16 -1
- package/dist/utils/queryKeys.d.ts +2 -2
- package/dist/utils/queryKeys.js +111 -1
- package/package.json +158 -154
- package/dist/client/hooks/useAccountQuery.mjs +0 -38
- package/dist/client/hooks/useAuthenticateMutation.mjs +0 -25
- package/dist/client/hooks/useAvailablePromosQuery.mjs +0 -38
- package/dist/client/hooks/useBetRecordsQuery.mjs +0 -47
- package/dist/client/hooks/useBonusesQuery.mjs +0 -38
- package/dist/client/hooks/useCashbacksQuery.mjs +0 -23
- package/dist/client/hooks/useControllableState.mjs +0 -31
- package/dist/client/hooks/useCooldown.mjs +0 -47
- package/dist/client/hooks/useCreateGCashDepositMutation.mjs +0 -66
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.mjs +0 -38
- package/dist/client/hooks/useCreateGameSessionMutation.mjs +0 -108
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.mjs +0 -38
- package/dist/client/hooks/useCreateMayaAppDepositMutation.mjs +0 -66
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.mjs +0 -38
- package/dist/client/hooks/useCreateMayaDepositMutation.mjs +0 -66
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.mjs +0 -38
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.mjs +0 -66
- package/dist/client/hooks/useCreateQRPHDepositMutation.mjs +0 -66
- package/dist/client/hooks/useDepositQuery.mjs +0 -38
- package/dist/client/hooks/useDepositRecordsQuery.mjs +0 -47
- package/dist/client/hooks/useDepositsCountQuery.mjs +0 -38
- package/dist/client/hooks/useDisclosure.mjs +0 -15
- package/dist/client/hooks/useEndGameSessionMutation.mjs +0 -40
- package/dist/client/hooks/useFavoriteGamesQuery.mjs +0 -38
- package/dist/client/hooks/useGamesQuery.mjs +0 -39
- package/dist/client/hooks/useGlobalStore.mjs +0 -182
- package/dist/client/hooks/useInfiniteQueryHelper.mjs +0 -44
- package/dist/client/hooks/useInstapayBankListQuery.mjs +0 -38
- package/dist/client/hooks/useIsMayaSessionValidQuery.mjs +0 -48
- package/dist/client/hooks/useJackpotPayoutsQuery.mjs +0 -31
- package/dist/client/hooks/useJackpotsQuery.mjs +0 -31
- package/dist/client/hooks/useLocaleInfo.mjs +0 -15
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.mjs +0 -37
- package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +0 -39
- package/dist/client/hooks/useMemberVerificationQuery.mjs +0 -38
- package/dist/client/hooks/useMessagesQuery.mjs +0 -47
- package/dist/client/hooks/useMobileNumberParser.mjs +0 -18
- package/dist/client/hooks/useOnMMA.mjs +0 -8
- package/dist/client/hooks/usePaymentSettingsQuery.mjs +0 -38
- package/dist/client/hooks/usePlatformQuery.mjs +0 -21
- package/dist/client/hooks/useProfileCompletionQuery.mjs +0 -38
- package/dist/client/hooks/usePromoQuery.mjs +0 -24
- package/dist/client/hooks/usePromosQuery.mjs +0 -23
- package/dist/client/hooks/useSendVerificationCodeMutation.mjs +0 -24
- package/dist/client/hooks/useSessionQuery.mjs +0 -19
- package/dist/client/hooks/useSignInMutation.mjs +0 -26
- package/dist/client/hooks/useSignOutMutation.mjs +0 -23
- package/dist/client/hooks/useSignUpMutation.mjs +0 -25
- package/dist/client/hooks/useTopWinsQuery.mjs +0 -22
- package/dist/client/hooks/useTournamentsQuery.mjs +0 -32
- package/dist/client/hooks/useTransactionRecordsQuery.mjs +0 -47
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.mjs +0 -37
- package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +0 -38
- package/dist/client/hooks/useWalletQuery.mjs +0 -38
- package/dist/client/hooks/useWithdrawalRecordsQuery.mjs +0 -47
- package/dist/client/services/authenticate.mjs +0 -20
- package/dist/client/services/getSession.mjs +0 -14
- package/dist/client/services/signIn.mjs +0 -22
- package/dist/client/services/signOut.mjs +0 -15
- package/dist/client/utils/createRecipeContext.js +0 -1
- package/dist/client/utils/createRecipeContext.mjs +0 -55
- package/dist/client/utils/toaster.mjs +0 -11
- package/dist/client-hooks.d.ts +0 -2
- package/dist/client-hooks.js +0 -1
- package/dist/client-hooks.mjs +0 -110
- package/dist/client-services.d.ts +0 -2
- package/dist/client-services.js +0 -1
- package/dist/client-services.mjs +0 -10
- package/dist/client-utils.d.ts +0 -2
- package/dist/client-utils.js +0 -1
- package/dist/client-utils.mjs +0 -6
- package/dist/components/Account/Account.js +0 -1
- package/dist/components/Account/Account.mjs +0 -480
- package/dist/components/Account/account.recipe.mjs +0 -35
- package/dist/components/AccountInfo/AccountInfo.js +0 -1
- package/dist/components/AccountInfo/AccountInfo.mjs +0 -148
- package/dist/components/AccountPaymentMethods/AccountPaymentMethods.js +0 -1
- package/dist/components/AccountPaymentMethods/AccountPaymentMethods.mjs +0 -6
- package/dist/components/AccountSecurity/AccountSecurity.js +0 -1
- package/dist/components/AccountSecurity/AccountSecurity.mjs +0 -159
- package/dist/components/AccountVerification/AccountVerification.js +0 -1
- package/dist/components/AccountVerification/AccountVerification.mjs +0 -6
- package/dist/components/Banner/Banner.js +0 -1
- package/dist/components/Banner/Banner.mjs +0 -75
- package/dist/components/BetRecords/BetRecords.js +0 -1
- package/dist/components/BetRecords/BetRecords.mjs +0 -473
- package/dist/components/Bonus/Bonus.client.js +0 -1
- package/dist/components/Bonus/Bonus.client.mjs +0 -143
- package/dist/components/Bonus/Bonus.js +0 -1
- package/dist/components/Bonus/Bonus.mjs +0 -8
- package/dist/components/Bonuses/Bonuses.js +0 -1
- package/dist/components/Bonuses/Bonuses.mjs +0 -126
- package/dist/components/DepositWithdrawal/AmountChoices.js +0 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +0 -74
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +0 -146
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +0 -56
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +0 -266
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +0 -270
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +0 -266
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.mjs +0 -19
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.mjs +0 -10
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +0 -257
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.mjs +0 -12
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.mjs +0 -12
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +0 -97
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +0 -63
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.mjs +0 -19
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.mjs +0 -12
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +0 -253
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.mjs +0 -12
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +0 -139
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +0 -55
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +0 -66
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +0 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +0 -141
- package/dist/components/DepositWithdrawal/MayaSessionExpired.js +0 -1
- package/dist/components/DepositWithdrawal/MayaSessionExpired.mjs +0 -12
- package/dist/components/DepositWithdrawal/PaymentMethods.js +0 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +0 -133
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +0 -217
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +0 -276
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +0 -198
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +0 -217
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +0 -85
- package/dist/components/DepositWithdrawal/utils.mjs +0 -12
- package/dist/components/Disclaimer/Disclaimer.js +0 -1
- package/dist/components/Disclaimer/Disclaimer.mjs +0 -119
- package/dist/components/Disclaimer/useDisclaimer.js +0 -1
- package/dist/components/Disclaimer/useDisclaimer.mjs +0 -38
- package/dist/components/Empty.js +0 -1
- package/dist/components/Empty.mjs +0 -213
- package/dist/components/FavoriteGames/FavoriteGames.client.js +0 -1
- package/dist/components/FavoriteGames/FavoriteGames.client.mjs +0 -126
- package/dist/components/FavoriteGames/FavoriteGames.js +0 -1
- package/dist/components/FavoriteGames/FavoriteGames.mjs +0 -17
- package/dist/components/GameLaunch/GameLaunch.js +0 -1
- package/dist/components/GameLaunch/GameLaunch.mjs +0 -298
- package/dist/components/GameLaunch/GameLaunchTrigger.js +0 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.mjs +0 -72
- package/dist/components/GameProviders/GameProviders.js +0 -1
- package/dist/components/GameProviders/GameProviders.mjs +0 -122
- package/dist/components/Games/Games.client.js +0 -1
- package/dist/components/Games/Games.client.mjs +0 -178
- package/dist/components/Games/Games.js +0 -1
- package/dist/components/Games/Games.mjs +0 -23
- package/dist/components/GamesSearch/GamesSearch.js +0 -1
- package/dist/components/GamesSearch/GamesSearch.mjs +0 -199
- package/dist/components/GamesSearch/GamesSearchTrigger.js +0 -1
- package/dist/components/GamesSearch/GamesSearchTrigger.mjs +0 -42
- package/dist/components/InfiniteScroll.js +0 -1
- package/dist/components/InfiniteScroll.mjs +0 -30
- package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -1
- package/dist/components/JackpotCounter/JackpotCounter.client.mjs +0 -139
- package/dist/components/JackpotCounter/JackpotCounter.js +0 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +0 -33
- package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +0 -413
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +0 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +0 -16
- package/dist/components/Jackpots/JackpotGameProviders.js +0 -1
- package/dist/components/Jackpots/JackpotGameProviders.mjs +0 -107
- package/dist/components/Jackpots/JackpotItemDesktop.js +0 -1
- package/dist/components/Jackpots/JackpotItemDesktop.mjs +0 -356
- package/dist/components/Jackpots/JackpotItemMobile.js +0 -1
- package/dist/components/Jackpots/JackpotItemMobile.mjs +0 -380
- package/dist/components/Jackpots/JackpotRules.js +0 -1
- package/dist/components/Jackpots/JackpotRules.mjs +0 -78
- package/dist/components/Jackpots/Jackpots.js +0 -1
- package/dist/components/Jackpots/Jackpots.mjs +0 -63
- package/dist/components/Jackpots/useJackpotItemData.js +0 -1
- package/dist/components/Jackpots/useJackpotItemData.mjs +0 -100
- package/dist/components/KYC/KYC.js +0 -1
- package/dist/components/KYC/KYC.mjs +0 -84
- package/dist/components/KYC/KYCContext.js +0 -1
- package/dist/components/KYC/KYCContext.mjs +0 -11
- package/dist/components/KYC/KYCTrigger.js +0 -1
- package/dist/components/KYC/KYCTrigger.mjs +0 -42
- package/dist/components/KYC/Step1.js +0 -1
- package/dist/components/KYC/Step1.mjs +0 -67
- package/dist/components/KYC/Step2.js +0 -1
- package/dist/components/KYC/Step2.mjs +0 -126
- package/dist/components/KYC/Step3.js +0 -1
- package/dist/components/KYC/Step3.mjs +0 -98
- package/dist/components/KYC/StepIndicator.js +0 -1
- package/dist/components/KYC/StepIndicator.mjs +0 -42
- package/dist/components/KYC/UploadDocument.js +0 -1
- package/dist/components/KYC/UploadDocument.mjs +0 -69
- package/dist/components/KYC/UploadSelfie.js +0 -1
- package/dist/components/KYC/UploadSelfie.mjs +0 -65
- package/dist/components/KYC/useKYC.mjs +0 -43
- package/dist/components/Marquee/Marquee.js +0 -1
- package/dist/components/Marquee/Marquee.mjs +0 -26
- package/dist/components/Messages/MessageItem.js +0 -1
- package/dist/components/Messages/MessageItem.mjs +0 -75
- package/dist/components/Messages/MessagePopup.js +0 -1
- package/dist/components/Messages/MessagePopup.mjs +0 -95
- package/dist/components/Messages/Messages.js +0 -1
- package/dist/components/Messages/Messages.mjs +0 -166
- package/dist/components/Messages/MessagesTrigger.js +0 -1
- package/dist/components/Messages/MessagesTrigger.mjs +0 -42
- package/dist/components/Messages/utils.mjs +0 -16
- package/dist/components/PortalProvider/PortalProvider.client.js +0 -1
- package/dist/components/PortalProvider/PortalProvider.client.mjs +0 -78
- package/dist/components/PortalProvider/PortalProvider.js +0 -1
- package/dist/components/PortalProvider/PortalProvider.mjs +0 -31
- package/dist/components/Promo/Promo.js +0 -1
- package/dist/components/Promo/Promo.mjs +0 -8
- package/dist/components/Promo/PromoContent.js +0 -1
- package/dist/components/Promo/PromoContent.mjs +0 -84
- package/dist/components/Promos/PromoCarousel.js +0 -1
- package/dist/components/Promos/PromoCarousel.mjs +0 -144
- package/dist/components/Promos/PromoGrid.js +0 -1
- package/dist/components/Promos/PromoGrid.mjs +0 -60
- package/dist/components/Promos/PromoItem.js +0 -1
- package/dist/components/Promos/PromoItem.mjs +0 -87
- package/dist/components/Promos/Promos.js +0 -1
- package/dist/components/Promos/Promos.mjs +0 -9
- package/dist/components/Protected/Protected.js +0 -1
- package/dist/components/Protected/Protected.mjs +0 -25
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.mjs +0 -154
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.mjs +0 -66
- package/dist/components/Quests/Quests.js +0 -1
- package/dist/components/Quests/Quests.mjs +0 -15
- package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -1
- package/dist/components/Quests/WageringQuest/WageringQuest.mjs +0 -109
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -1
- package/dist/components/Quests/WageringQuest/WageringQuestModal.mjs +0 -63
- package/dist/components/SignIn/SignIn.js +0 -1
- package/dist/components/SignIn/SignIn.mjs +0 -83
- package/dist/components/SignIn/SignInForm.js +0 -1
- package/dist/components/SignIn/SignInForm.mjs +0 -324
- package/dist/components/SignIn/SignInTrigger.js +0 -1
- package/dist/components/SignIn/SignInTrigger.mjs +0 -42
- package/dist/components/SignUp/SignUp.js +0 -1
- package/dist/components/SignUp/SignUp.mjs +0 -83
- package/dist/components/SignUp/SignUpForm.js +0 -1
- package/dist/components/SignUp/SignUpForm.mjs +0 -301
- package/dist/components/SignUp/SignUpTrigger.js +0 -1
- package/dist/components/SignUp/SignUpTrigger.mjs +0 -42
- package/dist/components/TopWins/TopWins.client.js +0 -1
- package/dist/components/TopWins/TopWins.client.mjs +0 -65
- package/dist/components/TopWins/TopWins.js +0 -1
- package/dist/components/TopWins/TopWins.mjs +0 -19
- package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -1
- package/dist/components/TournamentCounter/TournamentCounter.client.mjs +0 -139
- package/dist/components/TournamentCounter/TournamentCounter.js +0 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +0 -33
- package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -1
- package/dist/components/TournamentCounter/TournamentCounterItem.mjs +0 -276
- package/dist/components/Tournaments/TournamentGameProviders.js +0 -1
- package/dist/components/Tournaments/TournamentGameProviders.mjs +0 -105
- package/dist/components/Tournaments/TournamentItem.js +0 -2
- package/dist/components/Tournaments/TournamentItem.mjs +0 -262
- package/dist/components/Tournaments/TournamentItemMobile.js +0 -2
- package/dist/components/Tournaments/TournamentItemMobile.mjs +0 -285
- package/dist/components/Tournaments/TournamentRules.js +0 -1
- package/dist/components/Tournaments/TournamentRules.mjs +0 -78
- package/dist/components/Tournaments/Tournaments.js +0 -1
- package/dist/components/Tournaments/Tournaments.mjs +0 -47
- package/dist/components/TransactionRecords/DepositRecordsTable.js +0 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.mjs +0 -247
- package/dist/components/TransactionRecords/TableFilters.js +0 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +0 -420
- package/dist/components/TransactionRecords/TransactionRecords.js +0 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +0 -65
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +0 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +0 -216
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +0 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +0 -242
- package/dist/components.d.ts +0 -2
- package/dist/components.js +0 -1
- package/dist/components.mjs +0 -78
- package/dist/constants/index.mjs +0 -63
- package/dist/handlers.mjs +0 -221
- package/dist/icons/AlertCircleIcon.js +0 -1
- package/dist/icons/AlertCircleIcon.mjs +0 -22
- package/dist/icons/AlertTriangle.js +0 -1
- package/dist/icons/AlertTriangle.mjs +0 -22
- package/dist/icons/Announcement01Icon.js +0 -1
- package/dist/icons/Announcement01Icon.mjs +0 -22
- package/dist/icons/ArrowLeftIcon.js +0 -1
- package/dist/icons/ArrowLeftIcon.mjs +0 -22
- package/dist/icons/ArrowNarrowDownIcon.js +0 -1
- package/dist/icons/ArrowNarrowDownIcon.mjs +0 -22
- package/dist/icons/ArrowNarrowUpIcon.js +0 -1
- package/dist/icons/ArrowNarrowUpIcon.mjs +0 -22
- package/dist/icons/ArrowNarrowUpRightIcon.js +0 -1
- package/dist/icons/ArrowNarrowUpRightIcon.mjs +0 -22
- package/dist/icons/ArrowRightIcon.js +0 -1
- package/dist/icons/ArrowRightIcon.mjs +0 -22
- package/dist/icons/Award01Icon.js +0 -1
- package/dist/icons/Award01Icon.mjs +0 -22
- package/dist/icons/Award02Icon.js +0 -1
- package/dist/icons/Award02Icon.mjs +0 -22
- package/dist/icons/BankIcon.js +0 -1
- package/dist/icons/BankIcon.mjs +0 -22
- package/dist/icons/Bell01Icon.js +0 -1
- package/dist/icons/Bell01Icon.mjs +0 -27
- package/dist/icons/BellRingIcon.js +0 -1
- package/dist/icons/BellRingIcon.mjs +0 -27
- package/dist/icons/CalendarIcon.js +0 -1
- package/dist/icons/CalendarIcon.mjs +0 -26
- package/dist/icons/Camera01Icon.js +0 -1
- package/dist/icons/Camera01Icon.mjs +0 -25
- package/dist/icons/CheckCircleBrokenIcon.js +0 -1
- package/dist/icons/CheckCircleBrokenIcon.mjs +0 -22
- package/dist/icons/CheckCircleIcon.js +0 -1
- package/dist/icons/CheckCircleIcon.mjs +0 -22
- package/dist/icons/CheckIcon.js +0 -1
- package/dist/icons/CheckIcon.mjs +0 -22
- package/dist/icons/CheckVerified02Icon.js +0 -1
- package/dist/icons/CheckVerified02Icon.mjs +0 -22
- package/dist/icons/ChevronDownIcon.js +0 -1
- package/dist/icons/ChevronDownIcon.mjs +0 -22
- package/dist/icons/ChevronLeftIcon.js +0 -1
- package/dist/icons/ChevronLeftIcon.mjs +0 -22
- package/dist/icons/ChevronRightIcon.js +0 -1
- package/dist/icons/ChevronRightIcon.mjs +0 -22
- package/dist/icons/ChevronUpIcon.js +0 -1
- package/dist/icons/ChevronUpIcon.mjs +0 -22
- package/dist/icons/ClockStopWatchIcon.js +0 -1
- package/dist/icons/ClockStopWatchIcon.mjs +0 -26
- package/dist/icons/CoinsHandIcon.js +0 -1
- package/dist/icons/CoinsHandIcon.mjs +0 -22
- package/dist/icons/CoinsStacked02Icon.js +0 -1
- package/dist/icons/CoinsStacked02Icon.mjs +0 -22
- package/dist/icons/CoinsSwap02Icon.js +0 -1
- package/dist/icons/CoinsSwap02Icon.mjs +0 -22
- package/dist/icons/CreditCard02Icon.js +0 -1
- package/dist/icons/CreditCard02Icon.mjs +0 -22
- package/dist/icons/Diamond01Icon.js +0 -1
- package/dist/icons/Diamond01Icon.mjs +0 -22
- package/dist/icons/Expand03Icon.js +0 -1
- package/dist/icons/Expand03Icon.mjs +0 -22
- package/dist/icons/EyeIcon.js +0 -1
- package/dist/icons/EyeIcon.mjs +0 -25
- package/dist/icons/EyeOffIcon.js +0 -1
- package/dist/icons/EyeOffIcon.mjs +0 -22
- package/dist/icons/FacebookIcon.js +0 -1
- package/dist/icons/FacebookIcon.mjs +0 -32
- package/dist/icons/File02Icon.js +0 -1
- package/dist/icons/File02Icon.mjs +0 -22
- package/dist/icons/FileCheck02Icon.js +0 -1
- package/dist/icons/FileCheck02Icon.mjs +0 -22
- package/dist/icons/Flag06Icon.js +0 -1
- package/dist/icons/Flag06Icon.mjs +0 -22
- package/dist/icons/Gift01Icon.js +0 -1
- package/dist/icons/Gift01Icon.mjs +0 -22
- package/dist/icons/GoogleIcon.js +0 -1
- package/dist/icons/GoogleIcon.mjs +0 -53
- package/dist/icons/HelpCircleIcon.js +0 -1
- package/dist/icons/HelpCircleIcon.mjs +0 -22
- package/dist/icons/InfoCircleIcon.js +0 -1
- package/dist/icons/InfoCircleIcon.mjs +0 -27
- package/dist/icons/Lock01Icon.js +0 -1
- package/dist/icons/Lock01Icon.mjs +0 -22
- package/dist/icons/Logout01Icon.js +0 -1
- package/dist/icons/Logout01Icon.mjs +0 -22
- package/dist/icons/MarkerPin06Icon.js +0 -1
- package/dist/icons/MarkerPin06Icon.mjs +0 -22
- package/dist/icons/Menu01Icon.js +0 -1
- package/dist/icons/Menu01Icon.mjs +0 -22
- package/dist/icons/Menu03Icon.js +0 -1
- package/dist/icons/Menu03Icon.mjs +0 -22
- package/dist/icons/PiggyBank02Icon.js +0 -1
- package/dist/icons/PiggyBank02Icon.mjs +0 -22
- package/dist/icons/QrCode02Icon.js +0 -1
- package/dist/icons/QrCode02Icon.mjs +0 -22
- package/dist/icons/SearchLgIcon.js +0 -1
- package/dist/icons/SearchLgIcon.mjs +0 -22
- package/dist/icons/SearchRefractionIcon.js +0 -1
- package/dist/icons/SearchRefractionIcon.mjs +0 -22
- package/dist/icons/Settings02Icon.js +0 -1
- package/dist/icons/Settings02Icon.mjs +0 -25
- package/dist/icons/SpinnerIcon.js +0 -1
- package/dist/icons/SpinnerIcon.mjs +0 -44
- package/dist/icons/Star01Icon.js +0 -1
- package/dist/icons/Star01Icon.mjs +0 -22
- package/dist/icons/StarIcon.js +0 -1
- package/dist/icons/StarIcon.mjs +0 -18
- package/dist/icons/StopWatchIcon.js +0 -1
- package/dist/icons/StopWatchIcon.mjs +0 -22
- package/dist/icons/Target04Icon.js +0 -1
- package/dist/icons/Target04Icon.mjs +0 -22
- package/dist/icons/Trophy01Icon.js +0 -1
- package/dist/icons/Trophy01Icon.mjs +0 -22
- package/dist/icons/UploadCloud02Icon.js +0 -1
- package/dist/icons/UploadCloud02Icon.mjs +0 -22
- package/dist/icons/User01Icon.js +0 -1
- package/dist/icons/User01Icon.mjs +0 -22
- package/dist/icons/Wallet02Icon.js +0 -1
- package/dist/icons/Wallet02Icon.mjs +0 -22
- package/dist/icons/XIcon.js +0 -1
- package/dist/icons/XIcon.mjs +0 -22
- package/dist/icons.d.ts +0 -2
- package/dist/icons.js +0 -1
- package/dist/icons.mjs +0 -114
- package/dist/images/QRPh.png.js +0 -1
- package/dist/images/QRPh.png.mjs +0 -4
- package/dist/images/bank-icon.png.js +0 -1
- package/dist/images/bank-icon.png.mjs +0 -4
- package/dist/images/close-chest.png.js +0 -1
- package/dist/images/close-chest.png.mjs +0 -4
- package/dist/images/fantasma-games.png.js +0 -1
- package/dist/images/fantasma-games.png.mjs +0 -4
- package/dist/images/first-place.png.js +0 -1
- package/dist/images/first-place.png.mjs +0 -4
- package/dist/images/gcash.png.js +0 -1
- package/dist/images/gcash.png.mjs +0 -4
- package/dist/images/hacksaw-gaming.png.js +0 -1
- package/dist/images/hacksaw-gaming.png.mjs +0 -4
- package/dist/images/instapay.png.js +0 -1
- package/dist/images/instapay.png.mjs +0 -4
- package/dist/images/leaderboard.png.js +0 -1
- package/dist/images/leaderboard.png.mjs +0 -4
- package/dist/images/maya.png.js +0 -1
- package/dist/images/maya.png.mjs +0 -4
- package/dist/images/online-bank.png.js +0 -1
- package/dist/images/online-bank.png.mjs +0 -4
- package/dist/images/open-chest.png.js +0 -1
- package/dist/images/open-chest.png.mjs +0 -4
- package/dist/images/pagcor.png.js +0 -1
- package/dist/images/pagcor.png.mjs +0 -4
- package/dist/images/placeholder-avatar.png.js +0 -1
- package/dist/images/placeholder-avatar.png.mjs +0 -4
- package/dist/images/qrph-icon.png.js +0 -1
- package/dist/images/qrph-icon.png.mjs +0 -4
- package/dist/images/responsible-gaming.png.js +0 -1
- package/dist/images/responsible-gaming.png.mjs +0 -4
- package/dist/images/trophy-two.png.js +0 -1
- package/dist/images/trophy-two.png.mjs +0 -4
- package/dist/images/trophy.png.js +0 -1
- package/dist/images/trophy.png.mjs +0 -4
- package/dist/middleware.mjs +0 -34
- package/dist/portal-components.css +0 -1
- package/dist/server/services/authenticate.mjs +0 -22
- package/dist/server/services/getSession.mjs +0 -11
- package/dist/server/services/signIn.mjs +0 -24
- package/dist/server/services/signOut.mjs +0 -16
- package/dist/server/utils/prefetchAccountQuery.mjs +0 -26
- package/dist/server/utils/prefetchAvailablePromosQuery.mjs +0 -26
- package/dist/server/utils/prefetchBetRecordsQuery.mjs +0 -26
- package/dist/server/utils/prefetchBonusesQuery.mjs +0 -26
- package/dist/server/utils/prefetchCashbacksQuery.mjs +0 -23
- package/dist/server/utils/prefetchDepositQuery.mjs +0 -26
- package/dist/server/utils/prefetchDepositRecordsQuery.mjs +0 -26
- package/dist/server/utils/prefetchFavoriteGamesQuery.mjs +0 -28
- package/dist/server/utils/prefetchGamesQuery.mjs +0 -31
- package/dist/server/utils/prefetchInstapayBankListQuery.mjs +0 -26
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +0 -32
- package/dist/server/utils/prefetchJackpotsQuery.mjs +0 -24
- package/dist/server/utils/prefetchMemberVerificationQuery.mjs +0 -26
- package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +0 -26
- package/dist/server/utils/prefetchPlatformQuery.mjs +0 -23
- package/dist/server/utils/prefetchProfileCompletionQuery.mjs +0 -26
- package/dist/server/utils/prefetchPromoQuery.mjs +0 -23
- package/dist/server/utils/prefetchPromosQuery.mjs +0 -23
- package/dist/server/utils/prefetchSessionQuery.mjs +0 -17
- package/dist/server/utils/prefetchTopWinsQuery.mjs +0 -23
- package/dist/server/utils/prefetchTournamentsQuery.mjs +0 -24
- package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +0 -26
- package/dist/server/utils/prefetchWalletQuery.mjs +0 -26
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +0 -26
- package/dist/server-services.d.ts +0 -2
- package/dist/server-services.js +0 -1
- package/dist/server-services.mjs +0 -10
- package/dist/server-utils.d.ts +0 -2
- package/dist/server-utils.js +0 -1
- package/dist/server-utils.mjs +0 -50
- package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -1
- package/dist/third-parties/FacebookPixel/FacebookPixel.mjs +0 -6
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -1
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.mjs +0 -6
- package/dist/types.d.ts +0 -1
- package/dist/types.mjs +0 -1
- package/dist/ui/AlertDialog/AlertDialog.js +0 -1
- package/dist/ui/AlertDialog/AlertDialog.mjs +0 -20
- package/dist/ui/AlertDialog/alertDialog.recipe.mjs +0 -25
- package/dist/ui/Avatar/Avatar.js +0 -1
- package/dist/ui/Avatar/Avatar.mjs +0 -12
- package/dist/ui/Avatar/avatar.recipe.mjs +0 -30
- package/dist/ui/Badge/Badge.js +0 -1
- package/dist/ui/Badge/Badge.mjs +0 -26
- package/dist/ui/Badge/badge.anatomy.mjs +0 -10
- package/dist/ui/Badge/badge.recipe.mjs +0 -112
- package/dist/ui/Button/Button.js +0 -1
- package/dist/ui/Button/Button.mjs +0 -32
- package/dist/ui/Button/button.recipe.mjs +0 -59
- package/dist/ui/Checkbox/Checkbox.js +0 -1
- package/dist/ui/Checkbox/Checkbox.mjs +0 -17
- package/dist/ui/Checkbox/checkbox.recipe.mjs +0 -49
- package/dist/ui/Clipboard/Clipboard.js +0 -1
- package/dist/ui/Clipboard/Clipboard.mjs +0 -15
- package/dist/ui/Clipboard/clipboard.recipe.mjs +0 -47
- package/dist/ui/Collapsible/Collapsible.js +0 -1
- package/dist/ui/Collapsible/Collapsible.mjs +0 -13
- package/dist/ui/Collapsible/collapsible.recipe.mjs +0 -18
- package/dist/ui/Combobox/Combobox.js +0 -1
- package/dist/ui/Combobox/Combobox.mjs +0 -30
- package/dist/ui/Combobox/combobox.recipe.mjs +0 -15
- package/dist/ui/DatePicker/DatePicker.js +0 -1
- package/dist/ui/DatePicker/DatePicker.mjs +0 -42
- package/dist/ui/DatePicker/datePicker.recipe.mjs +0 -55
- package/dist/ui/Dialog/Dialog.js +0 -1
- package/dist/ui/Dialog/Dialog.mjs +0 -20
- package/dist/ui/Dialog/dialog.recipe.mjs +0 -20
- package/dist/ui/Drawer/Drawer.js +0 -1
- package/dist/ui/Drawer/Drawer.mjs +0 -20
- package/dist/ui/Drawer/drawer.recipe.mjs +0 -32
- package/dist/ui/Field/Field.js +0 -1
- package/dist/ui/Field/Field.mjs +0 -16
- package/dist/ui/Field/field.recipe.mjs +0 -66
- package/dist/ui/IconButton/IconButton.js +0 -1
- package/dist/ui/IconButton/IconButton.mjs +0 -32
- package/dist/ui/IconButton/iconButton.recipe.mjs +0 -22
- package/dist/ui/Menu/Menu.js +0 -1
- package/dist/ui/Menu/Menu.mjs +0 -5
- package/dist/ui/NumberInput/NumberInput.js +0 -1
- package/dist/ui/NumberInput/NumberInput.mjs +0 -23
- package/dist/ui/NumberInput/numberInput.recipe.mjs +0 -33
- package/dist/ui/PasswordInput/PasswordInput.js +0 -1
- package/dist/ui/PasswordInput/PasswordInput.mjs +0 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.mjs +0 -48
- package/dist/ui/PinInput/PinInput.js +0 -1
- package/dist/ui/PinInput/PinInput.mjs +0 -14
- package/dist/ui/PinInput/pinInput.recipe.mjs +0 -47
- package/dist/ui/Popover/Popover.js +0 -1
- package/dist/ui/Popover/Popover.mjs +0 -20
- package/dist/ui/Popover/popover.recipe.mjs +0 -18
- package/dist/ui/Presence.js +0 -1
- package/dist/ui/Presence.mjs +0 -20
- package/dist/ui/Progress/Progress.js +0 -1
- package/dist/ui/Progress/Progress.mjs +0 -18
- package/dist/ui/Progress/progress.recipe.mjs +0 -41
- package/dist/ui/Prose.js +0 -1
- package/dist/ui/Prose.mjs +0 -47
- package/dist/ui/SegmentGroup/SegmentGroup.js +0 -1
- package/dist/ui/SegmentGroup/SegmentGroup.mjs +0 -17
- package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +0 -42
- package/dist/ui/Select/Select.js +0 -1
- package/dist/ui/Select/Select.mjs +0 -29
- package/dist/ui/Select/select.recipe.mjs +0 -47
- package/dist/ui/Table/Table.js +0 -1
- package/dist/ui/Table/Table.mjs +0 -15
- package/dist/ui/Table/table.anatomy.mjs +0 -13
- package/dist/ui/Table/table.recipe.mjs +0 -36
- package/dist/ui/Tabs/Tabs.js +0 -1
- package/dist/ui/Tabs/Tabs.mjs +0 -14
- package/dist/ui/Tabs/tabs.recipe.mjs +0 -42
- package/dist/ui/Tooltip/Tooltip.js +0 -1
- package/dist/ui/Tooltip/Tooltip.mjs +0 -5
- package/dist/ui.d.ts +0 -2
- package/dist/ui.js +0 -1
- package/dist/ui.mjs +0 -54
- package/dist/utils/anatomyToRecipeSlots.mjs +0 -6
- package/dist/utils/capitalize.mjs +0 -24
- package/dist/utils/createPoll.mjs +0 -20
- package/dist/utils/createSplitProps.mjs +0 -14
- package/dist/utils/dataAttr.mjs +0 -6
- package/dist/utils/formatNumber.mjs +0 -33
- package/dist/utils/getGameImageUrl.mjs +0 -9
- package/dist/utils/getLocaleInfo.js +0 -1
- package/dist/utils/getLocaleInfo.mjs +0 -399
- package/dist/utils/getQueryClient.mjs +0 -23
- package/dist/utils/isMobile.mjs +0 -10
- package/dist/utils/parseDecimal.mjs +0 -14
- package/dist/utils/queryKeys.mjs +0 -114
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -1
- package/dist/utils.mjs +0 -72
- /package/dist/{types.js → components/KYC/utils.js} +0 -0
- /package/dist/{theme.css → styles/theme.css} +0 -0
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { format as p } from "date-fns";
|
|
4
|
-
import { noop as a } from "lodash-es";
|
|
5
|
-
import h from "next/image";
|
|
6
|
-
import { useAccountQuery as x } from "../../client/hooks/useAccountQuery.mjs";
|
|
7
|
-
import "@tanstack/react-query";
|
|
8
|
-
import "../../utils/capitalize.mjs";
|
|
9
|
-
import "../../utils/parseDecimal.mjs";
|
|
10
|
-
import "../../constants/index.mjs";
|
|
11
|
-
import "../../utils/getLocaleInfo.mjs";
|
|
12
|
-
import "../../utils/getQueryClient.mjs";
|
|
13
|
-
import "../../utils/isMobile.mjs";
|
|
14
|
-
import "../../client/services/getSession.mjs";
|
|
15
|
-
import "@opexa/portal-sdk-core";
|
|
16
|
-
import "tiny-invariant";
|
|
17
|
-
import "react";
|
|
18
|
-
import "@opexa/portal-sdk-core/object-id";
|
|
19
|
-
import "../../client/hooks/useGlobalStore.mjs";
|
|
20
|
-
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
21
|
-
import { useLocaleInfo as b } from "../../client/hooks/useLocaleInfo.mjs";
|
|
22
|
-
import { useMobileNumberParser as f } from "../../client/hooks/useMobileNumberParser.mjs";
|
|
23
|
-
import "usehooks-ts";
|
|
24
|
-
import { FacebookIcon as y } from "../../icons/FacebookIcon.mjs";
|
|
25
|
-
import { GoogleIcon as N } from "../../icons/GoogleIcon.mjs";
|
|
26
|
-
import g from "../../images/placeholder-avatar.png.mjs";
|
|
27
|
-
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
28
|
-
import "../../ui/Avatar/Avatar.mjs";
|
|
29
|
-
import "../../ui/Badge/Badge.mjs";
|
|
30
|
-
import { Button as l } from "../../ui/Button/Button.mjs";
|
|
31
|
-
import "../../ui/Checkbox/Checkbox.mjs";
|
|
32
|
-
import "../../ui/Clipboard/Clipboard.mjs";
|
|
33
|
-
import "../../ui/Collapsible/Collapsible.mjs";
|
|
34
|
-
import "../../ui/Combobox/Combobox.mjs";
|
|
35
|
-
import "../../ui/DatePicker/DatePicker.mjs";
|
|
36
|
-
import "../../ui/Dialog/Dialog.mjs";
|
|
37
|
-
import "../../ui/Drawer/Drawer.mjs";
|
|
38
|
-
import { Root as i, Label as o, Input as m } from "../../ui/Field/Field.mjs";
|
|
39
|
-
import { IconButton as s } from "../../ui/IconButton/IconButton.mjs";
|
|
40
|
-
import "../../ui/NumberInput/NumberInput.mjs";
|
|
41
|
-
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
42
|
-
import "../../ui/PinInput/PinInput.mjs";
|
|
43
|
-
import "../../ui/Popover/Popover.mjs";
|
|
44
|
-
import "@ark-ui/react";
|
|
45
|
-
import "tailwind-merge";
|
|
46
|
-
import "../../ui/Progress/Progress.mjs";
|
|
47
|
-
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
48
|
-
import "../../ui/Select/Select.mjs";
|
|
49
|
-
import "../../ui/Table/Table.mjs";
|
|
50
|
-
import "../../ui/Tabs/Tabs.mjs";
|
|
51
|
-
function fe(d) {
|
|
52
|
-
const n = b(), r = x().data, c = f();
|
|
53
|
-
return /* @__PURE__ */ t("div", { className: d.className, children: [
|
|
54
|
-
/* @__PURE__ */ e("h2", { className: "text-text-secondary-700 text-sm font-semibold", children: "Profile Info" }),
|
|
55
|
-
/* @__PURE__ */ t("div", { className: "bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border", children: [
|
|
56
|
-
/* @__PURE__ */ e("div", { className: "border-border-secondary border-b px-4 py-5", children: /* @__PURE__ */ t("div", { className: "flex items-center gap-xl", children: [
|
|
57
|
-
/* @__PURE__ */ e(
|
|
58
|
-
h,
|
|
59
|
-
{
|
|
60
|
-
src: g,
|
|
61
|
-
alt: "",
|
|
62
|
-
width: 80,
|
|
63
|
-
height: 80,
|
|
64
|
-
className: "size-14 shrink-0 rounded-md object-cover"
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ t("div", { children: [
|
|
68
|
-
/* @__PURE__ */ e("h3", { className: "text-text-secondary-700 text-lg font-semibold leading-tight", children: r == null ? void 0 : r.name }),
|
|
69
|
-
/* @__PURE__ */ e("p", { className: "text-text-tertiary-600 leading-tight", children: (r == null ? void 0 : r.emailAddress) ?? (r == null ? void 0 : r.nickName) })
|
|
70
|
-
] })
|
|
71
|
-
] }) }),
|
|
72
|
-
/* @__PURE__ */ e("div", { className: "flex justify-end px-xl py-lg", children: /* @__PURE__ */ e(l, { size: "sm", variant: "outline", fullWidth: !1, children: "Upload New Avatar" }) })
|
|
73
|
-
] }),
|
|
74
|
-
/* @__PURE__ */ e("h2", { className: "text-text-secondary-700 mt-6 text-sm font-semibold", children: "Contact Info" }),
|
|
75
|
-
/* @__PURE__ */ t("div", { className: "shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5", children: [
|
|
76
|
-
/* @__PURE__ */ t(i, { children: [
|
|
77
|
-
/* @__PURE__ */ e(o, { children: "Mobile Number" }),
|
|
78
|
-
/* @__PURE__ */ t("div", { className: "relative", children: [
|
|
79
|
-
/* @__PURE__ */ e(n.country.flag, { className: "pointer-events-none absolute left-3.5 top-1/2 size-5 -translate-y-1/2" }),
|
|
80
|
-
/* @__PURE__ */ e(
|
|
81
|
-
m,
|
|
82
|
-
{
|
|
83
|
-
className: "pl-10.5",
|
|
84
|
-
value: r != null && r.mobileNumber ? c.format(r == null ? void 0 : r.mobileNumber) : "",
|
|
85
|
-
readOnly: !0,
|
|
86
|
-
onChange: a
|
|
87
|
-
}
|
|
88
|
-
)
|
|
89
|
-
] })
|
|
90
|
-
] }),
|
|
91
|
-
/* @__PURE__ */ t(i, { className: "mt-6", children: [
|
|
92
|
-
/* @__PURE__ */ e(o, { children: "Email address" }),
|
|
93
|
-
/* @__PURE__ */ e(m, { defaultValue: (r == null ? void 0 : r.emailAddress) ?? "" })
|
|
94
|
-
] })
|
|
95
|
-
] }),
|
|
96
|
-
/* @__PURE__ */ e("h2", { className: "text-text-secondary-700 mt-6 text-sm font-semibold", children: "Personal Data" }),
|
|
97
|
-
/* @__PURE__ */ t("div", { className: "shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5", children: [
|
|
98
|
-
/* @__PURE__ */ t(i, { children: [
|
|
99
|
-
/* @__PURE__ */ e(o, { children: "Real name" }),
|
|
100
|
-
/* @__PURE__ */ e(
|
|
101
|
-
m,
|
|
102
|
-
{
|
|
103
|
-
value: (r == null ? void 0 : r.realName) ?? "",
|
|
104
|
-
onChange: a,
|
|
105
|
-
readOnly: !0
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
] }),
|
|
109
|
-
/* @__PURE__ */ t(i, { className: "mt-6", children: [
|
|
110
|
-
/* @__PURE__ */ e(o, { children: "Date of birth" }),
|
|
111
|
-
/* @__PURE__ */ e(
|
|
112
|
-
m,
|
|
113
|
-
{
|
|
114
|
-
type: "date",
|
|
115
|
-
value: r != null && r.birthDay ? p(r.birthDay, "yyyy-MM-dd") : "",
|
|
116
|
-
readOnly: !0
|
|
117
|
-
}
|
|
118
|
-
)
|
|
119
|
-
] })
|
|
120
|
-
] }),
|
|
121
|
-
/* @__PURE__ */ e("h2", { className: "text-text-secondary-700 mt-6 text-sm font-semibold", children: "Account Connections" }),
|
|
122
|
-
/* @__PURE__ */ t("div", { className: "shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5", children: [
|
|
123
|
-
/* @__PURE__ */ t("div", { className: "flex items-center", children: [
|
|
124
|
-
/* @__PURE__ */ t("div", { className: "flex grow items-center gap-sm", children: [
|
|
125
|
-
/* @__PURE__ */ e(s, { variant: "outline", colorScheme: "gray", children: /* @__PURE__ */ e(N, { className: "size-6" }) }),
|
|
126
|
-
/* @__PURE__ */ t("div", { children: [
|
|
127
|
-
/* @__PURE__ */ e("p", { className: "text-sm font-medium leading-tight", children: "Google" }),
|
|
128
|
-
/* @__PURE__ */ e("p", { className: "text-text-secondary-700 mt-xs text-xs leading-tight", children: "Not Connected" })
|
|
129
|
-
] })
|
|
130
|
-
] }),
|
|
131
|
-
/* @__PURE__ */ e(l, { fullWidth: !1, children: "Connect" })
|
|
132
|
-
] }),
|
|
133
|
-
/* @__PURE__ */ t("div", { className: "mt-6 flex items-center", children: [
|
|
134
|
-
/* @__PURE__ */ t("div", { className: "flex grow items-center gap-sm", children: [
|
|
135
|
-
/* @__PURE__ */ e(s, { variant: "outline", colorScheme: "gray", children: /* @__PURE__ */ e(y, { className: "size-6" }) }),
|
|
136
|
-
/* @__PURE__ */ t("div", { children: [
|
|
137
|
-
/* @__PURE__ */ e("p", { className: "text-sm font-medium leading-tight", children: "Facebook" }),
|
|
138
|
-
/* @__PURE__ */ e("p", { className: "text-text-success-primary-600 mt-xs text-xs leading-tight", children: "Connected" })
|
|
139
|
-
] })
|
|
140
|
-
] }),
|
|
141
|
-
/* @__PURE__ */ e("button", { className: "text-button-tertiary-error-fg text-sm font-semibold", children: "Disconnect" })
|
|
142
|
-
] })
|
|
143
|
-
] })
|
|
144
|
-
] });
|
|
145
|
-
}
|
|
146
|
-
export {
|
|
147
|
-
fe as AccountInfo
|
|
148
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(){return null}exports.AccountPaymentMethods=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("@ark-ui/react"),u=require("tailwind-merge");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../client/services/getSession.js");require("react");require("lodash-es");require("@opexa/portal-sdk-core/object-id");require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");const I=require("../../client/hooks/useProfileCompletionQuery.js"),l=require("../../icons/AlertCircleIcon.js"),j=require("../../icons/CheckIcon.js"),d=require("../../icons/CheckVerified02Icon.js"),m=require("../../icons/ChevronDownIcon.js"),x=require("../../icons/EyeIcon.js"),h=require("../../icons/EyeOffIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.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");const t=require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");const s=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");const i=require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");function q(c){const r=I.useProfileCompletionQuery().data;return e.jsxs("div",{className:c.className,children:[e.jsxs("div",{className:"flex items-center",children:[e.jsxs("div",{className:"grow",children:[e.jsx("h2",{className:"text-text-secondary-700 text-sm font-semibold",children:"Log in password"}),e.jsx("p",{className:"text-text-tertiary-600 text-sm",children:"Access your account by logging in with your name and password."})]}),e.jsx(n.ark.svg,{asChild:!0,className:u.twMerge("size-6",r!=null&&r.accountPassword?"text-text-success-primary":"text-text-warning-primary"),children:r!=null&&r.accountPassword?e.jsx(d.CheckVerified02Icon,{}):e.jsx(l.AlertCircleIcon,{})})]}),e.jsxs("div",{className:"shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5",children:[e.jsx(t.Root,{children:e.jsxs(s.Root,{children:[e.jsx(s.Label,{children:"Password"}),e.jsxs(s.Control,{children:[e.jsx(s.Input,{}),e.jsx(s.VisibilityTrigger,{children:e.jsx(s.Indicator,{fallback:e.jsx(h.EyeOffIcon,{}),asChild:!0,children:e.jsx(x.EyeIcon,{})})})]})]})}),e.jsx(t.Root,{className:"mt-6",children:e.jsxs(i.Root,{collection:a,lazyMount:!0,positioning:{sameWidth:!0},children:[e.jsx(i.Label,{children:"Security Question"}),e.jsxs(i.Trigger,{children:[e.jsx(i.ValueText,{placeholder:"Game Vendor"}),e.jsx(i.Indicator,{asChild:!0,children:e.jsx(m.ChevronDownIcon,{})})]}),e.jsx(n.Portal,{children:e.jsx(i.Positioner,{children:e.jsx(i.Content,{children:e.jsx(i.ItemGroup,{children:a.items.map(o=>e.jsxs(i.Item,{item:o,children:[e.jsx(i.ItemText,{children:a.stringifyItem(o)}),e.jsx(i.ItemIndicator,{asChild:!0,children:e.jsx(j.CheckIcon,{})})]},o))})})})})]})}),e.jsxs(t.Root,{className:"mt-6",children:[e.jsx(t.Label,{children:"Answer"}),e.jsx(t.Input,{})]})]}),e.jsxs("div",{className:"mt-6 flex items-center",children:[e.jsxs("div",{className:"grow",children:[e.jsx("h2",{className:"text-text-secondary-700 text-sm font-semibold",children:"Transaction password"}),e.jsx("p",{className:"text-text-tertiary-600 text-sm",children:"The transaction password secures and confirms your wallet withdrawals."})]}),e.jsx(n.ark.svg,{asChild:!0,className:u.twMerge("size-6",r!=null&&r.accountPassword?"text-text-success-primary":"text-text-warning-primary"),children:r!=null&&r.accountPassword?e.jsx(d.CheckVerified02Icon,{}):e.jsx(l.AlertCircleIcon,{})})]}),e.jsx("div",{className:"shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5",children:e.jsx(t.Root,{children:e.jsxs(s.Root,{children:[e.jsx(s.Label,{children:"Password"}),e.jsxs(s.Control,{children:[e.jsx(s.Input,{}),e.jsx(s.VisibilityTrigger,{children:e.jsx(s.Indicator,{fallback:e.jsx(h.EyeOffIcon,{}),asChild:!0,children:e.jsx(x.EyeIcon,{})})})]})]})})})]})}const y=["BEST_CHILDHOOD_FRIEND","BIRTH_PLACE","FAVORITE_BOOK","FAVORITE_MOVIE","FAVORITE_TEACHER","FIRST_CAR","FIRST_PET","FIRST_SCHOOL","MOTHERS_MAIDEN_NAME","PARENTS_MET_CITY"],E={BEST_CHILDHOOD_FRIEND:"Who is your best childhood friend?",BIRTH_PLACE:"Where were you born?",FAVORITE_BOOK:"What is your favorite book?",FAVORITE_MOVIE:"What is your favorite movie?",FAVORITE_TEACHER:"Who was your favorite teacher?",FIRST_CAR:"What was your first car?",FIRST_PET:"What was your first pet?",FIRST_SCHOOL:"What was the name of your first school?",MOTHERS_MAIDEN_NAME:"What is your mother's maiden name?",PARENTS_MET_CITY:"In which city did your parents meet?"},a=n.createListCollection({items:y,itemToValue:c=>c,itemToString:c=>E[c]});exports.AccountSecurity=q;
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { createListCollection as x, ark as c, Portal as R } from "@ark-ui/react";
|
|
4
|
-
import { twMerge as m } from "tailwind-merge";
|
|
5
|
-
import "@opexa/portal-sdk-core";
|
|
6
|
-
import "@tanstack/react-query";
|
|
7
|
-
import "tiny-invariant";
|
|
8
|
-
import "../../constants/index.mjs";
|
|
9
|
-
import "../../utils/capitalize.mjs";
|
|
10
|
-
import "../../utils/parseDecimal.mjs";
|
|
11
|
-
import "../../utils/getLocaleInfo.mjs";
|
|
12
|
-
import "../../utils/getQueryClient.mjs";
|
|
13
|
-
import "../../utils/isMobile.mjs";
|
|
14
|
-
import "../../client/services/getSession.mjs";
|
|
15
|
-
import "react";
|
|
16
|
-
import "lodash-es";
|
|
17
|
-
import "@opexa/portal-sdk-core/object-id";
|
|
18
|
-
import "../../client/hooks/useGlobalStore.mjs";
|
|
19
|
-
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
20
|
-
import "usehooks-ts";
|
|
21
|
-
import { useProfileCompletionQuery as f } from "../../client/hooks/useProfileCompletionQuery.mjs";
|
|
22
|
-
import { AlertCircleIcon as n } from "../../icons/AlertCircleIcon.mjs";
|
|
23
|
-
import { CheckIcon as w } from "../../icons/CheckIcon.mjs";
|
|
24
|
-
import { CheckVerified02Icon as d } from "../../icons/CheckVerified02Icon.mjs";
|
|
25
|
-
import { ChevronDownIcon as _ } from "../../icons/ChevronDownIcon.mjs";
|
|
26
|
-
import { EyeIcon as l } from "../../icons/EyeIcon.mjs";
|
|
27
|
-
import { EyeOffIcon as h } from "../../icons/EyeOffIcon.mjs";
|
|
28
|
-
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
29
|
-
import "../../ui/Avatar/Avatar.mjs";
|
|
30
|
-
import "../../ui/Badge/Badge.mjs";
|
|
31
|
-
import "../../ui/Button/button.recipe.mjs";
|
|
32
|
-
import "../../ui/Checkbox/Checkbox.mjs";
|
|
33
|
-
import "../../ui/Clipboard/Clipboard.mjs";
|
|
34
|
-
import "../../ui/Collapsible/Collapsible.mjs";
|
|
35
|
-
import "../../ui/Combobox/Combobox.mjs";
|
|
36
|
-
import "../../ui/DatePicker/DatePicker.mjs";
|
|
37
|
-
import "../../ui/Dialog/Dialog.mjs";
|
|
38
|
-
import "../../ui/Drawer/Drawer.mjs";
|
|
39
|
-
import { Root as o, Label as N, Input as O } from "../../ui/Field/Field.mjs";
|
|
40
|
-
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
41
|
-
import "../../ui/NumberInput/NumberInput.mjs";
|
|
42
|
-
import { Root as p, Label as u, Control as I, Input as y, VisibilityTrigger as T, Indicator as E } from "../../ui/PasswordInput/PasswordInput.mjs";
|
|
43
|
-
import "../../ui/PinInput/PinInput.mjs";
|
|
44
|
-
import "../../ui/Popover/Popover.mjs";
|
|
45
|
-
import "../../ui/Progress/Progress.mjs";
|
|
46
|
-
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
47
|
-
import { Root as b, Label as C, Trigger as A, ValueText as S, Indicator as g, Positioner as P, Content as F, ItemGroup as L, Item as M, ItemText as V, ItemIndicator as v } from "../../ui/Select/Select.mjs";
|
|
48
|
-
import "../../ui/Table/Table.mjs";
|
|
49
|
-
import "../../ui/Tabs/Tabs.mjs";
|
|
50
|
-
function Mr(i) {
|
|
51
|
-
const e = f().data;
|
|
52
|
-
return /* @__PURE__ */ t("div", { className: i.className, children: [
|
|
53
|
-
/* @__PURE__ */ t("div", { className: "flex items-center", children: [
|
|
54
|
-
/* @__PURE__ */ t("div", { className: "grow", children: [
|
|
55
|
-
/* @__PURE__ */ r("h2", { className: "text-text-secondary-700 text-sm font-semibold", children: "Log in password" }),
|
|
56
|
-
/* @__PURE__ */ r("p", { className: "text-text-tertiary-600 text-sm", children: "Access your account by logging in with your name and password." })
|
|
57
|
-
] }),
|
|
58
|
-
/* @__PURE__ */ r(
|
|
59
|
-
c.svg,
|
|
60
|
-
{
|
|
61
|
-
asChild: !0,
|
|
62
|
-
className: m(
|
|
63
|
-
"size-6",
|
|
64
|
-
e != null && e.accountPassword ? "text-text-success-primary" : "text-text-warning-primary"
|
|
65
|
-
),
|
|
66
|
-
children: e != null && e.accountPassword ? /* @__PURE__ */ r(d, {}) : /* @__PURE__ */ r(n, {})
|
|
67
|
-
}
|
|
68
|
-
)
|
|
69
|
-
] }),
|
|
70
|
-
/* @__PURE__ */ t("div", { className: "shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5", children: [
|
|
71
|
-
/* @__PURE__ */ r(o, { children: /* @__PURE__ */ t(p, { children: [
|
|
72
|
-
/* @__PURE__ */ r(u, { children: "Password" }),
|
|
73
|
-
/* @__PURE__ */ t(I, { children: [
|
|
74
|
-
/* @__PURE__ */ r(y, {}),
|
|
75
|
-
/* @__PURE__ */ r(T, { children: /* @__PURE__ */ r(E, { fallback: /* @__PURE__ */ r(h, {}), asChild: !0, children: /* @__PURE__ */ r(l, {}) }) })
|
|
76
|
-
] })
|
|
77
|
-
] }) }),
|
|
78
|
-
/* @__PURE__ */ r(o, { className: "mt-6", children: /* @__PURE__ */ t(
|
|
79
|
-
b,
|
|
80
|
-
{
|
|
81
|
-
collection: a,
|
|
82
|
-
lazyMount: !0,
|
|
83
|
-
positioning: {
|
|
84
|
-
sameWidth: !0
|
|
85
|
-
},
|
|
86
|
-
children: [
|
|
87
|
-
/* @__PURE__ */ r(C, { children: "Security Question" }),
|
|
88
|
-
/* @__PURE__ */ t(A, { children: [
|
|
89
|
-
/* @__PURE__ */ r(S, { placeholder: "Game Vendor" }),
|
|
90
|
-
/* @__PURE__ */ r(g, { asChild: !0, children: /* @__PURE__ */ r(_, {}) })
|
|
91
|
-
] }),
|
|
92
|
-
/* @__PURE__ */ r(R, { children: /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(L, { children: a.items.map((s) => /* @__PURE__ */ t(M, { item: s, children: [
|
|
93
|
-
/* @__PURE__ */ r(V, { children: a.stringifyItem(s) }),
|
|
94
|
-
/* @__PURE__ */ r(v, { asChild: !0, children: /* @__PURE__ */ r(w, {}) })
|
|
95
|
-
] }, s)) }) }) }) })
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
) }),
|
|
99
|
-
/* @__PURE__ */ t(o, { className: "mt-6", children: [
|
|
100
|
-
/* @__PURE__ */ r(N, { children: "Answer" }),
|
|
101
|
-
/* @__PURE__ */ r(O, {})
|
|
102
|
-
] })
|
|
103
|
-
] }),
|
|
104
|
-
/* @__PURE__ */ t("div", { className: "mt-6 flex items-center", children: [
|
|
105
|
-
/* @__PURE__ */ t("div", { className: "grow", children: [
|
|
106
|
-
/* @__PURE__ */ r("h2", { className: "text-text-secondary-700 text-sm font-semibold", children: "Transaction password" }),
|
|
107
|
-
/* @__PURE__ */ r("p", { className: "text-text-tertiary-600 text-sm", children: "The transaction password secures and confirms your wallet withdrawals." })
|
|
108
|
-
] }),
|
|
109
|
-
/* @__PURE__ */ r(
|
|
110
|
-
c.svg,
|
|
111
|
-
{
|
|
112
|
-
asChild: !0,
|
|
113
|
-
className: m(
|
|
114
|
-
"size-6",
|
|
115
|
-
e != null && e.accountPassword ? "text-text-success-primary" : "text-text-warning-primary"
|
|
116
|
-
),
|
|
117
|
-
children: e != null && e.accountPassword ? /* @__PURE__ */ r(d, {}) : /* @__PURE__ */ r(n, {})
|
|
118
|
-
}
|
|
119
|
-
)
|
|
120
|
-
] }),
|
|
121
|
-
/* @__PURE__ */ r("div", { className: "shadow-xs bg-bg-primary-alt border-border-secondary mt-5 rounded-xl border px-4 py-5", children: /* @__PURE__ */ r(o, { children: /* @__PURE__ */ t(p, { children: [
|
|
122
|
-
/* @__PURE__ */ r(u, { children: "Password" }),
|
|
123
|
-
/* @__PURE__ */ t(I, { children: [
|
|
124
|
-
/* @__PURE__ */ r(y, {}),
|
|
125
|
-
/* @__PURE__ */ r(T, { children: /* @__PURE__ */ r(E, { fallback: /* @__PURE__ */ r(h, {}), asChild: !0, children: /* @__PURE__ */ r(l, {}) }) })
|
|
126
|
-
] })
|
|
127
|
-
] }) }) })
|
|
128
|
-
] });
|
|
129
|
-
}
|
|
130
|
-
const H = [
|
|
131
|
-
"BEST_CHILDHOOD_FRIEND",
|
|
132
|
-
"BIRTH_PLACE",
|
|
133
|
-
"FAVORITE_BOOK",
|
|
134
|
-
"FAVORITE_MOVIE",
|
|
135
|
-
"FAVORITE_TEACHER",
|
|
136
|
-
"FIRST_CAR",
|
|
137
|
-
"FIRST_PET",
|
|
138
|
-
"FIRST_SCHOOL",
|
|
139
|
-
"MOTHERS_MAIDEN_NAME",
|
|
140
|
-
"PARENTS_MET_CITY"
|
|
141
|
-
], W = {
|
|
142
|
-
BEST_CHILDHOOD_FRIEND: "Who is your best childhood friend?",
|
|
143
|
-
BIRTH_PLACE: "Where were you born?",
|
|
144
|
-
FAVORITE_BOOK: "What is your favorite book?",
|
|
145
|
-
FAVORITE_MOVIE: "What is your favorite movie?",
|
|
146
|
-
FAVORITE_TEACHER: "Who was your favorite teacher?",
|
|
147
|
-
FIRST_CAR: "What was your first car?",
|
|
148
|
-
FIRST_PET: "What was your first pet?",
|
|
149
|
-
FIRST_SCHOOL: "What was the name of your first school?",
|
|
150
|
-
MOTHERS_MAIDEN_NAME: "What is your mother's maiden name?",
|
|
151
|
-
PARENTS_MET_CITY: "In which city did your parents meet?"
|
|
152
|
-
}, a = x({
|
|
153
|
-
items: H,
|
|
154
|
-
itemToValue: (i) => i,
|
|
155
|
-
itemToString: (i) => W[i]
|
|
156
|
-
});
|
|
157
|
-
export {
|
|
158
|
-
Mr as AccountSecurity
|
|
159
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(){return null}exports.AccountVerification=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),u=require("embla-carousel-autoplay"),d=require("embla-carousel-react"),f=require("next/image"),h=require("next/link"),l=require("react"),g=require("tailwind-merge");require("../../utils/capitalize.js");const q=require("../../utils/dataAttr.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");function x(n){const[i,e]=d({loop:!0,align:"start"},[u({playOnInit:!0,delay:5e3})]),[c,o]=l.useState(0);return l.useEffect(()=>{function t(r){o((r==null?void 0:r.selectedScrollSnap())??0)}return e==null||e.on("scroll",t),e==null||e.on("init",t),()=>{e==null||e.on("init",t),e==null||e.off("scroll",t)}},[e]),s.jsxs("div",{className:g.twMerge("relative",n.className),children:[s.jsx("div",{ref:i,className:"overflow-hidden",children:s.jsx("div",{className:"flex gap-2",children:n.banners.map((t,r)=>{const a=s.jsx(f,{src:t.src,alt:"",width:1200,height:300,className:"block h-auto w-full rounded-xl",priority:r===0});return s.jsx(l.Fragment,{children:t.redirectUrl?s.jsx(h,{href:t.redirectUrl,className:"block w-full shrink-0",children:a}):s.jsx("div",{className:"w-full shrink-0",children:a})},r)})})}),s.jsx("div",{className:"absolute bottom-lg left-1/2 flex w-fit -translate-x-1/2 gap-2",children:n.banners.map((t,r)=>s.jsx("button",{type:"button",className:"ui-active:bg-brand-500 bg-gray-300 size-3 shrink-0 rounded-full border border-white transition-all duration-300 ui-active:w-9",onClick:()=>{e==null||e.scrollTo(r)},"aria-label":`Go to slide ${r+1}`,"data-active":q.dataAttr(r===c)},r))})]})}exports.Banner=x;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import m from "embla-carousel-autoplay";
|
|
4
|
-
import u from "embla-carousel-react";
|
|
5
|
-
import f from "next/image";
|
|
6
|
-
import d from "next/link";
|
|
7
|
-
import { useState as h, useEffect as g, Fragment as p } from "react";
|
|
8
|
-
import { twMerge as v } from "tailwind-merge";
|
|
9
|
-
import "../../utils/capitalize.mjs";
|
|
10
|
-
import { dataAttr as w } from "../../utils/dataAttr.mjs";
|
|
11
|
-
import "../../utils/parseDecimal.mjs";
|
|
12
|
-
import "../../constants/index.mjs";
|
|
13
|
-
import "../../utils/getLocaleInfo.mjs";
|
|
14
|
-
import "../../utils/getQueryClient.mjs";
|
|
15
|
-
import "../../utils/isMobile.mjs";
|
|
16
|
-
function G(l) {
|
|
17
|
-
const [n, r] = u(
|
|
18
|
-
{
|
|
19
|
-
loop: !0,
|
|
20
|
-
align: "start"
|
|
21
|
-
},
|
|
22
|
-
[
|
|
23
|
-
m({
|
|
24
|
-
playOnInit: !0,
|
|
25
|
-
delay: 5e3
|
|
26
|
-
})
|
|
27
|
-
]
|
|
28
|
-
), [s, i] = h(0);
|
|
29
|
-
return g(() => {
|
|
30
|
-
function e(t) {
|
|
31
|
-
i((t == null ? void 0 : t.selectedScrollSnap()) ?? 0);
|
|
32
|
-
}
|
|
33
|
-
return r == null || r.on("scroll", e), r == null || r.on("init", e), () => {
|
|
34
|
-
r == null || r.on("init", e), r == null || r.off("scroll", e);
|
|
35
|
-
};
|
|
36
|
-
}, [r]), /* @__PURE__ */ c("div", { className: v("relative", l.className), children: [
|
|
37
|
-
/* @__PURE__ */ o("div", { ref: n, className: "overflow-hidden", children: /* @__PURE__ */ o("div", { className: "flex gap-2", children: l.banners.map((e, t) => {
|
|
38
|
-
const a = /* @__PURE__ */ o(
|
|
39
|
-
f,
|
|
40
|
-
{
|
|
41
|
-
src: e.src,
|
|
42
|
-
alt: "",
|
|
43
|
-
width: 1200,
|
|
44
|
-
height: 300,
|
|
45
|
-
className: "block h-auto w-full rounded-xl",
|
|
46
|
-
priority: t === 0
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
return /* @__PURE__ */ o(p, { children: e.redirectUrl ? /* @__PURE__ */ o(
|
|
50
|
-
d,
|
|
51
|
-
{
|
|
52
|
-
href: e.redirectUrl,
|
|
53
|
-
className: "block w-full shrink-0",
|
|
54
|
-
children: a
|
|
55
|
-
}
|
|
56
|
-
) : /* @__PURE__ */ o("div", { className: "w-full shrink-0", children: a }) }, t);
|
|
57
|
-
}) }) }),
|
|
58
|
-
/* @__PURE__ */ o("div", { className: "absolute bottom-lg left-1/2 flex w-fit -translate-x-1/2 gap-2", children: l.banners.map((e, t) => /* @__PURE__ */ o(
|
|
59
|
-
"button",
|
|
60
|
-
{
|
|
61
|
-
type: "button",
|
|
62
|
-
className: "ui-active:bg-brand-500 bg-gray-300 size-3 shrink-0 rounded-full border border-white transition-all duration-300 ui-active:w-9",
|
|
63
|
-
onClick: () => {
|
|
64
|
-
r == null || r.scrollTo(t);
|
|
65
|
-
},
|
|
66
|
-
"aria-label": `Go to slide ${t + 1}`,
|
|
67
|
-
"data-active": w(t === s)
|
|
68
|
-
},
|
|
69
|
-
t
|
|
70
|
-
)) })
|
|
71
|
-
] });
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
G as Banner
|
|
75
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("@ark-ui/react"),g=require("@date-fns/tz"),u=require("date-fns"),z=require("react"),J=require("tailwind-merge"),y=require("zod");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");const c=require("../../utils/capitalize.js"),C=require("../../utils/formatNumber.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/parseDecimal.js");require("../../client/services/getSession.js");const W=require("../../client/hooks/useBetRecordsQuery.js");require("lodash-es");require("@opexa/portal-sdk-core/object-id");require("../../client/hooks/useGlobalStore.js");const k=require("../../client/hooks/useInfiniteQueryHelper.js"),$=require("../../client/hooks/useLocaleInfo.js");require("usehooks-ts");const v=require("../../icons/CheckIcon.js"),T=require("../../icons/ChevronDownIcon.js"),R=require("../../icons/ChevronLeftIcon.js"),D=require("../../icons/ChevronRightIcon.js"),K=require("../../icons/File02Icon.js"),X=require("../../icons/SpinnerIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");const E=require("../../ui/Badge/Badge.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");const s=require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");const P=require("../../ui/IconButton/IconButton.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");const n=require("../../ui/SegmentGroup/SegmentGroup.js"),r=require("../../ui/Select/Select.js"),i=require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const Y=require("../Empty.js");function ee(o){var f,S;const[V,b]=z.useState("all"),[a,h]=z.useReducer((t,l)=>({...t,...l}),{page:1,pageSize:10,type:o.gameTypes[0]}),d=$.useLocaleInfo(),q=x.createListCollection({items:o.gameProviders,itemToValue:t=>t,itemToString:t=>c.capitalize(t,{delimiter:c.capitalize.delimiters.UNDERSCORE})}),{page:M,pageSize:L,hasNextPage:F,hasPrevPage:A,next:U,prev:_,rows:I,setPageSize:G,totalPages:Q,loading:j,firstPage:p}=k.useInfiniteQueryHelper(W.useBetRecordsQuery,{filter:{...a.type&&{game__type:{equal:a.type}},...a.provider&&{game__provider:{equal:a.provider}},...a.status&&{status:{equal:a.status}},...a.timestamp&&{dateTimeCreated:{...a.timestamp.start&&{greaterThanOrEqual:new g.TZDateMini(u.startOfDay(a.timestamp.start),d.timezone).toISOString()},...a.timestamp.end&&{lesserThanOrEqual:new g.TZDateMini(u.endOfDay(a.timestamp.end),d.timezone).toISOString()}}}}});return e.jsxs("div",{className:J.twMerge("px-4 pb-3xl pt-4",o.className),children:[e.jsx("h2",{className:"text-text-secondary-700 text-sm font-semibold leading-tight",children:"Bet Records"}),e.jsx("p",{className:"text-text-tertiary-600 mt-xs text-sm leading-tight",children:"Review your betting history"}),e.jsx("div",{className:"mt-lg",children:e.jsxs(n.Root,{value:a.type,onValueChange:t=>{p(),h({type:y.z.enum(o.gameTypes??[]).safeParse(t.value).data??null})},children:[o.gameTypes.map(t=>e.jsxs(n.Item,{value:t,children:[e.jsx(n.ItemText,{children:c.capitalize(t,{delimiter:c.capitalize.delimiters.UNDERSCORE})}),e.jsx(n.ItemControl,{}),e.jsx(n.ItemHiddenInput,{})]},t)),e.jsx(n.Indicator,{})]})}),e.jsx("h3",{className:"text-text-secondary-700 mt-3xl text-sm font-semibold",children:"Table"}),e.jsxs("div",{className:"mt-xl flex flex-col gap-lg lg:flex-row lg:items-center",children:[e.jsxs(s.Root,{lazyMount:!0,unmountOnExit:!0,value:[(f=a.timestamp)==null?void 0:f.start,(S=a.timestamp)==null?void 0:S.end].filter(Boolean).map(t=>x.parseDate(t)),onValueChange:t=>{var l,m;p(),h({timestamp:{start:(l=t.value.at(0))==null?void 0:l.toDate(H),end:(m=t.value.at(1))==null?void 0:m.toDate(H)}})},onOpenChange:t=>{t.open||a.timestamp||b("all")},selectionMode:"range",closeOnSelect:!1,positioning:{gutter:20,placement:"bottom"},children:[e.jsxs(n.Root,{value:V,onValueChange:t=>{const l=te.parse(t.value);if(l==="today"){const m=new Date;h({timestamp:{start:u.startOfDay(m),end:u.endOfDay(m)}})}else h({timestamp:null});p(),b(l)},className:"w-full lg:w-fit",children:[e.jsxs(n.Item,{value:"all",className:"w-full lg:w-auto",children:[e.jsx(n.ItemText,{children:"All"}),e.jsx(n.ItemControl,{}),e.jsx(n.ItemHiddenInput,{})]}),e.jsxs(n.Item,{value:"today",className:"w-full lg:w-auto",children:[e.jsx(n.ItemText,{children:"Today"}),e.jsx(n.ItemControl,{}),e.jsx(n.ItemHiddenInput,{})]}),e.jsx(s.Context,{children:t=>e.jsx(n.Item,{value:"custom",onClick:()=>t.setOpen(!0),className:"w-full lg:w-auto",children:e.jsxs(s.Control,{children:[e.jsx(n.ItemText,{children:"Custom"}),e.jsx(n.ItemControl,{}),e.jsx(n.ItemHiddenInput,{})]})})}),e.jsx(n.Indicator,{})]}),e.jsx(x.Portal,{children:e.jsx(s.Positioner,{children:e.jsx(s.Content,{children:e.jsx(s.View,{view:"day",children:e.jsx(s.Context,{children:t=>e.jsxs(e.Fragment,{children:[e.jsxs(s.ViewControl,{children:[e.jsx(s.PrevTrigger,{children:e.jsx(R.ChevronLeftIcon,{})}),e.jsx(s.ViewTrigger,{children:e.jsx(s.RangeText,{})}),e.jsx(s.NextTrigger,{children:e.jsx(D.ChevronRightIcon,{})})]}),e.jsxs(s.Table,{children:[e.jsx(s.TableHead,{children:e.jsx(s.TableRow,{children:t.weekDays.map((l,m)=>e.jsx(s.TableHeader,{children:l.short.substring(0,2)},m))})}),e.jsx(s.TableBody,{children:t.weeks.map((l,m)=>e.jsx(s.TableRow,{children:l.map((w,Z)=>e.jsx(s.TableCell,{value:w,children:e.jsx(s.TableCellTrigger,{children:w.day})},Z))},m))})]})]})})})})})})]}),e.jsx("div",{className:"hidden grow lg:block"}),e.jsxs(r.Root,{collection:q,value:a.provider?[a.provider]:[],onValueChange:t=>{const l=y.z.enum(o.gameProviders??[]).safeParse(t.value.at(0)).data;p(),h({provider:l??null})},lazyMount:!0,deselectable:!0,positioning:{sameWidth:!0},children:[e.jsxs(r.Trigger,{className:"w-full lg:w-[14rem]",children:[e.jsx(r.ValueText,{placeholder:"Game Vendor"}),e.jsx(r.Context,{children:t=>e.jsx(e.Fragment,{children:t.value.length?e.jsx(r.ClearTrigger,{asChild:!0,children:e.jsx("span",{onClick:l=>{l.stopPropagation()},children:"Clear"})}):e.jsx(r.Indicator,{asChild:!0,children:e.jsx(T.ChevronDownIcon,{})})})})]}),e.jsx(x.Portal,{children:e.jsx(r.Positioner,{children:e.jsx(r.Content,{children:e.jsx(r.ItemGroup,{children:q.items.map(t=>e.jsxs(r.Item,{item:t,children:[e.jsx(r.ItemText,{children:c.capitalize(t,{delimiter:c.capitalize.delimiters.UNDERSCORE})}),e.jsx(r.ItemIndicator,{asChild:!0,children:e.jsx(v.CheckIcon,{})})]},t))})})})})]}),e.jsxs(r.Root,{collection:O,value:a.status?[a.status]:[],onValueChange:t=>{const l=y.z.enum(B).safeParse(t.value.at(0)).data;p(),h({status:l??null})},lazyMount:!0,deselectable:!0,positioning:{sameWidth:!0},children:[e.jsxs(r.Trigger,{className:"w-full lg:w-[14rem]",children:[e.jsx(r.ValueText,{placeholder:"Status"}),e.jsx(r.Context,{children:t=>e.jsx(e.Fragment,{children:t.value.length?e.jsx(r.ClearTrigger,{asChild:!0,children:e.jsx("span",{onClick:l=>{l.stopPropagation()},children:"Clear"})}):e.jsx(r.Indicator,{asChild:!0,children:e.jsx(T.ChevronDownIcon,{})})})})]}),e.jsx(x.Portal,{children:e.jsx(r.Positioner,{children:e.jsx(r.Content,{children:e.jsx(r.ItemGroup,{children:O.items.map(t=>e.jsxs(r.Item,{item:t,children:[e.jsx(r.ItemText,{children:c.capitalize(t,{delimiter:c.capitalize.delimiters.UNDERSCORE})}),e.jsx(r.ItemIndicator,{asChild:!0,children:e.jsx(v.CheckIcon,{})})]},t))})})})})]})]}),I.length<=0&&e.jsx(Y.Empty,{icon:j?X.SpinnerIcon:K.File02Icon,title:j?"Just a moment":"No data",message:j?"Fetching latest bet records...":"No data is currently available.",className:"mt-5xl"}),I.length>=1&&e.jsxs("div",{className:"border-border-primary -ml-4 mt-3xl w-dvw border-y lg:-ml-0 lg:w-full lg:rounded-xl lg:border-x",children:[e.jsx("div",{className:"border-border-primary scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar-thumb:rounded-full overflow-hidden overflow-x-auto rounded-xl rounded-b-none border-b",children:e.jsxs(i.Root,{className:"border-0",children:[e.jsx(i.Header,{children:e.jsxs(i.Row,{children:[e.jsx(i.Heading,{children:"Bet Time"}),e.jsx(i.Heading,{children:"Settlement Time"}),e.jsx(i.Heading,{children:"Bet Content"}),e.jsx(i.Heading,{children:"Odds"}),e.jsx(i.Heading,{children:"Bet Amount"}),e.jsx(i.Heading,{children:"Valid Bet"}),e.jsx(i.Heading,{children:"Settled Amount"}),e.jsx(i.Heading,{children:"Jackpot Contribution"}),e.jsx(i.Heading,{children:"Jackpot Payout"}),e.jsx(i.Heading,{children:"Bet Status"}),e.jsx(i.Heading,{children:"Game Name"}),e.jsx(i.Heading,{children:"Vendor Round ID"})]})}),e.jsx(i.Body,{children:I.map(t=>{var l;return e.jsxs(i.Row,{children:[e.jsxs(i.Cell,{className:"!py-1",children:[e.jsx("div",{className:"leading-tight",children:u.format(t.dateTimeCreated,"MM/dd/yyyy",{in:g.tz(d.timezone)})}),e.jsx("div",{className:"text-text-tertiary-600 leading-tight",children:u.format(t.dateTimeCreated,"hh:mm a",{in:g.tz(d.timezone)})})]}),e.jsx(i.Cell,{className:"!py-1",children:!!t.dateTimeSettled&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"leading-tight",children:u.format(t.dateTimeSettled,"MM/dd/yyyy",{in:g.tz(d.timezone)})}),e.jsx("div",{className:"text-text-tertiary-600 leading-tight",children:u.format(t.dateTimeSettled,"hh:mm a",{in:g.tz(d.timezone)})})]})}),e.jsx(i.Cell,{className:"!py-1",children:(t==null?void 0:t.betContent)||"/"}),e.jsx(i.Cell,{className:"!py-1",children:((l=t.metadata)==null?void 0:l.odds)||"/"}),e.jsx(i.Cell,{className:"!py-1",children:C.formatNumber(t.bet,{currency:d.currency.code,minDecimalPlaces:2})}),e.jsx(i.Cell,{className:"!py-1",children:C.formatNumber(t.validBet,{currency:d.currency.code,minDecimalPlaces:2})}),e.jsx(i.Cell,{className:"!py-1",children:C.formatNumber(t.payout,{currency:d.currency.code,minDecimalPlaces:2})}),e.jsx(i.Cell,{className:"!py-1",children:C.formatNumber(t.jackpotContribution,{currency:d.currency.code,minDecimalPlaces:2})}),e.jsx(i.Cell,{className:"!py-1",children:C.formatNumber(t.jackpotPayout,{currency:d.currency.code,minDecimalPlaces:2})}),e.jsx(i.Cell,{className:"!py-1",children:e.jsx(E.Root,{colorScheme:t.status==="SETTLED"?"success":t.status==="STARTED"?"blue":"danger",children:e.jsx(E.Label,{children:c.capitalize(t.status,{delimiter:c.capitalize.delimiters.UNDERSCORE})})})}),e.jsx(i.Cell,{className:"!py-1",children:t.game.name}),e.jsx(i.Cell,{className:"!py-1",children:t.vendorRoundId})]},t.id)})})]})}),e.jsxs("div",{className:"flex items-center gap-lg px-4 py-3",children:[e.jsxs("p",{className:"text-text-secondary-700 order-2 grow text-center text-sm font-medium lg:order-none lg:grow-0",children:["Page ",M," of ",Q]}),e.jsx("div",{className:"hidden grow lg:block"}),e.jsx(r.Root,{size:"sm",value:[L.toString()],onValueChange:t=>{const l=parseInt(t.value[0]),m=isNaN(l)?10:l;G(m)},collection:N,lazyMount:!0,className:"hidden lg:block",positioning:{sameWidth:!0},children:e.jsxs(r.Trigger,{children:[e.jsx(r.ValueText,{}),e.jsx(r.Indicator,{asChild:!0,children:e.jsx(T.ChevronDownIcon,{})}),e.jsx(x.Portal,{children:e.jsx(r.Positioner,{children:e.jsx(r.Content,{children:N.items.map(t=>e.jsxs(r.Item,{item:t,children:[e.jsx(r.ItemText,{children:N.stringifyItem(t)}),e.jsx(r.ItemIndicator,{asChild:!0,children:e.jsx(v.CheckIcon,{})})]},t))})})})]})}),e.jsxs("div",{className:"contents lg:flex",children:[e.jsx(P.IconButton,{size:"sm",variant:"outline",colorScheme:"gray",className:"order-1 lg:order-none lg:rounded-r-none lg:border-r-0",disabled:!A||j,onClick:()=>_(),children:e.jsx(R.ChevronLeftIcon,{className:"size-5"})}),e.jsx(P.IconButton,{size:"sm",variant:"outline",colorScheme:"gray",className:"order-3 lg:order-none lg:rounded-l-none",disabled:!F||j,onClick:()=>U(),children:e.jsx(D.ChevronRightIcon,{className:"size-5"})})]})]})]})]})}const B=["CANCELLED","SETTLED","STARTED"],N=x.createListCollection({items:k.useInfiniteQueryHelper.config.pageSizes,itemToValue:o=>o.toString(),itemToString:o=>`${o} items per page`}),O=x.createListCollection({items:B,itemToValue:o=>o,itemToString:o=>c.capitalize(o,{delimiter:c.capitalize.delimiters.UNDERSCORE})}),te=y.z.enum(["all","today","custom"]),H=Intl.DateTimeFormat().resolvedOptions().timeZone;exports.BetRecords=ee;
|