@opexa/portal-components 0.0.2 → 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.d.ts +12 -0
- package/dist/components/Account/Account.jsx +172 -0
- package/dist/components/Account/index.d.ts +1 -0
- package/dist/components/Account/index.js +1 -0
- package/dist/components/Banner/Banner.d.ts +11 -0
- package/dist/components/Banner/Banner.jsx +52 -0
- package/dist/components/Banner/index.d.ts +1 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/BetRecords/BetRecords.d.ts +7 -0
- package/dist/components/BetRecords/BetRecords.jsx +4 -0
- package/dist/components/BetRecords/BetRecordsContent.d.ts +2 -0
- package/dist/components/BetRecords/BetRecordsContent.jsx +413 -0
- package/dist/components/BetRecords/index.d.ts +1 -0
- package/dist/components/BetRecords/index.js +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.d.ts +11 -0
- package/dist/components/DepositWithdrawal/AmountChoices.jsx +31 -0
- package/dist/components/DepositWithdrawal/AvailablePromos.d.ts +8 -0
- package/dist/components/DepositWithdrawal/AvailablePromos.jsx +78 -0
- package/dist/components/DepositWithdrawal/Deposit/Deposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +82 -0
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +275 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +282 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.jsx +13 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +275 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +22 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.jsx +8 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +286 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +13 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +92 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +14 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +77 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +24 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.jsx +8 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +256 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +14 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +107 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +19 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +15 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +81 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +6 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +101 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +4 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +63 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +10 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.jsx +70 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.jsx +3 -0
- package/dist/components/DepositWithdrawal/index.d.ts +1 -0
- package/dist/components/DepositWithdrawal/index.js +1 -0
- package/dist/components/DepositWithdrawal/utils.d.ts +3 -0
- package/dist/components/DepositWithdrawal/utils.js +8 -0
- package/dist/components/Disclaimer/Disclaimer.d.ts +5 -0
- package/dist/components/Disclaimer/Disclaimer.jsx +45 -0
- package/dist/components/Disclaimer/index.d.ts +1 -0
- package/dist/components/Disclaimer/index.js +1 -0
- package/dist/components/Disclaimer/useDisclaimer.d.ts +4 -0
- package/dist/components/Disclaimer/useDisclaimer.jsx +39 -0
- package/dist/components/Empty/CloudIcon.d.ts +2 -0
- package/dist/components/Empty/CloudIcon.jsx +42 -0
- package/dist/components/Empty/Empty.d.ts +9 -0
- package/dist/components/Empty/Empty.jsx +16 -0
- package/dist/components/Empty/index.d.ts +1 -0
- package/dist/components/Empty/index.js +1 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +3 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.jsx +8 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.d.ts +6 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.jsx +19 -0
- package/dist/components/FeatureFlagProvider/index.d.ts +2 -0
- package/dist/components/FeatureFlagProvider/index.js +3 -0
- package/dist/components/FeatureFlagProvider/useFeatureFlag.d.ts +8 -0
- package/dist/components/FeatureFlagProvider/useFeatureFlag.js +66 -0
- package/dist/components/GameLaunch/GameLaunch.d.ts +5 -0
- package/dist/components/GameLaunch/GameLaunch.jsx +225 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +6 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.jsx +107 -0
- package/dist/components/GameLaunch/index.d.ts +2 -0
- package/dist/components/GameLaunch/index.js +2 -0
- package/dist/components/GameProviders/GameProviders.d.ts +14 -0
- package/dist/components/GameProviders/GameProviders.jsx +3 -0
- package/dist/components/Games/Games.d.ts +10 -0
- package/dist/components/Games/Games.jsx +57 -0
- package/dist/components/Games/GamesContent.d.ts +2 -0
- package/dist/components/Games/GamesContent.jsx +138 -0
- package/dist/components/Games/index.d.ts +1 -0
- package/dist/components/Games/index.js +1 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +6 -0
- package/dist/components/JackpotCounter/JackpotCounter.jsx +61 -0
- package/dist/components/JackpotCounter/JackpotCounterContent.d.ts +2 -0
- package/dist/components/JackpotCounter/JackpotCounterContent.jsx +87 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +6 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.jsx +108 -0
- package/dist/components/JackpotCounter/index.d.ts +1 -0
- package/dist/components/JackpotCounter/index.js +1 -0
- package/dist/components/Marquee/Marquee.d.ts +5 -0
- package/dist/components/Marquee/Marquee.jsx +14 -0
- package/dist/components/Marquee/index.d.ts +1 -0
- package/dist/components/Marquee/index.js +1 -0
- package/dist/components/PortalProvider/PortalProvider.d.ts +2 -0
- package/dist/components/PortalProvider/PortalProvider.jsx +67 -0
- package/dist/components/PortalProvider/Providers.d.ts +2 -0
- package/dist/components/PortalProvider/Providers.jsx +49 -0
- package/dist/components/PortalProvider/index.d.ts +1 -0
- package/dist/components/PortalProvider/index.js +1 -0
- package/dist/components/Promo/Promo.d.ts +4 -0
- package/dist/components/Promo/Promo.jsx +50 -0
- package/dist/components/Promo/PromoContent.d.ts +2 -0
- package/dist/components/Promo/PromoContent.jsx +18 -0
- package/dist/components/Promo/index.d.ts +1 -0
- package/dist/components/Promo/index.js +1 -0
- package/dist/components/Promos/PromoCarousel.d.ts +2 -0
- package/dist/components/Promos/PromoCarousel.jsx +110 -0
- package/dist/components/Promos/PromoGrid.d.ts +2 -0
- package/dist/components/Promos/PromoGrid.jsx +24 -0
- package/dist/components/Promos/PromoItem.d.ts +7 -0
- package/dist/components/Promos/PromoItem.jsx +24 -0
- package/dist/components/Promos/Promos.d.ts +11 -0
- package/dist/components/Promos/Promos.jsx +57 -0
- package/dist/components/Promos/PromosContent.d.ts +2 -0
- package/dist/components/Promos/PromosContent.jsx +110 -0
- package/dist/components/Promos/index.d.ts +1 -0
- package/dist/components/Promos/index.js +1 -0
- package/dist/components/Protected/Protected.d.ts +6 -0
- package/dist/components/Protected/Protected.jsx +9 -0
- package/dist/components/Protected/index.d.ts +1 -0
- package/dist/components/Protected/index.js +1 -0
- package/dist/components/SignIn/SignIn.d.ts +8 -0
- package/dist/components/SignIn/SignIn.jsx +39 -0
- package/dist/components/SignIn/SignInForm.d.ts +1 -0
- package/dist/components/SignIn/SignInForm.jsx +308 -0
- package/dist/components/SignIn/index.d.ts +1 -0
- package/dist/components/SignIn/index.js +1 -0
- package/dist/components/SignUp/SignUp.d.ts +8 -0
- package/dist/components/SignUp/SignUp.jsx +37 -0
- package/dist/components/SignUp/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpForm.jsx +312 -0
- package/dist/components/SignUp/index.d.ts +1 -0
- package/dist/components/SignUp/index.js +1 -0
- package/dist/components/TopWins/TopWins.d.ts +5 -0
- package/dist/components/TopWins/TopWins.jsx +45 -0
- package/dist/components/TopWins/TopWinsContent.d.ts +2 -0
- package/dist/components/TopWins/TopWinsContent.jsx +51 -0
- package/dist/components/TopWins/index.d.ts +1 -0
- package/dist/components/TopWins/index.js +1 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +6 -0
- package/dist/components/TournamentCounter/TournamentCounter.jsx +54 -0
- package/dist/components/TournamentCounter/TournamentCounterContent.d.ts +2 -0
- package/dist/components/TournamentCounter/TournamentCounterContent.jsx +79 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +8 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.jsx +111 -0
- package/dist/components/TournamentCounter/index.d.ts +1 -0
- package/dist/components/TournamentCounter/index.js +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.d.ts +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.jsx +181 -0
- package/dist/components/TransactionRecords/TableFilters.d.ts +26 -0
- package/dist/components/TransactionRecords/TableFilters.jsx +359 -0
- package/dist/components/TransactionRecords/TransactionRecords.d.ts +7 -0
- package/dist/components/TransactionRecords/TransactionRecords.jsx +33 -0
- package/dist/components/TransactionRecords/TransactionRecordsTable.d.ts +1 -0
- package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +141 -0
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.d.ts +1 -0
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +177 -0
- package/dist/components/TransactionRecords/index.d.ts +1 -0
- package/dist/components/TransactionRecords/index.js +1 -0
- package/dist/components/index.d.ts +18 -0
- package/dist/components/index.js +18 -0
- package/dist/constants/index.d.ts +10 -0
- package/dist/constants/index.js +64 -0
- package/dist/handlers.d.ts +4 -6
- package/dist/handlers.js +291 -303
- package/dist/hooks/useAccountQuery/getAccountQueryKey.d.ts +2 -0
- package/dist/hooks/useAccountQuery/getAccountQueryKey.js +1 -0
- package/dist/hooks/useAccountQuery/prefetchAccountQuery.d.ts +1 -0
- package/dist/hooks/useAccountQuery/prefetchAccountQuery.js +75 -0
- package/dist/hooks/useAccountQuery/useAccountQuery.d.ts +3 -0
- package/dist/hooks/useAccountQuery/useAccountQuery.js +88 -0
- package/dist/hooks/useAuthenticateMutation/getAuthenticateMutationKey.d.ts +2 -0
- package/dist/hooks/useAuthenticateMutation/getAuthenticateMutationKey.js +1 -0
- package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.d.ts +3 -0
- package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.js +70 -0
- package/dist/hooks/useAvailablePromosQuery/getAvailablePromosQueryKey.d.ts +3 -0
- package/dist/hooks/useAvailablePromosQuery/getAvailablePromosQueryKey.js +4 -0
- package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.d.ts +2 -0
- package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.js +75 -0
- package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.d.ts +3 -0
- package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.js +88 -0
- package/dist/hooks/useBetRecordsQuery/getBetRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useBetRecordsQuery/getBetRecordsQueryKey.js +4 -0
- package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.d.ts +2 -0
- package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.js +75 -0
- package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.d.ts +3 -0
- package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.js +91 -0
- package/dist/hooks/useCashbacksQuery/getCashbacksQueryKey.d.ts +2 -0
- package/dist/hooks/useCashbacksQuery/getCashbacksQueryKey.js +1 -0
- package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.d.ts +1 -0
- package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.js +67 -0
- package/dist/hooks/useCashbacksQuery/useCashbacksQuery.d.ts +3 -0
- package/dist/hooks/useCashbacksQuery/useCashbacksQuery.js +68 -0
- package/dist/hooks/useControllableState.d.ts +8 -0
- package/dist/hooks/useControllableState.js +47 -0
- package/dist/hooks/useCooldown.d.ts +43 -0
- package/dist/hooks/useCooldown.js +101 -0
- package/dist/hooks/useCreateGCashDepositMutation/getCreateGCashDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateGCashDepositMutation/getCreateGCashDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.js +125 -0
- package/dist/hooks/useCreateGameSessionMutation/getCreateGameSessionMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateGameSessionMutation/getCreateGameSessionMutationKey.js +3 -0
- package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.d.ts +3 -0
- package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.js +171 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/getCreateMayaAppDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/getCreateMayaAppDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.js +125 -0
- package/dist/hooks/useCreateMayaDepositMutation/getCreateMayaDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateMayaDepositMutation/getCreateMayaDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.js +125 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/getCreateOnlineBankDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/getCreateOnlineBankDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.js +125 -0
- package/dist/hooks/useCreateQRPHDepositMutation/getCreateQRPHDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateQRPHDepositMutation/getCreateQRPHDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.js +125 -0
- package/dist/hooks/useDepositQuery/getDepositQueryKey.d.ts +2 -0
- package/dist/hooks/useDepositQuery/getDepositQueryKey.js +4 -0
- package/dist/hooks/useDepositQuery/prefetchDepositQuery.d.ts +1 -0
- package/dist/hooks/useDepositQuery/prefetchDepositQuery.js +75 -0
- package/dist/hooks/useDepositQuery/useDepositQuery.d.ts +3 -0
- package/dist/hooks/useDepositQuery/useDepositQuery.js +88 -0
- package/dist/hooks/useDepositRecordsQuery/getDepositRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useDepositRecordsQuery/getDepositRecordsQueryKey.js +4 -0
- package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.d.ts +2 -0
- package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.js +75 -0
- package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.d.ts +3 -0
- package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.js +93 -0
- package/dist/hooks/useDepositsCountQuery/getDepositsCountQueryKey.d.ts +2 -0
- package/dist/hooks/useDepositsCountQuery/getDepositsCountQueryKey.js +3 -0
- package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.d.ts +1 -0
- package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.js +75 -0
- package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.d.ts +2 -0
- package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.js +88 -0
- package/dist/hooks/useDisclosure.d.ts +11 -0
- package/dist/hooks/useDisclosure.js +13 -0
- package/dist/hooks/useEndGameSessionMutation/getEndGameSessionMutationKey.d.ts +2 -0
- package/dist/hooks/useEndGameSessionMutation/getEndGameSessionMutationKey.js +3 -0
- package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.d.ts +6 -0
- package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.js +95 -0
- package/dist/hooks/useGamesQuery/getGamesQueryKey.d.ts +3 -0
- package/dist/hooks/useGamesQuery/getGamesQueryKey.js +1 -0
- package/dist/hooks/useGamesQuery/prefetchGamesQuery.d.ts +2 -0
- package/dist/hooks/useGamesQuery/prefetchGamesQuery.js +80 -0
- package/dist/hooks/useGamesQuery/useGamesQuery.d.ts +3 -0
- package/dist/hooks/useGamesQuery/useGamesQuery.js +33 -0
- package/dist/hooks/useGlobalStore.d.ts +42 -0
- package/dist/hooks/useGlobalStore.js +76 -0
- package/dist/hooks/useInfiniteQueryHelper.d.ts +31 -0
- package/dist/hooks/useInfiniteQueryHelper.js +121 -0
- package/dist/hooks/useInstapayBankListQuery/getInstapayBankListQueryKey.d.ts +2 -0
- package/dist/hooks/useInstapayBankListQuery/getInstapayBankListQueryKey.js +3 -0
- package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.d.ts +1 -0
- package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.js +75 -0
- package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.d.ts +3 -0
- package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.js +88 -0
- package/dist/hooks/useIsMayaSessionValidQuery/getIsMayaSessionValidQueryKey.d.ts +2 -0
- package/dist/hooks/useIsMayaSessionValidQuery/getIsMayaSessionValidQueryKey.js +3 -0
- package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.d.ts +1 -0
- package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.js +84 -0
- package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.d.ts +2 -0
- package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.js +97 -0
- package/dist/hooks/useJackpotsQuery/getJackpotsQueryKey.d.ts +3 -0
- package/dist/hooks/useJackpotsQuery/getJackpotsQueryKey.js +1 -0
- package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.d.ts +2 -0
- package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.js +68 -0
- package/dist/hooks/useJackpotsQuery/useJackpotsQuery.d.ts +3 -0
- package/dist/hooks/useJackpotsQuery/useJackpotsQuery.js +32 -0
- package/dist/hooks/useLocaleInfo.d.ts +1 -0
- package/dist/hooks/useLocaleInfo.js +7 -0
- package/dist/hooks/useMemberVerificationQuery/getMemberVerificationQueryKey.d.ts +2 -0
- package/dist/hooks/useMemberVerificationQuery/getMemberVerificationQueryKey.js +1 -0
- package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.d.ts +1 -0
- package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.js +75 -0
- package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.d.ts +3 -0
- package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.js +87 -0
- package/dist/hooks/useMobileNumberParser.d.ts +8 -0
- package/dist/hooks/useMobileNumberParser.js +63 -0
- package/dist/hooks/useOnMMA.d.ts +2 -0
- package/dist/hooks/useOnMMA.js +5 -0
- package/dist/hooks/usePaymentSettingsQuery/getPaymentSettingsQueryKey.d.ts +2 -0
- package/dist/hooks/usePaymentSettingsQuery/getPaymentSettingsQueryKey.js +3 -0
- package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.d.ts +1 -0
- package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.js +75 -0
- package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.d.ts +3 -0
- package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.js +88 -0
- package/dist/hooks/usePlatformQuery/getPlatformQueryKey.d.ts +2 -0
- package/dist/hooks/usePlatformQuery/getPlatformQueryKey.js +1 -0
- package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.d.ts +1 -0
- package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.js +70 -0
- package/dist/hooks/usePlatformQuery/usePlatformQuery.d.ts +3 -0
- package/dist/hooks/usePlatformQuery/usePlatformQuery.js +65 -0
- package/dist/hooks/usePromoQuery/getPromoQueryKey.d.ts +2 -0
- package/dist/hooks/usePromoQuery/getPromoQueryKey.js +1 -0
- package/dist/hooks/usePromoQuery/prefetchPromoQuery.d.ts +1 -0
- package/dist/hooks/usePromoQuery/prefetchPromoQuery.js +67 -0
- package/dist/hooks/usePromoQuery/usePromoQuery.d.ts +3 -0
- package/dist/hooks/usePromoQuery/usePromoQuery.js +68 -0
- package/dist/hooks/usePromosQuery/getPromosQueryKey.d.ts +2 -0
- package/dist/hooks/usePromosQuery/getPromosQueryKey.js +1 -0
- package/dist/hooks/usePromosQuery/prefetchPromosQuery.d.ts +1 -0
- package/dist/hooks/usePromosQuery/prefetchPromosQuery.js +67 -0
- package/dist/hooks/usePromosQuery/usePromosQuery.d.ts +3 -0
- package/dist/hooks/usePromosQuery/usePromosQuery.js +68 -0
- package/dist/hooks/useSendVerificationCodeMutation/getSendVerificationCodeMutationKey.d.ts +2 -0
- package/dist/hooks/useSendVerificationCodeMutation/getSendVerificationCodeMutationKey.js +3 -0
- package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.d.ts +3 -0
- package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js +68 -0
- package/dist/hooks/useSessionQuery/getSessionQueryKey.d.ts +2 -0
- package/dist/hooks/useSessionQuery/getSessionQueryKey.js +1 -0
- package/dist/hooks/useSessionQuery/prefetchSessionQuery.d.ts +1 -0
- package/dist/hooks/useSessionQuery/prefetchSessionQuery.js +53 -0
- package/dist/hooks/useSessionQuery/useSessionQuery.d.ts +2 -0
- package/dist/hooks/useSessionQuery/useSessionQuery.js +60 -0
- package/dist/hooks/useSignOutMutation/getSignOutMutationKey.d.ts +2 -0
- package/dist/hooks/useSignOutMutation/getSignOutMutationKey.js +1 -0
- package/dist/hooks/useSignOutMutation/useSignOutMutation.d.ts +2 -0
- package/dist/hooks/useSignOutMutation/useSignOutMutation.js +69 -0
- package/dist/hooks/useSignUpMutation/getSignUpMutationKey.d.ts +2 -0
- package/dist/hooks/useSignUpMutation/getSignUpMutationKey.js +1 -0
- package/dist/hooks/useSignUpMutation/useSignUpMutation.d.ts +5 -0
- package/dist/hooks/useSignUpMutation/useSignUpMutation.js +65 -0
- package/dist/hooks/useSigninMutation/getSignInMutationKey.d.ts +2 -0
- package/dist/hooks/useSigninMutation/getSignInMutationKey.js +1 -0
- package/dist/hooks/useSigninMutation/useSignInMutation.d.ts +4 -0
- package/dist/hooks/useSigninMutation/useSignInMutation.js +73 -0
- package/dist/hooks/useSiteQuery/getSiteQueryKey.d.ts +2 -0
- package/dist/hooks/useSiteQuery/getSiteQueryKey.js +1 -0
- package/dist/hooks/useSiteQuery/prefetchSiteQuery.d.ts +1 -0
- package/dist/hooks/useSiteQuery/prefetchSiteQuery.js +70 -0
- package/dist/hooks/useSiteQuery/useSiteQuery.d.ts +3 -0
- package/dist/hooks/useSiteQuery/useSiteQuery.js +68 -0
- package/dist/hooks/useTopWinsQuery/getTopWinsQueryKey.d.ts +2 -0
- package/dist/hooks/useTopWinsQuery/getTopWinsQueryKey.js +1 -0
- package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.d.ts +1 -0
- package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.js +67 -0
- package/dist/hooks/useTopWinsQuery/useTopWinsQuery.d.ts +3 -0
- package/dist/hooks/useTopWinsQuery/useTopWinsQuery.js +66 -0
- package/dist/hooks/useTournamentsQuery/getTournamentsQueryKey.d.ts +3 -0
- package/dist/hooks/useTournamentsQuery/getTournamentsQueryKey.js +4 -0
- package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.d.ts +2 -0
- package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.js +68 -0
- package/dist/hooks/useTournamentsQuery/useTournamentsQuery.d.ts +3 -0
- package/dist/hooks/useTournamentsQuery/useTournamentsQuery.js +33 -0
- package/dist/hooks/useTransactionRecordsQuery/getTransactionRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useTransactionRecordsQuery/getTransactionRecordsQueryKey.js +4 -0
- package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.d.ts +2 -0
- package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.js +75 -0
- package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.d.ts +3 -0
- package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.js +93 -0
- package/dist/hooks/useWalletQuery/getWalletQueryKey.d.ts +2 -0
- package/dist/hooks/useWalletQuery/getWalletQueryKey.js +1 -0
- package/dist/hooks/useWalletQuery/prefetchWalletQuery.d.ts +1 -0
- package/dist/hooks/useWalletQuery/prefetchWalletQuery.js +75 -0
- package/dist/hooks/useWalletQuery/useWalletQuery.d.ts +3 -0
- package/dist/hooks/useWalletQuery/useWalletQuery.js +87 -0
- package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.js +1 -0
- package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.d.ts +2 -0
- package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.js +75 -0
- package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.d.ts +3 -0
- package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.js +94 -0
- package/dist/icons/AlertCircleIcon.d.ts +2 -0
- package/dist/icons/AlertCircleIcon.jsx +5 -0
- package/dist/icons/AlertTriangle.d.ts +2 -0
- package/dist/icons/AlertTriangle.jsx +5 -0
- package/dist/icons/ArrowLeftIcon.d.ts +2 -0
- package/dist/icons/ArrowLeftIcon.jsx +5 -0
- package/dist/icons/ArrowNarrowUpRightIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowUpRightIcon.jsx +5 -0
- package/dist/icons/ArrowRightIcon.d.ts +2 -0
- package/dist/icons/ArrowRightIcon.jsx +5 -0
- package/dist/icons/Award02Icon.d.ts +2 -0
- package/dist/icons/Award02Icon.jsx +5 -0
- package/dist/icons/BankIcon.d.ts +2 -0
- package/dist/icons/BankIcon.jsx +5 -0
- package/dist/icons/CheckCircleBrokenIcon.d.ts +2 -0
- package/dist/icons/CheckCircleBrokenIcon.jsx +5 -0
- package/dist/icons/CheckIcon.d.ts +2 -0
- package/dist/icons/CheckIcon.jsx +5 -0
- package/dist/icons/ChevronDownIcon.d.ts +2 -0
- package/dist/icons/ChevronDownIcon.jsx +5 -0
- package/dist/icons/ChevronLeftIcon.d.ts +2 -0
- package/dist/icons/ChevronLeftIcon.jsx +5 -0
- package/dist/icons/ChevronRightIcon.d.ts +2 -0
- package/dist/icons/ChevronRightIcon.jsx +5 -0
- package/dist/icons/ChevronUpIcon.d.ts +2 -0
- package/dist/icons/ChevronUpIcon.jsx +5 -0
- package/dist/icons/Expand03Icon.d.ts +2 -0
- package/dist/icons/Expand03Icon.jsx +5 -0
- package/dist/icons/FacebookIcon.d.ts +2 -0
- package/dist/icons/FacebookIcon.jsx +6 -0
- package/dist/icons/File02Icon.d.ts +2 -0
- package/dist/icons/File02Icon.jsx +5 -0
- package/dist/icons/Gift01Icon.d.ts +2 -0
- package/dist/icons/Gift01Icon.jsx +5 -0
- package/dist/icons/GoogleIcon.d.ts +2 -0
- package/dist/icons/GoogleIcon.jsx +9 -0
- package/dist/icons/Logout01Icon.d.ts +2 -0
- package/dist/icons/Logout01Icon.jsx +5 -0
- package/dist/icons/QrCode02Icon.d.ts +2 -0
- package/dist/icons/QrCode02Icon.jsx +5 -0
- package/dist/icons/SpinnerIcon.d.ts +2 -0
- package/dist/icons/SpinnerIcon.jsx +9 -0
- package/dist/icons/User01Icon.d.ts +2 -0
- package/dist/icons/User01Icon.jsx +5 -0
- package/dist/icons/Wallet02Icon.d.ts +2 -0
- package/dist/icons/Wallet02Icon.jsx +5 -0
- package/dist/icons/XIcon.d.ts +1 -0
- package/dist/icons/XIcon.jsx +5 -0
- package/dist/images/bank-icon.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/qrph-icon.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/index.d.ts +1 -144
- package/dist/index.js +1 -7654
- package/dist/middleware.d.ts +2 -5
- package/dist/middleware.js +90 -90
- package/dist/services/client/authenticate.d.ts +2 -0
- package/dist/services/client/authenticate.js +76 -0
- package/dist/services/client/getSession.d.ts +2 -0
- package/dist/services/client/getSession.js +59 -0
- package/dist/services/client/signIn.d.ts +3 -0
- package/dist/services/client/signIn.js +77 -0
- package/dist/services/client/signOut.d.ts +1 -0
- package/dist/services/client/signOut.js +61 -0
- package/dist/services/server/authenticate.d.ts +2 -0
- package/dist/services/server/authenticate.js +69 -0
- package/dist/services/server/getSession.d.ts +2 -0
- package/dist/services/server/getSession.js +55 -0
- package/dist/services/server/signIn.d.ts +2 -0
- package/dist/services/server/signIn.js +74 -0
- package/dist/services/server/signOut.d.ts +1 -0
- package/dist/services/server/signOut.js +67 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/index.js +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +508 -0
- package/dist/ui/AlertDialog/AlertDialog.jsx +17 -0
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +46 -0
- package/dist/ui/AlertDialog/alertDialog.recipe.js +17 -0
- package/dist/ui/AlertDialog/index.d.ts +1 -0
- package/dist/ui/AlertDialog/index.js +1 -0
- package/dist/ui/Avatar/Avatar.d.ts +68 -0
- package/dist/ui/Avatar/Avatar.jsx +9 -0
- package/dist/ui/Avatar/avatar.recipe.d.ts +22 -0
- package/dist/ui/Avatar/avatar.recipe.js +21 -0
- package/dist/ui/Avatar/index.d.ts +1 -0
- package/dist/ui/Avatar/index.js +1 -0
- package/dist/ui/Badge/Badge.d.ts +167 -0
- package/dist/ui/Badge/Badge.jsx +10 -0
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -0
- package/dist/ui/Badge/badge.anatomy.js +2 -0
- package/dist/ui/Badge/badge.recipe.d.ts +52 -0
- package/dist/ui/Badge/badge.recipe.js +67 -0
- package/dist/ui/Badge/index.d.ts +1 -0
- package/dist/ui/Badge/index.js +1 -0
- package/dist/ui/Button/Button.d.ts +7 -0
- package/dist/ui/Button/Button.jsx +19 -0
- package/dist/ui/Button/button.recipe.d.ts +57 -0
- package/dist/ui/Button/button.recipe.js +46 -0
- package/dist/ui/Button/index.d.ts +1 -0
- package/dist/ui/Button/index.js +1 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +286 -0
- package/dist/ui/Checkbox/Checkbox.jsx +13 -0
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +40 -0
- package/dist/ui/Checkbox/checkbox.recipe.js +40 -0
- package/dist/ui/Checkbox/index.d.ts +1 -0
- package/dist/ui/Checkbox/index.js +1 -0
- package/dist/ui/Clipboard/Clipboard.d.ts +224 -0
- package/dist/ui/Clipboard/Clipboard.jsx +12 -0
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +37 -0
- package/dist/ui/Clipboard/clipboard.recipe.js +38 -0
- package/dist/ui/Clipboard/index.d.ts +1 -0
- package/dist/ui/Clipboard/index.js +1 -0
- package/dist/ui/Combobox/Combobox.d.ts +1 -0
- package/dist/ui/Combobox/Combobox.jsx +2 -0
- package/dist/ui/Combobox/combobox.recipe.d.ts +0 -0
- package/dist/ui/Combobox/combobox.recipe.js +1 -0
- package/dist/ui/Combobox/index.d.ts +1 -0
- package/dist/ui/Combobox/index.js +1 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +2114 -0
- package/dist/ui/DatePicker/DatePicker.jsx +30 -0
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +88 -0
- package/dist/ui/DatePicker/datePicker.recipe.js +15 -0
- package/dist/ui/DatePicker/index.d.ts +1 -0
- package/dist/ui/DatePicker/index.js +1 -0
- package/dist/ui/Dialog/Dialog.d.ts +508 -0
- package/dist/ui/Dialog/Dialog.jsx +17 -0
- package/dist/ui/Dialog/dialog.recipe.d.ts +46 -0
- package/dist/ui/Dialog/dialog.recipe.js +12 -0
- package/dist/ui/Dialog/index.d.ts +1 -0
- package/dist/ui/Dialog/index.js +1 -0
- package/dist/ui/Drawer/Drawer.d.ts +310 -0
- package/dist/ui/Drawer/Drawer.jsx +17 -0
- package/dist/ui/Drawer/drawer.recipe.d.ts +28 -0
- package/dist/ui/Drawer/drawer.recipe.js +24 -0
- package/dist/ui/Drawer/index.d.ts +1 -0
- package/dist/ui/Drawer/index.js +1 -0
- package/dist/ui/Field/Field.d.ts +303 -0
- package/dist/ui/Field/Field.jsx +13 -0
- package/dist/ui/Field/field.recipe.d.ts +43 -0
- package/dist/ui/Field/field.recipe.js +47 -0
- package/dist/ui/Field/index.d.ts +1 -0
- package/dist/ui/Field/index.js +1 -0
- package/dist/ui/IconButton/IconButton.d.ts +7 -0
- package/dist/ui/IconButton/IconButton.jsx +19 -0
- package/dist/ui/IconButton/iconButton.recipe.d.ts +80 -0
- package/dist/ui/IconButton/iconButton.recipe.js +17 -0
- package/dist/ui/IconButton/index.d.ts +1 -0
- package/dist/ui/IconButton/index.js +1 -0
- package/dist/ui/Menu/Menu.d.ts +1 -0
- package/dist/ui/Menu/Menu.jsx +2 -0
- package/dist/ui/Menu/index.d.ts +1 -0
- package/dist/ui/Menu/index.js +1 -0
- package/dist/ui/Menu/menu.recipe.d.ts +0 -0
- package/dist/ui/Menu/menu.recipe.js +1 -0
- package/dist/ui/NumberInput/NumberInput.d.ts +202 -0
- package/dist/ui/NumberInput/NumberInput.jsx +14 -0
- package/dist/ui/NumberInput/index.d.ts +1 -0
- package/dist/ui/NumberInput/index.js +1 -0
- package/dist/ui/NumberInput/numberInput.recipe.d.ts +25 -0
- package/dist/ui/NumberInput/numberInput.recipe.js +24 -0
- package/dist/ui/PinInput/PinInput.d.ts +163 -0
- package/dist/ui/PinInput/PinInput.jsx +11 -0
- package/dist/ui/PinInput/index.d.ts +1 -0
- package/dist/ui/PinInput/index.js +1 -0
- package/dist/ui/PinInput/pinInput.recipe.d.ts +40 -0
- package/dist/ui/PinInput/pinInput.recipe.js +38 -0
- package/dist/ui/Popover/Popover.d.ts +508 -0
- package/dist/ui/Popover/Popover.jsx +17 -0
- package/dist/ui/Popover/index.d.ts +1 -0
- package/dist/ui/Popover/index.js +1 -0
- package/dist/ui/Popover/popover.recipe.d.ts +46 -0
- package/dist/ui/Popover/popover.recipe.js +9 -0
- package/dist/ui/Presence.d.ts +2 -0
- package/dist/ui/Presence.jsx +5 -0
- package/dist/ui/Progress/Progress.d.ts +1 -0
- package/dist/ui/Progress/Progress.jsx +2 -0
- package/dist/ui/Progress/index.d.ts +1 -0
- package/dist/ui/Progress/index.js +1 -0
- package/dist/ui/Progress/progress.recipe.d.ts +0 -0
- package/dist/ui/Progress/progress.recipe.js +1 -0
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +226 -0
- package/dist/ui/SegmentGroup/SegmentGroup.jsx +14 -0
- package/dist/ui/SegmentGroup/index.d.ts +1 -0
- package/dist/ui/SegmentGroup/index.js +1 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +37 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +33 -0
- package/dist/ui/Select/Select.d.ts +739 -0
- package/dist/ui/Select/Select.jsx +24 -0
- package/dist/ui/Select/index.d.ts +1 -0
- package/dist/ui/Select/index.js +1 -0
- package/dist/ui/Select/select.recipe.d.ts +49 -0
- package/dist/ui/Select/select.recipe.js +37 -0
- package/dist/ui/Table/Table.d.ts +301 -0
- package/dist/ui/Table/Table.jsx +12 -0
- package/dist/ui/Table/index.d.ts +1 -0
- package/dist/ui/Table/index.js +1 -0
- package/dist/ui/Table/table.anatomy.d.ts +1 -0
- package/dist/ui/Table/table.anatomy.js +2 -0
- package/dist/ui/Table/table.recipe.d.ts +43 -0
- package/dist/ui/Table/table.recipe.js +27 -0
- package/dist/ui/Tabs/Tabs.d.ts +187 -0
- package/dist/ui/Tabs/Tabs.jsx +11 -0
- package/dist/ui/Tabs/index.d.ts +1 -0
- package/dist/ui/Tabs/index.js +1 -0
- package/dist/ui/Tabs/tabs.recipe.d.ts +37 -0
- package/dist/ui/Tabs/tabs.recipe.js +33 -0
- package/dist/ui/Tooltip/Tooltip.d.ts +1 -0
- package/dist/ui/Tooltip/Tooltip.jsx +2 -0
- package/dist/ui/Tooltip/index.d.ts +1 -0
- package/dist/ui/Tooltip/index.js +1 -0
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +0 -0
- package/dist/ui/Tooltip/tooltip.recipe.js +1 -0
- package/dist/ui/index.d.ts +23 -0
- package/dist/ui/index.js +23 -0
- package/dist/utils/anatomyToRecipeSlots.d.ts +6 -0
- package/dist/utils/anatomyToRecipeSlots.js +13 -0
- package/dist/utils/capitalize.d.ts +40 -0
- package/dist/utils/capitalize.js +47 -0
- package/dist/utils/createPoll.d.ts +28 -0
- package/dist/utils/createPoll.js +104 -0
- package/dist/utils/createRecipeContext.d.ts +15 -0
- package/dist/utils/createRecipeContext.jsx +73 -0
- package/dist/utils/createSplitProps.d.ts +3 -0
- package/dist/utils/createSplitProps.js +19 -0
- package/dist/utils/dataAttr.d.ts +1 -0
- package/dist/utils/dataAttr.js +3 -0
- package/dist/utils/formatNumber.d.ts +21 -0
- package/dist/utils/formatNumber.js +45 -0
- package/dist/utils/getGameImageUrl.d.ts +12 -0
- package/dist/utils/getGameImageUrl.js +10 -0
- package/dist/utils/getLocaleInfo.d.ts +79 -0
- package/dist/utils/getLocaleInfo.jsx +237 -0
- package/dist/utils/getQueryClient.d.ts +2 -0
- package/dist/utils/getQueryClient.js +26 -0
- package/dist/utils/index.d.ts +13 -0
- package/dist/utils/index.js +13 -0
- package/dist/utils/isMobile.d.ts +5 -0
- package/dist/utils/isMobile.js +16 -0
- package/dist/utils/parseDecimal.d.ts +2 -0
- package/dist/utils/parseDecimal.js +18 -0
- package/dist/utils/toaster.d.ts +2 -0
- package/dist/utils/toaster.js +8 -0
- package/package.json +157 -13
- package/dist/JackpotCounter.module-5D2TMSET.module.css +0 -46
- package/dist/chunk-CA3CKIFK.mjs +0 -74
- package/dist/chunk-CA3CKIFK.mjs.map +0 -1
- package/dist/chunk-J5LGTIGS.mjs +0 -10
- package/dist/chunk-J5LGTIGS.mjs.map +0 -1
- package/dist/chunk-WGWFJYET.mjs +0 -1229
- package/dist/chunk-WGWFJYET.mjs.map +0 -1
- package/dist/handlers.d.mts +0 -43
- package/dist/handlers.js.map +0 -1
- package/dist/handlers.mjs +0 -267
- package/dist/handlers.mjs.map +0 -1
- package/dist/index.d.mts +0 -144
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -6422
- package/dist/index.mjs.map +0 -1
- package/dist/middleware.d.mts +0 -8
- package/dist/middleware.js.map +0 -1
- package/dist/middleware.mjs +0 -45
- package/dist/middleware.mjs.map +0 -1
- package/dist/ui.d.mts +0 -6904
- package/dist/ui.d.ts +0 -6904
- package/dist/ui.js +0 -1280
- package/dist/ui.js.map +0 -1
- package/dist/ui.mjs +0 -48
- package/dist/ui.mjs.map +0 -1
- /package/dist/{QRPh-LURVHEVK.png → images/QRPh.png} +0 -0
- /package/dist/{ball-TSKR3KCL.png → images/ball.png} +0 -0
- /package/dist/{card-DTJVRZI7.png → images/card.png} +0 -0
- /package/dist/{close-chest-T4YK5KYS.png → images/close-chest.png} +0 -0
- /package/dist/{gcash-3TV2ZD5Z.png → images/gcash.png} +0 -0
- /package/dist/{maya-2LESMCYJ.png → images/images/maya.png} +0 -0
- /package/dist/{online-bank-ZRRABICE.png → images/images/online-bank.png} +0 -0
- /package/dist/{open-chest-XMGW5QZE.png → images/images/open-chest.png} +0 -0
- /package/dist/{pagcor-AFUY5PSY.png → images/images/pagcor.png} +0 -0
- /package/dist/{responsible-gaming-MQQBK5RV.png → images/images/responsible-gaming.png} +0 -0
- /package/dist/{trophy-QC26LEAT.png → images/images/trophy.png} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import { getTransactionRecords, } from '@opexa/portal-sdk-core';
|
|
49
|
+
import { useInfiniteQuery } from '@tanstack/react-query';
|
|
50
|
+
import invariant from 'tiny-invariant';
|
|
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 { getTransactionRecordsQueryKey } from './getTransactionRecordsQueryKey.js';
|
|
57
|
+
export var useTransactionRecordsQuery = function (input, config) {
|
|
58
|
+
var _a;
|
|
59
|
+
var queryClient = getQueryClient();
|
|
60
|
+
var sessionQuery = useSessionQuery();
|
|
61
|
+
var query = useInfiniteQuery(__assign(__assign({}, config), { enabled: (config === null || config === void 0 ? void 0 : config.enabled) === false
|
|
62
|
+
? false
|
|
63
|
+
: ((_a = sessionQuery.data) === null || _a === void 0 ? void 0 : _a.status) === 'authenticated', queryKey: getTransactionRecordsQueryKey(input), queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
64
|
+
var session;
|
|
65
|
+
var pageParam = _b.pageParam, signal = _b.signal;
|
|
66
|
+
return __generator(this, function (_c) {
|
|
67
|
+
switch (_c.label) {
|
|
68
|
+
case 0: return [4 /*yield*/, queryClient.fetchQuery({
|
|
69
|
+
queryKey: getSessionQueryKey(),
|
|
70
|
+
queryFn: function () { return getSession(); },
|
|
71
|
+
})];
|
|
72
|
+
case 1:
|
|
73
|
+
session = _c.sent();
|
|
74
|
+
invariant(session.status === 'authenticated');
|
|
75
|
+
invariant(session.status === 'authenticated');
|
|
76
|
+
return [2 /*return*/, getTransactionRecords(__assign(__assign({}, input), { after: pageParam }), {
|
|
77
|
+
signal: signal,
|
|
78
|
+
environment: ENVIRONMENT,
|
|
79
|
+
headers: {
|
|
80
|
+
'Platform-Code': PLATFORM_CODE,
|
|
81
|
+
Authorization: "Bearer ".concat(session.token),
|
|
82
|
+
},
|
|
83
|
+
})];
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}); }, initialPageParam: undefined, getNextPageParam: function (lastPage) {
|
|
87
|
+
var _a, _b;
|
|
88
|
+
if ((_a = lastPage === null || lastPage === void 0 ? void 0 : lastPage.pageInfo) === null || _a === void 0 ? void 0 : _a.hasNextPage) {
|
|
89
|
+
return (_b = lastPage === null || lastPage === void 0 ? void 0 : lastPage.pageInfo) === null || _b === void 0 ? void 0 : _b.endCursor;
|
|
90
|
+
}
|
|
91
|
+
} }));
|
|
92
|
+
return query;
|
|
93
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export var getWalletQueryKey = function () { return ['queries/wallet']; };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const prefetchWalletQuery: () => Promise<void>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import { getWallet } from '@opexa/portal-sdk-core';
|
|
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 { getWalletQueryKey } from './getWalletQueryKey.js';
|
|
42
|
+
export var prefetchWalletQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
|
+
var session;
|
|
44
|
+
return __generator(this, function (_a) {
|
|
45
|
+
switch (_a.label) {
|
|
46
|
+
case 0: return [4 /*yield*/, getSession()];
|
|
47
|
+
case 1:
|
|
48
|
+
session = _a.sent();
|
|
49
|
+
if (session.status === 'unauthenticated')
|
|
50
|
+
return [2 /*return*/];
|
|
51
|
+
return [4 /*yield*/, getQueryClient().prefetchQuery({
|
|
52
|
+
queryKey: getWalletQueryKey(),
|
|
53
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
54
|
+
var signal = _b.signal;
|
|
55
|
+
return __generator(this, function (_c) {
|
|
56
|
+
switch (_c.label) {
|
|
57
|
+
case 0: return [4 /*yield*/, getWallet({
|
|
58
|
+
signal: signal,
|
|
59
|
+
environment: ENVIRONMENT,
|
|
60
|
+
headers: {
|
|
61
|
+
'Platform-Code': PLATFORM_CODE,
|
|
62
|
+
Authorization: "Bearer ".concat(session.token),
|
|
63
|
+
},
|
|
64
|
+
})];
|
|
65
|
+
case 1: return [2 /*return*/, _c.sent()];
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}); },
|
|
69
|
+
})];
|
|
70
|
+
case 2:
|
|
71
|
+
_a.sent();
|
|
72
|
+
return [2 /*return*/];
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}); };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import { getWallet } from '@opexa/portal-sdk-core';
|
|
49
|
+
import { useQuery } from '@tanstack/react-query';
|
|
50
|
+
import invariant from 'tiny-invariant';
|
|
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 { getWalletQueryKey } from './getWalletQueryKey.js';
|
|
57
|
+
export var useWalletQuery = function (config) {
|
|
58
|
+
var _a;
|
|
59
|
+
var queryClient = getQueryClient();
|
|
60
|
+
var sessionQuery = useSessionQuery();
|
|
61
|
+
return useQuery(__assign(__assign({}, config), { enabled: (config === null || config === void 0 ? void 0 : config.enabled) === false
|
|
62
|
+
? false
|
|
63
|
+
: ((_a = sessionQuery.data) === null || _a === void 0 ? void 0 : _a.status) === 'authenticated', queryKey: getWalletQueryKey(), queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
64
|
+
var session;
|
|
65
|
+
var signal = _b.signal;
|
|
66
|
+
return __generator(this, function (_c) {
|
|
67
|
+
switch (_c.label) {
|
|
68
|
+
case 0: return [4 /*yield*/, queryClient.fetchQuery({
|
|
69
|
+
queryKey: getSessionQueryKey(),
|
|
70
|
+
queryFn: function () { return getSession(); },
|
|
71
|
+
})];
|
|
72
|
+
case 1:
|
|
73
|
+
session = _c.sent();
|
|
74
|
+
invariant(session.status === 'authenticated');
|
|
75
|
+
return [4 /*yield*/, getWallet({
|
|
76
|
+
signal: signal,
|
|
77
|
+
environment: ENVIRONMENT,
|
|
78
|
+
headers: {
|
|
79
|
+
'Platform-Code': PLATFORM_CODE,
|
|
80
|
+
Authorization: "Bearer ".concat(session.token),
|
|
81
|
+
},
|
|
82
|
+
})];
|
|
83
|
+
case 2: return [2 /*return*/, _c.sent()];
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}); } }));
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export var getWithdrawalRecordsQueryKey = function (input) { return ['queries/withdrawalRecords', input]; };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import { getWithdrawalRecords, } from '@opexa/portal-sdk-core';
|
|
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 { getWithdrawalRecordsQueryKey } from './getWithdrawalRecordsQueryKey.js';
|
|
42
|
+
export var prefetchWithdrawalRecordsQuery = function (input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
|
+
var session;
|
|
44
|
+
return __generator(this, function (_a) {
|
|
45
|
+
switch (_a.label) {
|
|
46
|
+
case 0: return [4 /*yield*/, getSession()];
|
|
47
|
+
case 1:
|
|
48
|
+
session = _a.sent();
|
|
49
|
+
if (session.status === 'unauthenticated')
|
|
50
|
+
return [2 /*return*/];
|
|
51
|
+
return [4 /*yield*/, getQueryClient().prefetchQuery({
|
|
52
|
+
queryKey: getWithdrawalRecordsQueryKey(input),
|
|
53
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
54
|
+
var signal = _b.signal;
|
|
55
|
+
return __generator(this, function (_c) {
|
|
56
|
+
switch (_c.label) {
|
|
57
|
+
case 0: return [4 /*yield*/, getWithdrawalRecords(input, {
|
|
58
|
+
signal: signal,
|
|
59
|
+
environment: ENVIRONMENT,
|
|
60
|
+
headers: {
|
|
61
|
+
'Platform-Code': PLATFORM_CODE,
|
|
62
|
+
Authorization: "Bearer ".concat(session.token),
|
|
63
|
+
},
|
|
64
|
+
})];
|
|
65
|
+
case 1: return [2 /*return*/, _c.sent()];
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}); },
|
|
69
|
+
})];
|
|
70
|
+
case 2:
|
|
71
|
+
_a.sent();
|
|
72
|
+
return [2 /*return*/];
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}); };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type PaginatedQueryResult, type WithdrawalRecord, type WithdrawalRecordsInput } from '@opexa/portal-sdk-core';
|
|
2
|
+
import type { InfiniteQuery } from '../../types/index.js';
|
|
3
|
+
export declare const useWithdrawalRecordsQuery: InfiniteQuery<PaginatedQueryResult<WithdrawalRecord>, WithdrawalRecordsInput>;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import { getWithdrawalRecords, } from '@opexa/portal-sdk-core';
|
|
49
|
+
import { useInfiniteQuery } from '@tanstack/react-query';
|
|
50
|
+
import invariant from 'tiny-invariant';
|
|
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 { getWithdrawalRecordsQueryKey } from './getWithdrawalRecordsQueryKey.js';
|
|
57
|
+
export var useWithdrawalRecordsQuery = function (input, config) {
|
|
58
|
+
var _a;
|
|
59
|
+
var queryClient = getQueryClient();
|
|
60
|
+
var sessionQuery = useSessionQuery();
|
|
61
|
+
var query = useInfiniteQuery(__assign(__assign({}, config), { enabled: (config === null || config === void 0 ? void 0 : config.enabled) === false
|
|
62
|
+
? false
|
|
63
|
+
: ((_a = sessionQuery.data) === null || _a === void 0 ? void 0 : _a.status) === 'authenticated', queryKey: getWithdrawalRecordsQueryKey(input), queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
64
|
+
var session;
|
|
65
|
+
var pageParam = _b.pageParam, signal = _b.signal;
|
|
66
|
+
return __generator(this, function (_c) {
|
|
67
|
+
switch (_c.label) {
|
|
68
|
+
case 0: return [4 /*yield*/, queryClient.fetchQuery({
|
|
69
|
+
queryKey: getSessionQueryKey(),
|
|
70
|
+
queryFn: function () { return getSession(); },
|
|
71
|
+
})];
|
|
72
|
+
case 1:
|
|
73
|
+
session = _c.sent();
|
|
74
|
+
invariant(session.status === 'authenticated');
|
|
75
|
+
invariant(session.status === 'authenticated');
|
|
76
|
+
return [4 /*yield*/, getWithdrawalRecords(__assign(__assign({}, input), { after: pageParam }), {
|
|
77
|
+
signal: signal,
|
|
78
|
+
environment: ENVIRONMENT,
|
|
79
|
+
headers: {
|
|
80
|
+
'Platform-Code': PLATFORM_CODE,
|
|
81
|
+
Authorization: "Bearer ".concat(session.token),
|
|
82
|
+
},
|
|
83
|
+
})];
|
|
84
|
+
case 2: return [2 /*return*/, _c.sent()];
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}); }, initialPageParam: undefined, getNextPageParam: function (lastPage) {
|
|
88
|
+
var _a, _b;
|
|
89
|
+
if ((_a = lastPage === null || lastPage === void 0 ? void 0 : lastPage.pageInfo) === null || _a === void 0 ? void 0 : _a.hasNextPage) {
|
|
90
|
+
return (_b = lastPage === null || lastPage === void 0 ? void 0 : lastPage.pageInfo) === null || _b === void 0 ? void 0 : _b.endCursor;
|
|
91
|
+
}
|
|
92
|
+
} }));
|
|
93
|
+
return query;
|
|
94
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function AlertCircleIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M12 8V12M12 16H12.01M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function AlertTriangleIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.2803 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ArrowLeftIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M19 12H5M5 12L12 19M5 12L12 5"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ArrowNarrowUpRightIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M6 18L18 6M18 6H10M18 6V14"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ArrowRightIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M5 12H19M19 12L12 5M19 12L12 19"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function Award02Icon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M7 15.0903V22L11.7029 20.1188C11.8126 20.0749 11.8675 20.053 11.9242 20.0443C11.9744 20.0366 12.0256 20.0366 12.0758 20.0443C12.1325 20.053 12.1874 20.0749 12.2971 20.1188L17 22V15.0903M19.5 9.5C19.5 13.6421 16.1421 17 12 17C7.85786 17 4.5 13.6421 4.5 9.5C4.5 5.35786 7.85786 2 12 2C16.1421 2 19.5 5.35786 19.5 9.5Z"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function BankIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M5 9.00002V17M9.5 9.00002V17M14.5 9.00002V17M19 9.00002V17M3 18.6L3 19.4C3 19.9601 3 20.2401 3.10899 20.454C3.20487 20.6422 3.35785 20.7952 3.54601 20.891C3.75992 21 4.03995 21 4.6 21H19.4C19.9601 21 20.2401 21 20.454 20.891C20.6422 20.7952 20.7951 20.6422 20.891 20.454C21 20.2401 21 19.9601 21 19.4V18.6C21 18.04 21 17.7599 20.891 17.546C20.7951 17.3579 20.6422 17.2049 20.454 17.109C20.2401 17 19.9601 17 19.4 17H4.6C4.03995 17 3.75992 17 3.54601 17.109C3.35785 17.2049 3.20487 17.3579 3.10899 17.546C3 17.7599 3 18.04 3 18.6ZM11.6529 3.07715L4.25291 4.7216C3.80585 4.82094 3.58232 4.87062 3.41546 4.99082C3.26829 5.09685 3.15273 5.24092 3.08115 5.40759C3 5.59654 3 5.82553 3 6.28349L3 7.40002C3 7.96007 3 8.2401 3.10899 8.45401C3.20487 8.64217 3.35785 8.79515 3.54601 8.89103C3.75992 9.00002 4.03995 9.00002 4.6 9.00002H19.4C19.9601 9.00002 20.2401 9.00002 20.454 8.89103C20.6422 8.79515 20.7951 8.64217 20.891 8.45401C21 8.2401 21 7.96007 21 7.40002V6.2835C21 5.82553 21 5.59655 20.9188 5.40759C20.8473 5.24092 20.7317 5.09685 20.5845 4.99082C20.4177 4.87062 20.1942 4.82094 19.7471 4.7216L12.3471 3.07715C12.2176 3.04837 12.1528 3.03398 12.0874 3.02824C12.0292 3.02314 11.9708 3.02314 11.9126 3.02824C11.8472 3.03398 11.7824 3.04837 11.6529 3.07715Z"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function CheckCircleBrokenIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M22 11.0857V12.0057C21.9988 14.1621 21.3005 16.2604 20.0093 17.9875C18.7182 19.7147 16.9033 20.9782 14.8354 21.5896C12.7674 22.201 10.5573 22.1276 8.53447 21.3803C6.51168 20.633 4.78465 19.2518 3.61096 17.4428C2.43727 15.6338 1.87979 13.4938 2.02168 11.342C2.16356 9.19029 2.99721 7.14205 4.39828 5.5028C5.79935 3.86354 7.69279 2.72111 9.79619 2.24587C11.8996 1.77063 14.1003 1.98806 16.07 2.86572M22 4L12 14.01L9 11.01"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function CheckIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M20 6L9 17L4 12"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ChevronDownIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M6 9L12 15L18 9"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ChevronLeftIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M15 18L9 12L15 6"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ChevronRightIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M9 18L15 12L9 6"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function ChevronUpIcon(props) {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
|
|
3
|
+
<path d="M18 15L12 9L6 15"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
}
|