@opexa/portal-components 0.0.2 → 0.0.3
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 +4 -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/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 +20 -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 +20 -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 +2 -0
- package/dist/ui/Menu/Menu.jsx +3 -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 +71 -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/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 +156 -13
- package/dist/JackpotCounter.module-5D2TMSET.module.css +0 -46
- package/dist/QRPh-LURVHEVK.png +0 -0
- package/dist/ball-TSKR3KCL.png +0 -0
- package/dist/card-DTJVRZI7.png +0 -0
- 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/close-chest-T4YK5KYS.png +0 -0
- package/dist/gcash-3TV2ZD5Z.png +0 -0
- 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/maya-2LESMCYJ.png +0 -0
- 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/online-bank-ZRRABICE.png +0 -0
- package/dist/open-chest-XMGW5QZE.png +0 -0
- package/dist/pagcor-AFUY5PSY.png +0 -0
- package/dist/responsible-gaming-MQQBK5RV.png +0 -0
- package/dist/trophy-QC26LEAT.png +0 -0
- 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
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
import * as React from 'react';
|
|
13
|
+
import { createSplitProps } from './createSplitProps';
|
|
14
|
+
export function createRecipeContext(recipe) {
|
|
15
|
+
var RecipeContext = React.createContext(null);
|
|
16
|
+
function useContext() {
|
|
17
|
+
var context = React.useContext(RecipeContext);
|
|
18
|
+
return context;
|
|
19
|
+
}
|
|
20
|
+
function withRootProvider(Component) {
|
|
21
|
+
var StyledComponent = function (props) {
|
|
22
|
+
var _a = createSplitProps(recipe.variantKeys)(props), recipeProps = _a[0], localProps = _a[1];
|
|
23
|
+
var context = recipe(recipeProps);
|
|
24
|
+
return (<RecipeContext.Provider value={context}>
|
|
25
|
+
<Component {...localProps}/>
|
|
26
|
+
</RecipeContext.Provider>);
|
|
27
|
+
};
|
|
28
|
+
return StyledComponent;
|
|
29
|
+
}
|
|
30
|
+
function withProvider(Component, slot) {
|
|
31
|
+
var StyledComponent = function (props) {
|
|
32
|
+
var _a = createSplitProps(recipe.variantKeys)(props), recipeProps = _a[0], localProps = _a[1];
|
|
33
|
+
var context = recipe(recipeProps);
|
|
34
|
+
var slotName = slot;
|
|
35
|
+
var getStyle = context[slotName];
|
|
36
|
+
var userDefinedClassName = 'className' in localProps && typeof localProps.className === 'string'
|
|
37
|
+
? localProps.className
|
|
38
|
+
: undefined;
|
|
39
|
+
var className = !getStyle
|
|
40
|
+
? userDefinedClassName
|
|
41
|
+
: getStyle(__assign(__assign({}, recipeProps), { className: userDefinedClassName }));
|
|
42
|
+
return (<RecipeContext.Provider value={context}>
|
|
43
|
+
<Component {...localProps} className={className}/>
|
|
44
|
+
</RecipeContext.Provider>);
|
|
45
|
+
};
|
|
46
|
+
StyledComponent.displayName = Component.displayName || Component.name;
|
|
47
|
+
return StyledComponent;
|
|
48
|
+
}
|
|
49
|
+
function withContext(Component, slot) {
|
|
50
|
+
var StyledComponent = function (props) {
|
|
51
|
+
var context = useContext();
|
|
52
|
+
var _a = createSplitProps(recipe.variantKeys)(props), recipeProps = _a[0], localProps = _a[1];
|
|
53
|
+
var slotName = slot;
|
|
54
|
+
var getStyle = !context ? recipe(recipeProps)[slotName] : context[slotName];
|
|
55
|
+
var userDefinedClassName = 'className' in localProps && typeof localProps.className === 'string'
|
|
56
|
+
? localProps.className
|
|
57
|
+
: undefined;
|
|
58
|
+
var className = !getStyle
|
|
59
|
+
? userDefinedClassName
|
|
60
|
+
: getStyle(__assign(__assign({}, recipeProps), { className: userDefinedClassName }));
|
|
61
|
+
return <Component {...localProps} className={className}/>;
|
|
62
|
+
};
|
|
63
|
+
StyledComponent.displayName = Component.displayName || Component.name;
|
|
64
|
+
return StyledComponent;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
withRootProvider: withRootProvider,
|
|
68
|
+
withProvider: withProvider,
|
|
69
|
+
withContext: withContext,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function splitProps(props, keys) {
|
|
2
|
+
var rest = {};
|
|
3
|
+
var result = {};
|
|
4
|
+
var keySet = new Set(keys);
|
|
5
|
+
for (var key in props) {
|
|
6
|
+
if (keySet.has(key)) {
|
|
7
|
+
result[key] = props[key];
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
rest[key] = props[key];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return [result, rest];
|
|
14
|
+
}
|
|
15
|
+
export function createSplitProps(keys) {
|
|
16
|
+
return function split(props) {
|
|
17
|
+
return splitProps(props, keys);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dataAttr(guard: boolean | undefined | null): "" | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface FormatNumberConfig {
|
|
2
|
+
/** @default "en-US" */
|
|
3
|
+
locale?: string;
|
|
4
|
+
compact?: boolean;
|
|
5
|
+
currency?: string;
|
|
6
|
+
/** @default 0 */
|
|
7
|
+
minDecimalPlaces?: number;
|
|
8
|
+
/** @default 2 */
|
|
9
|
+
maxDecimalPlaces?: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* numberFormatter.format(1234567.89) // "1,234,567.89"
|
|
15
|
+
* numberFormatter.format(1234567.89, { locale: 'de-DE' }) // "1.234.567,89"
|
|
16
|
+
* numberFormatter.format(1234567.89, { compact: true }) // "1M"
|
|
17
|
+
* numberFormatter.format(1234567.89, { currency: 'USD' }) // "$1,234,567.89"
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function formatNumber(value: unknown, config?: FormatNumberConfig): string;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import { parseDecimal } from './parseDecimal';
|
|
13
|
+
var defaultConfig = {
|
|
14
|
+
locale: 'en-US',
|
|
15
|
+
compact: false,
|
|
16
|
+
minDecimalPlaces: 0,
|
|
17
|
+
maxDecimalPlaces: 2,
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* numberFormatter.format(1234567.89) // "1,234,567.89"
|
|
23
|
+
* numberFormatter.format(1234567.89, { locale: 'de-DE' }) // "1.234.567,89"
|
|
24
|
+
* numberFormatter.format(1234567.89, { compact: true }) // "1M"
|
|
25
|
+
* numberFormatter.format(1234567.89, { currency: 'USD' }) // "$1,234,567.89"
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export function formatNumber(value, config) {
|
|
29
|
+
var _a = Object.assign({}, defaultConfig, config),
|
|
30
|
+
/**/
|
|
31
|
+
locale = _a.locale, compact = _a.compact, currency = _a.currency, minDecimalPlaces = _a.minDecimalPlaces, maxDecimalPlaces = _a.maxDecimalPlaces;
|
|
32
|
+
var formatter = new Intl.NumberFormat(locale, __assign(__assign({ minimumFractionDigits: minDecimalPlaces, maximumFractionDigits: maxDecimalPlaces }, (typeof currency === 'string'
|
|
33
|
+
? {
|
|
34
|
+
style: 'currency',
|
|
35
|
+
currency: currency,
|
|
36
|
+
}
|
|
37
|
+
: {})), (compact
|
|
38
|
+
? {
|
|
39
|
+
notation: 'compact',
|
|
40
|
+
minimumFractionDigits: 0,
|
|
41
|
+
maximumFractionDigits: 0,
|
|
42
|
+
}
|
|
43
|
+
: {})));
|
|
44
|
+
return formatter.format(parseDecimal(value, 0));
|
|
45
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GameProvider } from '@opexa/portal-sdk-core';
|
|
2
|
+
type Args = {
|
|
3
|
+
id: string;
|
|
4
|
+
reference?: never;
|
|
5
|
+
provider: GameProvider;
|
|
6
|
+
} | {
|
|
7
|
+
id?: never;
|
|
8
|
+
reference: string;
|
|
9
|
+
provider: GameProvider;
|
|
10
|
+
};
|
|
11
|
+
export declare function getGameImageUrl<T extends Args>(args: T): string;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ENVIRONMENT } from '../constants';
|
|
2
|
+
var VERSION = '1';
|
|
3
|
+
var ORIGIN = ENVIRONMENT === 'development'
|
|
4
|
+
? 'https://static.development.opexa.io/images'
|
|
5
|
+
: 'https://static.opexa.io/images';
|
|
6
|
+
export function getGameImageUrl(args) {
|
|
7
|
+
var _a;
|
|
8
|
+
var id = (_a = args.id) !== null && _a !== void 0 ? _a : args.reference;
|
|
9
|
+
return "".concat(ORIGIN, "/").concat(args.provider.toLocaleLowerCase(), "/thumbnail-").concat(id, ".webp?version=").concat(VERSION);
|
|
10
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentType } from 'react';
|
|
2
|
+
export interface CountryInfo {
|
|
3
|
+
/**
|
|
4
|
+
* @description The country code
|
|
5
|
+
* @example 'PHL'
|
|
6
|
+
*/
|
|
7
|
+
code: 'IDN' | 'IND' | 'MYS' | 'PHL' | 'VNM';
|
|
8
|
+
/**
|
|
9
|
+
* @description The country name
|
|
10
|
+
* @example 'Philippines'
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* @description The country flag
|
|
15
|
+
* @usage
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const localeInfo = getLocaleInfo('Asia/Manila');
|
|
18
|
+
* <localeInfo.country.flag />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
flag: ComponentType<ComponentProps<'svg'>>;
|
|
22
|
+
}
|
|
23
|
+
export interface CurrencyInfo {
|
|
24
|
+
/**
|
|
25
|
+
* @description The currency code
|
|
26
|
+
* @example 'PHP'
|
|
27
|
+
*/
|
|
28
|
+
code: 'IDR' | 'INR' | 'MYR' | 'PHP' | 'USD' | 'VND';
|
|
29
|
+
/**
|
|
30
|
+
* @description The currency name
|
|
31
|
+
* @example 'Philippine Peso'
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* @description The currency symbol
|
|
36
|
+
* @example '₱'
|
|
37
|
+
*/
|
|
38
|
+
symbol: string;
|
|
39
|
+
/**
|
|
40
|
+
* Used in api
|
|
41
|
+
* @example 'VIRTUAL'
|
|
42
|
+
*/
|
|
43
|
+
externalCode: 'IDR' | 'INR' | 'MYR' | 'PHP' | 'USD' | 'VIRTUAL' | (string & {});
|
|
44
|
+
}
|
|
45
|
+
export interface MobileNumberInfo {
|
|
46
|
+
/**
|
|
47
|
+
* @description The mobile number area code
|
|
48
|
+
* @example '+63'
|
|
49
|
+
*/
|
|
50
|
+
areaCode: string;
|
|
51
|
+
/**
|
|
52
|
+
* @description The mobile number digits count
|
|
53
|
+
* @example 10
|
|
54
|
+
*/
|
|
55
|
+
numOfDigits: number;
|
|
56
|
+
/**
|
|
57
|
+
* @description pattern to validate mobile number
|
|
58
|
+
* @usage
|
|
59
|
+
* ```ts
|
|
60
|
+
* const localeInfo = getLocaleInfo('Asia/Manila');
|
|
61
|
+
* const isValid = localeInfo.mobileNumber.pattern.test('9190000000');
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
pattern: RegExp;
|
|
65
|
+
/**
|
|
66
|
+
* @description The mobile number example
|
|
67
|
+
* @example '9190000000'
|
|
68
|
+
*/
|
|
69
|
+
example: string;
|
|
70
|
+
}
|
|
71
|
+
export type Timezone = 'Asia/Manila' | 'Asia/Kolkata' | 'Asia/Jakarta' | 'Asia/Makassar' | 'Asia/Jayapura' | 'Asia/Kuala_Lumpur' | 'Asia/Ho_Chi_Minh' | (string & {});
|
|
72
|
+
export interface LocaleInfo {
|
|
73
|
+
locale: string;
|
|
74
|
+
timezone: Timezone;
|
|
75
|
+
country: CountryInfo;
|
|
76
|
+
currency: CurrencyInfo;
|
|
77
|
+
mobileNumber: MobileNumberInfo;
|
|
78
|
+
}
|
|
79
|
+
export declare const getLocaleInfo: (timezone: Timezone) => LocaleInfo;
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { cache, } from 'react';
|
|
2
|
+
export var getLocaleInfo = cache(function (timezone) {
|
|
3
|
+
switch (timezone.toLowerCase()) {
|
|
4
|
+
case 'asia/jakarta':
|
|
5
|
+
return {
|
|
6
|
+
locale: 'id-ID',
|
|
7
|
+
timezone: 'Asia/Jakarta',
|
|
8
|
+
country: {
|
|
9
|
+
name: 'Indonesia',
|
|
10
|
+
code: 'IDN',
|
|
11
|
+
flag: IndonesianFlag,
|
|
12
|
+
},
|
|
13
|
+
currency: {
|
|
14
|
+
code: 'IDR',
|
|
15
|
+
name: 'Indonesian Rupiah',
|
|
16
|
+
symbol: 'Rp',
|
|
17
|
+
externalCode: 'IDR',
|
|
18
|
+
},
|
|
19
|
+
mobileNumber: {
|
|
20
|
+
areaCode: '+62',
|
|
21
|
+
numOfDigits: 10,
|
|
22
|
+
example: '81' + ''.padStart(8, '0'),
|
|
23
|
+
pattern: /^(\+?62|0)?8\d{9}$/,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
case 'asia/jayapura':
|
|
27
|
+
return {
|
|
28
|
+
locale: 'id-ID',
|
|
29
|
+
timezone: 'Asia/Jayapura',
|
|
30
|
+
country: {
|
|
31
|
+
code: 'IDN',
|
|
32
|
+
name: 'Indonesia',
|
|
33
|
+
flag: IndonesianFlag,
|
|
34
|
+
},
|
|
35
|
+
currency: {
|
|
36
|
+
code: 'IDR',
|
|
37
|
+
name: 'Indonesian Rupiah',
|
|
38
|
+
symbol: 'Rp',
|
|
39
|
+
externalCode: 'IDR',
|
|
40
|
+
},
|
|
41
|
+
mobileNumber: {
|
|
42
|
+
areaCode: '+62',
|
|
43
|
+
numOfDigits: 10,
|
|
44
|
+
example: '81' + ''.padStart(8, '0'),
|
|
45
|
+
pattern: /^(\+?62|0)?8\d{9}$/,
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
case 'asia/makassar':
|
|
49
|
+
return {
|
|
50
|
+
locale: 'id-ID',
|
|
51
|
+
timezone: 'Asia/Makassar',
|
|
52
|
+
country: {
|
|
53
|
+
code: 'IDN',
|
|
54
|
+
name: 'Indonesia',
|
|
55
|
+
flag: IndonesianFlag,
|
|
56
|
+
},
|
|
57
|
+
currency: {
|
|
58
|
+
code: 'IDR',
|
|
59
|
+
name: 'Indonesian Rupiah',
|
|
60
|
+
symbol: 'Rp',
|
|
61
|
+
externalCode: 'IDR',
|
|
62
|
+
},
|
|
63
|
+
mobileNumber: {
|
|
64
|
+
areaCode: '+62',
|
|
65
|
+
numOfDigits: 10,
|
|
66
|
+
example: '81' + ''.padStart(8, '0'),
|
|
67
|
+
pattern: /^(\+?62|0)?8\d{9}$/,
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
case 'asia/kuala_lumpur':
|
|
71
|
+
return {
|
|
72
|
+
locale: 'ms-MY',
|
|
73
|
+
timezone: 'Asia/Kuala_Lumpur',
|
|
74
|
+
country: {
|
|
75
|
+
name: 'Malaysia',
|
|
76
|
+
code: 'MYS',
|
|
77
|
+
flag: MalaysianFlag,
|
|
78
|
+
},
|
|
79
|
+
currency: {
|
|
80
|
+
code: 'MYR',
|
|
81
|
+
name: 'Malaysian Ringgit',
|
|
82
|
+
symbol: 'RM',
|
|
83
|
+
externalCode: 'MYR',
|
|
84
|
+
},
|
|
85
|
+
mobileNumber: {
|
|
86
|
+
areaCode: '+60',
|
|
87
|
+
numOfDigits: 9,
|
|
88
|
+
example: '12' + ''.padStart(7, '0'),
|
|
89
|
+
pattern: /^(\+?60|0)?1[0-9]{1}\d{7}$/,
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
case 'asia/kolkata':
|
|
93
|
+
return {
|
|
94
|
+
locale: 'en-IN',
|
|
95
|
+
timezone: 'Asia/Kolkata',
|
|
96
|
+
country: {
|
|
97
|
+
code: 'IND',
|
|
98
|
+
name: 'India',
|
|
99
|
+
flag: IndianFlag,
|
|
100
|
+
},
|
|
101
|
+
currency: {
|
|
102
|
+
code: 'INR',
|
|
103
|
+
name: 'Indian Rupee',
|
|
104
|
+
symbol: '₹',
|
|
105
|
+
externalCode: 'INR',
|
|
106
|
+
},
|
|
107
|
+
mobileNumber: {
|
|
108
|
+
areaCode: '+91',
|
|
109
|
+
numOfDigits: 10,
|
|
110
|
+
example: '919' + ''.padStart(7, '0'),
|
|
111
|
+
pattern: /^(\+?91|0)?[789]\d{9}$/,
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
case 'asia/ho_chi_minh':
|
|
115
|
+
return {
|
|
116
|
+
locale: 'vi-VN',
|
|
117
|
+
timezone: 'Asia/Ho_Chi_Minh',
|
|
118
|
+
country: {
|
|
119
|
+
code: 'VNM',
|
|
120
|
+
name: 'Vietnam',
|
|
121
|
+
flag: VietnameseFlag,
|
|
122
|
+
},
|
|
123
|
+
currency: {
|
|
124
|
+
code: 'VND',
|
|
125
|
+
name: 'Vietnamese Dong',
|
|
126
|
+
symbol: '₫',
|
|
127
|
+
externalCode: 'VIRTUAL',
|
|
128
|
+
},
|
|
129
|
+
mobileNumber: {
|
|
130
|
+
areaCode: '+84',
|
|
131
|
+
numOfDigits: 9,
|
|
132
|
+
example: '849' + ''.padStart(7, '0'),
|
|
133
|
+
pattern: /^(\+?84|0)?(3[2-9]|5[6|8|9]|7[0|6-9]|8[1-6|8|9]|9[0-9])\d{7}$/,
|
|
134
|
+
},
|
|
135
|
+
};
|
|
136
|
+
default:
|
|
137
|
+
return {
|
|
138
|
+
locale: 'en-PH',
|
|
139
|
+
timezone: 'Asia/Manila',
|
|
140
|
+
country: {
|
|
141
|
+
code: 'PHL',
|
|
142
|
+
name: 'Philippines',
|
|
143
|
+
flag: PhilippineFlag,
|
|
144
|
+
},
|
|
145
|
+
currency: {
|
|
146
|
+
code: 'PHP',
|
|
147
|
+
name: 'Philippine Peso',
|
|
148
|
+
symbol: '₱',
|
|
149
|
+
externalCode: 'PHP',
|
|
150
|
+
},
|
|
151
|
+
mobileNumber: {
|
|
152
|
+
areaCode: '+63',
|
|
153
|
+
numOfDigits: 10,
|
|
154
|
+
example: '919' + ''.padStart(7, '0'),
|
|
155
|
+
pattern: /^(\+?63|0)?9\d{9}$/,
|
|
156
|
+
},
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
var PhilippineFlag = function (props) {
|
|
161
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
162
|
+
<g clipPath="url(#clip0_4392_27540)">
|
|
163
|
+
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#F0F0F0"/>
|
|
164
|
+
<path d="M12.0004 0V12L3.51514 20.4853C5.68671 22.6568 8.68671 24 12.0004 24C18.6278 24 24.0004 18.6274 24.0004 12C24.0004 5.37262 12.0004 0 12.0004 0Z" fill="#D80027"/>
|
|
165
|
+
<path d="M12.0004 0C8.68671 0 5.68671 1.34316 3.51514 3.51469C6.45936 6.45891 7.50453 7.50412 12.0004 12H24.0004C24.0004 5.37262 18.6278 0 12.0004 0Z" fill="#0052B4"/>
|
|
166
|
+
<path d="M8.21723 11.9998L6.75173 11.3104L7.53215 9.89111L5.94074 10.1956L5.73909 8.58789L4.63059 9.77027L3.52213 8.58789L3.32043 10.1956L1.72907 9.89106L2.50949 11.3104L1.04395 11.9998L2.50949 12.6891L1.72907 14.1085L3.32057 13.8041L3.52209 15.4117L4.63059 14.2293L5.73909 15.4117L5.94074 13.8041L7.53205 14.1085L6.75168 12.6892L8.21723 11.9998Z" fill="#FFDA44"/>
|
|
167
|
+
<path d="M3.20082 4.69519L3.68851 5.37689L4.48749 5.12382L3.98977 5.79825L4.47746 6.47996L3.68218 6.21507L3.18451 6.88946L3.19074 6.05133L2.39551 5.78639L3.19463 5.53332L3.20082 4.69519Z" fill="#FFDA44"/>
|
|
168
|
+
<path d="M3.20082 17.1095L3.68851 17.7912L4.48749 17.5381L3.98977 18.2126L4.47746 18.8943L3.68218 18.6294L3.18451 19.3038L3.19074 18.4656L2.39551 18.2007L3.19463 17.9476L3.20082 17.1095Z" fill="#FFDA44"/>
|
|
169
|
+
<path d="M10.1563 10.9032L9.66866 11.5849L8.86963 11.3317L9.36735 12.0062L8.87966 12.688L9.67494 12.423L10.1727 13.0974L10.1664 12.2593L10.9616 11.9944L10.1625 11.7413L10.1563 10.9032Z" fill="#FFDA44"/>
|
|
170
|
+
</g>
|
|
171
|
+
<defs>
|
|
172
|
+
<clipPath id="clip0_4392_27540">
|
|
173
|
+
<rect width="24" height="24" fill="white"/>
|
|
174
|
+
</clipPath>
|
|
175
|
+
</defs>
|
|
176
|
+
</svg>);
|
|
177
|
+
};
|
|
178
|
+
var MalaysianFlag = function (props) {
|
|
179
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
180
|
+
<g clipPath="url(#clip0_4392_27547)">
|
|
181
|
+
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#F0F0F0"/>
|
|
182
|
+
<path d="M11.4783 12.0002H24C24 10.9171 23.8556 9.86791 23.5866 8.86975H11.4783V12.0002Z" fill="#D80027"/>
|
|
183
|
+
<path d="M11.4783 5.73873H22.2387C21.5041 4.54004 20.565 3.48053 19.4698 2.60828H11.4783V5.73873Z" fill="#D80027"/>
|
|
184
|
+
<path d="M12.0001 24.0002C14.8243 24.0002 17.4201 23.024 19.47 21.3915H4.53027C6.58016 23.024 9.17596 24.0002 12.0001 24.0002Z" fill="#D80027"/>
|
|
185
|
+
<path d="M1.76146 18.2601H22.2389C22.8286 17.2978 23.2859 16.2459 23.5868 15.1296H0.413574C0.714371 16.2459 1.17173 17.2978 1.76146 18.2601Z" fill="#D80027"/>
|
|
186
|
+
<path d="M12 12C12 5.37262 12 4.59131 12 0C5.37262 0 0 5.37262 0 12H12Z" fill="#0052B4"/>
|
|
187
|
+
<path d="M7.98001 10.2709C6.34117 10.2709 5.01263 8.94229 5.01263 7.30349C5.01263 5.6647 6.34121 4.33612 7.98001 4.33612C8.491 4.33612 8.97179 4.46535 9.39156 4.69279C8.73306 4.04887 7.8325 3.65137 6.8387 3.65137C4.82171 3.65137 3.18652 5.28651 3.18652 7.30354C3.18652 9.32057 4.82171 10.9557 6.8387 10.9557C7.8325 10.9557 8.73306 10.5582 9.39156 9.91429C8.97179 10.1416 8.49104 10.2709 7.98001 10.2709Z" fill="#FFDA44"/>
|
|
188
|
+
<path d="M8.81671 5.21729L9.34354 6.31894L10.5333 6.04407L10.0005 7.14277L10.9573 7.90153L9.76602 8.17008L9.76935 9.39122L8.81671 8.62725L7.86402 9.39122L7.86731 8.17008L6.67603 7.90153L7.63284 7.14277L7.10001 6.04407L8.28984 6.31894L8.81671 5.21729Z" fill="#FFDA44"/>
|
|
189
|
+
</g>
|
|
190
|
+
<defs>
|
|
191
|
+
<clipPath id="clip0_4392_27547">
|
|
192
|
+
<rect width="24" height="24" fill="white"/>
|
|
193
|
+
</clipPath>
|
|
194
|
+
</defs>
|
|
195
|
+
</svg>);
|
|
196
|
+
};
|
|
197
|
+
var IndianFlag = function (props) {
|
|
198
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
199
|
+
<g clipPath="url(#clip0_4392_27553)">
|
|
200
|
+
<path d="M1.19023 6.78213C0.427387 8.35976 -0.000488281 10.1296 -0.000488281 11.9995C-0.000488281 13.8694 0.427387 15.6393 1.19023 17.2169L11.9995 18.2604L22.8088 17.2169C23.5716 15.6393 23.9995 13.8694 23.9995 11.9995C23.9995 10.1296 23.5716 8.35976 22.8088 6.78213L11.9995 5.73865L1.19023 6.78213Z" fill="#F0F0F0"/>
|
|
201
|
+
<path d="M1.19092 17.2183C3.13182 21.2322 7.24225 24.0009 11.9998 24.0009C16.7573 24.0009 20.8677 21.2322 22.8086 17.2183H1.19092Z" fill="#6DA544"/>
|
|
202
|
+
<path d="M1.19092 6.78238H22.8086C20.8677 2.76843 16.7573 -0.000244141 11.9998 -0.000244141C7.24229 -0.000244141 3.13182 2.76843 1.19092 6.78238Z" fill="#FF9811"/>
|
|
203
|
+
<path d="M12.0001 16.1742C14.3052 16.1742 16.174 14.3055 16.174 12.0003C16.174 9.69513 14.3052 7.82642 12.0001 7.82642C9.69489 7.82642 7.82617 9.69513 7.82617 12.0003C7.82617 14.3055 9.69489 16.1742 12.0001 16.1742Z" fill="#FF9811"/>
|
|
204
|
+
</g>
|
|
205
|
+
<defs>
|
|
206
|
+
<clipPath id="clip0_4392_27553">
|
|
207
|
+
<rect width="24" height="24" fill="white"/>
|
|
208
|
+
</clipPath>
|
|
209
|
+
</defs>
|
|
210
|
+
</svg>);
|
|
211
|
+
};
|
|
212
|
+
var IndonesianFlag = function (props) {
|
|
213
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
214
|
+
<g clipPath="url(#clip0_4392_27559)">
|
|
215
|
+
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#F0F0F0"/>
|
|
216
|
+
<path d="M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12" fill="#A2001D"/>
|
|
217
|
+
</g>
|
|
218
|
+
<defs>
|
|
219
|
+
<clipPath id="clip0_4392_27559">
|
|
220
|
+
<rect width="24" height="24" fill="white"/>
|
|
221
|
+
</clipPath>
|
|
222
|
+
</defs>
|
|
223
|
+
</svg>);
|
|
224
|
+
};
|
|
225
|
+
var VietnameseFlag = function (props) {
|
|
226
|
+
return (<svg width="24" height="24" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
227
|
+
<g clipPath="url(#clip0_10544_106556)">
|
|
228
|
+
<path d="M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z" fill="#D80027"/>
|
|
229
|
+
<path d="M10.0003 5.2168L11.0795 8.53825H14.5719L11.7464 10.591L12.8257 13.9125L10.0003 11.8597L7.17488 13.9125L8.2541 10.591L5.42871 8.53825H8.92105L10.0003 5.2168Z" fill="#FFDA44"/>
|
|
230
|
+
</g>
|
|
231
|
+
<defs>
|
|
232
|
+
<clipPath id="clip0_10544_106556">
|
|
233
|
+
<rect width="20" height="20" fill="white"/>
|
|
234
|
+
</clipPath>
|
|
235
|
+
</defs>
|
|
236
|
+
</svg>);
|
|
237
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { QueryClient, isServer } from '@tanstack/react-query';
|
|
2
|
+
import { cache } from 'react';
|
|
3
|
+
function createQueryClient() {
|
|
4
|
+
return new QueryClient({
|
|
5
|
+
defaultOptions: {
|
|
6
|
+
queries: {
|
|
7
|
+
staleTime: 1000 * 60 * 10, // 10mins
|
|
8
|
+
gcTime: 1000 * 60 * 60 * 12, // 12hr
|
|
9
|
+
refetchOnMount: true,
|
|
10
|
+
refetchOnReconnect: true,
|
|
11
|
+
refetchOnWindowFocus: true,
|
|
12
|
+
networkMode: 'always',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
var BROWSER_QUERY_CLIENT = undefined;
|
|
18
|
+
export var getQueryClient = cache(function () {
|
|
19
|
+
if (isServer) {
|
|
20
|
+
return createQueryClient();
|
|
21
|
+
}
|
|
22
|
+
if (!BROWSER_QUERY_CLIENT) {
|
|
23
|
+
BROWSER_QUERY_CLIENT = createQueryClient();
|
|
24
|
+
}
|
|
25
|
+
return BROWSER_QUERY_CLIENT;
|
|
26
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
import { isMobile } from 'is-mobile';
|
|
13
|
+
import { cache } from 'react';
|
|
14
|
+
export var onMobileDevice = cache(function (opts) {
|
|
15
|
+
return isMobile(__assign({ tablet: true, featureDetect: typeof window !== 'undefined' }, opts));
|
|
16
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
var definition = z
|
|
3
|
+
.union([
|
|
4
|
+
z.number(),
|
|
5
|
+
z.string().transform(function (val) {
|
|
6
|
+
var parsed = parseFloat(val);
|
|
7
|
+
return isNaN(parsed) ? null : parsed;
|
|
8
|
+
}),
|
|
9
|
+
])
|
|
10
|
+
.nullable()
|
|
11
|
+
.optional()
|
|
12
|
+
.default(null)
|
|
13
|
+
.catch(null);
|
|
14
|
+
export function parseDecimal(value, fallback) {
|
|
15
|
+
var _a;
|
|
16
|
+
if (fallback === void 0) { fallback = null; }
|
|
17
|
+
return (_a = definition.parse(value)) !== null && _a !== void 0 ? _a : fallback;
|
|
18
|
+
}
|