@opexa/portal-components 0.0.36 → 0.0.37

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.
Files changed (105) hide show
  1. package/dist/client/hooks/useAccountQuery.d.ts +1 -1
  2. package/dist/client/hooks/useAuthenticateMutation.d.ts +1 -1
  3. package/dist/client/hooks/useAvailablePromosQuery.d.ts +1 -1
  4. package/dist/client/hooks/useBetRecordsQuery.d.ts +1 -1
  5. package/dist/client/hooks/useBonusesQuery.d.ts +1 -1
  6. package/dist/client/hooks/useCashbacksQuery.d.ts +1 -1
  7. package/dist/client/hooks/useCreateGCashDepositMutation.d.ts +1 -1
  8. package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +1 -1
  9. package/dist/client/hooks/useCreateGameSessionMutation.d.ts +1 -1
  10. package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
  11. package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +1 -1
  12. package/dist/client/hooks/useCreateMayaAppDepositMutation.d.ts +1 -1
  13. package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +1 -1
  14. package/dist/client/hooks/useCreateMayaDepositMutation.d.ts +1 -1
  15. package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +1 -1
  16. package/dist/client/hooks/useCreateOnlineBankDepositMutation.d.ts +1 -1
  17. package/dist/client/hooks/useCreateQRPHDepositMutation.d.ts +1 -1
  18. package/dist/client/hooks/useDepositQuery.d.ts +1 -1
  19. package/dist/client/hooks/useDepositRecordsQuery.d.ts +1 -1
  20. package/dist/client/hooks/useDepositsCountQuery.d.ts +1 -1
  21. package/dist/client/hooks/useEndGameSessionMutation.d.ts +1 -1
  22. package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
  23. package/dist/client/hooks/useFavoriteGamesQuery.d.ts +1 -1
  24. package/dist/client/hooks/useGamesQuery.d.ts +1 -1
  25. package/dist/client/hooks/useInfiniteQueryHelper.d.ts +1 -1
  26. package/dist/client/hooks/useInstapayBankListQuery.d.ts +1 -1
  27. package/dist/client/hooks/useIsMayaSessionValidQuery.d.ts +1 -1
  28. package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +1 -1
  29. package/dist/client/hooks/useJackpotPayoutsQuery.js +1 -1
  30. package/dist/client/hooks/useJackpotsQuery.d.ts +1 -1
  31. package/dist/client/hooks/useLocaleInfo.d.ts +1 -1
  32. package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +1 -1
  33. package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -1
  34. package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -1
  35. package/dist/client/hooks/useMemberVerificationQuery.d.ts +1 -1
  36. package/dist/client/hooks/useMessagesQuery.d.ts +1 -1
  37. package/dist/client/hooks/usePaymentSettingsQuery.d.ts +1 -1
  38. package/dist/client/hooks/usePlatformQuery.d.ts +1 -1
  39. package/dist/client/hooks/useProfileCompletionQuery.d.ts +1 -1
  40. package/dist/client/hooks/usePromoQuery.d.ts +1 -1
  41. package/dist/client/hooks/usePromosQuery.d.ts +1 -1
  42. package/dist/client/hooks/useSendVerificationCodeMutation.d.ts +1 -1
  43. package/dist/client/hooks/useSessionQuery.d.ts +1 -1
  44. package/dist/client/hooks/useSignInMutation.d.ts +1 -1
  45. package/dist/client/hooks/useSignOutMutation.d.ts +1 -1
  46. package/dist/client/hooks/useSignUpMutation.d.ts +1 -1
  47. package/dist/client/hooks/useTopWinsQuery.d.ts +1 -1
  48. package/dist/client/hooks/useTournamentsQuery.d.ts +1 -1
  49. package/dist/client/hooks/useTransactionRecordsQuery.d.ts +1 -1
  50. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +1 -1
  51. package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +1 -1
  52. package/dist/client/hooks/useWalletQuery.d.ts +1 -1
  53. package/dist/client/hooks/useWalletQuery.js +1 -1
  54. package/dist/client/hooks/useWithdrawalRecordsQuery.d.ts +1 -1
  55. package/dist/client/services/getSession.d.ts +1 -1
  56. package/dist/components/Account/Account.js +1 -1
  57. package/dist/components/AccountInfo/AccountInfo.js +1 -1
  58. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  59. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  60. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
  61. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  62. package/dist/components/DepositWithdrawal/PaymentMethods.js +5 -5
  63. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
  64. package/dist/components/Disclaimer/Disclaimer.js +2 -2
  65. package/dist/components/GameProviders/GameProviders.d.ts +1 -1
  66. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  67. package/dist/components/JackpotCounter/JackpotCounterItem.js +8 -10
  68. package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -1
  69. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +1 -1
  70. package/dist/components/Jackpots/JackpotItemDesktop.js +8 -10
  71. package/dist/components/Jackpots/JackpotItemMobile.d.ts +1 -1
  72. package/dist/components/Jackpots/JackpotItemMobile.js +8 -13
  73. package/dist/components/Jackpots/Jackpots.d.ts +1 -1
  74. package/dist/components/Jackpots/Jackpots.js +1 -1
  75. package/dist/components/Jackpots/useJackpotItemData.d.ts +1 -1
  76. package/dist/components/Jackpots/useJackpotItemData.js +1 -1
  77. package/dist/components/Messages/utils.d.ts +1 -1
  78. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +2 -2
  79. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -1
  80. package/dist/components/Quests/WageringQuest/WageringQuest.js +1 -1
  81. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -1
  82. package/dist/components/SignIn/SignInForm.js +1 -1
  83. package/dist/components/TournamentCounter/TournamentCounterItem.js +7 -8
  84. package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -1
  85. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +1 -1
  86. package/dist/components/Tournaments/TournamentItemDesktop.js +6 -7
  87. package/dist/components/Tournaments/TournamentItemMobile.d.ts +1 -1
  88. package/dist/components/Tournaments/TournamentItemMobile.js +6 -11
  89. package/dist/components/Tournaments/Tournaments.d.ts +1 -1
  90. package/dist/components/Tournaments/Tournaments.js +1 -1
  91. package/dist/components/Tournaments/useTournamentItemData.d.ts +1 -1
  92. package/dist/components/TransactionRecords/TableFilters.d.ts +1 -1
  93. package/dist/icons/index.d.ts +3 -0
  94. package/dist/icons/index.js +3 -0
  95. package/dist/server/services/getSession.d.ts +1 -1
  96. package/dist/tsconfig.build.tsbuildinfo +1 -1
  97. package/dist/utils/getPercentage.d.ts +1 -1
  98. package/dist/utils/getPercentage.js +6 -5
  99. package/dist/utils/index.d.ts +2 -0
  100. package/dist/utils/index.js +2 -0
  101. package/dist/utils/mask.d.ts +10 -0
  102. package/dist/utils/mask.js +10 -0
  103. package/package.json +6 -10
  104. package/dist/utils/maskDisplayName.d.ts +0 -1
  105. package/dist/utils/maskDisplayName.js +0 -8
@@ -1,3 +1,3 @@
1
1
  import { type MemberAccount } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useAccountQuery: Query<MemberAccount>;
@@ -1,3 +1,3 @@
1
1
  import type { AuthenticateInput } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '~/types';
2
+ import type { Mutation } from '../../types';
3
3
  export declare const useAuthenticateMutation: Mutation<void, AuthenticateInput>;
@@ -1,3 +1,3 @@
1
1
  import { type AvailablePromosInput, type Promo } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useAvailablePromosQuery: Query<Promo[], AvailablePromosInput>;
@@ -1,3 +1,3 @@
1
1
  import { type BetRecord, type BetRecordsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useBetRecordsQuery: InfiniteQuery<PaginatedQueryResult<BetRecord>, BetRecordsInput>;
@@ -1,3 +1,3 @@
1
1
  import { type Bonus } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useBonusesQuery: Query<Bonus[]>;
@@ -1,3 +1,3 @@
1
1
  import { type Cashback } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useCashbacksQuery: Query<Cashback[]>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateGCashDepositInput, type Deposit } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateGCashDepositMutation: Mutation<Deposit, SetOptional<CreateGCashDepositInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateGCashWithdrawalInput } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateGCashWithdrawalMutation: Mutation<string, SetOptional<CreateGCashWithdrawalInput, 'id'>>;
@@ -1,3 +1,3 @@
1
1
  import { type FavoriteGame, type Game, type GameSession } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '~/types';
2
+ import type { Mutation } from '../../types';
3
3
  export declare const useCreateGameSessionMutation: Mutation<GameSession, Game | FavoriteGame>;
@@ -2,7 +2,7 @@ import { createGameSession, createGameSession__legacy, getGameSession, getGameSe
2
2
  import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
3
3
  import { useMutation } from '@tanstack/react-query';
4
4
  import invariant from 'tiny-invariant';
5
- import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE } from '../../constants/index.js';
5
+ import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE, } from '../../constants/index.js';
6
6
  import { createPoll, getCreateGameSessionMutationKey, getQueryClient, getSessionQueryKey, } from '../../utils/index.js';
7
7
  import { getSession } from '../services/index.js';
8
8
  export const useCreateGameSessionMutation = (config) => {
@@ -1,4 +1,4 @@
1
1
  import { type CreateAIOInstapayWithdrawalInput } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateInstapayWithdrawalMutation: Mutation<string, SetOptional<CreateAIOInstapayWithdrawalInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateMayaAppDepositInput, type Deposit } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateMayaAppDepositMutation: Mutation<Deposit, SetOptional<CreateMayaAppDepositInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateMayaAppWithdrawalInput } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateMayaAppWithdrawalMutation: Mutation<string, SetOptional<CreateMayaAppWithdrawalInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateMayaDepositInput, type Deposit } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateMayaDepositMutation: Mutation<Deposit, SetOptional<CreateMayaDepositInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateMayaWithdrawalInput } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateMayaWithdrawalMutation: Mutation<string, SetOptional<CreateMayaWithdrawalInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateAIOOnlineBankDepositInput, type Deposit } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateOnlineBankDepositMutation: Mutation<Deposit, SetOptional<CreateAIOOnlineBankDepositInput, 'id'>>;
@@ -1,4 +1,4 @@
1
1
  import { type CreateAIOQRPHDeposit, type Deposit } from '@opexa/portal-sdk-core';
2
2
  import type { SetOptional } from 'type-fest';
3
- import type { Mutation } from '~/types';
3
+ import type { Mutation } from '../../types';
4
4
  export declare const useCreateQRPHDepositMutation: Mutation<Deposit, SetOptional<CreateAIOQRPHDeposit, 'id'>>;
@@ -1,3 +1,3 @@
1
1
  import { type Deposit } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useDepositQuery: Query<Deposit | null, string>;
@@ -1,3 +1,3 @@
1
1
  import { type DepositRecord, type DepositRecordsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useDepositRecordsQuery: InfiniteQuery<PaginatedQueryResult<DepositRecord>, DepositRecordsInput>;
@@ -1,2 +1,2 @@
1
- import type { Query } from '~/types';
1
+ import type { Query } from '../../types';
2
2
  export declare const useDepositsCountQuery: Query<number>;
@@ -1,5 +1,5 @@
1
1
  import { type FavoriteGame, type Game, type GameSession } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '~/types';
2
+ import type { Mutation } from '../../types';
3
3
  export declare const useEndGameSessionMutation: Mutation<void, {
4
4
  game: Game | FavoriteGame;
5
5
  session: GameSession;
@@ -1,7 +1,7 @@
1
1
  import { endGameSession, endGameSession__legacy, } from '@opexa/portal-sdk-core';
2
2
  import { useMutation } from '@tanstack/react-query';
3
3
  import invariant from 'tiny-invariant';
4
- import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE } from '../../constants/index.js';
4
+ import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE, } from '../../constants/index.js';
5
5
  import { getEndGameSessionMutationKey, getQueryClient, getSessionQueryKey, } from '../../utils/index.js';
6
6
  import { getSession } from '../services/index.js';
7
7
  export const useEndGameSessionMutation = (config) => {
@@ -1,3 +1,3 @@
1
1
  import { type FavoriteGame } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useFavoriteGamesQuery: Query<FavoriteGame[]>;
@@ -1,3 +1,3 @@
1
1
  import { type Game, type GamesInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useGamesQuery: InfiniteQuery<PaginatedQueryResult<Game>, GamesInput>;
@@ -1,5 +1,5 @@
1
1
  import type { PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  type KnownVariables = {
4
4
  first?: number;
5
5
  after?: string | null;
@@ -1,3 +1,3 @@
1
1
  import { type InstapayBank } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useInstapayBankListQuery: Query<InstapayBank[]>;
@@ -1,2 +1,2 @@
1
- import type { Query } from '~/types';
1
+ import type { Query } from '../../types';
2
2
  export declare const useIsMayaSessionValidQuery: Query<boolean>;
@@ -1,3 +1,3 @@
1
1
  import { type JackpotPayout, type JackpotPayoutsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useJackpotPayoutsQuery: InfiniteQuery<PaginatedQueryResult<JackpotPayout>, JackpotPayoutsInput>;
@@ -1,4 +1,4 @@
1
- import { getJackpotPayouts } from '@opexa/portal-sdk-core';
1
+ import { getJackpotPayouts, } from '@opexa/portal-sdk-core';
2
2
  import { useInfiniteQuery } from '@tanstack/react-query';
3
3
  import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
4
4
  import { getJackpotPayoutsQueryKey } from '../../utils/index.js';
@@ -1,3 +1,3 @@
1
1
  import { type Jackpot, type JackpotsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useJackpotsQuery: InfiniteQuery<PaginatedQueryResult<Jackpot>, JackpotsInput>;
@@ -1 +1 @@
1
- export declare const useLocaleInfo: () => import("~/utils").LocaleInfo;
1
+ export declare const useLocaleInfo: () => import("../../utils").LocaleInfo;
@@ -1,2 +1,2 @@
1
- import type { Mutation } from '~/types';
1
+ import type { Mutation } from '../../types';
2
2
  export declare const useMarkGameAsFavoriteMutation: Mutation<string, string>;
@@ -1,2 +1,2 @@
1
- import type { Mutation } from '~/types';
1
+ import type { Mutation } from '../../types';
2
2
  export declare const useMarkMessageAsReadMutation: Mutation<string, string>;
@@ -1,9 +1,9 @@
1
1
  import { markMessageAsRead } from '@opexa/portal-sdk-core';
2
2
  import { useMutation } from '@tanstack/react-query';
3
3
  import invariant from 'tiny-invariant';
4
- import { getSession } from '../../client/services/index.js';
5
4
  import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
6
5
  import { getMarkMessageAsReadMutationKey, getMessagesQueryKey, getQueryClient, getSessionQueryKey, getUnreadMessagesCountQueryKey, } from '../../utils/index.js';
6
+ import { getSession } from '../services/index.js';
7
7
  export const useMarkMessageAsReadMutation = (config) => {
8
8
  const queryClient = getQueryClient();
9
9
  const mutation = useMutation({
@@ -1,3 +1,3 @@
1
1
  import { type MemberVerification } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useMemberVerificationQuery: Query<MemberVerification | null>;
@@ -1,3 +1,3 @@
1
1
  import { type Message, type MessagesInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useMessagesQuery: InfiniteQuery<PaginatedQueryResult<Message>, MessagesInput>;
@@ -1,3 +1,3 @@
1
1
  import { type PaymentSettings } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const usePaymentSettingsQuery: Query<PaymentSettings>;
@@ -1,3 +1,3 @@
1
1
  import { type Platform } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const usePlatformQuery: Query<Platform>;
@@ -1,3 +1,3 @@
1
1
  import { type ProfileCompletion } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useProfileCompletionQuery: Query<ProfileCompletion>;
@@ -1,3 +1,3 @@
1
1
  import { type Promo } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const usePromoQuery: Query<Promo | null, string>;
@@ -1,3 +1,3 @@
1
1
  import { type Promo } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const usePromosQuery: Query<Promo[]>;
@@ -1,3 +1,3 @@
1
1
  import { type SendVerificationCodeInput } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '~/types';
2
+ import type { Mutation } from '../../types';
3
3
  export declare const useSendVerificationCodeMutation: Mutation<void, SendVerificationCodeInput>;
@@ -1,2 +1,2 @@
1
- import type { Query, Session } from '~/types';
1
+ import type { Query, Session } from '../../types';
2
2
  export declare const useSessionQuery: Query<Session>;
@@ -1,4 +1,4 @@
1
1
  import type { Authenticator } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '~/types';
2
+ import type { Mutation } from '../../types';
3
3
  import { type SignInInput } from '../services';
4
4
  export declare const useSignInMutation: Mutation<Authenticator | null, SignInInput>;
@@ -1,2 +1,2 @@
1
- import type { Mutation } from '~/types';
1
+ import type { Mutation } from '../../types';
2
2
  export declare const useSignOutMutation: Mutation;
@@ -1,5 +1,5 @@
1
1
  import { type RegisterMemberAccountViaMobileInput } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '~/types';
2
+ import type { Mutation } from '../../types';
3
3
  export interface SignUpMutationInput extends RegisterMemberAccountViaMobileInput {
4
4
  }
5
5
  export declare const useSignUpMutation: Mutation<void, SignUpMutationInput>;
@@ -1,3 +1,3 @@
1
1
  import { type TopWin } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useTopWinsQuery: Query<TopWin[]>;
@@ -1,3 +1,3 @@
1
1
  import { type PaginatedQueryResult, type Tournament, type TournamentsInput } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useTournamentsQuery: InfiniteQuery<PaginatedQueryResult<Tournament>, TournamentsInput>;
@@ -1,3 +1,3 @@
1
1
  import { type PaginatedQueryResult, type TransactionRecord, type TransactionRecordsInput } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useTransactionRecordsQuery: InfiniteQuery<PaginatedQueryResult<TransactionRecord>, TransactionRecordsInput>;
@@ -1,2 +1,2 @@
1
- import type { Mutation } from '~/types';
1
+ import type { Mutation } from '../../types';
2
2
  export declare const useUnmarkGameAsFavoriteMutation: Mutation<void, string>;
@@ -1,3 +1,3 @@
1
1
  import { type UnreadMessagesCountInput } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useUnreadMessagesCountQuery: Query<number, UnreadMessagesCountInput>;
@@ -1,3 +1,3 @@
1
1
  import { type Wallet } from '@opexa/portal-sdk-core';
2
- import type { Query } from '~/types';
2
+ import type { Query } from '../../types';
3
3
  export declare const useWalletQuery: Query<Wallet | null>;
@@ -2,7 +2,7 @@ import { getWallet } from '@opexa/portal-sdk-core';
2
2
  import { useQuery } from '@tanstack/react-query';
3
3
  import invariant from 'tiny-invariant';
4
4
  import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
5
- import { getQueryClient, getSessionQueryKey, getWalletQueryKey } from '../../utils/index.js';
5
+ import { getQueryClient, getSessionQueryKey, getWalletQueryKey, } from '../../utils/index.js';
6
6
  import { getSession } from '../services/index.js';
7
7
  import { useSessionQuery } from './useSessionQuery.js';
8
8
  export const useWalletQuery = (config) => {
@@ -1,3 +1,3 @@
1
1
  import { type PaginatedQueryResult, type WithdrawalRecord, type WithdrawalRecordsInput } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '~/types';
2
+ import type { InfiniteQuery } from '../../types';
3
3
  export declare const useWithdrawalRecordsQuery: InfiniteQuery<PaginatedQueryResult<WithdrawalRecord>, WithdrawalRecordsInput>;
@@ -1,2 +1,2 @@
1
- import type { Session } from '~/types';
1
+ import type { Session } from '../../types';
2
2
  export declare const getSession: () => Promise<Session>;
@@ -6,7 +6,7 @@ import Link from 'next/link';
6
6
  import { useShallow } from 'zustand/shallow';
7
7
  import { useAccountQuery, useGlobalStore, useLocaleInfo, useSignOutMutation, useUnreadMessagesCountQuery, useWalletQuery, } from '../../client/hooks/index.js';
8
8
  import { AlertCircleIcon, ChevronLeftIcon, ChevronRightIcon, CoinsStacked02Icon, CoinsSwap02Icon, CreditCard02Icon, FileCheck02Icon, Gift01Icon, Lock01Icon, Logout01Icon, Settings02Icon, User01Icon, XIcon, } from '../../icons/index.js';
9
- import avatarPlaceholder from '~/images/placeholder-avatar.png';
9
+ import avatarPlaceholder from '../../images/placeholder-avatar.png';
10
10
  import { Badge, Button, Drawer, IconButton, Popover, Presence } from '../../ui/index.js';
11
11
  import { formatNumber, parseDecimal } from '../../utils/index.js';
12
12
  import { accountRecipe } from './account.recipe.js';
@@ -5,7 +5,7 @@ import { noop } from 'lodash-es';
5
5
  import Image from 'next/image';
6
6
  import { useAccountQuery, useLocaleInfo, useMobileNumberParser, } from '../../client/hooks/index.js';
7
7
  import { FacebookIcon, GoogleIcon } from '../../icons/index.js';
8
- import avatar from '~/images/placeholder-avatar.png';
8
+ import avatar from '../../images/placeholder-avatar.png';
9
9
  import { Button, Field, IconButton } from '../../ui/index.js';
10
10
  export function AccountInfo(props) {
11
11
  const localeInfo = useLocaleInfo();
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Portal } from '@ark-ui/react';
3
3
  import Image from 'next/image';
4
4
  import { BankIcon, XIcon } from '../../../../icons/index.js';
5
- import bankIcon from '~/images/bank-icon.png';
5
+ import bankIcon from '../../../../images/bank-icon.png';
6
6
  import { Button, Clipboard, Dialog } from '../../../../ui/index.js';
7
7
  import { useOnlineBankDepositContext } from './OnlineBankDepositContext.js';
8
8
  export function OnlineBankDepositVCA() {
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Portal, QrCode } from '@ark-ui/react';
3
3
  import Image from 'next/image';
4
4
  import { QrCode02Icon, SpinnerIcon, XIcon } from '../../../../icons/index.js';
5
- import qrphIcon from '~/images/qrph-icon.png';
5
+ import qrphIcon from '../../../../images/qrph-icon.png';
6
6
  import { Button, Dialog } from '../../../../ui/index.js';
7
7
  import { useQRPHDepositContext } from './QRPHDepositContext.js';
8
8
  export function QRPHDepositQrCode() {
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useState } from 'react';
2
2
  import invariant from 'tiny-invariant';
3
- import { useCreateQRPHDepositMutation, useDepositQuery } from '../../../../client/hooks/index.js';
3
+ import { useCreateQRPHDepositMutation, useDepositQuery, } from '../../../../client/hooks/index.js';
4
4
  import { toaster } from '../../../../client/utils/index.js';
5
5
  export function useQRPHDeposit() {
6
6
  const [view, setView] = useState('FORM');
@@ -4,7 +4,7 @@ import { Portal } from '@ark-ui/react';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import { z } from 'zod';
6
6
  import { useShallow } from 'zustand/shallow';
7
- import { useGlobalStore, useLocaleInfo, useWalletQuery } from '../../client/hooks/index.js';
7
+ import { useGlobalStore, useLocaleInfo, useWalletQuery, } from '../../client/hooks/index.js';
8
8
  import { Wallet02Icon, XIcon } from '../../icons/index.js';
9
9
  import { Dialog, Tabs } from '../../ui/index.js';
10
10
  import { formatNumber } from '../../utils/index.js';
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Image from 'next/image';
3
3
  import { useControllableState } from '../../client/hooks/index.js';
4
4
  import { CheckIcon } from '../../icons/index.js';
5
- import qrph from '~/images/QRPh.png';
6
- import gcash from '~/images/gcash.png';
7
- import instapay from '~/images/instapay.png';
8
- import maya from '~/images/maya.png';
9
- import onlineBank from '~/images/online-bank.png';
5
+ import qrph from '../../images/QRPh.png';
6
+ import gcash from '../../images/gcash.png';
7
+ import instapay from '../../images/instapay.png';
8
+ import maya from '../../images/maya.png';
9
+ import onlineBank from '../../images/online-bank.png';
10
10
  import { Checkbox, Field } from '../../ui/index.js';
11
11
  import { PaymentMethodDefinition } from './utils.js';
12
12
  const OPTIONS = [
@@ -8,7 +8,7 @@ import { useShallow } from 'zustand/shallow';
8
8
  import { useCreateInstapayWithdrawalMutation, useGlobalStore, useInstapayBankListQuery, usePaymentSettingsQuery, } from '../../../../client/hooks/index.js';
9
9
  import { toaster } from '../../../../client/utils/index.js';
10
10
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon, EyeIcon, EyeOffIcon, SpinnerIcon, } from '../../../../icons/index.js';
11
- import { Button, Field, NumberInput, PasswordInput, Select } from '../../../../ui/index.js';
11
+ import { Button, Field, NumberInput, PasswordInput, Select, } from '../../../../ui/index.js';
12
12
  import { parseDecimal } from '../../../../utils/index.js';
13
13
  import { AmountChoices } from '../../AmountChoices.js';
14
14
  export function InstapayWithdrawal() {
@@ -3,8 +3,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Portal } from '@ark-ui/react';
4
4
  import Image from 'next/image';
5
5
  import { useRef } from 'react';
6
- import pagcorLogo from '~/images/pagcor.png';
7
- import responsibleGamingLogo from '~/images/responsible-gaming.png';
6
+ import pagcorLogo from '../../images/pagcor.png';
7
+ import responsibleGamingLogo from '../../images/responsible-gaming.png';
8
8
  import { Button, Dialog } from '../../ui/index.js';
9
9
  import { useDisclaimer } from './useDisclaimer.js';
10
10
  export function Disclaimer(props) {
@@ -1,4 +1,4 @@
1
- import type { GameProviderData } from '~/types';
1
+ import type { GameProviderData } from '../../types';
2
2
  export interface GameProvidersProps {
3
3
  gameProviders: GameProviderData[];
4
4
  heading?: string;
@@ -6,7 +6,7 @@ import { useRef, useState } from 'react';
6
6
  import { useShallow } from 'zustand/shallow';
7
7
  import { useGamesQuery, useGlobalStore } from '../../client/hooks/index.js';
8
8
  import { SearchLgIcon, XIcon } from '../../icons/index.js';
9
- import providerHacksaw from '~/images/hacksaw-gaming.png';
9
+ import providerHacksaw from '../../images/hacksaw-gaming.png';
10
10
  import { Button, Dialog, Field, IconButton, Presence } from '../../ui/index.js';
11
11
  import { GameLaunchTrigger } from '../GameLaunch/index.js';
12
12
  export function GamesSearch(props) {
@@ -9,13 +9,11 @@ import { useLocaleInfo } from '../../client/hooks/index.js';
9
9
  import { useJackpotPayoutsQuery } from '../../client/hooks/useJackpotPayoutsQuery.js';
10
10
  import { ArrowNarrowUpRightIcon, ChevronLeftIcon, ChevronRightIcon, Trophy01Icon, User01Icon, } from '../../icons/index.js';
11
11
  import { StarIcon } from '../../icons/StarIcon.js';
12
- import closeChest from '~/images/close-chest.png';
13
- import firstPlace from '~/images/first-place.png';
14
- import leaderboard from '~/images/leaderboard.png';
15
- import openChest from '~/images/open-chest.png';
16
- import { formatNumber } from '../../utils/index.js';
17
- import { getPercentage } from '../../utils/getPercentage.js';
18
- import { maskDisplayName } from '../../utils/maskDisplayName.js';
12
+ import closeChest from '../../images/close-chest.png';
13
+ import firstPlace from '../../images/first-place.png';
14
+ import leaderboard from '../../images/leaderboard.png';
15
+ import openChest from '../../images/open-chest.png';
16
+ import { formatNumber, getPercentage, mask } from '../../utils/index.js';
19
17
  import styles from './JackpotCounterItem.module.css';
20
18
  export function JackpotCounterItem({ jackpot, className, viewAllUrl, }) {
21
19
  const jackpotPayoutsQuery = useJackpotPayoutsQuery({
@@ -52,7 +50,7 @@ export function JackpotCounterItem({ jackpot, className, viewAllUrl, }) {
52
50
  currency: localeInfo.currency.code,
53
51
  minDecimalPlaces: 2,
54
52
  maxDecimalPlaces: 2,
55
- }) })] }), _jsx("div", { className: "z-1 bottom-[-60] right-0 lg:absolute", children: _jsx(Image, { width: 150, height: 150, src: isPayingOut ? openChest : closeChest, alt: "closeChest", quality: 100, className: "h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2" }) })] }), topJackpotPayout.amount ? (_jsx("div", { children: _jsxs("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [_jsxs("div", { className: "bg-bg-tertiary relative flex h-18 w-18 items-center justify-center rounded-full", children: [_jsx(User01Icon, { className: "text-text-quarterary-500 size-9" }), _jsx("div", { className: "bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold", children: "1st" })] }), _jsxs("div", { className: "flex flex-col gap-1 text-left", children: [_jsxs("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [_jsx(Trophy01Icon, { className: "text-utility-brand-600 size-3.5" }), "Top Payout"] }), _jsx("div", { className: "font-semibold", children: maskDisplayName(topJackpotPayout.member.name) }), _jsx("div", { className: "text-brand-400 text-2xl", children: formatNumber(topJackpotPayout.amount, {
53
+ }) })] }), _jsx("div", { className: "z-1 bottom-[-60] right-0 lg:absolute", children: _jsx(Image, { width: 150, height: 150, src: isPayingOut ? openChest : closeChest, alt: "closeChest", quality: 100, className: "h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2" }) })] }), topJackpotPayout.amount ? (_jsx("div", { children: _jsxs("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [_jsxs("div", { className: "bg-bg-tertiary relative flex h-18 w-18 items-center justify-center rounded-full", children: [_jsx(User01Icon, { className: "text-text-quarterary-500 size-9" }), _jsx("div", { className: "bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold", children: "1st" })] }), _jsxs("div", { className: "flex flex-col gap-1 text-left", children: [_jsxs("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [_jsx(Trophy01Icon, { className: "text-utility-brand-600 size-3.5" }), "Top Payout"] }), _jsx("div", { className: "font-semibold", children: topJackpotPayout.member.name }), _jsx("div", { className: "text-brand-400 text-2xl", children: formatNumber(topJackpotPayout.amount, {
56
54
  currency: localeInfo.currency.code,
57
55
  minDecimalPlaces: 2,
58
56
  maxDecimalPlaces: 2,
@@ -62,12 +60,12 @@ export function JackpotCounterItem({ jackpot, className, viewAllUrl, }) {
62
60
  }) }), _jsxs("div", { className: "relative flex items-center justify-end gap-1.5", children: [isPayingOut ? (_jsxs("div", { className: "flex w-6 items-center", children: [_jsx("div", { className: twMerge('absolute left-0', styles['animate-arrow-red-flash-1']), children: _jsx(ChevronLeftIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-1.5', styles['animate-arrow-red-flash-2']), children: _jsx(ChevronLeftIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-3', styles['animate-arrow-red-flash-3']), children: _jsx(ChevronLeftIcon, { className: "size-4.5" }) })] })) : (_jsxs("div", { className: "flex w-6 items-center", children: [_jsx("div", { className: twMerge('absolute left-0', styles['animate-arrow-green-flash-1']), children: _jsx(ChevronRightIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-1.5', styles['animate-arrow-green-flash-2']), children: _jsx(ChevronRightIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-3', styles['animate-arrow-green-flash-3']), children: _jsx(ChevronRightIcon, { className: "size-4.5" }) })] })), _jsx("div", { className: "text-text-primary-900 text-xs font-semibold", children: formatNumber(jackpot?.maximumJackpotPoolLimit, {
63
61
  currency: localeInfo.currency.code,
64
62
  compact: true,
65
- }) })] })] }), _jsx(Progress.Root, { className: "bg-bg-primary h-2 w-full rounded-full lg:h-4", max: 100, value: getPercentage(Number(jackpot.pool), Number(jackpot.maximumJackpotPoolLimit)), children: _jsx(Progress.Track, { className: "bg-bg-primary h-full overflow-hidden rounded-full", children: _jsx(Progress.Range, { className: "bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5", children: _jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5", "aria-hidden": "true", children: arrowImages }) }) }) }), _jsx("div", { className: "mt-1 block text-start text-2xs lg:hidden", children: isPayingOut
63
+ }) })] })] }), _jsx(Progress.Root, { className: "bg-bg-primary h-2 w-full rounded-full lg:h-4", max: 100, value: getPercentage(jackpot.pool, jackpot.maximumJackpotPoolLimit), children: _jsx(Progress.Track, { className: "bg-bg-primary h-full overflow-hidden rounded-full", children: _jsx(Progress.Range, { className: "bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5", children: _jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5", "aria-hidden": "true", children: arrowImages }) }) }) }), _jsx("div", { className: "mt-1 block text-start text-2xs lg:hidden", children: isPayingOut
66
64
  ? `The pot has hit ${formatNumber(jackpot?.maximumJackpotPoolLimit, {
67
65
  currency: localeInfo.currency.code,
68
66
  compact: true,
69
67
  })} Play now for your chance to win big! 🔥`
70
- : getAccumulatingJackpotDescription(Number(jackpot?.pool) ?? 0, Number(jackpot?.maximumJackpotPoolLimit) ?? 0) })] })] }), _jsxs("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex gap-2", children: [_jsx(Image, { width: 24, height: 24, src: leaderboard, quality: 100, alt: "leaderboardIcon", className: "size-full h-auto w-6" }), _jsx("div", { className: "text-text-primary-900 text-lg font-semibold", children: jackpotPayouts.length ? 'Leaderboard' : 'Starting soon!' })] }), _jsxs(Link, { className: "text-button-tertiary-fg flex text-sm font-semibold", href: viewAllUrl ?? '/jackpots', children: ["See details", _jsx(ChevronRightIcon, { className: "size-5" })] })] }), _jsx("div", { className: twMerge('max-h-[272px] overflow-y-scroll', styles['scrollArea']), children: _jsx("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: _jsxs("table", { className: "w-full", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium", children: [_jsx("th", { className: "w-[52px]", children: "#" }), _jsx("th", { children: "Player" }), _jsx("th", { children: "Multiplier" }), _jsx("th", { children: "Prize" })] }) }), _jsx("tbody", { children: jackpotPayouts.length ? (_jsx(_Fragment, { children: jackpotPayouts.map((jackpotPayout, i) => (_jsxs("tr", { className: "bg-bg-primary text-text-secondary-700 text-sm", children: [_jsx("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: i + 1 < 6 ? (_jsxs("div", { className: "relative", children: [_jsx(StarIcon, { className: twMerge('mx-auto size-6.5', starTierStyles[i].starColor) }), _jsx("span", { className: twMerge('absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold', starTierStyles[i].numberColor), children: i + 1 })] })) : (i + 1) }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: maskDisplayName(jackpotPayout.member.name) }), _jsxs("td", { className: "border-border-secondary h-12 border-t-2", children: [jackpotPayout.multiplier, "x"] }), _jsx("td", { className: "border-border-secondary text-brand-400 h-12 border-t-2", children: formatNumber(jackpotPayout.amount, {
68
+ : getAccumulatingJackpotDescription(Number(jackpot?.pool) ?? 0, Number(jackpot?.maximumJackpotPoolLimit) ?? 0) })] })] }), _jsxs("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex gap-2", children: [_jsx(Image, { width: 24, height: 24, src: leaderboard, quality: 100, alt: "leaderboardIcon", className: "size-full h-auto w-6" }), _jsx("div", { className: "text-text-primary-900 text-lg font-semibold", children: jackpotPayouts.length ? 'Leaderboard' : 'Starting soon!' })] }), _jsxs(Link, { className: "text-button-tertiary-fg flex text-sm font-semibold", href: viewAllUrl ?? '/jackpots', children: ["See details", _jsx(ChevronRightIcon, { className: "size-5" })] })] }), _jsx("div", { className: twMerge('max-h-[272px] overflow-y-scroll', styles['scrollArea']), children: _jsx("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: _jsxs("table", { className: "w-full", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium", children: [_jsx("th", { className: "w-[52px]", children: "#" }), _jsx("th", { children: "Player" }), _jsx("th", { children: "Multiplier" }), _jsx("th", { children: "Prize" })] }) }), _jsx("tbody", { children: jackpotPayouts.length ? (_jsx(_Fragment, { children: jackpotPayouts.map((jackpotPayout, i) => (_jsxs("tr", { className: "bg-bg-primary text-text-secondary-700 text-sm", children: [_jsx("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: i + 1 < 6 ? (_jsxs("div", { className: "relative", children: [_jsx(StarIcon, { className: twMerge('mx-auto size-6.5', starTierStyles[i].starColor) }), _jsx("span", { className: twMerge('absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold', starTierStyles[i].numberColor), children: i + 1 })] })) : (i + 1) }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: mask(jackpotPayout.member.name) }), _jsxs("td", { className: "border-border-secondary h-12 border-t-2", children: [jackpotPayout.multiplier, "x"] }), _jsx("td", { className: "border-border-secondary text-brand-400 h-12 border-t-2", children: formatNumber(jackpotPayout.amount, {
71
69
  currency: localeInfo.currency.code,
72
70
  minDecimalPlaces: 2,
73
71
  maxDecimalPlaces: 2,
@@ -1,4 +1,4 @@
1
- import type { GameProviderData } from '~/types';
1
+ import type { GameProviderData } from '../../types';
2
2
  export interface JackpotGameProvidersProps {
3
3
  gameProviders: GameProviderData[];
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import type { Jackpot } from '@opexa/portal-sdk-core';
2
- import type { GameProviderData } from '~/types';
2
+ import type { GameProviderData } from '../../types';
3
3
  export interface JackpotItemProps {
4
4
  jackpot: Jackpot;
5
5
  /** @default "/jackpots" */