@opexa/portal-components 0.0.3 → 0.0.4
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/components/Account/Account.jsx +10 -10
- package/dist/components/Account/index.d.ts +1 -1
- package/dist/components/Account/index.js +1 -1
- package/dist/components/Banner/Banner.jsx +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/BetRecords/BetRecords.jsx +1 -1
- package/dist/components/BetRecords/BetRecordsContent.d.ts +1 -1
- package/dist/components/BetRecords/BetRecordsContent.jsx +13 -13
- package/dist/components/BetRecords/index.d.ts +1 -1
- package/dist/components/BetRecords/index.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.jsx +5 -5
- package/dist/components/DepositWithdrawal/AvailablePromos.jsx +7 -7
- package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +12 -12
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +16 -16
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +18 -18
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.jsx +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +16 -16
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +6 -6
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +15 -15
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +5 -5
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +3 -3
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +6 -6
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +13 -13
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +5 -5
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +3 -3
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +3 -3
- package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +9 -9
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +3 -3
- package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.jsx +4 -4
- package/dist/components/DepositWithdrawal/index.d.ts +1 -1
- package/dist/components/DepositWithdrawal/index.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.jsx +2 -2
- package/dist/components/Disclaimer/index.d.ts +1 -1
- package/dist/components/Disclaimer/index.js +1 -1
- package/dist/components/Disclaimer/useDisclaimer.jsx +2 -2
- package/dist/components/Empty/Empty.jsx +1 -1
- package/dist/components/Empty/index.d.ts +1 -1
- package/dist/components/Empty/index.js +1 -1
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +1 -1
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.jsx +3 -3
- package/dist/components/FeatureFlagProvider/index.d.ts +2 -2
- package/dist/components/FeatureFlagProvider/index.js +2 -2
- package/dist/components/GameLaunch/GameLaunch.jsx +9 -9
- package/dist/components/GameLaunch/GameLaunchTrigger.jsx +5 -5
- package/dist/components/Games/Games.jsx +2 -2
- package/dist/components/Games/GamesContent.d.ts +1 -1
- package/dist/components/Games/GamesContent.jsx +7 -7
- package/dist/components/Games/index.d.ts +1 -1
- package/dist/components/Games/index.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.jsx +1 -1
- package/dist/components/JackpotCounter/JackpotCounterContent.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounterContent.jsx +6 -6
- package/dist/components/JackpotCounter/JackpotCounterItem.jsx +5 -5
- package/dist/components/JackpotCounter/index.d.ts +1 -1
- package/dist/components/JackpotCounter/index.js +1 -1
- package/dist/components/Marquee/index.d.ts +1 -1
- package/dist/components/Marquee/index.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.jsx +6 -6
- package/dist/components/PortalProvider/Providers.jsx +4 -4
- package/dist/components/PortalProvider/index.d.ts +1 -1
- package/dist/components/PortalProvider/index.js +1 -1
- package/dist/components/Promo/Promo.jsx +2 -2
- package/dist/components/Promo/PromoContent.d.ts +1 -1
- package/dist/components/Promo/PromoContent.jsx +1 -1
- package/dist/components/Promo/index.d.ts +1 -1
- package/dist/components/Promo/index.js +1 -1
- package/dist/components/Promos/PromoCarousel.d.ts +1 -1
- package/dist/components/Promos/PromoCarousel.jsx +8 -8
- package/dist/components/Promos/PromoGrid.d.ts +1 -1
- package/dist/components/Promos/PromoGrid.jsx +4 -4
- package/dist/components/Promos/PromoItem.jsx +1 -1
- package/dist/components/Promos/Promos.jsx +3 -3
- package/dist/components/Promos/PromosContent.d.ts +1 -1
- package/dist/components/Promos/PromosContent.jsx +8 -8
- package/dist/components/Promos/index.d.ts +1 -1
- package/dist/components/Promos/index.js +1 -1
- package/dist/components/Protected/Protected.jsx +1 -1
- package/dist/components/Protected/index.d.ts +1 -1
- package/dist/components/Protected/index.js +1 -1
- package/dist/components/SignIn/SignIn.jsx +4 -4
- package/dist/components/SignIn/SignInForm.jsx +12 -12
- package/dist/components/SignIn/index.d.ts +1 -1
- package/dist/components/SignIn/index.js +1 -1
- package/dist/components/SignUp/SignUp.jsx +4 -4
- package/dist/components/SignUp/SignUpForm.jsx +11 -11
- package/dist/components/SignUp/index.d.ts +1 -1
- package/dist/components/SignUp/index.js +1 -1
- package/dist/components/TopWins/TopWins.jsx +1 -1
- package/dist/components/TopWins/TopWinsContent.d.ts +1 -1
- package/dist/components/TopWins/TopWinsContent.jsx +4 -4
- package/dist/components/TopWins/index.d.ts +1 -1
- package/dist/components/TopWins/index.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.jsx +1 -1
- package/dist/components/TournamentCounter/TournamentCounterContent.d.ts +1 -1
- package/dist/components/TournamentCounter/TournamentCounterContent.jsx +6 -6
- package/dist/components/TournamentCounter/TournamentCounterItem.jsx +3 -3
- package/dist/components/TournamentCounter/index.d.ts +1 -1
- package/dist/components/TournamentCounter/index.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.jsx +13 -13
- package/dist/components/TransactionRecords/TableFilters.d.ts +1 -1
- package/dist/components/TransactionRecords/TableFilters.jsx +7 -7
- package/dist/components/TransactionRecords/TransactionRecords.jsx +4 -4
- package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +13 -13
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +13 -13
- package/dist/components/TransactionRecords/index.d.ts +1 -1
- package/dist/components/TransactionRecords/index.js +1 -1
- package/dist/handlers.js +1 -1
- package/dist/hooks/useAccountQuery/prefetchAccountQuery.js +4 -4
- package/dist/hooks/useAccountQuery/useAccountQuery.d.ts +1 -1
- package/dist/hooks/useAccountQuery/useAccountQuery.js +6 -6
- package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.d.ts +1 -1
- package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.js +3 -3
- package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.js +4 -4
- package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.d.ts +1 -1
- package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.js +6 -6
- package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.js +4 -4
- package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.d.ts +1 -1
- package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.js +6 -6
- package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.js +3 -3
- package/dist/hooks/useCashbacksQuery/useCashbacksQuery.d.ts +1 -1
- package/dist/hooks/useCashbacksQuery/useCashbacksQuery.js +2 -2
- package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.d.ts +1 -1
- package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.js +6 -6
- package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.d.ts +1 -1
- package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.js +6 -6
- package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.d.ts +1 -1
- package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.js +6 -6
- package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.d.ts +1 -1
- package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.js +6 -6
- package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.d.ts +1 -1
- package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.js +6 -6
- package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.d.ts +1 -1
- package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.js +6 -6
- package/dist/hooks/useDepositQuery/prefetchDepositQuery.js +4 -4
- package/dist/hooks/useDepositQuery/useDepositQuery.d.ts +1 -1
- package/dist/hooks/useDepositQuery/useDepositQuery.js +6 -6
- package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.js +4 -4
- package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.d.ts +1 -1
- package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.js +6 -6
- package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.js +4 -4
- package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.d.ts +1 -1
- package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.js +6 -6
- package/dist/hooks/useDisclosure.js +1 -1
- package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.d.ts +1 -1
- package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.js +5 -5
- package/dist/hooks/useGamesQuery/prefetchGamesQuery.js +3 -3
- package/dist/hooks/useGamesQuery/useGamesQuery.d.ts +1 -1
- package/dist/hooks/useGamesQuery/useGamesQuery.js +2 -2
- package/dist/hooks/useInfiniteQueryHelper.d.ts +1 -1
- package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.js +4 -4
- package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.d.ts +1 -1
- package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.js +6 -6
- package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.js +4 -4
- package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.d.ts +1 -1
- package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.js +6 -6
- package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.js +3 -3
- package/dist/hooks/useJackpotsQuery/useJackpotsQuery.d.ts +1 -1
- package/dist/hooks/useJackpotsQuery/useJackpotsQuery.js +2 -2
- package/dist/hooks/useLocaleInfo.d.ts +1 -1
- package/dist/hooks/useLocaleInfo.js +2 -2
- package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.js +4 -4
- package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.d.ts +1 -1
- package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.js +6 -6
- package/dist/hooks/useMobileNumberParser.js +2 -2
- package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.js +4 -4
- package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.d.ts +1 -1
- package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.js +6 -6
- package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.js +3 -3
- package/dist/hooks/usePlatformQuery/usePlatformQuery.d.ts +1 -1
- package/dist/hooks/usePlatformQuery/usePlatformQuery.js +2 -2
- package/dist/hooks/usePromoQuery/prefetchPromoQuery.js +3 -3
- package/dist/hooks/usePromoQuery/usePromoQuery.d.ts +1 -1
- package/dist/hooks/usePromoQuery/usePromoQuery.js +2 -2
- package/dist/hooks/usePromosQuery/prefetchPromosQuery.js +3 -3
- package/dist/hooks/usePromosQuery/usePromosQuery.d.ts +1 -1
- package/dist/hooks/usePromosQuery/usePromosQuery.js +2 -2
- package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.d.ts +1 -1
- package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js +2 -2
- package/dist/hooks/useSessionQuery/prefetchSessionQuery.js +3 -3
- package/dist/hooks/useSessionQuery/useSessionQuery.d.ts +1 -1
- package/dist/hooks/useSessionQuery/useSessionQuery.js +2 -2
- package/dist/hooks/useSignOutMutation/useSignOutMutation.d.ts +1 -1
- package/dist/hooks/useSignOutMutation/useSignOutMutation.js +4 -4
- package/dist/hooks/useSignUpMutation/useSignUpMutation.d.ts +1 -1
- package/dist/hooks/useSignUpMutation/useSignUpMutation.js +2 -2
- package/dist/hooks/useSigninMutation/useSignInMutation.d.ts +2 -2
- package/dist/hooks/useSigninMutation/useSignInMutation.js +4 -4
- package/dist/hooks/useSiteQuery/prefetchSiteQuery.js +3 -3
- package/dist/hooks/useSiteQuery/useSiteQuery.d.ts +1 -1
- package/dist/hooks/useSiteQuery/useSiteQuery.js +2 -2
- package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.js +3 -3
- package/dist/hooks/useTopWinsQuery/useTopWinsQuery.d.ts +1 -1
- package/dist/hooks/useTopWinsQuery/useTopWinsQuery.js +2 -2
- package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.js +3 -3
- package/dist/hooks/useTournamentsQuery/useTournamentsQuery.d.ts +1 -1
- package/dist/hooks/useTournamentsQuery/useTournamentsQuery.js +2 -2
- package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.js +4 -4
- package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.d.ts +1 -1
- package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.js +6 -6
- package/dist/hooks/useWalletQuery/prefetchWalletQuery.js +4 -4
- package/dist/hooks/useWalletQuery/useWalletQuery.d.ts +1 -1
- package/dist/hooks/useWalletQuery/useWalletQuery.js +6 -6
- package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.js +1 -4
- package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.js +4 -4
- package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.d.ts +1 -1
- package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.js +6 -6
- package/dist/images/QRPh.png +0 -0
- package/dist/images/ball.png +0 -0
- package/dist/images/bank-icon.png +0 -0
- package/dist/images/card.png +0 -0
- package/dist/images/close-chest.png +0 -0
- package/dist/images/gcash.png +0 -0
- package/dist/images/images/QRPh.png +0 -0
- package/dist/images/images/ball.png +0 -0
- package/dist/images/images/bank-icon.png +0 -0
- package/dist/images/images/card.png +0 -0
- package/dist/images/images/close-chest.png +0 -0
- package/dist/images/images/gcash.png +0 -0
- package/dist/images/images/maya.png +0 -0
- package/dist/images/images/online-bank.png +0 -0
- package/dist/images/images/open-chest.png +0 -0
- package/dist/images/images/pagcor.png +0 -0
- package/dist/images/images/qrph-icon.png +0 -0
- package/dist/images/images/responsible-gaming.png +0 -0
- package/dist/images/images/trophy.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/qrph-icon.png +0 -0
- package/dist/images/responsible-gaming.png +0 -0
- package/dist/images/trophy.png +0 -0
- package/dist/services/client/authenticate.js +1 -1
- package/dist/services/client/getSession.d.ts +1 -1
- package/dist/services/client/signIn.js +1 -1
- package/dist/services/server/authenticate.js +2 -2
- package/dist/services/server/getSession.d.ts +1 -1
- package/dist/services/server/getSession.js +1 -1
- package/dist/services/server/signIn.js +2 -2
- package/dist/services/server/signOut.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/ui/AlertDialog/AlertDialog.jsx +2 -2
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/index.d.ts +1 -1
- package/dist/ui/AlertDialog/index.js +1 -1
- package/dist/ui/Avatar/Avatar.jsx +2 -2
- package/dist/ui/Avatar/avatar.recipe.js +1 -1
- package/dist/ui/Avatar/index.d.ts +1 -1
- package/dist/ui/Avatar/index.js +1 -1
- package/dist/ui/Badge/Badge.jsx +3 -3
- package/dist/ui/Badge/badge.recipe.js +2 -2
- package/dist/ui/Badge/index.d.ts +1 -1
- package/dist/ui/Badge/index.js +1 -1
- package/dist/ui/Button/Button.d.ts +1 -1
- package/dist/ui/Button/Button.jsx +2 -3
- package/dist/ui/Checkbox/Checkbox.jsx +2 -2
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/index.d.ts +1 -1
- package/dist/ui/Checkbox/index.js +1 -1
- package/dist/ui/Clipboard/Clipboard.jsx +2 -2
- package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
- package/dist/ui/Clipboard/index.d.ts +1 -1
- package/dist/ui/Clipboard/index.js +1 -1
- package/dist/ui/DatePicker/DatePicker.jsx +2 -2
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/DatePicker/index.d.ts +1 -1
- package/dist/ui/DatePicker/index.js +1 -1
- package/dist/ui/Dialog/Dialog.jsx +2 -2
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/index.d.ts +1 -1
- package/dist/ui/Dialog/index.js +1 -1
- package/dist/ui/Drawer/Drawer.jsx +2 -2
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/index.d.ts +1 -1
- package/dist/ui/Drawer/index.js +1 -1
- package/dist/ui/Field/Field.jsx +2 -2
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/index.d.ts +1 -1
- package/dist/ui/Field/index.js +1 -1
- package/dist/ui/IconButton/IconButton.d.ts +1 -1
- package/dist/ui/IconButton/IconButton.jsx +2 -3
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/index.d.ts +1 -1
- package/dist/ui/IconButton/index.js +1 -1
- package/dist/ui/Menu/Menu.d.ts +1 -2
- package/dist/ui/Menu/Menu.jsx +1 -2
- package/dist/ui/Menu/index.d.ts +1 -1
- package/dist/ui/Menu/index.js +1 -1
- package/dist/ui/NumberInput/NumberInput.jsx +2 -2
- package/dist/ui/NumberInput/index.d.ts +1 -1
- package/dist/ui/NumberInput/index.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/PinInput/PinInput.jsx +2 -2
- package/dist/ui/PinInput/index.d.ts +1 -1
- package/dist/ui/PinInput/index.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/Popover.jsx +2 -2
- package/dist/ui/Popover/index.d.ts +1 -1
- package/dist/ui/Popover/index.js +1 -1
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Progress/index.d.ts +1 -1
- package/dist/ui/Progress/index.js +1 -1
- package/dist/ui/SegmentGroup/SegmentGroup.jsx +2 -2
- package/dist/ui/SegmentGroup/index.d.ts +1 -1
- package/dist/ui/SegmentGroup/index.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/Select/Select.jsx +2 -2
- package/dist/ui/Select/index.d.ts +1 -1
- package/dist/ui/Select/index.js +1 -1
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Table/Table.jsx +2 -2
- package/dist/ui/Table/index.d.ts +1 -1
- package/dist/ui/Table/index.js +1 -1
- package/dist/ui/Table/table.recipe.js +2 -2
- package/dist/ui/Tabs/Tabs.jsx +2 -2
- package/dist/ui/Tabs/index.d.ts +1 -1
- package/dist/ui/Tabs/index.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/ui/index.d.ts +23 -23
- package/dist/ui/index.js +23 -23
- package/dist/utils/createRecipeContext.jsx +4 -2
- package/dist/utils/formatNumber.js +1 -1
- package/dist/utils/getGameImageUrl.js +1 -1
- package/dist/utils/index.d.ts +13 -0
- package/dist/utils/index.js +13 -0
- package/package.json +3 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
5
|
-
import { useTopWinsQuery } from '../../hooks/useTopWinsQuery/useTopWinsQuery';
|
|
6
|
-
import { formatNumber } from '../../utils/formatNumber';
|
|
7
|
-
import { getGameImageUrl } from '../../utils/getGameImageUrl';
|
|
4
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
5
|
+
import { useTopWinsQuery } from '../../hooks/useTopWinsQuery/useTopWinsQuery.js';
|
|
6
|
+
import { formatNumber } from '../../utils/formatNumber.js';
|
|
7
|
+
import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
|
|
8
8
|
export function TopWinsContent(props) {
|
|
9
9
|
var _a;
|
|
10
10
|
var localeInfo = useLocaleInfo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TopWins';
|
|
1
|
+
export * from './TopWins.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TopWins';
|
|
1
|
+
export * from './TopWins.jsx';
|
|
@@ -34,7 +34,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
34
34
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
import { TournamentCounterContent } from './TournamentCounterContent';
|
|
37
|
+
import { TournamentCounterContent } from './TournamentCounterContent.jsx';
|
|
38
38
|
export function TournamentCounter(props) {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function () {
|
|
40
40
|
return __generator(this, function (_a) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { TournamentCounterProps } from './TournamentCounter';
|
|
1
|
+
import type { TournamentCounterProps } from './TournamentCounter.jsx';
|
|
2
2
|
export declare function TournamentCounterContent(props: TournamentCounterProps): import("react").JSX.Element | null;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
3
3
|
import Link from 'next/link';
|
|
4
4
|
import { useCallback, useEffect, useState } from 'react';
|
|
5
|
-
import { useTournamentsQuery } from '../../hooks/useTournamentsQuery/useTournamentsQuery';
|
|
6
|
-
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon';
|
|
7
|
-
import { ArrowRightIcon } from '../../icons/ArrowRightIcon';
|
|
8
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
9
|
-
import { Button } from '../../ui';
|
|
10
|
-
import { TournamentCounterItem } from './TournamentCounterItem';
|
|
5
|
+
import { useTournamentsQuery } from '../../hooks/useTournamentsQuery/useTournamentsQuery.js';
|
|
6
|
+
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
|
|
7
|
+
import { ArrowRightIcon } from '../../icons/ArrowRightIcon.jsx';
|
|
8
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
9
|
+
import { Button } from '../../ui/index.js';
|
|
10
|
+
import { TournamentCounterItem } from './TournamentCounterItem.jsx';
|
|
11
11
|
export function TournamentCounterContent(props) {
|
|
12
12
|
var _a, _b;
|
|
13
13
|
var _c = useEmblaCarousel({
|
|
@@ -3,12 +3,12 @@ import { map, pick, sum } from 'lodash-es';
|
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
7
|
-
import { Award02Icon } from '../../icons/Award02Icon';
|
|
6
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
7
|
+
import { Award02Icon } from '../../icons/Award02Icon.jsx';
|
|
8
8
|
import ball from '../../images/ball.png';
|
|
9
9
|
import card from '../../images/card.png';
|
|
10
10
|
import trophy from '../../images/trophy.png';
|
|
11
|
-
import { formatNumber } from '../../utils/formatNumber';
|
|
11
|
+
import { formatNumber } from '../../utils/formatNumber.js';
|
|
12
12
|
export function TournamentCounterItem(_a) {
|
|
13
13
|
var tournament = _a.tournament, className = _a.className, index = _a.index;
|
|
14
14
|
var localeInfo = useLocaleInfo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TournamentCounter';
|
|
1
|
+
export * from './TournamentCounter.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TournamentCounter';
|
|
1
|
+
export * from './TournamentCounter.jsx';
|
|
@@ -14,19 +14,19 @@ import { createListCollection, Portal } from '@ark-ui/react';
|
|
|
14
14
|
import { tz, TZDateMini } from '@date-fns/tz';
|
|
15
15
|
import { endOfDay, format, startOfDay } from 'date-fns';
|
|
16
16
|
import { useState } from 'react';
|
|
17
|
-
import { useDepositRecordsQuery } from '../../hooks/useDepositRecordsQuery/useDepositRecordsQuery';
|
|
18
|
-
import { useInfiniteQueryHelper } from '../../hooks/useInfiniteQueryHelper';
|
|
19
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
20
|
-
import { ChevronDownIcon } from '../../icons/ChevronDownIcon';
|
|
21
|
-
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon';
|
|
22
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
23
|
-
import { File02Icon } from '../../icons/File02Icon';
|
|
24
|
-
import { SpinnerIcon } from '../../icons/SpinnerIcon';
|
|
25
|
-
import { Badge, IconButton, Select, Table } from '../../ui';
|
|
26
|
-
import { capitalize } from '../../utils/capitalize';
|
|
27
|
-
import { formatNumber } from '../../utils/formatNumber';
|
|
28
|
-
import { Empty } from '../Empty';
|
|
29
|
-
import { TableFilters } from './TableFilters';
|
|
17
|
+
import { useDepositRecordsQuery } from '../../hooks/useDepositRecordsQuery/useDepositRecordsQuery.js';
|
|
18
|
+
import { useInfiniteQueryHelper } from '../../hooks/useInfiniteQueryHelper.js';
|
|
19
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
20
|
+
import { ChevronDownIcon } from '../../icons/ChevronDownIcon.jsx';
|
|
21
|
+
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
|
|
22
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
23
|
+
import { File02Icon } from '../../icons/File02Icon.jsx';
|
|
24
|
+
import { SpinnerIcon } from '../../icons/SpinnerIcon.jsx';
|
|
25
|
+
import { Badge, IconButton, Select, Table } from '../../ui/index.js';
|
|
26
|
+
import { capitalize } from '../../utils/capitalize.js';
|
|
27
|
+
import { formatNumber } from '../../utils/formatNumber.js';
|
|
28
|
+
import { Empty } from '../Empty/index.js';
|
|
29
|
+
import { TableFilters } from './TableFilters.jsx';
|
|
30
30
|
export function DepositRecordsTable() {
|
|
31
31
|
var _a = useState(), timestamp = _a[0], setTimestamp = _a[1];
|
|
32
32
|
var _b = useState(), depositStatus = _b[0], setDepositStatus = _b[1];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DepositStatus, GameProvider, GameType, WithdrawalStatus } from '@opexa/portal-sdk-core';
|
|
2
|
-
import type { DateRange } from '../../types';
|
|
2
|
+
import type { DateRange } from '../../types/index.js';
|
|
3
3
|
interface EnabledFilters {
|
|
4
4
|
timestamp?: boolean;
|
|
5
5
|
gameType?: boolean;
|
|
@@ -13,13 +13,13 @@ import { createListCollection, parseDate, Portal } from '@ark-ui/react';
|
|
|
13
13
|
import { endOfDay, startOfDay } from 'date-fns';
|
|
14
14
|
import { useState } from 'react';
|
|
15
15
|
import { z } from 'zod';
|
|
16
|
-
import { useControllableState } from '../../hooks/useControllableState';
|
|
17
|
-
import { CheckIcon } from '../../icons/CheckIcon';
|
|
18
|
-
import { ChevronDownIcon } from '../../icons/ChevronDownIcon';
|
|
19
|
-
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon';
|
|
20
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
21
|
-
import { DatePicker, SegmentGroup, Select } from '../../ui';
|
|
22
|
-
import { capitalize } from '../../utils/capitalize';
|
|
16
|
+
import { useControllableState } from '../../hooks/useControllableState.js';
|
|
17
|
+
import { CheckIcon } from '../../icons/CheckIcon.jsx';
|
|
18
|
+
import { ChevronDownIcon } from '../../icons/ChevronDownIcon.jsx';
|
|
19
|
+
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
|
|
20
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
21
|
+
import { DatePicker, SegmentGroup, Select } from '../../ui/index.js';
|
|
22
|
+
import { capitalize } from '../../utils/capitalize.js';
|
|
23
23
|
var TabDefinition = z.enum(['all', 'today', 'custom']).catch('all');
|
|
24
24
|
var DEPOSIT_STATUSES = [
|
|
25
25
|
'ACCEPTED',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Tabs } from '../../ui';
|
|
2
|
-
import { DepositRecordsTable } from './DepositRecordsTable';
|
|
3
|
-
import { TransactionRecordsTable } from './TransactionRecordsTable';
|
|
4
|
-
import { WithdrawalRecordsTable } from './WithdrawalRecordsTable';
|
|
1
|
+
import { Tabs } from '../../ui/index.js';
|
|
2
|
+
import { DepositRecordsTable } from './DepositRecordsTable.jsx';
|
|
3
|
+
import { TransactionRecordsTable } from './TransactionRecordsTable.jsx';
|
|
4
|
+
import { WithdrawalRecordsTable } from './WithdrawalRecordsTable.jsx';
|
|
5
5
|
export function TransactionRecords(props) {
|
|
6
6
|
return (<div className={props.className}>
|
|
7
7
|
<h2 className="text-lg font-semibold">Transaction Records</h2>
|
|
@@ -14,19 +14,19 @@ import { createListCollection, Portal } from '@ark-ui/react';
|
|
|
14
14
|
import { tz, TZDateMini } from '@date-fns/tz';
|
|
15
15
|
import { endOfDay, format, startOfDay } from 'date-fns';
|
|
16
16
|
import { useState } from 'react';
|
|
17
|
-
import { useInfiniteQueryHelper } from '../../hooks/useInfiniteQueryHelper';
|
|
18
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
19
|
-
import { useTransactionRecordsQuery } from '../../hooks/useTransactionRecordsQuery/useTransactionRecordsQuery';
|
|
20
|
-
import { ChevronDownIcon } from '../../icons/ChevronDownIcon';
|
|
21
|
-
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon';
|
|
22
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
23
|
-
import { File02Icon } from '../../icons/File02Icon';
|
|
24
|
-
import { SpinnerIcon } from '../../icons/SpinnerIcon';
|
|
25
|
-
import { IconButton, Select, Table } from '../../ui';
|
|
26
|
-
import { capitalize } from '../../utils/capitalize';
|
|
27
|
-
import { formatNumber } from '../../utils/formatNumber';
|
|
28
|
-
import { Empty } from '../Empty';
|
|
29
|
-
import { TableFilters } from './TableFilters';
|
|
17
|
+
import { useInfiniteQueryHelper } from '../../hooks/useInfiniteQueryHelper.js';
|
|
18
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
19
|
+
import { useTransactionRecordsQuery } from '../../hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.js';
|
|
20
|
+
import { ChevronDownIcon } from '../../icons/ChevronDownIcon.jsx';
|
|
21
|
+
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
|
|
22
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
23
|
+
import { File02Icon } from '../../icons/File02Icon.jsx';
|
|
24
|
+
import { SpinnerIcon } from '../../icons/SpinnerIcon.jsx';
|
|
25
|
+
import { IconButton, Select, Table } from '../../ui/index.js';
|
|
26
|
+
import { capitalize } from '../../utils/capitalize.js';
|
|
27
|
+
import { formatNumber } from '../../utils/formatNumber.js';
|
|
28
|
+
import { Empty } from '../Empty/index.js';
|
|
29
|
+
import { TableFilters } from './TableFilters.jsx';
|
|
30
30
|
export function TransactionRecordsTable() {
|
|
31
31
|
var _a = useState(), timestamp = _a[0], setTimestamp = _a[1];
|
|
32
32
|
var localeInfo = useLocaleInfo();
|
|
@@ -14,19 +14,19 @@ import { createListCollection, Portal } from '@ark-ui/react';
|
|
|
14
14
|
import { tz, TZDateMini } from '@date-fns/tz';
|
|
15
15
|
import { endOfDay, format, startOfDay } from 'date-fns';
|
|
16
16
|
import { useState } from 'react';
|
|
17
|
-
import { useInfiniteQueryHelper } from '../../hooks/useInfiniteQueryHelper';
|
|
18
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
19
|
-
import { useWithdrawalRecordsQuery } from '../../hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery';
|
|
20
|
-
import { ChevronDownIcon } from '../../icons/ChevronDownIcon';
|
|
21
|
-
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon';
|
|
22
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
23
|
-
import { File02Icon } from '../../icons/File02Icon';
|
|
24
|
-
import { SpinnerIcon } from '../../icons/SpinnerIcon';
|
|
25
|
-
import { Badge, IconButton, Select, Table } from '../../ui';
|
|
26
|
-
import { capitalize } from '../../utils/capitalize';
|
|
27
|
-
import { formatNumber } from '../../utils/formatNumber';
|
|
28
|
-
import { Empty } from '../Empty';
|
|
29
|
-
import { TableFilters } from './TableFilters';
|
|
17
|
+
import { useInfiniteQueryHelper } from '../../hooks/useInfiniteQueryHelper.js';
|
|
18
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
19
|
+
import { useWithdrawalRecordsQuery } from '../../hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.js';
|
|
20
|
+
import { ChevronDownIcon } from '../../icons/ChevronDownIcon.jsx';
|
|
21
|
+
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
|
|
22
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
23
|
+
import { File02Icon } from '../../icons/File02Icon.jsx';
|
|
24
|
+
import { SpinnerIcon } from '../../icons/SpinnerIcon.jsx';
|
|
25
|
+
import { Badge, IconButton, Select, Table } from '../../ui/index.js';
|
|
26
|
+
import { capitalize } from '../../utils/capitalize.js';
|
|
27
|
+
import { formatNumber } from '../../utils/formatNumber.js';
|
|
28
|
+
import { Empty } from '../Empty/index.js';
|
|
29
|
+
import { TableFilters } from './TableFilters.jsx';
|
|
30
30
|
export function WithdrawalRecordsTable() {
|
|
31
31
|
var _a = useState(), timestamp = _a[0], setTimestamp = _a[1];
|
|
32
32
|
var _b = useState(), withdrawalStatus = _b[0], setWithdrawalStatus = _b[1];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TransactionRecords';
|
|
1
|
+
export * from './TransactionRecords.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './TransactionRecords';
|
|
1
|
+
export * from './TransactionRecords.jsx';
|
package/dist/handlers.js
CHANGED
|
@@ -49,7 +49,7 @@ import { authenticate, createSession, destroySession, refreshSession, } from '@o
|
|
|
49
49
|
import { addDays, addMinutes, subMinutes } from 'date-fns';
|
|
50
50
|
import { NextResponse } from 'next/server';
|
|
51
51
|
import { z } from 'zod';
|
|
52
|
-
import { ACCESS_TOKEN_COOKIE_NAME, BYPASS_RECAPTCHA, ENVIRONMENT, PLATFORM_CODE, RECAPTCHA_HEADER_KEY, REFRESH_TOKEN_COOKIE_NAME, } from './constants';
|
|
52
|
+
import { ACCESS_TOKEN_COOKIE_NAME, BYPASS_RECAPTCHA, ENVIRONMENT, PLATFORM_CODE, RECAPTCHA_HEADER_KEY, REFRESH_TOKEN_COOKIE_NAME, } from './constants/index.js';
|
|
53
53
|
var CreateSessionDefinition = z.union([
|
|
54
54
|
z.object({
|
|
55
55
|
type: z.literal('NAME_AND_PASSWORD'),
|
|
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
import { getMemberAccount } from '@opexa/portal-sdk-core';
|
|
38
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
39
|
-
import { getSession } from '../../services/server/getSession';
|
|
40
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
41
|
-
import { getAccountQueryKey } from './getAccountQueryKey';
|
|
38
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
39
|
+
import { getSession } from '../../services/server/getSession.js';
|
|
40
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
41
|
+
import { getAccountQueryKey } from './getAccountQueryKey.js';
|
|
42
42
|
export var prefetchAccountQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
43
|
var session;
|
|
44
44
|
return __generator(this, function (_a) {
|
|
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
import { getMemberAccount } from '@opexa/portal-sdk-core';
|
|
49
49
|
import { useQuery } from '@tanstack/react-query';
|
|
50
50
|
import invariant from 'tiny-invariant';
|
|
51
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
52
|
-
import { getSession } from '../../services/client/getSession';
|
|
53
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
54
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
55
|
-
import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
|
|
56
|
-
import { getAccountQueryKey } from './getAccountQueryKey';
|
|
51
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
52
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
53
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
54
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
55
|
+
import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
|
|
56
|
+
import { getAccountQueryKey } from './getAccountQueryKey.js';
|
|
57
57
|
export var useAccountQuery = function (config) {
|
|
58
58
|
var _a;
|
|
59
59
|
var queryClient = getQueryClient();
|
|
@@ -46,10 +46,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
import { useMutation } from '@tanstack/react-query';
|
|
49
|
-
import { authenticate } from '../../services/client/authenticate';
|
|
49
|
+
import { authenticate } from '../../services/client/authenticate.js';
|
|
50
50
|
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
51
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
52
|
-
import { getAuthenticateMutationKey } from './getAuthenticateMutationKey';
|
|
51
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
52
|
+
import { getAuthenticateMutationKey } from './getAuthenticateMutationKey.js';
|
|
53
53
|
export var useAuthenticateMutation = function (config) {
|
|
54
54
|
var queryClient = getQueryClient();
|
|
55
55
|
return useMutation(__assign(__assign({}, config), { mutationKey: getAuthenticateMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
import { getAvailablePromos, } from '@opexa/portal-sdk-core';
|
|
38
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
39
|
-
import { getSession } from '../../services/server/getSession';
|
|
40
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
41
|
-
import { getAvailablePromosQueryKey } from './getAvailablePromosQueryKey';
|
|
38
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
39
|
+
import { getSession } from '../../services/server/getSession.js';
|
|
40
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
41
|
+
import { getAvailablePromosQueryKey } from './getAvailablePromosQueryKey.js';
|
|
42
42
|
export var prefetchAvailablePromosQuery = function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
43
|
var session;
|
|
44
44
|
return __generator(this, function (_a) {
|
|
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
import { getAvailablePromos, } from '@opexa/portal-sdk-core';
|
|
49
49
|
import { useQuery } from '@tanstack/react-query';
|
|
50
50
|
import invariant from 'tiny-invariant';
|
|
51
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
52
|
-
import { getSession } from '../../services/client/getSession';
|
|
53
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
54
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
55
|
-
import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
|
|
56
|
-
import { getAvailablePromosQueryKey } from './getAvailablePromosQueryKey';
|
|
51
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
52
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
53
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
54
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
55
|
+
import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
|
|
56
|
+
import { getAvailablePromosQueryKey } from './getAvailablePromosQueryKey.js';
|
|
57
57
|
export var useAvailablePromosQuery = function (input, config) {
|
|
58
58
|
var _a;
|
|
59
59
|
var queryClient = getQueryClient();
|
|
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
import { getBetRecords } from '@opexa/portal-sdk-core';
|
|
38
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
39
|
-
import { getSession } from '../../services/server/getSession';
|
|
40
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
41
|
-
import { getBetRecordsQueryKey } from './getBetRecordsQueryKey';
|
|
38
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
39
|
+
import { getSession } from '../../services/server/getSession.js';
|
|
40
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
41
|
+
import { getBetRecordsQueryKey } from './getBetRecordsQueryKey.js';
|
|
42
42
|
export var prefetchBetRecordsQuery = function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
43
|
var session;
|
|
44
44
|
return __generator(this, function (_a) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type BetRecord, type BetRecordsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
|
|
2
|
-
import type { InfiniteQuery } from '../../types';
|
|
2
|
+
import type { InfiniteQuery } from '../../types/index.js';
|
|
3
3
|
export declare const useBetRecordsQuery: InfiniteQuery<PaginatedQueryResult<BetRecord>, BetRecordsInput>;
|
|
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
import { getBetRecords, } from '@opexa/portal-sdk-core';
|
|
49
49
|
import { useInfiniteQuery } from '@tanstack/react-query';
|
|
50
50
|
import invariant from 'tiny-invariant';
|
|
51
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
52
|
-
import { getSession } from '../../services/client/getSession';
|
|
53
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
54
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
55
|
-
import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
|
|
56
|
-
import { getBetRecordsQueryKey } from './getBetRecordsQueryKey';
|
|
51
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
52
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
53
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
54
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
55
|
+
import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
|
|
56
|
+
import { getBetRecordsQueryKey } from './getBetRecordsQueryKey.js';
|
|
57
57
|
export var useBetRecordsQuery = function (input, config) {
|
|
58
58
|
var _a;
|
|
59
59
|
var queryClient = getQueryClient();
|
|
@@ -35,9 +35,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
import { getCashbacks } from '@opexa/portal-sdk-core';
|
|
38
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
39
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
40
|
-
import { getCashbacksQueryKey } from './getCashbacksQueryKey';
|
|
38
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
39
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
40
|
+
import { getCashbacksQueryKey } from './getCashbacksQueryKey.js';
|
|
41
41
|
export var prefetchCashbacksQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
42
42
|
return __generator(this, function (_a) {
|
|
43
43
|
switch (_a.label) {
|
|
@@ -47,8 +47,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
import { getCashbacks } from '@opexa/portal-sdk-core';
|
|
49
49
|
import { useQuery } from '@tanstack/react-query';
|
|
50
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
51
|
-
import { getCashbacksQueryKey } from './getCashbacksQueryKey';
|
|
50
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
51
|
+
import { getCashbacksQueryKey } from './getCashbacksQueryKey.js';
|
|
52
52
|
export var useCashbacksQuery = function (config) {
|
|
53
53
|
return useQuery(__assign(__assign({}, config), { queryKey: getCashbacksQueryKey(), queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
54
54
|
var signal = _b.signal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CreateGCashDepositInput, type Deposit } from '@opexa/portal-sdk-core';
|
|
2
2
|
import type { SetOptional } from 'type-fest';
|
|
3
|
-
import type { Mutation } from '../../types';
|
|
3
|
+
import type { Mutation } from '../../types/index.js';
|
|
4
4
|
export declare const useCreateGCashDepositMutation: Mutation<Deposit, SetOptional<CreateGCashDepositInput, 'id'>>;
|
|
@@ -49,12 +49,12 @@ import { createGCashDeposit, getDeposit, } from '@opexa/portal-sdk-core';
|
|
|
49
49
|
import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
|
|
50
50
|
import { useMutation } from '@tanstack/react-query';
|
|
51
51
|
import invariant from 'tiny-invariant';
|
|
52
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
53
|
-
import { getSession } from '../../services/client/getSession';
|
|
54
|
-
import { createPoll } from '../../utils/createPoll';
|
|
55
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
56
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
57
|
-
import { getCreateGCashDepositMutationKey } from './getCreateGCashDepositMutationKey';
|
|
52
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
53
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
54
|
+
import { createPoll } from '../../utils/createPoll.js';
|
|
55
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
56
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
57
|
+
import { getCreateGCashDepositMutationKey } from './getCreateGCashDepositMutationKey.js';
|
|
58
58
|
export var useCreateGCashDepositMutation = function (config) {
|
|
59
59
|
var queryClient = getQueryClient();
|
|
60
60
|
var mutation = useMutation(__assign(__assign({}, config), { mutationKey: getCreateGCashDepositMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -49,12 +49,12 @@ import { createGameSession, createGameSession__legacy, getGameSession, getGameSe
|
|
|
49
49
|
import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
|
|
50
50
|
import { useMutation } from '@tanstack/react-query';
|
|
51
51
|
import invariant from 'tiny-invariant';
|
|
52
|
-
import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE, } from '../../constants';
|
|
53
|
-
import { getSession } from '../../services/client/getSession';
|
|
54
|
-
import { createPoll } from '../../utils/createPoll';
|
|
55
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
56
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
57
|
-
import { getCreateGameSessionMutationKey } from './getCreateGameSessionMutationKey';
|
|
52
|
+
import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE, } from '../../constants/index.js';
|
|
53
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
54
|
+
import { createPoll } from '../../utils/createPoll.js';
|
|
55
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
56
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
57
|
+
import { getCreateGameSessionMutationKey } from './getCreateGameSessionMutationKey.js';
|
|
58
58
|
export var useCreateGameSessionMutation = function (config) {
|
|
59
59
|
var queryClient = getQueryClient();
|
|
60
60
|
return useMutation(__assign(__assign({}, config), { mutationKey: getCreateGameSessionMutationKey(), mutationFn: function (game) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CreateMayaAppDepositInput, type Deposit } from '@opexa/portal-sdk-core';
|
|
2
2
|
import type { SetOptional } from 'type-fest';
|
|
3
|
-
import type { Mutation } from '../../types';
|
|
3
|
+
import type { Mutation } from '../../types/index.js';
|
|
4
4
|
export declare const useCreateMayaAppDepositMutation: Mutation<Deposit, SetOptional<CreateMayaAppDepositInput, 'id'>>;
|
|
@@ -49,12 +49,12 @@ import { createMayaAppDeposit, getDeposit, } from '@opexa/portal-sdk-core';
|
|
|
49
49
|
import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
|
|
50
50
|
import { useMutation } from '@tanstack/react-query';
|
|
51
51
|
import invariant from 'tiny-invariant';
|
|
52
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
53
|
-
import { getSession } from '../../services/client/getSession';
|
|
54
|
-
import { createPoll } from '../../utils/createPoll';
|
|
55
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
56
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
57
|
-
import { getCreateMayaAppDepositMutationKey } from './getCreateMayaAppDepositMutationKey';
|
|
52
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
53
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
54
|
+
import { createPoll } from '../../utils/createPoll.js';
|
|
55
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
56
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
57
|
+
import { getCreateMayaAppDepositMutationKey } from './getCreateMayaAppDepositMutationKey.js';
|
|
58
58
|
export var useCreateMayaAppDepositMutation = function (config) {
|
|
59
59
|
var queryClient = getQueryClient();
|
|
60
60
|
var mutation = useMutation(__assign(__assign({}, config), { mutationKey: getCreateMayaAppDepositMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CreateMayaDepositInput, type Deposit } from '@opexa/portal-sdk-core';
|
|
2
2
|
import type { SetOptional } from 'type-fest';
|
|
3
|
-
import type { Mutation } from '../../types';
|
|
3
|
+
import type { Mutation } from '../../types/index.js';
|
|
4
4
|
export declare const useCreateMayaDepositMutation: Mutation<Deposit, SetOptional<CreateMayaDepositInput, 'id'>>;
|
|
@@ -49,12 +49,12 @@ import { createMayaDeposit, getDeposit, } from '@opexa/portal-sdk-core';
|
|
|
49
49
|
import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
|
|
50
50
|
import { useMutation } from '@tanstack/react-query';
|
|
51
51
|
import invariant from 'tiny-invariant';
|
|
52
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
53
|
-
import { getSession } from '../../services/client/getSession';
|
|
54
|
-
import { createPoll } from '../../utils/createPoll';
|
|
55
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
56
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
57
|
-
import { getCreateMayaDepositMutationKey } from './getCreateMayaDepositMutationKey';
|
|
52
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
53
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
54
|
+
import { createPoll } from '../../utils/createPoll.js';
|
|
55
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
56
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
57
|
+
import { getCreateMayaDepositMutationKey } from './getCreateMayaDepositMutationKey.js';
|
|
58
58
|
export var useCreateMayaDepositMutation = function (config) {
|
|
59
59
|
var queryClient = getQueryClient();
|
|
60
60
|
var mutation = useMutation(__assign(__assign({}, config), { mutationKey: getCreateMayaDepositMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CreateAIOOnlineBankDepositInput, type Deposit } from '@opexa/portal-sdk-core';
|
|
2
2
|
import type { SetOptional } from 'type-fest';
|
|
3
|
-
import type { Mutation } from '../../types';
|
|
3
|
+
import type { Mutation } from '../../types/index.js';
|
|
4
4
|
export declare const useCreateOnlineBankDepositMutation: Mutation<Deposit, SetOptional<CreateAIOOnlineBankDepositInput, 'id'>>;
|
|
@@ -49,12 +49,12 @@ import { createAIOOnlineBankDeposit, getDeposit, } from '@opexa/portal-sdk-core'
|
|
|
49
49
|
import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
|
|
50
50
|
import { useMutation } from '@tanstack/react-query';
|
|
51
51
|
import invariant from 'tiny-invariant';
|
|
52
|
-
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
|
|
53
|
-
import { getSession } from '../../services/client/getSession';
|
|
54
|
-
import { createPoll } from '../../utils/createPoll';
|
|
55
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
56
|
-
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
|
|
57
|
-
import { getCreateOnlineBankDepositMutationKey } from './getCreateOnlineBankDepositMutationKey';
|
|
52
|
+
import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
|
|
53
|
+
import { getSession } from '../../services/client/getSession.js';
|
|
54
|
+
import { createPoll } from '../../utils/createPoll.js';
|
|
55
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
56
|
+
import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
|
|
57
|
+
import { getCreateOnlineBankDepositMutationKey } from './getCreateOnlineBankDepositMutationKey.js';
|
|
58
58
|
export var useCreateOnlineBankDepositMutation = function (config) {
|
|
59
59
|
var queryClient = getQueryClient();
|
|
60
60
|
var mutation = useMutation(__assign(__assign({}, config), { mutationKey: getCreateOnlineBankDepositMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CreateAIOQRPHDeposit, type Deposit } from '@opexa/portal-sdk-core';
|
|
2
2
|
import type { SetOptional } from 'type-fest';
|
|
3
|
-
import type { Mutation } from '../../types';
|
|
3
|
+
import type { Mutation } from '../../types/index.js';
|
|
4
4
|
export declare const useCreateQRPHDepositMutation: Mutation<Deposit, SetOptional<CreateAIOQRPHDeposit, 'id'>>;
|