@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 +1 @@
|
|
|
1
|
-
export * from './DepositWithdrawal';
|
|
1
|
+
export * from './DepositWithdrawal.jsx';
|
|
@@ -4,8 +4,8 @@ import Image from 'next/image';
|
|
|
4
4
|
import { useRef } from 'react';
|
|
5
5
|
import pagcorLogo from '../../images/pagcor.png';
|
|
6
6
|
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
7
|
-
import { Button, Dialog } from '../../ui';
|
|
8
|
-
import { useDisclaimer } from './useDisclaimer';
|
|
7
|
+
import { Button, Dialog } from '../../ui/index.js';
|
|
8
|
+
import { useDisclaimer } from './useDisclaimer.js';
|
|
9
9
|
export function Disclaimer(props) {
|
|
10
10
|
var disclaimer = useDisclaimer();
|
|
11
11
|
var acceptTriggerRef = useRef(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Disclaimer';
|
|
1
|
+
export * from './Disclaimer.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Disclaimer';
|
|
1
|
+
export * from './Disclaimer.jsx';
|
|
@@ -2,8 +2,8 @@ import { addMinutes } from 'date-fns';
|
|
|
2
2
|
import { clamp } from 'lodash-es';
|
|
3
3
|
import { useLocalStorage, useTimeout } from 'usehooks-ts';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
6
|
-
import { useSessionQuery } from '../../hooks/useSessionQuery/useSessionQuery';
|
|
5
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
6
|
+
import { useSessionQuery } from '../../hooks/useSessionQuery/useSessionQuery.js';
|
|
7
7
|
export function useDisclaimer() {
|
|
8
8
|
'use no memo';
|
|
9
9
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Empty';
|
|
1
|
+
export * from './Empty.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Empty';
|
|
1
|
+
export * from './Empty.jsx';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { UseFeatureFlagReturn } from './useFeatureFlag';
|
|
1
|
+
import type { UseFeatureFlagReturn } from './useFeatureFlag.js';
|
|
2
2
|
export declare const FeatureFlagContext: import("react").Context<UseFeatureFlagReturn | null>;
|
|
3
3
|
export declare const useFeatureFlagContext: () => UseFeatureFlagReturn;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Portal } from '@ark-ui/react';
|
|
2
|
-
import { Presence } from '../../ui';
|
|
3
|
-
import { FeatureFlagContext } from './FeatureFlagContext';
|
|
4
|
-
import { useFeatureFlag } from './useFeatureFlag';
|
|
2
|
+
import { Presence } from '../../ui/index.js';
|
|
3
|
+
import { FeatureFlagContext } from './FeatureFlagContext.jsx';
|
|
4
|
+
import { useFeatureFlag } from './useFeatureFlag.js';
|
|
5
5
|
export function FeatureFlagProvider(props) {
|
|
6
6
|
var context = useFeatureFlag();
|
|
7
7
|
return (<FeatureFlagContext value={context}>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './FeatureFlagContext';
|
|
2
|
-
export * from './FeatureFlagProvider';
|
|
1
|
+
export * from './FeatureFlagContext.jsx';
|
|
2
|
+
export * from './FeatureFlagProvider.jsx';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export * from './FeatureFlagContext';
|
|
3
|
-
export * from './FeatureFlagProvider';
|
|
2
|
+
export * from './FeatureFlagContext.jsx';
|
|
3
|
+
export * from './FeatureFlagProvider.jsx';
|
|
@@ -40,15 +40,15 @@ import Image from 'next/image';
|
|
|
40
40
|
import { useRef } from 'react';
|
|
41
41
|
import { useShallow } from 'zustand/shallow';
|
|
42
42
|
import { useDisclosure } from '../../hooks/useDisclosure';
|
|
43
|
-
import { useEndGameSessionMutation } from '../../hooks/useEndGameSessionMutation/useEndGameSessionMutation';
|
|
44
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
45
|
-
import { AlertCircleIcon } from '../../icons/AlertCircleIcon';
|
|
46
|
-
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon';
|
|
47
|
-
import { Expand03Icon } from '../../icons/Expand03Icon';
|
|
48
|
-
import { SpinnerIcon } from '../../icons/SpinnerIcon';
|
|
49
|
-
import { Wallet02Icon } from '../../icons/Wallet02Icon';
|
|
50
|
-
import { XIcon } from '../../icons/XIcon';
|
|
51
|
-
import { AlertDialog, Button, IconButton } from '../../ui';
|
|
43
|
+
import { useEndGameSessionMutation } from '../../hooks/useEndGameSessionMutation/useEndGameSessionMutation.js';
|
|
44
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
45
|
+
import { AlertCircleIcon } from '../../icons/AlertCircleIcon.jsx';
|
|
46
|
+
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
|
|
47
|
+
import { Expand03Icon } from '../../icons/Expand03Icon.jsx';
|
|
48
|
+
import { SpinnerIcon } from '../../icons/SpinnerIcon.jsx';
|
|
49
|
+
import { Wallet02Icon } from '../../icons/Wallet02Icon.jsx';
|
|
50
|
+
import { XIcon } from '../../icons/XIcon.jsx';
|
|
51
|
+
import { AlertDialog, Button, IconButton } from '../../ui/index.js';
|
|
52
52
|
export function GameLaunch(props) {
|
|
53
53
|
var _this = this;
|
|
54
54
|
var _a, _b, _c;
|
|
@@ -37,11 +37,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
import { ark } from '@ark-ui/react';
|
|
39
39
|
import { useShallow } from 'zustand/shallow';
|
|
40
|
-
import { useCreateGameSessionMutation } from '../../hooks/useCreateGameSessionMutation/useCreateGameSessionMutation';
|
|
41
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
42
|
-
import { useSessionQuery } from '../../hooks/useSessionQuery/useSessionQuery';
|
|
43
|
-
import { dataAttr } from '../../utils/dataAttr';
|
|
44
|
-
import { toaster } from '../../utils/toaster';
|
|
40
|
+
import { useCreateGameSessionMutation } from '../../hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.js';
|
|
41
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
42
|
+
import { useSessionQuery } from '../../hooks/useSessionQuery/useSessionQuery.js';
|
|
43
|
+
import { dataAttr } from '../../utils/dataAttr.js';
|
|
44
|
+
import { toaster } from '../../utils/toaster.js';
|
|
45
45
|
export function GameLaunchTrigger(props) {
|
|
46
46
|
var _this = this;
|
|
47
47
|
var _a, _b;
|
|
@@ -34,8 +34,8 @@ 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 { prefetchGamesQuery } from '../../hooks/useGamesQuery/prefetchGamesQuery';
|
|
38
|
-
import { GamesContent } from './GamesContent';
|
|
37
|
+
import { prefetchGamesQuery } from '../../hooks/useGamesQuery/prefetchGamesQuery.js';
|
|
38
|
+
import { GamesContent } from './GamesContent.jsx';
|
|
39
39
|
export function Games(props) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function () {
|
|
41
41
|
var numOfRows;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { GamesProps } from './Games';
|
|
1
|
+
import type { GamesProps } from './Games.jsx';
|
|
2
2
|
export declare function GamesContent(props: GamesProps): import("react").JSX.Element;
|
|
@@ -40,13 +40,13 @@ import Image from 'next/image';
|
|
|
40
40
|
import Link from 'next/link';
|
|
41
41
|
import { useCallback, useEffect, useState } from 'react';
|
|
42
42
|
import { twMerge } from 'tailwind-merge';
|
|
43
|
-
import { useGamesQuery } from '../../hooks/useGamesQuery/useGamesQuery';
|
|
44
|
-
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon';
|
|
45
|
-
import { ArrowRightIcon } from '../../icons/ArrowRightIcon';
|
|
46
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
47
|
-
import { SpinnerIcon } from '../../icons/SpinnerIcon';
|
|
48
|
-
import { Button } from '../../ui';
|
|
49
|
-
import { GameLaunchTrigger } from '../GameLaunch';
|
|
43
|
+
import { useGamesQuery } from '../../hooks/useGamesQuery/useGamesQuery.js';
|
|
44
|
+
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
|
|
45
|
+
import { ArrowRightIcon } from '../../icons/ArrowRightIcon.jsx';
|
|
46
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
47
|
+
import { SpinnerIcon } from '../../icons/SpinnerIcon.jsx';
|
|
48
|
+
import { Button } from '../../ui/index.js';
|
|
49
|
+
import { GameLaunchTrigger } from '../GameLaunch/index.js';
|
|
50
50
|
export function GamesContent(props) {
|
|
51
51
|
var _this = this;
|
|
52
52
|
var _a, _b, _c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Games';
|
|
1
|
+
export * from './Games.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Games';
|
|
1
|
+
export * from './Games.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 { JackpotCounterContent } from './JackpotCounterContent';
|
|
37
|
+
import { JackpotCounterContent } from './JackpotCounterContent.jsx';
|
|
38
38
|
export function JackpotCounter(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 { JackpotCounterProps } from './JackpotCounter';
|
|
1
|
+
import type { JackpotCounterProps } from './JackpotCounter.jsx';
|
|
2
2
|
export declare function JackpotCounterContent(props: JackpotCounterProps): 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 { useJackpotsQuery } from '../../hooks/useJackpotsQuery/useJackpotsQuery';
|
|
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 { JackpotCounterItem } from './JackpotCounterItem';
|
|
5
|
+
import { useJackpotsQuery } from '../../hooks/useJackpotsQuery/useJackpotsQuery.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 { JackpotCounterItem } from './JackpotCounterItem.jsx';
|
|
11
11
|
export function JackpotCounterContent(props) {
|
|
12
12
|
var _a, _b;
|
|
13
13
|
var _c = useEmblaCarousel({
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { Progress } from '@ark-ui/react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
6
|
-
import { ArrowNarrowUpRightIcon } from '../../icons/ArrowNarrowUpRightIcon';
|
|
7
|
-
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon';
|
|
8
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
5
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
6
|
+
import { ArrowNarrowUpRightIcon } from '../../icons/ArrowNarrowUpRightIcon.jsx';
|
|
7
|
+
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.jsx';
|
|
8
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
9
9
|
import closeChest from '../../images/close-chest.png';
|
|
10
10
|
import openChest from '../../images/open-chest.png';
|
|
11
|
-
import { formatNumber } from '../../utils/formatNumber';
|
|
11
|
+
import { formatNumber } from '../../utils/formatNumber.js';
|
|
12
12
|
import styles from './JackpotCounter.module.css';
|
|
13
13
|
export function JackpotCounterItem(_a) {
|
|
14
14
|
var _b, _c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './JackpotCounter';
|
|
1
|
+
export * from './JackpotCounter.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './JackpotCounter';
|
|
1
|
+
export * from './JackpotCounter.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Marquee';
|
|
1
|
+
export * from './Marquee.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Marquee';
|
|
1
|
+
export * from './Marquee.jsx';
|
|
@@ -35,12 +35,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
import { dehydrate, HydrationBoundary } from '@tanstack/react-query';
|
|
38
|
-
import { prefetchPlatformQuery } from '../../hooks/usePlatformQuery/prefetchPlatformQuery';
|
|
39
|
-
import { prefetchSessionQuery } from '../../hooks/useSessionQuery/prefetchSessionQuery';
|
|
40
|
-
import { prefetchWalletQuery } from '../../hooks/useWalletQuery/prefetchWalletQuery';
|
|
41
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
42
|
-
import { FeatureFlagProvider } from '../FeatureFlagProvider';
|
|
43
|
-
import { Providers } from './Providers';
|
|
38
|
+
import { prefetchPlatformQuery } from '../../hooks/usePlatformQuery/prefetchPlatformQuery.js';
|
|
39
|
+
import { prefetchSessionQuery } from '../../hooks/useSessionQuery/prefetchSessionQuery.js';
|
|
40
|
+
import { prefetchWalletQuery } from '../../hooks/useWalletQuery/prefetchWalletQuery.js';
|
|
41
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
42
|
+
import { FeatureFlagProvider } from '../FeatureFlagProvider/index.js';
|
|
43
|
+
import { Providers } from './Providers.jsx';
|
|
44
44
|
export function PortalProvider(_a) {
|
|
45
45
|
return __awaiter(this, arguments, void 0, function (_b) {
|
|
46
46
|
var queryClient;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Toast, Toaster } from '@ark-ui/react';
|
|
3
3
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
|
-
import { AlertCircleIcon } from '../../icons/AlertCircleIcon';
|
|
6
|
-
import { XIcon } from '../../icons/XIcon';
|
|
7
|
-
import { getQueryClient } from '../../utils/getQueryClient';
|
|
8
|
-
import { toaster } from '../../utils/toaster';
|
|
5
|
+
import { AlertCircleIcon } from '../../icons/AlertCircleIcon.jsx';
|
|
6
|
+
import { XIcon } from '../../icons/XIcon.jsx';
|
|
7
|
+
import { getQueryClient } from '../../utils/getQueryClient.js';
|
|
8
|
+
import { toaster } from '../../utils/toaster.js';
|
|
9
9
|
export function Providers(_a) {
|
|
10
10
|
var children = _a.children;
|
|
11
11
|
var queryClient = getQueryClient();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './PortalProvider';
|
|
1
|
+
export * from './PortalProvider.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './PortalProvider';
|
|
1
|
+
export * from './PortalProvider.jsx';
|
|
@@ -34,8 +34,8 @@ 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 { prefetchPromoQuery } from '../../hooks/usePromoQuery/prefetchPromoQuery';
|
|
38
|
-
import { PromoContent } from './PromoContent';
|
|
37
|
+
import { prefetchPromoQuery } from '../../hooks/usePromoQuery/prefetchPromoQuery.js';
|
|
38
|
+
import { PromoContent } from './PromoContent.jsx';
|
|
39
39
|
export function Promo(props) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function () {
|
|
41
41
|
return __generator(this, function (_a) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { PromoProps } from './Promo';
|
|
1
|
+
import type { PromoProps } from './Promo.jsx';
|
|
2
2
|
export declare function PromoContent(props: PromoProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { usePromoQuery } from '../../hooks/usePromoQuery/usePromoQuery';
|
|
2
|
+
import { usePromoQuery } from '../../hooks/usePromoQuery/usePromoQuery.js';
|
|
3
3
|
export function PromoContent(props) {
|
|
4
4
|
var promoQuery = usePromoQuery(props.id);
|
|
5
5
|
if (promoQuery.isLoading) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Promo';
|
|
1
|
+
export * from './Promo.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Promo';
|
|
1
|
+
export * from './Promo.jsx';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { PromosProps } from './Promos';
|
|
1
|
+
import type { PromosProps } from './Promos.jsx';
|
|
2
2
|
export declare function PromoCarousel(props: PromosProps): import("react").JSX.Element;
|
|
@@ -39,14 +39,14 @@ import useEmblaCarousel from 'embla-carousel-react';
|
|
|
39
39
|
import Link from 'next/link';
|
|
40
40
|
import { useCallback, useEffect, useState } from 'react';
|
|
41
41
|
import { twMerge } from 'tailwind-merge';
|
|
42
|
-
import { usePromosQuery } from '../../hooks/usePromosQuery/usePromosQuery';
|
|
43
|
-
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon';
|
|
44
|
-
import { ArrowRightIcon } from '../../icons/ArrowRightIcon';
|
|
45
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
46
|
-
import { Gift01Icon } from '../../icons/Gift01Icon';
|
|
47
|
-
import { Button } from '../../ui';
|
|
48
|
-
import { Empty } from '../Empty';
|
|
49
|
-
import { PromosItem } from './PromoItem';
|
|
42
|
+
import { usePromosQuery } from '../../hooks/usePromosQuery/usePromosQuery.js';
|
|
43
|
+
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
|
|
44
|
+
import { ArrowRightIcon } from '../../icons/ArrowRightIcon.jsx';
|
|
45
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
46
|
+
import { Gift01Icon } from '../../icons/Gift01Icon.jsx';
|
|
47
|
+
import { Button } from '../../ui/index.js';
|
|
48
|
+
import { Empty } from '../Empty/index.js';
|
|
49
|
+
import { PromosItem } from './PromoItem.jsx';
|
|
50
50
|
export function PromoCarousel(props) {
|
|
51
51
|
var _this = this;
|
|
52
52
|
var promosQuery = usePromosQuery({});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { PromosProps } from './Promos';
|
|
1
|
+
import type { PromosProps } from './Promos.jsx';
|
|
2
2
|
export declare function PromoGrid(props: PromosProps): import("react").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { twMerge } from 'tailwind-merge';
|
|
3
|
-
import { usePromosQuery } from '../../hooks/usePromosQuery/usePromosQuery';
|
|
4
|
-
import { Gift01Icon } from '../../icons/Gift01Icon';
|
|
5
|
-
import { Empty } from '../Empty';
|
|
6
|
-
import { PromosItem } from './PromoItem';
|
|
3
|
+
import { usePromosQuery } from '../../hooks/usePromosQuery/usePromosQuery.js';
|
|
4
|
+
import { Gift01Icon } from '../../icons/Gift01Icon.jsx';
|
|
5
|
+
import { Empty } from '../Empty/index.js';
|
|
6
|
+
import { PromosItem } from './PromoItem.jsx';
|
|
7
7
|
export function PromoGrid(props) {
|
|
8
8
|
var promosQuery = usePromosQuery({});
|
|
9
9
|
var promos = promosQuery.data || [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import { useRouter } from 'next/navigation';
|
|
3
3
|
import { twJoin } from 'tailwind-merge';
|
|
4
|
-
import { Button } from '../../ui';
|
|
4
|
+
import { Button } from '../../ui/index.js';
|
|
5
5
|
export function PromosItem(props) {
|
|
6
6
|
var promo = props.promo;
|
|
7
7
|
var router = useRouter();
|
|
@@ -34,9 +34,9 @@ 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 { prefetchPromosQuery } from '../../hooks/usePromosQuery/prefetchPromosQuery';
|
|
38
|
-
import { PromoCarousel } from './PromoCarousel';
|
|
39
|
-
import { PromoGrid } from './PromoGrid';
|
|
37
|
+
import { prefetchPromosQuery } from '../../hooks/usePromosQuery/prefetchPromosQuery.js';
|
|
38
|
+
import { PromoCarousel } from './PromoCarousel.jsx';
|
|
39
|
+
import { PromoGrid } from './PromoGrid.jsx';
|
|
40
40
|
export function Promos(props) {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function () {
|
|
42
42
|
return __generator(this, function (_a) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { PromosProps } from './Promos';
|
|
1
|
+
import type { PromosProps } from './Promos.jsx';
|
|
2
2
|
export declare function PromosContent(props: PromosProps): import("react").JSX.Element;
|
|
@@ -39,14 +39,14 @@ import useEmblaCarousel from 'embla-carousel-react';
|
|
|
39
39
|
import Link from 'next/link';
|
|
40
40
|
import { useCallback, useEffect, useState } from 'react';
|
|
41
41
|
import { twMerge } from 'tailwind-merge';
|
|
42
|
-
import { usePromosQuery } from '../../hooks/usePromosQuery/usePromosQuery';
|
|
43
|
-
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon';
|
|
44
|
-
import { ArrowRightIcon } from '../../icons/ArrowRightIcon';
|
|
45
|
-
import { ChevronRightIcon } from '../../icons/ChevronRightIcon';
|
|
46
|
-
import { Gift01Icon } from '../../icons/Gift01Icon';
|
|
47
|
-
import { Button } from '../../ui';
|
|
48
|
-
import { Empty } from '../Empty';
|
|
49
|
-
import { PromosItem } from './PromoItem';
|
|
42
|
+
import { usePromosQuery } from '../../hooks/usePromosQuery/usePromosQuery.js';
|
|
43
|
+
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
|
|
44
|
+
import { ArrowRightIcon } from '../../icons/ArrowRightIcon.jsx';
|
|
45
|
+
import { ChevronRightIcon } from '../../icons/ChevronRightIcon.jsx';
|
|
46
|
+
import { Gift01Icon } from '../../icons/Gift01Icon.jsx';
|
|
47
|
+
import { Button } from '../../ui/index.js';
|
|
48
|
+
import { Empty } from '../Empty/index.js';
|
|
49
|
+
import { PromosItem } from './PromoItem.jsx';
|
|
50
50
|
export function PromosContent(props) {
|
|
51
51
|
var _this = this;
|
|
52
52
|
var promosQuery = usePromosQuery({});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Promos';
|
|
1
|
+
export * from './Promos.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Promos';
|
|
1
|
+
export * from './Promos.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Protected';
|
|
1
|
+
export * from './Protected.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Protected';
|
|
1
|
+
export * from './Protected.jsx';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Portal } from '@ark-ui/react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
6
|
-
import { XIcon } from '../../icons/XIcon';
|
|
7
|
-
import { Dialog } from '../../ui';
|
|
8
|
-
import { SignInForm } from './SignInForm';
|
|
5
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
6
|
+
import { XIcon } from '../../icons/XIcon.jsx';
|
|
7
|
+
import { Dialog } from '../../ui/index.js';
|
|
8
|
+
import { SignInForm } from './SignInForm.jsx';
|
|
9
9
|
export function SignIn(props) {
|
|
10
10
|
var _a;
|
|
11
11
|
var signInStore = useGlobalStore(useShallow(function (popups) { return popups.signIn; }));
|
|
@@ -41,18 +41,18 @@ import { useState } from 'react';
|
|
|
41
41
|
import { Controller, useForm } from 'react-hook-form';
|
|
42
42
|
import { z } from 'zod';
|
|
43
43
|
import { useShallow } from 'zustand/shallow';
|
|
44
|
-
import { useCooldown } from '../../hooks/useCooldown';
|
|
45
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
46
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
47
|
-
import { useMobileNumberParser } from '../../hooks/useMobileNumberParser';
|
|
48
|
-
import { useSendVerificationCodeMutation } from '../../hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation';
|
|
49
|
-
import { useSignInMutation } from '../../hooks/useSigninMutation/useSignInMutation';
|
|
50
|
-
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon';
|
|
51
|
-
import { CheckIcon } from '../../icons/CheckIcon';
|
|
52
|
-
import { FacebookIcon } from '../../icons/FacebookIcon';
|
|
53
|
-
import { GoogleIcon } from '../../icons/GoogleIcon';
|
|
54
|
-
import { Button, Checkbox, Field, PinInput } from '../../ui';
|
|
55
|
-
import { toaster } from '../../utils/toaster';
|
|
44
|
+
import { useCooldown } from '../../hooks/useCooldown.js';
|
|
45
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
46
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
47
|
+
import { useMobileNumberParser } from '../../hooks/useMobileNumberParser.js';
|
|
48
|
+
import { useSendVerificationCodeMutation } from '../../hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js';
|
|
49
|
+
import { useSignInMutation } from '../../hooks/useSigninMutation/useSignInMutation.js';
|
|
50
|
+
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
|
|
51
|
+
import { CheckIcon } from '../../icons/CheckIcon.jsx';
|
|
52
|
+
import { FacebookIcon } from '../../icons/FacebookIcon.jsx';
|
|
53
|
+
import { GoogleIcon } from '../../icons/GoogleIcon.jsx';
|
|
54
|
+
import { Button, Checkbox, Field, PinInput } from '../../ui/index.js';
|
|
55
|
+
import { toaster } from '../../utils/toaster.js';
|
|
56
56
|
export function SignInForm() {
|
|
57
57
|
var _this = this;
|
|
58
58
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './SignIn';
|
|
1
|
+
export * from './SignIn.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './SignIn';
|
|
1
|
+
export * from './SignIn.jsx';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Portal } from '@ark-ui/react';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
6
|
-
import { XIcon } from '../../icons/XIcon';
|
|
7
|
-
import { Button, Dialog } from '../../ui';
|
|
8
|
-
import { SignUpForm } from './SignUpForm';
|
|
5
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
6
|
+
import { XIcon } from '../../icons/XIcon.jsx';
|
|
7
|
+
import { Button, Dialog } from '../../ui/index.js';
|
|
8
|
+
import { SignUpForm } from './SignUpForm.jsx';
|
|
9
9
|
export function SignUp(props) {
|
|
10
10
|
var _a;
|
|
11
11
|
var signUpStore = useGlobalStore(useShallow(function (popups) { return popups.signUp; }));
|
|
@@ -43,17 +43,17 @@ import { useState } from 'react';
|
|
|
43
43
|
import { Controller, useForm } from 'react-hook-form';
|
|
44
44
|
import { z } from 'zod';
|
|
45
45
|
import { useShallow } from 'zustand/shallow';
|
|
46
|
-
import { useCooldown } from '../../hooks/useCooldown';
|
|
47
|
-
import { useGlobalStore } from '../../hooks/useGlobalStore';
|
|
48
|
-
import { useLocaleInfo } from '../../hooks/useLocaleInfo';
|
|
49
|
-
import { useMobileNumberParser } from '../../hooks/useMobileNumberParser';
|
|
50
|
-
import { useSendVerificationCodeMutation } from '../../hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation';
|
|
51
|
-
import { useSignInMutation } from '../../hooks/useSigninMutation/useSignInMutation';
|
|
52
|
-
import { useSignUpMutation } from '../../hooks/useSignUpMutation/useSignUpMutation';
|
|
53
|
-
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon';
|
|
54
|
-
import { CheckIcon } from '../../icons/CheckIcon';
|
|
55
|
-
import { Button, Checkbox, Field, PinInput } from '../../ui';
|
|
56
|
-
import { toaster } from '../../utils/toaster';
|
|
46
|
+
import { useCooldown } from '../../hooks/useCooldown.js';
|
|
47
|
+
import { useGlobalStore } from '../../hooks/useGlobalStore.js';
|
|
48
|
+
import { useLocaleInfo } from '../../hooks/useLocaleInfo.js';
|
|
49
|
+
import { useMobileNumberParser } from '../../hooks/useMobileNumberParser.js';
|
|
50
|
+
import { useSendVerificationCodeMutation } from '../../hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js';
|
|
51
|
+
import { useSignInMutation } from '../../hooks/useSigninMutation/useSignInMutation.js';
|
|
52
|
+
import { useSignUpMutation } from '../../hooks/useSignUpMutation/useSignUpMutation.js';
|
|
53
|
+
import { ArrowLeftIcon } from '../../icons/ArrowLeftIcon.jsx';
|
|
54
|
+
import { CheckIcon } from '../../icons/CheckIcon.jsx';
|
|
55
|
+
import { Button, Checkbox, Field, PinInput } from '../../ui/index.js';
|
|
56
|
+
import { toaster } from '../../utils/toaster.js';
|
|
57
57
|
export function SignUpForm() {
|
|
58
58
|
var _this = this;
|
|
59
59
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './SignUp';
|
|
1
|
+
export * from './SignUp.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './SignUp';
|
|
1
|
+
export * from './SignUp.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 { TopWinsContent } from './TopWinsContent';
|
|
37
|
+
import { TopWinsContent } from './TopWinsContent.jsx';
|
|
38
38
|
export function TopWins(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 { TopWinsProps } from './TopWins';
|
|
1
|
+
import type { TopWinsProps } from './TopWins.jsx';
|
|
2
2
|
export declare function TopWinsContent(props: TopWinsProps): import("react").JSX.Element | null;
|