@opexa/portal-components 0.0.28 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/hooks/index.js +54 -54
- package/dist/client/hooks/useAccountQuery.d.ts +1 -1
- package/dist/client/hooks/useAccountQuery.js +4 -4
- package/dist/client/hooks/useAuthenticateMutation.d.ts +1 -1
- package/dist/client/hooks/useAuthenticateMutation.js +2 -2
- package/dist/client/hooks/useAvailablePromosQuery.d.ts +1 -1
- package/dist/client/hooks/useAvailablePromosQuery.js +4 -4
- package/dist/client/hooks/useBetRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useBetRecordsQuery.js +4 -4
- package/dist/client/hooks/useBonusesQuery.d.ts +1 -1
- package/dist/client/hooks/useBonusesQuery.js +4 -4
- package/dist/client/hooks/useCashbacksQuery.d.ts +1 -1
- package/dist/client/hooks/useCashbacksQuery.js +2 -2
- package/dist/client/hooks/useCreateGCashDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateGCashDepositMutation.js +3 -3
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateGameSessionMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateGameSessionMutation.js +3 -3
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateMayaAppDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaAppDepositMutation.js +3 -3
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateMayaDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaDepositMutation.js +3 -3
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +3 -3
- package/dist/client/hooks/useCreateQRPHDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateQRPHDepositMutation.js +3 -3
- package/dist/client/hooks/useDepositQuery.d.ts +1 -1
- package/dist/client/hooks/useDepositQuery.js +4 -4
- package/dist/client/hooks/useDepositRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useDepositRecordsQuery.js +4 -4
- package/dist/client/hooks/useDepositsCountQuery.d.ts +1 -1
- package/dist/client/hooks/useDepositsCountQuery.js +4 -4
- package/dist/client/hooks/useDisclosure.js +1 -1
- package/dist/client/hooks/useEndGameSessionMutation.d.ts +1 -1
- package/dist/client/hooks/useEndGameSessionMutation.js +3 -3
- package/dist/client/hooks/useFavoriteGamesQuery.d.ts +1 -1
- package/dist/client/hooks/useFavoriteGamesQuery.js +4 -4
- package/dist/client/hooks/useGamesQuery.d.ts +1 -1
- package/dist/client/hooks/useGamesQuery.js +2 -2
- package/dist/client/hooks/useInfiniteQueryHelper.d.ts +1 -1
- package/dist/client/hooks/useInstapayBankListQuery.d.ts +1 -1
- package/dist/client/hooks/useInstapayBankListQuery.js +4 -4
- package/dist/client/hooks/useIsMayaSessionValidQuery.d.ts +1 -1
- package/dist/client/hooks/useIsMayaSessionValidQuery.js +4 -4
- package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +1 -1
- package/dist/client/hooks/useJackpotPayoutsQuery.js +2 -2
- package/dist/client/hooks/useJackpotsQuery.d.ts +1 -1
- package/dist/client/hooks/useJackpotsQuery.js +2 -2
- package/dist/client/hooks/useLocaleInfo.d.ts +1 -1
- package/dist/client/hooks/useLocaleInfo.js +2 -2
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +1 -1
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +3 -3
- package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -1
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +3 -3
- package/dist/client/hooks/useMemberVerificationQuery.d.ts +1 -1
- package/dist/client/hooks/useMemberVerificationQuery.js +4 -4
- package/dist/client/hooks/useMessagesQuery.d.ts +1 -1
- package/dist/client/hooks/useMessagesQuery.js +4 -4
- package/dist/client/hooks/useMobileNumberParser.js +1 -1
- package/dist/client/hooks/usePaymentSettingsQuery.d.ts +1 -1
- package/dist/client/hooks/usePaymentSettingsQuery.js +4 -4
- package/dist/client/hooks/usePlatformQuery.d.ts +1 -1
- package/dist/client/hooks/usePlatformQuery.js +2 -2
- package/dist/client/hooks/useProfileCompletionQuery.d.ts +1 -1
- package/dist/client/hooks/useProfileCompletionQuery.js +4 -4
- package/dist/client/hooks/usePromoQuery.d.ts +1 -1
- package/dist/client/hooks/usePromoQuery.js +2 -2
- package/dist/client/hooks/usePromosQuery.d.ts +1 -1
- package/dist/client/hooks/usePromosQuery.js +2 -2
- package/dist/client/hooks/useSendVerificationCodeMutation.d.ts +1 -1
- package/dist/client/hooks/useSendVerificationCodeMutation.js +2 -2
- package/dist/client/hooks/useSessionQuery.d.ts +1 -1
- package/dist/client/hooks/useSessionQuery.js +2 -2
- package/dist/client/hooks/useSignInMutation.d.ts +1 -1
- package/dist/client/hooks/useSignInMutation.js +2 -2
- package/dist/client/hooks/useSignOutMutation.d.ts +1 -1
- package/dist/client/hooks/useSignOutMutation.js +2 -2
- package/dist/client/hooks/useSignUpMutation.d.ts +1 -1
- package/dist/client/hooks/useSignUpMutation.js +2 -2
- package/dist/client/hooks/useTopWinsQuery.d.ts +1 -1
- package/dist/client/hooks/useTopWinsQuery.js +2 -2
- package/dist/client/hooks/useTournamentsQuery.d.ts +1 -1
- package/dist/client/hooks/useTournamentsQuery.js +2 -2
- package/dist/client/hooks/useTransactionRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useTransactionRecordsQuery.js +4 -4
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +1 -1
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +3 -3
- package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +1 -1
- package/dist/client/hooks/useUnreadMessagesCountQuery.js +4 -4
- package/dist/client/hooks/useWalletQuery.d.ts +1 -1
- package/dist/client/hooks/useWalletQuery.js +4 -4
- package/dist/client/hooks/useWithdrawalRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useWithdrawalRecordsQuery.js +4 -4
- package/dist/client/services/authenticate.js +1 -1
- package/dist/client/services/getSession.d.ts +1 -1
- package/dist/client/services/index.js +4 -4
- package/dist/client/services/signIn.js +1 -1
- package/dist/client/utils/{createRecipeContext.jsx → createRecipeContext.js} +5 -8
- package/dist/client/utils/index.js +2 -2
- package/dist/components/Account/Account.d.ts +1 -1
- package/dist/components/Account/Account.js +127 -0
- package/dist/components/Account/index.js +1 -1
- package/dist/components/AccountInfo/AccountInfo.d.ts +1 -1
- package/dist/components/AccountInfo/AccountInfo.js +18 -0
- package/dist/components/AccountInfo/index.js +1 -1
- package/dist/components/AccountPaymentMethods/index.js +1 -1
- package/dist/components/AccountSecurity/AccountSecurity.d.ts +1 -1
- package/dist/components/AccountSecurity/AccountSecurity.js +47 -0
- package/dist/components/AccountSecurity/index.js +1 -1
- package/dist/components/AccountVerification/index.js +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +38 -0
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/BetRecords/BetRecords.d.ts +1 -1
- package/dist/components/BetRecords/BetRecords.js +192 -0
- package/dist/components/BetRecords/index.js +1 -1
- package/dist/components/Bonus/Bonus.client.d.ts +1 -1
- package/dist/components/Bonus/Bonus.client.js +9 -0
- package/dist/components/Bonus/Bonus.d.ts +1 -1
- package/dist/components/Bonus/Bonus.js +5 -0
- package/dist/components/Bonus/index.js +1 -1
- package/dist/components/Bonuses/Bonuses.d.ts +1 -1
- package/dist/components/Bonuses/Bonuses.js +15 -0
- package/dist/components/Bonuses/index.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.d.ts +1 -1
- package/dist/components/DepositWithdrawal/{AmountChoices.jsx → AmountChoices.js} +7 -10
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +26 -0
- package/dist/components/DepositWithdrawal/Deposit/Deposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/{Deposit.jsx → Deposit.js} +13 -23
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +141 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +147 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +141 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +11 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +129 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +5 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +5 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +14 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/{useOnlineBankDeposit.jsx → useOnlineBankDeposit.js} +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +11 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +128 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +5 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +18 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +8 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/{useQRPHDeposit.jsx → useQRPHDeposit.js} +2 -2
- package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +39 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +1 -1
- package/dist/components/DepositWithdrawal/{DepositWithdrawalTrigger.jsx → DepositWithdrawalTrigger.js} +4 -3
- package/dist/components/DepositWithdrawal/MayaSessionExpired.d.ts +1 -1
- package/dist/components/DepositWithdrawal/MayaSessionExpired.js +5 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.js +59 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +105 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +128 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/{MayaAppWithdrawal.jsx → MayaAppWithdrawal.js} +21 -74
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +105 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/{Withdrawal.jsx → Withdrawal.js} +17 -40
- package/dist/components/DepositWithdrawal/index.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.d.ts +1 -1
- package/dist/components/Disclaimer/Disclaimer.js +14 -0
- package/dist/components/Disclaimer/index.js +1 -1
- package/dist/components/Disclaimer/{useDisclaimer.jsx → useDisclaimer.js} +2 -2
- package/dist/components/Empty.d.ts +1 -1
- package/dist/components/Empty.js +7 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +1 -1
- package/dist/components/FavoriteGames/FavoriteGames.client.js +31 -0
- package/dist/components/FavoriteGames/FavoriteGames.d.ts +1 -1
- package/dist/components/FavoriteGames/FavoriteGames.js +7 -0
- package/dist/components/FavoriteGames/index.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.d.ts +1 -1
- package/dist/components/GameLaunch/GameLaunch.js +99 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +1 -1
- package/dist/components/GameLaunch/{GameLaunchTrigger.jsx → GameLaunchTrigger.js} +6 -5
- package/dist/components/GameLaunch/index.js +2 -2
- package/dist/components/GameProviders/GameProviders.d.ts +2 -2
- package/dist/components/GameProviders/GameProviders.js +32 -0
- package/dist/components/GameProviders/index.js +1 -1
- package/dist/components/Games/Games.client.d.ts +1 -1
- package/dist/components/Games/Games.client.js +84 -0
- package/dist/components/Games/Games.d.ts +1 -1
- package/dist/components/Games/Games.js +11 -0
- package/dist/components/Games/index.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.d.ts +1 -1
- package/dist/components/GamesSearch/GamesSearch.js +38 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +1 -1
- package/dist/components/GamesSearch/{GamesSearchTrigger.jsx → GamesSearchTrigger.js} +4 -3
- package/dist/components/GamesSearch/index.js +2 -2
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/{InfiniteScroll.jsx → InfiniteScroll.js} +2 -7
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.client.js +57 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +1 -1
- package/dist/components/JackpotCounter/{JackpotCounter.jsx → JackpotCounter.js} +4 -3
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.js +114 -0
- package/dist/components/JackpotCounter/index.js +1 -1
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +2 -2
- package/dist/components/Jackpots/JackpotGameProviders.js +38 -0
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItemDesktop.js +44 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItemMobile.js +48 -0
- package/dist/components/Jackpots/JackpotRules.d.ts +1 -1
- package/dist/components/Jackpots/JackpotRules.js +9 -0
- package/dist/components/Jackpots/Jackpots.d.ts +2 -2
- package/dist/components/Jackpots/Jackpots.js +26 -0
- package/dist/components/Jackpots/index.js +1 -1
- package/dist/components/Jackpots/useJackpotItemData.d.ts +2 -2
- package/dist/components/Jackpots/{useJackpotItemData.jsx → useJackpotItemData.js} +8 -7
- package/dist/components/KYC/KYC.d.ts +1 -1
- package/dist/components/KYC/KYC.js +19 -0
- package/dist/components/KYC/KYCTrigger.d.ts +1 -1
- package/dist/components/KYC/{KYCTrigger.jsx → KYCTrigger.js} +4 -3
- package/dist/components/KYC/Step1.d.ts +1 -1
- package/dist/components/KYC/Step1.js +10 -0
- package/dist/components/KYC/Step2.d.ts +1 -1
- package/dist/components/KYC/Step2.js +15 -0
- package/dist/components/KYC/Step3.d.ts +1 -1
- package/dist/components/KYC/Step3.js +11 -0
- package/dist/components/KYC/StepIndicator.d.ts +1 -1
- package/dist/components/KYC/StepIndicator.js +13 -0
- package/dist/components/KYC/UploadDocument.d.ts +1 -1
- package/dist/components/KYC/UploadDocument.js +8 -0
- package/dist/components/KYC/UploadSelfie.d.ts +1 -1
- package/dist/components/KYC/UploadSelfie.js +8 -0
- package/dist/components/KYC/index.js +2 -2
- package/dist/components/KYC/useKYC.js +1 -1
- package/dist/components/Marquee/Marquee.d.ts +1 -1
- package/dist/components/Marquee/Marquee.js +5 -0
- package/dist/components/Marquee/index.js +1 -1
- package/dist/components/Messages/MessageItem.d.ts +1 -1
- package/dist/components/Messages/MessageItem.js +28 -0
- package/dist/components/Messages/MessagePopup.d.ts +1 -1
- package/dist/components/Messages/MessagePopup.js +18 -0
- package/dist/components/Messages/Messages.d.ts +1 -1
- package/dist/components/Messages/Messages.js +31 -0
- package/dist/components/Messages/MessagesTrigger.d.ts +1 -1
- package/dist/components/Messages/{MessagesTrigger.jsx → MessagesTrigger.js} +4 -3
- package/dist/components/Messages/index.js +2 -2
- package/dist/components/Messages/utils.d.ts +1 -1
- package/dist/components/Messages/utils.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.client.d.ts +1 -1
- package/dist/components/PortalProvider/PortalProvider.client.js +26 -0
- package/dist/components/PortalProvider/PortalProvider.d.ts +1 -1
- package/dist/components/PortalProvider/{PortalProvider.jsx → PortalProvider.js} +5 -8
- package/dist/components/PortalProvider/index.js +1 -1
- package/dist/components/Promo/Promo.d.ts +1 -1
- package/dist/components/Promo/Promo.js +8 -0
- package/dist/components/Promo/PromoContent.d.ts +1 -1
- package/dist/components/Promo/PromoContent.js +9 -0
- package/dist/components/Promo/index.js +1 -1
- package/dist/components/Promos/PromoCarousel.d.ts +1 -1
- package/dist/components/Promos/PromoCarousel.js +41 -0
- package/dist/components/Promos/PromoGrid.d.ts +1 -1
- package/dist/components/Promos/PromoGrid.js +12 -0
- package/dist/components/Promos/PromoItem.d.ts +1 -1
- package/dist/components/Promos/PromoItem.js +10 -0
- package/dist/components/Promos/Promos.d.ts +1 -1
- package/dist/components/Promos/Promos.js +11 -0
- package/dist/components/Promos/index.js +1 -1
- package/dist/components/Protected/{Protected.jsx → Protected.js} +1 -1
- package/dist/components/Protected/index.js +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +58 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +8 -0
- package/dist/components/Quests/Quests.d.ts +1 -1
- package/dist/components/Quests/Quests.js +6 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuest.js +16 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +8 -0
- package/dist/components/Quests/index.js +1 -1
- package/dist/components/SignIn/SignIn.d.ts +1 -1
- package/dist/components/SignIn/SignIn.js +15 -0
- package/dist/components/SignIn/SignInForm.d.ts +1 -1
- package/dist/components/SignIn/SignInForm.js +118 -0
- package/dist/components/SignIn/SignInTrigger.d.ts +1 -1
- package/dist/components/SignIn/{SignInTrigger.jsx → SignInTrigger.js} +4 -3
- package/dist/components/SignIn/index.js +2 -2
- package/dist/components/SignUp/SignUp.d.ts +1 -1
- package/dist/components/SignUp/SignUp.js +16 -0
- package/dist/components/SignUp/SignUpForm.d.ts +1 -1
- package/dist/components/SignUp/SignUpForm.js +133 -0
- package/dist/components/SignUp/SignUpTrigger.d.ts +1 -1
- package/dist/components/SignUp/{SignUpTrigger.jsx → SignUpTrigger.js} +4 -3
- package/dist/components/SignUp/index.js +2 -2
- package/dist/components/TopWins/TopWins.client.d.ts +1 -1
- package/dist/components/TopWins/TopWins.client.js +23 -0
- package/dist/components/TopWins/TopWins.d.ts +1 -1
- package/dist/components/TopWins/TopWins.js +7 -0
- package/dist/components/TopWins/index.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.client.js +57 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +1 -1
- package/dist/components/TournamentCounter/{TournamentCounter.jsx → TournamentCounter.js} +4 -3
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +1 -2
- package/dist/components/TournamentCounter/TournamentCounterItem.js +96 -0
- package/dist/components/TournamentCounter/index.js +1 -1
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -1
- package/dist/components/Tournaments/TournamentGameProviders.js +39 -0
- package/dist/components/Tournaments/TournamentItem.d.ts +1 -2
- package/dist/components/Tournaments/TournamentItem.js +97 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +1 -2
- package/dist/components/Tournaments/TournamentItemMobile.js +99 -0
- package/dist/components/Tournaments/TournamentRules.d.ts +1 -1
- package/dist/components/Tournaments/TournamentRules.js +9 -0
- package/dist/components/Tournaments/Tournaments.d.ts +1 -1
- package/dist/components/Tournaments/Tournaments.js +26 -0
- package/dist/components/Tournaments/index.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.d.ts +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.js +87 -0
- package/dist/components/TransactionRecords/TableFilters.d.ts +2 -2
- package/dist/components/TransactionRecords/TableFilters.js +212 -0
- package/dist/components/TransactionRecords/TransactionRecords.d.ts +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.js +10 -0
- package/dist/components/TransactionRecords/TransactionRecordsTable.d.ts +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +62 -0
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.d.ts +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +81 -0
- package/dist/components/TransactionRecords/index.js +1 -1
- package/dist/components/index.js +32 -32
- package/dist/handlers.js +1 -1
- package/dist/icons/AlertCircleIcon.d.ts +1 -1
- package/dist/icons/AlertCircleIcon.js +4 -0
- package/dist/icons/AlertTriangle.d.ts +1 -1
- package/dist/icons/AlertTriangle.js +4 -0
- package/dist/icons/Announcement01Icon.d.ts +1 -1
- package/dist/icons/Announcement01Icon.js +4 -0
- package/dist/icons/ArrowLeftIcon.d.ts +1 -1
- package/dist/icons/ArrowLeftIcon.js +4 -0
- package/dist/icons/ArrowNarrowDownIcon.d.ts +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +4 -0
- package/dist/icons/ArrowNarrowUpIcon.d.ts +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +4 -0
- package/dist/icons/ArrowNarrowUpRightIcon.d.ts +1 -1
- package/dist/icons/ArrowNarrowUpRightIcon.js +4 -0
- package/dist/icons/ArrowRightIcon.d.ts +1 -1
- package/dist/icons/ArrowRightIcon.js +4 -0
- package/dist/icons/Award01Icon.d.ts +1 -1
- package/dist/icons/Award01Icon.js +4 -0
- package/dist/icons/Award02Icon.d.ts +1 -1
- package/dist/icons/Award02Icon.js +4 -0
- package/dist/icons/BankIcon.d.ts +1 -1
- package/dist/icons/BankIcon.js +4 -0
- package/dist/icons/Bell01Icon.d.ts +1 -1
- package/dist/icons/Bell01Icon.js +4 -0
- package/dist/icons/BellRingIcon.d.ts +1 -1
- package/dist/icons/BellRingIcon.js +4 -0
- package/dist/icons/CalendarIcon.d.ts +1 -1
- package/dist/icons/CalendarIcon.js +4 -0
- package/dist/icons/Camera01Icon.d.ts +1 -1
- package/dist/icons/Camera01Icon.js +4 -0
- package/dist/icons/CheckCircleBrokenIcon.d.ts +1 -1
- package/dist/icons/CheckCircleBrokenIcon.js +4 -0
- package/dist/icons/CheckCircleIcon.d.ts +1 -1
- package/dist/icons/CheckCircleIcon.js +4 -0
- package/dist/icons/CheckIcon.d.ts +1 -1
- package/dist/icons/CheckIcon.js +4 -0
- package/dist/icons/CheckVerified02Icon.d.ts +1 -1
- package/dist/icons/CheckVerified02Icon.js +4 -0
- package/dist/icons/ChevronDownIcon.d.ts +1 -1
- package/dist/icons/ChevronDownIcon.js +4 -0
- package/dist/icons/ChevronLeftIcon.d.ts +1 -1
- package/dist/icons/ChevronLeftIcon.js +4 -0
- package/dist/icons/ChevronRightIcon.d.ts +1 -1
- package/dist/icons/ChevronRightIcon.js +4 -0
- package/dist/icons/ChevronUpIcon.d.ts +1 -1
- package/dist/icons/ChevronUpIcon.js +4 -0
- package/dist/icons/ClockStopWatchIcon.d.ts +1 -1
- package/dist/icons/ClockStopWatchIcon.js +4 -0
- package/dist/icons/CoinsHandIcon.d.ts +1 -1
- package/dist/icons/CoinsHandIcon.js +4 -0
- package/dist/icons/CoinsStacked02Icon.d.ts +1 -1
- package/dist/icons/CoinsStacked02Icon.js +4 -0
- package/dist/icons/CoinsSwap02Icon.d.ts +1 -1
- package/dist/icons/CoinsSwap02Icon.js +4 -0
- package/dist/icons/CreditCard02Icon.d.ts +1 -1
- package/dist/icons/CreditCard02Icon.js +4 -0
- package/dist/icons/Diamond01Icon.d.ts +1 -1
- package/dist/icons/Diamond01Icon.js +4 -0
- package/dist/icons/Expand03Icon.d.ts +1 -1
- package/dist/icons/Expand03Icon.js +4 -0
- package/dist/icons/EyeIcon.d.ts +1 -1
- package/dist/icons/EyeIcon.js +4 -0
- package/dist/icons/EyeOffIcon.d.ts +1 -1
- package/dist/icons/EyeOffIcon.js +4 -0
- package/dist/icons/FacebookIcon.d.ts +1 -1
- package/dist/icons/FacebookIcon.js +4 -0
- package/dist/icons/File02Icon.d.ts +1 -1
- package/dist/icons/File02Icon.js +4 -0
- package/dist/icons/FileCheck02Icon.d.ts +1 -1
- package/dist/icons/FileCheck02Icon.js +4 -0
- package/dist/icons/Flag06Icon.d.ts +1 -1
- package/dist/icons/Flag06Icon.js +4 -0
- package/dist/icons/Gift01Icon.d.ts +1 -1
- package/dist/icons/Gift01Icon.js +4 -0
- package/dist/icons/GoogleIcon.d.ts +1 -1
- package/dist/icons/GoogleIcon.js +4 -0
- package/dist/icons/HelpCircleIcon.d.ts +1 -1
- package/dist/icons/HelpCircleIcon.js +4 -0
- package/dist/icons/InfoCircleIcon.d.ts +1 -1
- package/dist/icons/InfoCircleIcon.js +4 -0
- package/dist/icons/Lock01Icon.d.ts +1 -1
- package/dist/icons/Lock01Icon.js +4 -0
- package/dist/icons/Logout01Icon.d.ts +1 -1
- package/dist/icons/Logout01Icon.js +4 -0
- package/dist/icons/MarkerPin06Icon.d.ts +1 -1
- package/dist/icons/MarkerPin06Icon.js +4 -0
- package/dist/icons/Menu01Icon.d.ts +1 -1
- package/dist/icons/Menu01Icon.js +4 -0
- package/dist/icons/Menu03Icon.d.ts +1 -1
- package/dist/icons/Menu03Icon.js +4 -0
- package/dist/icons/PiggyBank02Icon.d.ts +1 -1
- package/dist/icons/PiggyBank02Icon.js +4 -0
- package/dist/icons/QrCode02Icon.d.ts +1 -1
- package/dist/icons/QrCode02Icon.js +4 -0
- package/dist/icons/SearchLgIcon.d.ts +1 -1
- package/dist/icons/SearchLgIcon.js +4 -0
- package/dist/icons/SearchRefractionIcon.d.ts +1 -1
- package/dist/icons/SearchRefractionIcon.js +4 -0
- package/dist/icons/Settings02Icon.d.ts +1 -1
- package/dist/icons/Settings02Icon.js +4 -0
- package/dist/icons/SpinnerIcon.d.ts +1 -1
- package/dist/icons/SpinnerIcon.js +5 -0
- package/dist/icons/Star01Icon.d.ts +1 -1
- package/dist/icons/Star01Icon.js +4 -0
- package/dist/icons/StarIcon.d.ts +1 -1
- package/dist/icons/StarIcon.js +4 -0
- package/dist/icons/StopWatchIcon.d.ts +1 -1
- package/dist/icons/StopWatchIcon.js +4 -0
- package/dist/icons/Target04Icon.d.ts +1 -1
- package/dist/icons/Target04Icon.js +4 -0
- package/dist/icons/Trophy01Icon.d.ts +1 -1
- package/dist/icons/Trophy01Icon.js +4 -0
- package/dist/icons/UploadCloud02Icon.d.ts +1 -1
- package/dist/icons/UploadCloud02Icon.js +4 -0
- package/dist/icons/User01Icon.d.ts +1 -1
- package/dist/icons/User01Icon.js +4 -0
- package/dist/icons/Wallet02Icon.d.ts +1 -1
- package/dist/icons/Wallet02Icon.js +4 -0
- package/dist/icons/XIcon.d.ts +1 -1
- package/dist/icons/XIcon.js +4 -0
- package/dist/icons/index.js +56 -56
- package/dist/middleware.js +1 -1
- package/dist/server/services/authenticate.js +1 -1
- package/dist/server/services/getSession.d.ts +1 -1
- package/dist/server/services/getSession.js +1 -1
- package/dist/server/services/index.js +4 -4
- package/dist/server/services/signIn.js +1 -1
- package/dist/server/services/signOut.js +1 -1
- package/dist/server/utils/index.js +24 -24
- package/dist/server/utils/prefetchAccountQuery.js +3 -3
- package/dist/server/utils/prefetchAvailablePromosQuery.js +3 -3
- package/dist/server/utils/prefetchBetRecordsQuery.js +3 -3
- package/dist/server/utils/prefetchBonusesQuery.js +3 -3
- package/dist/server/utils/prefetchCashbacksQuery.js +2 -2
- package/dist/server/utils/prefetchDepositQuery.js +3 -3
- package/dist/server/utils/prefetchDepositRecordsQuery.js +3 -3
- package/dist/server/utils/prefetchDepositsCountQuery.js +3 -3
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +3 -3
- package/dist/server/utils/prefetchGamesQuery.js +2 -2
- package/dist/server/utils/prefetchInstapayBankListQuery.js +3 -3
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +3 -3
- package/dist/server/utils/prefetchJackpotsQuery.js +2 -2
- package/dist/server/utils/prefetchMemberVerificationQuery.js +3 -3
- package/dist/server/utils/prefetchPaymentSettingsQuery.js +3 -3
- package/dist/server/utils/prefetchPlatformQuery.js +2 -2
- package/dist/server/utils/prefetchProfileCompletionQuery.js +3 -3
- package/dist/server/utils/prefetchPromoQuery.js +2 -2
- package/dist/server/utils/prefetchPromosQuery.js +2 -2
- package/dist/server/utils/prefetchSessionQuery.js +2 -2
- package/dist/server/utils/prefetchTopWinsQuery.js +2 -2
- package/dist/server/utils/prefetchTournamentsQuery.js +2 -2
- package/dist/server/utils/prefetchTransactionRecordsQuery.js +3 -3
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.js +3 -3
- package/dist/server/utils/prefetchWalletQuery.js +3 -3
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +3 -3
- package/dist/third-parties/FacebookPixel/index.js +1 -1
- package/dist/third-parties/GoogleRecaptcha/index.js +1 -1
- package/dist/third-parties/index.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/ui/AlertDialog/{AlertDialog.jsx → AlertDialog.js} +2 -2
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/index.js +1 -1
- package/dist/ui/Avatar/{Avatar.jsx → Avatar.js} +2 -2
- package/dist/ui/Avatar/avatar.recipe.js +1 -1
- package/dist/ui/Avatar/index.js +1 -1
- package/dist/ui/Badge/Badge.js +12 -0
- package/dist/ui/Badge/badge.recipe.js +2 -2
- package/dist/ui/Badge/index.js +1 -1
- package/dist/ui/Button/Button.d.ts +1 -1
- package/dist/ui/Button/Button.js +12 -0
- package/dist/ui/Button/index.js +1 -1
- package/dist/ui/Checkbox/{Checkbox.jsx → Checkbox.js} +2 -2
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/index.js +1 -1
- package/dist/ui/Clipboard/{Clipboard.jsx → Clipboard.js} +2 -2
- package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
- package/dist/ui/Clipboard/index.js +1 -1
- package/dist/ui/Collapsible/{Collapsible.jsx → Collapsible.js} +2 -2
- package/dist/ui/Collapsible/collapsible.recipe.js +1 -1
- package/dist/ui/Collapsible/index.js +1 -1
- package/dist/ui/Combobox/{Combobox.jsx → Combobox.js} +2 -2
- package/dist/ui/Combobox/combobox.recipe.js +1 -1
- package/dist/ui/Combobox/index.js +1 -1
- package/dist/ui/DatePicker/{DatePicker.jsx → DatePicker.js} +2 -2
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/DatePicker/index.js +1 -1
- package/dist/ui/Dialog/{Dialog.jsx → Dialog.js} +2 -2
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/index.js +1 -1
- package/dist/ui/Drawer/{Drawer.jsx → Drawer.js} +2 -2
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/index.js +1 -1
- package/dist/ui/Field/{Field.jsx → Field.js} +2 -2
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/index.js +1 -1
- package/dist/ui/IconButton/IconButton.d.ts +1 -1
- package/dist/ui/IconButton/IconButton.js +12 -0
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/index.js +1 -1
- package/dist/ui/Menu/index.js +1 -1
- package/dist/ui/NumberInput/{NumberInput.jsx → NumberInput.js} +2 -2
- package/dist/ui/NumberInput/index.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/PasswordInput/{PasswordInput.jsx → PasswordInput.js} +2 -2
- package/dist/ui/PasswordInput/index.js +1 -1
- package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -1
- package/dist/ui/PinInput/{PinInput.jsx → PinInput.js} +2 -2
- package/dist/ui/PinInput/index.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/Popover/{Popover.jsx → Popover.js} +2 -2
- package/dist/ui/Popover/index.js +1 -1
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Presence.d.ts +1 -1
- package/dist/ui/Presence.js +7 -0
- package/dist/ui/Progress/{Progress.jsx → Progress.js} +2 -2
- package/dist/ui/Progress/index.js +1 -1
- package/dist/ui/Progress/progress.recipe.js +1 -1
- package/dist/ui/Prose.d.ts +1 -1
- package/dist/ui/Prose.js +5 -0
- package/dist/ui/SegmentGroup/{SegmentGroup.jsx → SegmentGroup.js} +2 -2
- package/dist/ui/SegmentGroup/index.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/Select/{Select.jsx → Select.js} +2 -2
- package/dist/ui/Select/index.js +1 -1
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Table/{Table.jsx → Table.js} +2 -2
- package/dist/ui/Table/index.js +1 -1
- package/dist/ui/Table/table.recipe.js +2 -2
- package/dist/ui/Tabs/{Tabs.jsx → Tabs.js} +2 -2
- package/dist/ui/Tabs/index.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/ui/Tooltip/index.js +1 -1
- package/dist/ui/index.js +26 -26
- package/dist/utils/formatNumber.js +1 -1
- package/dist/utils/getGameImageUrl.js +1 -1
- package/dist/utils/getLocaleInfo.js +175 -0
- package/dist/utils/index.js +12 -12
- package/package.json +2 -7
- package/dist/components/Account/Account.jsx +0 -313
- package/dist/components/AccountInfo/AccountInfo.jsx +0 -113
- package/dist/components/AccountSecurity/AccountSecurity.jsx +0 -142
- package/dist/components/Banner/Banner.jsx +0 -51
- package/dist/components/BetRecords/BetRecords.jsx +0 -470
- package/dist/components/Bonus/Bonus.client.jsx +0 -144
- package/dist/components/Bonus/Bonus.jsx +0 -4
- package/dist/components/Bonuses/Bonuses.jsx +0 -87
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.jsx +0 -73
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +0 -213
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +0 -219
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +0 -213
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +0 -15
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +0 -203
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +0 -15
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +0 -13
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +0 -90
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +0 -15
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +0 -197
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +0 -14
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +0 -104
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +0 -19
- package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +0 -95
- package/dist/components/DepositWithdrawal/MayaSessionExpired.jsx +0 -13
- package/dist/components/DepositWithdrawal/PaymentMethods.jsx +0 -75
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.jsx +0 -169
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.jsx +0 -218
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.jsx +0 -169
- package/dist/components/Disclaimer/Disclaimer.jsx +0 -45
- package/dist/components/Empty.jsx +0 -62
- package/dist/components/FavoriteGames/FavoriteGames.client.jsx +0 -63
- package/dist/components/FavoriteGames/FavoriteGames.jsx +0 -6
- package/dist/components/GameLaunch/GameLaunch.jsx +0 -188
- package/dist/components/GameProviders/GameProviders.jsx +0 -60
- package/dist/components/Games/Games.client.jsx +0 -118
- package/dist/components/Games/Games.jsx +0 -10
- package/dist/components/GamesSearch/GamesSearch.jsx +0 -110
- package/dist/components/JackpotCounter/JackpotCounter.client.jsx +0 -84
- package/dist/components/JackpotCounter/JackpotCounterItem.jsx +0 -317
- package/dist/components/Jackpots/JackpotGameProviders.jsx +0 -59
- package/dist/components/Jackpots/JackpotItemDesktop.jsx +0 -251
- package/dist/components/Jackpots/JackpotItemMobile.jsx +0 -271
- package/dist/components/Jackpots/JackpotRules.jsx +0 -43
- package/dist/components/Jackpots/Jackpots.jsx +0 -37
- package/dist/components/KYC/KYC.jsx +0 -39
- package/dist/components/KYC/Step1.jsx +0 -37
- package/dist/components/KYC/Step2.jsx +0 -86
- package/dist/components/KYC/Step3.jsx +0 -68
- package/dist/components/KYC/StepIndicator.jsx +0 -22
- package/dist/components/KYC/UploadDocument.jsx +0 -30
- package/dist/components/KYC/UploadSelfie.jsx +0 -28
- package/dist/components/Marquee/Marquee.jsx +0 -20
- package/dist/components/Messages/MessageItem.jsx +0 -47
- package/dist/components/Messages/MessagePopup.jsx +0 -43
- package/dist/components/Messages/Messages.jsx +0 -87
- package/dist/components/PortalProvider/PortalProvider.client.jsx +0 -54
- package/dist/components/Promo/Promo.jsx +0 -7
- package/dist/components/Promo/PromoContent.jsx +0 -104
- package/dist/components/Promos/PromoCarousel.jsx +0 -69
- package/dist/components/Promos/PromoGrid.jsx +0 -24
- package/dist/components/Promos/PromoItem.jsx +0 -24
- package/dist/components/Promos/Promos.jsx +0 -10
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.jsx +0 -104
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.jsx +0 -46
- package/dist/components/Quests/Quests.jsx +0 -12
- package/dist/components/Quests/WageringQuest/WageringQuest.jsx +0 -58
- package/dist/components/Quests/WageringQuest/WageringQuestModal.jsx +0 -38
- package/dist/components/SignIn/SignIn.jsx +0 -29
- package/dist/components/SignIn/SignInForm.jsx +0 -233
- package/dist/components/SignUp/SignUp.jsx +0 -32
- package/dist/components/SignUp/SignUpForm.jsx +0 -230
- package/dist/components/TopWins/TopWins.client.jsx +0 -48
- package/dist/components/TopWins/TopWins.jsx +0 -6
- package/dist/components/TournamentCounter/TournamentCounter.client.jsx +0 -84
- package/dist/components/TournamentCounter/TournamentCounterItem.jsx +0 -233
- package/dist/components/Tournaments/TournamentGameProviders.jsx +0 -60
- package/dist/components/Tournaments/TournamentItem.jsx +0 -224
- package/dist/components/Tournaments/TournamentItemMobile.jsx +0 -242
- package/dist/components/Tournaments/TournamentRules.jsx +0 -43
- package/dist/components/Tournaments/Tournaments.jsx +0 -37
- package/dist/components/TransactionRecords/DepositRecordsTable.jsx +0 -193
- package/dist/components/TransactionRecords/TableFilters.jsx +0 -446
- package/dist/components/TransactionRecords/TransactionRecords.jsx +0 -39
- package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +0 -147
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +0 -182
- package/dist/icons/AlertCircleIcon.jsx +0 -5
- package/dist/icons/AlertTriangle.jsx +0 -5
- package/dist/icons/Announcement01Icon.jsx +0 -5
- package/dist/icons/ArrowLeftIcon.jsx +0 -5
- package/dist/icons/ArrowNarrowDownIcon.jsx +0 -5
- package/dist/icons/ArrowNarrowUpIcon.jsx +0 -5
- package/dist/icons/ArrowNarrowUpRightIcon.jsx +0 -5
- package/dist/icons/ArrowRightIcon.jsx +0 -5
- package/dist/icons/Award01Icon.jsx +0 -5
- package/dist/icons/Award02Icon.jsx +0 -5
- package/dist/icons/BankIcon.jsx +0 -5
- package/dist/icons/Bell01Icon.jsx +0 -5
- package/dist/icons/BellRingIcon.jsx +0 -5
- package/dist/icons/CalendarIcon.jsx +0 -5
- package/dist/icons/Camera01Icon.jsx +0 -6
- package/dist/icons/CheckCircleBrokenIcon.jsx +0 -5
- package/dist/icons/CheckCircleIcon.jsx +0 -5
- package/dist/icons/CheckIcon.jsx +0 -5
- package/dist/icons/CheckVerified02Icon.jsx +0 -5
- package/dist/icons/ChevronDownIcon.jsx +0 -5
- package/dist/icons/ChevronLeftIcon.jsx +0 -5
- package/dist/icons/ChevronRightIcon.jsx +0 -5
- package/dist/icons/ChevronUpIcon.jsx +0 -5
- package/dist/icons/ClockStopWatchIcon.jsx +0 -5
- package/dist/icons/CoinsHandIcon.jsx +0 -5
- package/dist/icons/CoinsStacked02Icon.jsx +0 -5
- package/dist/icons/CoinsSwap02Icon.jsx +0 -5
- package/dist/icons/CreditCard02Icon.jsx +0 -5
- package/dist/icons/Diamond01Icon.jsx +0 -5
- package/dist/icons/Expand03Icon.jsx +0 -5
- package/dist/icons/EyeIcon.jsx +0 -6
- package/dist/icons/EyeOffIcon.jsx +0 -5
- package/dist/icons/FacebookIcon.jsx +0 -6
- package/dist/icons/File02Icon.jsx +0 -5
- package/dist/icons/FileCheck02Icon.jsx +0 -5
- package/dist/icons/Flag06Icon.jsx +0 -5
- package/dist/icons/Gift01Icon.jsx +0 -5
- package/dist/icons/GoogleIcon.jsx +0 -9
- package/dist/icons/HelpCircleIcon.jsx +0 -5
- package/dist/icons/InfoCircleIcon.jsx +0 -5
- package/dist/icons/Lock01Icon.jsx +0 -5
- package/dist/icons/Logout01Icon.jsx +0 -5
- package/dist/icons/MarkerPin06Icon.jsx +0 -5
- package/dist/icons/Menu01Icon.jsx +0 -5
- package/dist/icons/Menu03Icon.jsx +0 -5
- package/dist/icons/PiggyBank02Icon.jsx +0 -5
- package/dist/icons/QrCode02Icon.jsx +0 -5
- package/dist/icons/SearchLgIcon.jsx +0 -5
- package/dist/icons/SearchRefractionIcon.jsx +0 -5
- package/dist/icons/Settings02Icon.jsx +0 -6
- package/dist/icons/SpinnerIcon.jsx +0 -9
- package/dist/icons/Star01Icon.jsx +0 -5
- package/dist/icons/StarIcon.jsx +0 -5
- package/dist/icons/StopWatchIcon.jsx +0 -5
- package/dist/icons/Target04Icon.jsx +0 -5
- package/dist/icons/Trophy01Icon.jsx +0 -5
- package/dist/icons/UploadCloud02Icon.jsx +0 -5
- package/dist/icons/User01Icon.jsx +0 -5
- package/dist/icons/Wallet02Icon.jsx +0 -5
- package/dist/icons/XIcon.jsx +0 -5
- package/dist/ui/Badge/Badge.jsx +0 -11
- package/dist/ui/Button/Button.jsx +0 -11
- package/dist/ui/IconButton/IconButton.jsx +0 -11
- package/dist/ui/Presence.jsx +0 -6
- package/dist/ui/Prose.jsx +0 -4
- package/dist/utils/getLocaleInfo.jsx +0 -237
- /package/dist/components/AccountPaymentMethods/{AccountPaymentMethods.jsx → AccountPaymentMethods.js} +0 -0
- /package/dist/components/AccountVerification/{AccountVerification.jsx → AccountVerification.js} +0 -0
- /package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/{OnlineBankDepositContext.jsx → OnlineBankDepositContext.js} +0 -0
- /package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/{QRPHDepositContext.jsx → QRPHDepositContext.js} +0 -0
- /package/dist/components/KYC/{KYCContext.jsx → KYCContext.js} +0 -0
- /package/dist/third-parties/FacebookPixel/{FacebookPixel.jsx → FacebookPixel.js} +0 -0
- /package/dist/third-parties/GoogleRecaptcha/{GoogleRecaptcha.jsx → GoogleRecaptcha.js} +0 -0
- /package/dist/ui/Menu/{Menu.jsx → Menu.js} +0 -0
- /package/dist/ui/Tooltip/{Tooltip.jsx → Tooltip.js} +0 -0
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { Progress } from '@ark-ui/react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import { useState } from 'react';
|
|
5
|
-
import { twMerge } from 'tailwind-merge';
|
|
6
|
-
import { ArrowNarrowUpRightIcon, ChevronLeftIcon, ChevronRightIcon, Trophy01Icon, } from '../../icons';
|
|
7
|
-
import { ArrowNarrowDownIcon } from '../../icons/ArrowNarrowDownIcon';
|
|
8
|
-
import { ArrowNarrowUpIcon } from '../../icons/ArrowNarrowUpIcon';
|
|
9
|
-
import { StarIcon } from '../../icons/StarIcon';
|
|
10
|
-
import closeChest from '../../images/close-chest.png';
|
|
11
|
-
import firstPlace from '../../images/first-place.png';
|
|
12
|
-
import openChest from '../../images/open-chest.png';
|
|
13
|
-
import { Button } from '../../ui';
|
|
14
|
-
import { formatNumber } from '../../utils';
|
|
15
|
-
import { maskName } from '../JackpotCounter/JackpotCounterItem';
|
|
16
|
-
import styles from '../JackpotCounter/JackpotCounterItem.module.css';
|
|
17
|
-
import { JackpotGameProviders } from './JackpotGameProviders';
|
|
18
|
-
import { JackpotRules } from './JackpotRules';
|
|
19
|
-
import { useJackpotItemData } from './useJackpotItemData';
|
|
20
|
-
export function JackpotItemMobile({ jackpot, gameProviders, }) {
|
|
21
|
-
const { jackpotPayouts, topJackpotPayout, filteredGameProviders, localeInfo, isPayingOut, jackpotAmount, arrowImages, calculatePercentage, getAccumulatingJackpotDescription, starTierStyles, } = useJackpotItemData({ jackpot, gameProviders });
|
|
22
|
-
const [isDetailsVisible, setIsDetailsVisible] = useState(false);
|
|
23
|
-
return (<div className="bg-bg-primary border-border-primary rounded-2xl border">
|
|
24
|
-
<div className={twMerge('bg-bg-tertiary relative flex shrink-0 rounded-2xl p-3 text-center lg:gap-4 lg:p-5')}>
|
|
25
|
-
<div className="z-1 relative flex flex-1 flex-col">
|
|
26
|
-
<div className="flex h-full flex-col justify-between">
|
|
27
|
-
<div className="flex w-full justify-between">
|
|
28
|
-
<div className="flex w-full flex-col">
|
|
29
|
-
<div className="relative flex w-full justify-between">
|
|
30
|
-
<div>
|
|
31
|
-
{/* Badge */}
|
|
32
|
-
|
|
33
|
-
{isPayingOut ? (<div className="border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium">
|
|
34
|
-
<span className="full bg-utility-success-500 size-1.5 animate-pulse rounded"/>
|
|
35
|
-
Paying Out
|
|
36
|
-
</div>) : (<div className="border-utility-blue-200 bg-utility-blue-50 text-utility-blue-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium">
|
|
37
|
-
<ArrowNarrowUpRightIcon className="text-utility-blue-500 size-3.5"/>
|
|
38
|
-
Accumulating
|
|
39
|
-
</div>)}
|
|
40
|
-
|
|
41
|
-
<div className="text-text-primary-900 mt-1 text-left text-lg font-medium lg:mt-5 lg:text-2xl">
|
|
42
|
-
{jackpot.name}
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<div className="bg-bg-primary text-brand-400 mt-1.5 w-fit rounded-md px-2 py-1 text-2xl font-bold lg:mt-2 lg:text-4xl">
|
|
46
|
-
{formatNumber(jackpotAmount, {
|
|
47
|
-
currency: localeInfo.currency.code,
|
|
48
|
-
minDecimalPlaces: 2,
|
|
49
|
-
maxDecimalPlaces: 2,
|
|
50
|
-
})}
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
<div className="z-1 bottom-[-60] right-0 block lg:absolute">
|
|
54
|
-
<Image width={100} height={100} src={isPayingOut ? openChest : closeChest} alt="closeChest" quality={100} className="size-full h-auto w-[100px]"/>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
{/* Progress Bar */}
|
|
62
|
-
|
|
63
|
-
<div className="mt-3 lg:mt-4">
|
|
64
|
-
<div className="mb-1 flex justify-between">
|
|
65
|
-
<div className="text-text-primary-900 text-xs font-semibold">
|
|
66
|
-
{formatNumber(0, {
|
|
67
|
-
currency: localeInfo.currency.code,
|
|
68
|
-
compact: true,
|
|
69
|
-
})}
|
|
70
|
-
</div>
|
|
71
|
-
|
|
72
|
-
<div className="relative flex items-center justify-end gap-1.5">
|
|
73
|
-
{isPayingOut ? (<div className="flex w-6 items-center">
|
|
74
|
-
<div className={twMerge('absolute left-0', styles['animate-arrow-red-flash-1'])}>
|
|
75
|
-
<ChevronLeftIcon className="size-4.5"/>
|
|
76
|
-
</div>
|
|
77
|
-
<div className={twMerge('absolute left-1.5', styles['animate-arrow-red-flash-2'])}>
|
|
78
|
-
<ChevronLeftIcon className="size-4.5"/>
|
|
79
|
-
</div>
|
|
80
|
-
<div className={twMerge('absolute left-3', styles['animate-arrow-red-flash-3'])}>
|
|
81
|
-
<ChevronLeftIcon className="size-4.5"/>
|
|
82
|
-
</div>
|
|
83
|
-
</div>) : (<div className="flex w-6 items-center">
|
|
84
|
-
<div className={twMerge('absolute left-0', styles['animate-arrow-green-flash-1'])}>
|
|
85
|
-
<ChevronRightIcon className="size-4.5"/>
|
|
86
|
-
</div>
|
|
87
|
-
<div className={twMerge('absolute left-1.5', styles['animate-arrow-green-flash-2'])}>
|
|
88
|
-
<ChevronRightIcon className="size-4.5"/>
|
|
89
|
-
</div>
|
|
90
|
-
<div className={twMerge('absolute left-3', styles['animate-arrow-green-flash-3'])}>
|
|
91
|
-
<ChevronRightIcon className="size-4.5"/>
|
|
92
|
-
</div>
|
|
93
|
-
</div>)}
|
|
94
|
-
|
|
95
|
-
<div className="text-text-primary-900 text-xs font-semibold">
|
|
96
|
-
{formatNumber(jackpot?.maximumJackpotPoolLimit, {
|
|
97
|
-
currency: localeInfo.currency.code,
|
|
98
|
-
compact: true,
|
|
99
|
-
})}
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
<Progress.Root className="bg-bg-primary h-2 w-full rounded-full lg:h-4" max={100} value={calculatePercentage(Number(jackpot.pool), Number(jackpot.maximumJackpotPoolLimit))}>
|
|
105
|
-
<Progress.Track className="bg-bg-primary h-full overflow-hidden rounded-full">
|
|
106
|
-
<Progress.Range className="bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5">
|
|
107
|
-
<div className="pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5" aria-hidden="true">
|
|
108
|
-
{arrowImages}
|
|
109
|
-
</div>
|
|
110
|
-
</Progress.Range>
|
|
111
|
-
</Progress.Track>
|
|
112
|
-
</Progress.Root>
|
|
113
|
-
|
|
114
|
-
<div className="mt-1 block text-start text-2xs lg:hidden">
|
|
115
|
-
{isPayingOut
|
|
116
|
-
? `The pot has hit ${formatNumber(jackpot?.maximumJackpotPoolLimit, {
|
|
117
|
-
currency: localeInfo.currency.code,
|
|
118
|
-
compact: true,
|
|
119
|
-
})} Play now for your chance to win big! 🔥`
|
|
120
|
-
: getAccumulatingJackpotDescription(Number(jackpot?.pool) ?? 0, Number(jackpot?.maximumJackpotPoolLimit) ?? 0)}
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
|
|
124
|
-
{/* Top Payout */}
|
|
125
|
-
|
|
126
|
-
{topJackpotPayout.amount ? (<div>
|
|
127
|
-
<div className="bg-bg-primary relative mt-4 flex w-full gap-4 rounded-lg p-4">
|
|
128
|
-
<div className="border-yellow-400 relative h-18 w-18 rounded-full border">
|
|
129
|
-
<div className="bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold">
|
|
130
|
-
1st
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
|
|
134
|
-
<div className="flex flex-col gap-1 text-left">
|
|
135
|
-
<div className="border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium">
|
|
136
|
-
<Trophy01Icon className="text-utility-brand-600 size-3.5"/>
|
|
137
|
-
Top Payout
|
|
138
|
-
</div>
|
|
139
|
-
|
|
140
|
-
<div className="font-semibold">
|
|
141
|
-
{maskName(topJackpotPayout.member.name)}
|
|
142
|
-
</div>
|
|
143
|
-
<div className="text-brand-400 text-2xl">
|
|
144
|
-
{formatNumber(topJackpotPayout.amount, {
|
|
145
|
-
currency: localeInfo.currency.code,
|
|
146
|
-
minDecimalPlaces: 2,
|
|
147
|
-
maxDecimalPlaces: 2,
|
|
148
|
-
})}
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</div>) : (<div className="bg-bg-primary relative mt-4 flex w-full gap-4 rounded-lg p-4">
|
|
153
|
-
<Image width={66} height={87} src={firstPlace} alt="closeChest" className="size-full h-auto w-[66px] mix-blend-luminosity"/>
|
|
154
|
-
|
|
155
|
-
<div className="flex flex-col gap-1 text-left">
|
|
156
|
-
<div className="border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium">
|
|
157
|
-
<Trophy01Icon className="text-utility-brand-600 size-3.5"/>
|
|
158
|
-
Top Payout
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<div className="font-semibold">No winners yet</div>
|
|
162
|
-
<div className="text-text-secondary-700 text-xs">
|
|
163
|
-
You could be the first to win the tournament!
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
</div>)}
|
|
167
|
-
|
|
168
|
-
<Button variant="outline" className={twMerge('mt-5.5 px-3.5 py-2.5 text-sm', isDetailsVisible ? 'hidden' : 'flex')} onClick={() => setIsDetailsVisible(!isDetailsVisible)}>
|
|
169
|
-
<div className="flex gap-1.5">
|
|
170
|
-
See Details
|
|
171
|
-
<ArrowNarrowDownIcon className="size-5"/>
|
|
172
|
-
</div>
|
|
173
|
-
</Button>
|
|
174
|
-
</div>
|
|
175
|
-
|
|
176
|
-
{/* Paying Out Animation */}
|
|
177
|
-
|
|
178
|
-
{isPayingOut && (<div className={twMerge(styles['light-rays'], 'absolute right-0 top-0 rounded-2xl [--light-rays-top:15%] lg:[--light-rays-top:150px]')}></div>)}
|
|
179
|
-
</div>
|
|
180
|
-
|
|
181
|
-
{isDetailsVisible && (<div>
|
|
182
|
-
{/* Leaderboard */}
|
|
183
|
-
|
|
184
|
-
<div className="z-1 flex-1">
|
|
185
|
-
<div className="flex items-center justify-between p-3">
|
|
186
|
-
<div className="flex gap-2">
|
|
187
|
-
<div className="text-text-primary-900 text-lg font-semibold">
|
|
188
|
-
{jackpotPayouts.length ? 'Leaderboard' : 'Starting soon!'}
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
<JackpotRules jackpotRules={jackpot.description}/>
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<div>
|
|
195
|
-
<div className="border-gray-200 overflow-hidden">
|
|
196
|
-
<table className="w-full">
|
|
197
|
-
<thead>
|
|
198
|
-
<tr className="bg-bg-secondary text-text-tertiary-600 h-8 text-center text-xs font-medium">
|
|
199
|
-
<th className="w-[52px]">#</th>
|
|
200
|
-
<th>Player</th>
|
|
201
|
-
<th>Multiplier</th>
|
|
202
|
-
<th>Prize</th>
|
|
203
|
-
</tr>
|
|
204
|
-
</thead>
|
|
205
|
-
<tbody>
|
|
206
|
-
{jackpotPayouts.length ? (<>
|
|
207
|
-
{jackpotPayouts.map((jackpotPayout, i) => (<tr key={i} className="bg-bg-primary text-text-secondary-700 text-center text-sm">
|
|
208
|
-
<td className="border-border-secondary h-12 w-[52px] border-t-2">
|
|
209
|
-
{i + 1 < 6 ? (<div className="relative">
|
|
210
|
-
<StarIcon className={twMerge('mx-auto size-6.5', starTierStyles[i].starColor)}/>
|
|
211
|
-
<span className={twMerge('absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold', starTierStyles[i].numberColor)}>
|
|
212
|
-
{i + 1}
|
|
213
|
-
</span>
|
|
214
|
-
</div>) : (i + 1)}
|
|
215
|
-
</td>
|
|
216
|
-
<td className="border-border-secondary h-12 border-t-2">
|
|
217
|
-
{maskName(jackpotPayout.member.name)}
|
|
218
|
-
</td>
|
|
219
|
-
<td className="border-border-secondary h-12 border-t-2">
|
|
220
|
-
{jackpotPayout.multiplier}x
|
|
221
|
-
</td>
|
|
222
|
-
<td className="border-border-secondary text-brand-400 h-12 border-t-2">
|
|
223
|
-
{formatNumber(jackpotPayout.amount, {
|
|
224
|
-
currency: localeInfo.currency.code,
|
|
225
|
-
minDecimalPlaces: 2,
|
|
226
|
-
maxDecimalPlaces: 2,
|
|
227
|
-
})}
|
|
228
|
-
</td>
|
|
229
|
-
</tr>))}
|
|
230
|
-
</>) : (<>
|
|
231
|
-
{Array.from({ length: 10 }).map((_, i) => (<tr key={i} className="bg-bg-primary text-text-secondary-700 text-center text-sm">
|
|
232
|
-
<td className="border-border-secondary h-12 w-[52px] border-t-2">
|
|
233
|
-
{i + 1 < 6 ? (<div className="relative">
|
|
234
|
-
<StarIcon className={twMerge('mx-auto size-6.5', starTierStyles[i].starColor)}/>
|
|
235
|
-
<span className={twMerge('absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold', starTierStyles[i].numberColor)}>
|
|
236
|
-
{i + 1}
|
|
237
|
-
</span>
|
|
238
|
-
</div>) : (i + 1)}
|
|
239
|
-
</td>
|
|
240
|
-
<td className="border-border-secondary h-12 border-t-2">
|
|
241
|
-
-
|
|
242
|
-
</td>
|
|
243
|
-
<td className="border-border-secondary h-12 border-t-2">
|
|
244
|
-
-
|
|
245
|
-
</td>
|
|
246
|
-
<td className="border-border-secondary h-12 border-t-2">
|
|
247
|
-
-
|
|
248
|
-
</td>
|
|
249
|
-
</tr>))}
|
|
250
|
-
</>)}
|
|
251
|
-
</tbody>
|
|
252
|
-
</table>
|
|
253
|
-
</div>
|
|
254
|
-
</div>
|
|
255
|
-
</div>
|
|
256
|
-
|
|
257
|
-
{/* Game Providers */}
|
|
258
|
-
|
|
259
|
-
{Boolean(filteredGameProviders.length) && (<JackpotGameProviders gameProviders={gameProviders}/>)}
|
|
260
|
-
|
|
261
|
-
<div className="m-3">
|
|
262
|
-
<Button variant="outline" className={twMerge('px-3.5 py-2.5 text-sm', !isDetailsVisible ? 'hidden' : 'flex')} onClick={() => setIsDetailsVisible(!isDetailsVisible)}>
|
|
263
|
-
<div className="flex gap-1.5">
|
|
264
|
-
Hide
|
|
265
|
-
<ArrowNarrowUpIcon className="size-5"/>
|
|
266
|
-
</div>
|
|
267
|
-
</Button>
|
|
268
|
-
</div>
|
|
269
|
-
</div>)}
|
|
270
|
-
</div>);
|
|
271
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
|
-
import { XIcon } from '../../icons';
|
|
4
|
-
import { Flag06Icon } from '../../icons/Flag06Icon';
|
|
5
|
-
import { Dialog } from '../../ui';
|
|
6
|
-
export function JackpotRules(props) {
|
|
7
|
-
return (<Dialog.Root lazyMount unmountOnExit closeOnEscape={false} closeOnInteractOutside={false}>
|
|
8
|
-
<Dialog.Trigger asChild>
|
|
9
|
-
{props.children ?? (<button type="button" className="text-button-tertiary-fg flex text-sm font-semibold">
|
|
10
|
-
Jackpot Rules
|
|
11
|
-
</button>)}
|
|
12
|
-
</Dialog.Trigger>
|
|
13
|
-
<Portal>
|
|
14
|
-
<Dialog.Backdrop />
|
|
15
|
-
<Dialog.Positioner>
|
|
16
|
-
<Dialog.Content className="bg-bg-primary-alt mx-auto h-full w-full items-start lg:h-auto lg:w-[640px] lg:rounded-xl">
|
|
17
|
-
<div className="p-3xl">
|
|
18
|
-
<div className="mb-3 flex justify-between">
|
|
19
|
-
<div className="bg-bg-tertiary border-border-primary flex h-12 w-12 items-center justify-center rounded-lg border">
|
|
20
|
-
<Flag06Icon className="text-text-tertiary-600 size-full p-3"/>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<Dialog.CloseTrigger>
|
|
24
|
-
<XIcon />
|
|
25
|
-
</Dialog.CloseTrigger>
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
<div className="text-text-primary-900 text-lg font-semibold">
|
|
29
|
-
Jackpot Rules
|
|
30
|
-
</div>
|
|
31
|
-
<div className="text-text-tertiary-600 mt-1 text-sm">
|
|
32
|
-
Terms and Conditions
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<div className="border-gray-800 border-t-1 pb-3">
|
|
37
|
-
<div dangerouslySetInnerHTML={{ __html: props.jackpotRules }} className="px-3xl py-3"/>
|
|
38
|
-
</div>
|
|
39
|
-
</Dialog.Content>
|
|
40
|
-
</Dialog.Positioner>
|
|
41
|
-
</Portal>
|
|
42
|
-
</Dialog.Root>);
|
|
43
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { useJackpotsQuery } from '../../client/hooks';
|
|
3
|
-
import { JackpotItemDesktop } from './JackpotItemDesktop';
|
|
4
|
-
import { JackpotItemMobile } from './JackpotItemMobile';
|
|
5
|
-
export function Jackpots(props) {
|
|
6
|
-
const jackpotsQuery = useJackpotsQuery({
|
|
7
|
-
first: 100,
|
|
8
|
-
filter: {
|
|
9
|
-
status: {
|
|
10
|
-
equal: 'ACTIVE',
|
|
11
|
-
},
|
|
12
|
-
deleted: {
|
|
13
|
-
equal: false,
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
sort: {
|
|
17
|
-
cursor: 'POOL',
|
|
18
|
-
order: 'DESC',
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
const jackpots = jackpotsQuery.data?.pages[0].edges.map((edge) => edge.node) ?? [];
|
|
22
|
-
if (jackpots.length <= 0)
|
|
23
|
-
return null;
|
|
24
|
-
return (<div className={props.className}>
|
|
25
|
-
<div className="mb-3 text-lg font-semibold lg:mb-4.5">
|
|
26
|
-
{props.heading ?? 'Jackpots'}
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<div className="hidden flex-col gap-6 lg:flex">
|
|
30
|
-
{jackpots.map((jackpot) => (<JackpotItemDesktop gameProviders={props.gameProviders} key={jackpot.id} jackpot={jackpot} viewAllUrl={props.viewAllUrl}/>))}
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<div className="flex flex-col gap-6 lg:hidden">
|
|
34
|
-
{jackpots.map((jackpot) => (<JackpotItemMobile gameProviders={props.gameProviders} key={jackpot.id} jackpot={jackpot} viewAllUrl={props.viewAllUrl}/>))}
|
|
35
|
-
</div>
|
|
36
|
-
</div>);
|
|
37
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import { Dialog } from '../../ui';
|
|
5
|
-
import { KYCContext } from './KYCContext';
|
|
6
|
-
import { Step1 } from './Step1';
|
|
7
|
-
import { Step2 } from './Step2';
|
|
8
|
-
import { Step3 } from './Step3';
|
|
9
|
-
import { StepIndicator } from './StepIndicator';
|
|
10
|
-
import { UploadDocument } from './UploadDocument';
|
|
11
|
-
import { UploadSelfie } from './UploadSelfie';
|
|
12
|
-
import { useKYC } from './useKYC';
|
|
13
|
-
export function KYC(props) {
|
|
14
|
-
const context = useKYC();
|
|
15
|
-
return (<KYCContext value={context}>
|
|
16
|
-
<Dialog.Root open={context.open} onOpenChange={(details) => {
|
|
17
|
-
context.setOpen(details.open);
|
|
18
|
-
}} lazyMount unmountOnExit closeOnEscape={false} closeOnInteractOutside={false}>
|
|
19
|
-
<Portal>
|
|
20
|
-
<Dialog.Backdrop />
|
|
21
|
-
<Dialog.Positioner>
|
|
22
|
-
<Dialog.Content className="mx-auto w-fit">
|
|
23
|
-
{context.uploadingSelfie && <UploadSelfie />}
|
|
24
|
-
{context.uploadingDocument && <UploadDocument />}
|
|
25
|
-
{!context.uploadingSelfie && !context.uploadingDocument && (<div className="bg-bg-primary-alt flex h-full w-full flex-col p-3xl lg:h-[800px] lg:w-[400px] lg:rounded-xl">
|
|
26
|
-
<Image src={props.logo} alt="" width={200} height={100} className="mx-auto h-auto w-[120px]" draggable={false}/>
|
|
27
|
-
|
|
28
|
-
<StepIndicator />
|
|
29
|
-
|
|
30
|
-
{context.step === 1 && <Step1 />}
|
|
31
|
-
{context.step === 2 && <Step2 />}
|
|
32
|
-
{context.step === 3 && <Step3 />}
|
|
33
|
-
</div>)}
|
|
34
|
-
</Dialog.Content>
|
|
35
|
-
</Dialog.Positioner>
|
|
36
|
-
</Portal>
|
|
37
|
-
</Dialog.Root>
|
|
38
|
-
</KYCContext>);
|
|
39
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Button, Field } from '../../ui';
|
|
2
|
-
import { useKYCContext } from './KYCContext';
|
|
3
|
-
export function Step1() {
|
|
4
|
-
const context = useKYCContext();
|
|
5
|
-
return (<form className="mt-3xl flex grow flex-col" onSubmit={(e) => {
|
|
6
|
-
e.preventDefault();
|
|
7
|
-
context.setStep(2);
|
|
8
|
-
}}>
|
|
9
|
-
<h2 className="text-text-primary-900 text-center text-lg">
|
|
10
|
-
Basic Information
|
|
11
|
-
</h2>
|
|
12
|
-
<p className="text-text-tertiary-600 text-center text-sm">
|
|
13
|
-
Enter your basic details for identification and communication.
|
|
14
|
-
</p>
|
|
15
|
-
|
|
16
|
-
<div className="mt-9 grow">
|
|
17
|
-
<Field.Root>
|
|
18
|
-
<Field.Label>Real name</Field.Label>
|
|
19
|
-
<Field.Input />
|
|
20
|
-
</Field.Root>
|
|
21
|
-
<Field.Root className="mt-xl">
|
|
22
|
-
<Field.Label>Date of birth</Field.Label>
|
|
23
|
-
<Field.Input type="date"/>
|
|
24
|
-
</Field.Root>
|
|
25
|
-
<Button type="submit" className="mt-xl">
|
|
26
|
-
Continue
|
|
27
|
-
</Button>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div className="text-text-tertiary-600 mt-3xl w-full text-center text-sm">
|
|
31
|
-
Use another account.{' '}
|
|
32
|
-
<button type="button" className="text-button-tertiary-fg font-semibold">
|
|
33
|
-
Log out
|
|
34
|
-
</button>
|
|
35
|
-
</div>
|
|
36
|
-
</form>);
|
|
37
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { HelpCircleIcon, UploadCloud02Icon } from '../../icons';
|
|
2
|
-
import { Button, Field } from '../../ui';
|
|
3
|
-
import { useKYCContext } from './KYCContext';
|
|
4
|
-
export function Step2() {
|
|
5
|
-
const context = useKYCContext();
|
|
6
|
-
return (<form className="mt-3xl flex grow flex-col items-start justify-start overflow-y-auto" onSubmit={(e) => {
|
|
7
|
-
e.preventDefault();
|
|
8
|
-
context.setStep(3);
|
|
9
|
-
}}>
|
|
10
|
-
<h2 className="text-text-primary-900 w-full text-center text-lg">
|
|
11
|
-
Verify Your Identity
|
|
12
|
-
</h2>
|
|
13
|
-
<p className="text-text-tertiary-600 w-full text-center text-sm">
|
|
14
|
-
Verify your details to confirm your identity and secure your access.
|
|
15
|
-
</p>
|
|
16
|
-
|
|
17
|
-
<div className="border-border-secondary bg-bg-brand-secondary-alt text-text-tertiary-600 mt-xl w-full rounded-xl border p-3 text-2xs leading-tight">
|
|
18
|
-
<h4 className="font-semibold">Instructions</h4>
|
|
19
|
-
<ol className="mt-2 list-inside list-decimal">
|
|
20
|
-
<li>Upload a full photo of your ID.</li>
|
|
21
|
-
<li>
|
|
22
|
-
Please ensure that all details in the uploaded image are legible.
|
|
23
|
-
</li>
|
|
24
|
-
<li>
|
|
25
|
-
Please ensure that the ID uploaded is within the validity period.
|
|
26
|
-
</li>
|
|
27
|
-
</ol>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div className="scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full mt-xl w-full grow overflow-y-auto">
|
|
31
|
-
<Field.Root>
|
|
32
|
-
<Field.Label className="flex items-center gap-1.5">
|
|
33
|
-
Front of your ID{' '}
|
|
34
|
-
<HelpCircleIcon className="text-text-quinary size-4"/>
|
|
35
|
-
</Field.Label>
|
|
36
|
-
<div className="border-border-secondary bg-bg-primary rounded-xl border px-3xl py-xl">
|
|
37
|
-
<div className="border-border-secondary shadow-xs text-text-secondary-700 mx-auto flex size-8 items-center justify-center rounded-sm border">
|
|
38
|
-
<UploadCloud02Icon className="size-4"/>
|
|
39
|
-
</div>
|
|
40
|
-
<p className="text-text-tertiary-600 mt-lg text-center text-xs">
|
|
41
|
-
<span className="text-button-tertiary-fg font-semibold">
|
|
42
|
-
Click to upload
|
|
43
|
-
</span>{' '}
|
|
44
|
-
or drag and drop
|
|
45
|
-
</p>
|
|
46
|
-
<p className="text-text-tertiary-600 mt-xs text-center text-xs">
|
|
47
|
-
PNG, JPG or JPEG (max. 10mb)
|
|
48
|
-
</p>
|
|
49
|
-
<p className="text-text-tertiary-600 mt-xs text-center text-xs">
|
|
50
|
-
or
|
|
51
|
-
</p>
|
|
52
|
-
<Button size="xs" variant="outline" className="mx-auto mt-xs w-fit" onClick={() => {
|
|
53
|
-
context.setUploadingDocument(true);
|
|
54
|
-
}}>
|
|
55
|
-
Take a photo
|
|
56
|
-
</Button>
|
|
57
|
-
</div>
|
|
58
|
-
</Field.Root>
|
|
59
|
-
|
|
60
|
-
<Field.Root className="mt-3">
|
|
61
|
-
<Field.Label className="flex items-center gap-1.5">
|
|
62
|
-
Selfie holding your ID{' '}
|
|
63
|
-
<HelpCircleIcon className="text-text-quinary size-4"/>
|
|
64
|
-
</Field.Label>
|
|
65
|
-
<div className="border-border-secondary bg-bg-primary flex h-[180px] items-center justify-center rounded-xl border px-3xl py-xl">
|
|
66
|
-
<Button size="xs" variant="outline" className="w-fit" onClick={() => {
|
|
67
|
-
context.setUploadingDocument(true);
|
|
68
|
-
}}>
|
|
69
|
-
Take a photo
|
|
70
|
-
</Button>
|
|
71
|
-
</div>
|
|
72
|
-
</Field.Root>
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
<div className="mt-xl w-full">
|
|
76
|
-
<Button type="submit">Continue</Button>
|
|
77
|
-
|
|
78
|
-
<div className="text-text-tertiary-600 mt-3xl w-full text-center text-sm">
|
|
79
|
-
Use another account.{' '}
|
|
80
|
-
<button type="button" className="text-button-tertiary-fg font-semibold">
|
|
81
|
-
Log out
|
|
82
|
-
</button>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</form>);
|
|
86
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { CheckIcon } from '../../icons';
|
|
2
|
-
import { Button, Checkbox, Field } from '../../ui';
|
|
3
|
-
import { useKYCContext } from './KYCContext';
|
|
4
|
-
export function Step3() {
|
|
5
|
-
const context = useKYCContext();
|
|
6
|
-
return (<form className="mt-3xl flex grow flex-col items-start justify-start overflow-y-auto" onSubmit={(e) => {
|
|
7
|
-
e.preventDefault();
|
|
8
|
-
context.setOpen(false);
|
|
9
|
-
}}>
|
|
10
|
-
<h2 className="text-text-primary-900 w-full text-center text-lg">
|
|
11
|
-
Personal Information
|
|
12
|
-
</h2>
|
|
13
|
-
<p className="text-text-tertiary-600 w-full text-center text-sm">
|
|
14
|
-
Provide your basic details and work info.
|
|
15
|
-
</p>
|
|
16
|
-
|
|
17
|
-
<div className="scrollbar:w-2 scrollbar-track:bg-bg-primary-alt scrollbar-track:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-thumb:rounded-full mt-4 w-full grow overflow-y-auto">
|
|
18
|
-
<Field.Root>
|
|
19
|
-
<Field.Label>Permanent address</Field.Label>
|
|
20
|
-
<Field.Input />
|
|
21
|
-
</Field.Root>
|
|
22
|
-
|
|
23
|
-
<Checkbox.Root className="mt-lg">
|
|
24
|
-
<Checkbox.Control>
|
|
25
|
-
<Checkbox.Indicator asChild>
|
|
26
|
-
<CheckIcon />
|
|
27
|
-
</Checkbox.Indicator>
|
|
28
|
-
</Checkbox.Control>
|
|
29
|
-
<Checkbox.Label>
|
|
30
|
-
Use permanent address as current address
|
|
31
|
-
</Checkbox.Label>
|
|
32
|
-
<Checkbox.HiddenInput />
|
|
33
|
-
</Checkbox.Root>
|
|
34
|
-
|
|
35
|
-
<Field.Root className="mt-xl">
|
|
36
|
-
<Field.Label>Current address</Field.Label>
|
|
37
|
-
<Field.Input />
|
|
38
|
-
</Field.Root>
|
|
39
|
-
<Field.Root className="mt-xl">
|
|
40
|
-
<Field.Label>Source of income</Field.Label>
|
|
41
|
-
<Field.Input />
|
|
42
|
-
</Field.Root>
|
|
43
|
-
<Field.Root className="mt-xl">
|
|
44
|
-
<Field.Label>Nature of work</Field.Label>
|
|
45
|
-
<Field.Input />
|
|
46
|
-
</Field.Root>
|
|
47
|
-
<Field.Root className="mt-xl">
|
|
48
|
-
<Field.Label>Place of birth</Field.Label>
|
|
49
|
-
<Field.Input />
|
|
50
|
-
</Field.Root>
|
|
51
|
-
<Field.Root className="mt-xl">
|
|
52
|
-
<Field.Label>Nationality</Field.Label>
|
|
53
|
-
<Field.Input />
|
|
54
|
-
</Field.Root>
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<div className="mt-xl w-full">
|
|
58
|
-
<Button type="submit">Submit and Play</Button>
|
|
59
|
-
|
|
60
|
-
<div className="text-text-tertiary-600 mt-3xl w-full text-center text-sm">
|
|
61
|
-
Use another account.{' '}
|
|
62
|
-
<button type="button" className="text-button-tertiary-fg font-semibold">
|
|
63
|
-
Log out
|
|
64
|
-
</button>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
</form>);
|
|
68
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { dataAttr } from '../../utils';
|
|
2
|
-
import { useKYCContext } from './KYCContext';
|
|
3
|
-
export function StepIndicator() {
|
|
4
|
-
const context = useKYCContext();
|
|
5
|
-
return (<div className="mx-auto mt-3xl flex w-fit items-center">
|
|
6
|
-
<Circle active={context.step >= 1}/>
|
|
7
|
-
<Line active={context.step >= 2}/>
|
|
8
|
-
<Circle active={context.step >= 2}/>
|
|
9
|
-
<Line active={context.step >= 3}/>
|
|
10
|
-
<Circle active={context.step >= 3}/>
|
|
11
|
-
</div>);
|
|
12
|
-
}
|
|
13
|
-
function Circle({ active }) {
|
|
14
|
-
return (<div className="ui-active:bg-bg-brand-solid ui-active:shadow-brand border-border-disabled-subtle bg-bg-disabled-subtle group flex size-6 items-center justify-center rounded-full transition-colors delay-300 duration-300" data-active={dataAttr(active)}>
|
|
15
|
-
<div className="bg-text-disabled-subtle size-2.5 rounded-full transition-all delay-300 duration-300 ui-group-active:bg-white"/>
|
|
16
|
-
</div>);
|
|
17
|
-
}
|
|
18
|
-
function Line({ active }) {
|
|
19
|
-
return (<div className="bg-bg-quaternary group relative h-0.5 w-20" data-active={dataAttr(active)}>
|
|
20
|
-
<div className="bg-text-brand-primary-600 absolute left-0 top-0 h-full w-0 transition-all duration-300 ui-group-active:w-full"/>
|
|
21
|
-
</div>);
|
|
22
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Camera01Icon, CheckCircleIcon, XIcon } from '../../icons';
|
|
2
|
-
import { Button } from '../../ui';
|
|
3
|
-
import { useKYCContext } from './KYCContext';
|
|
4
|
-
export function UploadDocument() {
|
|
5
|
-
const context = useKYCContext();
|
|
6
|
-
return (<div className="bg-bg-primary-alt relative w-[747px] rounded-xl pb-12 pt-4xl">
|
|
7
|
-
<button type="button" className="absolute right-4 top-4" onClick={() => context.setUploadingDocument(false)}>
|
|
8
|
-
<XIcon className="text-text-quinary size-5"/>
|
|
9
|
-
</button>
|
|
10
|
-
<h2 className="text-center text-xl font-semibold">
|
|
11
|
-
Take a Picture of Your Front ID
|
|
12
|
-
</h2>
|
|
13
|
-
<p className="text-text-tertiary-600 mt-md text-center">
|
|
14
|
-
Make sure your ID is clearly visible, well-lit, and not blurry.
|
|
15
|
-
<br /> Avoid glare or reflections, and ensure all corners are within the
|
|
16
|
-
frame.
|
|
17
|
-
</p>
|
|
18
|
-
<div className="mx-auto mt-10 h-[333px] w-[643px] rounded-xl bg-white/10"></div>
|
|
19
|
-
<div className="mx-auto mt-10 flex w-fit gap-3">
|
|
20
|
-
<Button variant="outline" fullWidth={false}>
|
|
21
|
-
<Camera01Icon />
|
|
22
|
-
Retake Photo
|
|
23
|
-
</Button>
|
|
24
|
-
<Button fullWidth={false}>
|
|
25
|
-
<CheckCircleIcon />
|
|
26
|
-
Use Photo
|
|
27
|
-
</Button>
|
|
28
|
-
</div>
|
|
29
|
-
</div>);
|
|
30
|
-
}
|