@opexa/portal-components 0.0.101 → 0.0.103
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.lazy.js +1 -1
- package/dist/components/Account/AccountTrigger.js +1 -1
- package/dist/components/AccountSecurity/AccountSecurity.js +3 -1
- package/dist/components/AccountVerification/AccountVerification.js +1 -1
- package/dist/components/BetRecords/BetRecords.client.js +3 -1
- package/dist/components/Bonus/Bonus.client.js +1 -1
- package/dist/components/Cashback/Cashback.client.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +2 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +2 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV1.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV2.js +1 -1
- package/dist/components/Disclaimer/ResponsibleGaming.js +1 -1
- package/dist/components/Disclaimer/TermsOfUse.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.lazy.js +3 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.js +3 -2
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +1 -23
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemRules.js +1 -1
- package/dist/components/KYC/BasicInformation.d.ts +1 -0
- package/dist/components/KYC/BasicInformation.js +12 -0
- package/dist/components/KYC/IdentityVerification.d.ts +1 -0
- package/dist/components/KYC/IdentityVerification.js +20 -0
- package/dist/components/KYC/Indicator.js +2 -3
- package/dist/components/KYC/KYC.d.ts +3 -1
- package/dist/components/KYC/KYC.js +2 -2
- package/dist/components/KYC/KYC.lazy.d.ts +5 -1
- package/dist/components/KYC/KYC.lazy.js +10 -14
- package/dist/components/KYC/KYCTrigger.js +1 -1
- package/dist/components/KYC/PersonalInformation.d.ts +1 -0
- package/dist/components/KYC/PersonalInformation.js +20 -0
- package/dist/components/KYC/{Header.js → backup/Header.js} +4 -4
- package/dist/components/KYC/backup/Indicator.d.ts +1 -0
- package/dist/components/KYC/backup/Indicator.js +9 -0
- package/dist/components/KYC/backup/KYC.d.ts +1 -0
- package/dist/components/KYC/backup/KYC.js +14 -0
- package/dist/components/KYC/backup/KYC.lazy.d.ts +1 -0
- package/dist/components/KYC/backup/KYC.lazy.js +26 -0
- package/dist/components/KYC/backup/KYCContext.d.ts +2 -0
- package/dist/components/KYC/backup/KYCContext.js +2 -0
- package/dist/components/KYC/{Step1.js → backup/Step1.js} +4 -4
- package/dist/components/KYC/{Step2.js → backup/Step2.js} +4 -4
- package/dist/components/KYC/{Step3.js → backup/Step3.js} +4 -4
- package/dist/components/KYC/{Step4.js → backup/Step4.js} +3 -3
- package/dist/components/KYC/backup/useKYC.d.ts +10 -0
- package/dist/components/KYC/backup/useKYC.js +8 -0
- package/dist/components/KYC/useKYC.d.ts +5 -8
- package/dist/components/KYC/useKYC.js +3 -0
- package/dist/components/Messages/MessagePopup.js +1 -1
- package/dist/components/Messages/MessageTrigger.js +1 -1
- package/dist/components/Messages/Messages.lazy.js +1 -1
- package/dist/components/Messages/MessagesTrigger.js +1 -1
- package/dist/components/Promo/Promo.client.js +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -1
- package/dist/components/Search/Search.lazy.js +2 -2
- package/dist/components/Search/SearchTrigger.js +1 -1
- package/dist/components/SignIn/MobileNumberSignIn.js +1 -1
- package/dist/components/SignIn/NameAndPasswordSignIn.js +1 -1
- package/dist/components/SignIn/SignIn.lazy.js +1 -1
- package/dist/components/SignIn/SignInTrigger.js +1 -1
- package/dist/components/SignUp/SignUp.lazy.js +1 -1
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpTrigger.js +1 -1
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemRules.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.js +3 -1
- package/dist/services/queries.js +2351 -2351
- package/dist/styles/theme.css +698 -697
- package/dist/ui/Menu/Menu.d.ts +1047 -1
- package/dist/ui/Menu/Menu.js +24 -1
- package/dist/ui/Menu/menu.recipe.d.ts +58 -0
- package/dist/ui/Menu/menu.recipe.js +6 -1
- package/dist/ui/Portal/Portal.d.ts +7 -0
- package/dist/ui/Portal/Portal.js +5 -0
- package/dist/ui/Portal/index.d.ts +1 -0
- package/dist/ui/Portal/index.js +1 -0
- package/dist/ui/Presence/index.d.ts +1 -0
- package/dist/ui/Presence/index.js +1 -0
- package/dist/ui/Prose/Prose.d.ts +6 -0
- package/dist/ui/Prose/Prose.js +7 -0
- package/dist/ui/Prose/index.d.ts +1 -0
- package/dist/ui/Prose/index.js +1 -0
- package/dist/ui/QrCode/QrCode.d.ts +157 -0
- package/dist/ui/QrCode/QrCode.js +11 -0
- package/dist/ui/QrCode/index.d.ts +1 -0
- package/dist/ui/QrCode/index.js +1 -0
- package/dist/ui/QrCode/qrCode.recipe.d.ts +31 -0
- package/dist/ui/QrCode/qrCode.recipe.js +6 -0
- package/dist/ui/Tooltip/Tooltip.d.ts +188 -1
- package/dist/ui/Tooltip/Tooltip.js +11 -1
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +31 -0
- package/dist/ui/Tooltip/tooltip.recipe.js +6 -1
- package/package.json +162 -162
- package/dist/client/hooks/index.d.ts +0 -65
- package/dist/client/hooks/index.js +0 -65
- package/dist/client/services/index.d.ts +0 -4
- package/dist/client/services/index.js +0 -4
- package/dist/client/utils/index.d.ts +0 -3
- package/dist/client/utils/index.js +0 -3
- package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
- package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
- package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
- package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
- package/dist/components/CashbackBonus/index.d.ts +0 -1
- package/dist/components/CashbackBonus/index.js +0 -1
- package/dist/components/Games/GameContext.d.ts +0 -2
- package/dist/components/Games/GameContext.js +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
- package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
- package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
- package/dist/components/JackpotCounter/index.d.ts +0 -1
- package/dist/components/JackpotCounter/index.js +0 -1
- package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
- package/dist/components/Jackpots/JackpotDesktop.js +0 -45
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
- package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
- package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
- package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
- package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
- package/dist/components/Jackpots/JackpotMobile.js +0 -46
- package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
- package/dist/components/Jackpots/JackpotRules.js +0 -11
- package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
- package/dist/components/Jackpots/Jackpots.client.js +0 -29
- package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
- package/dist/components/Jackpots/JackpotsContext.js +0 -3
- package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
- package/dist/components/Jackpots/useJackpotData.js +0 -93
- package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
- package/dist/components/Jackpots/useJackpotItemData.js +0 -87
- package/dist/components/Messages/MessageItem.d.ts +0 -4
- package/dist/components/Messages/MessageItem.js +0 -34
- package/dist/components/PortalProvider/WebVitals.d.ts +0 -1
- package/dist/components/PortalProvider/WebVitals.js +0 -8
- package/dist/components/Promo/PromoContent.d.ts +0 -2
- package/dist/components/Promo/PromoContent.js +0 -9
- package/dist/components/Promos/PromoCarousel.d.ts +0 -2
- package/dist/components/Promos/PromoCarousel.js +0 -41
- package/dist/components/Promos/PromoGrid.d.ts +0 -2
- package/dist/components/Promos/PromoGrid.js +0 -12
- package/dist/components/Promos/PromoItem.d.ts +0 -7
- package/dist/components/Promos/PromoItem.js +0 -10
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
- package/dist/components/TournamentCounter/index.d.ts +0 -1
- package/dist/components/TournamentCounter/index.js +0 -1
- package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
- package/dist/components/Tournaments/TournamentDesktop.js +0 -57
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
- package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
- package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
- package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
- package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
- package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
- package/dist/components/Tournaments/TournamentMobile.js +0 -55
- package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
- package/dist/components/Tournaments/TournamentRules.js +0 -11
- package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
- package/dist/components/Tournaments/Tournaments.client.js +0 -20
- package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
- package/dist/components/Tournaments/TournamentsContext.js +0 -3
- package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
- package/dist/components/Tournaments/useTournamentData.js +0 -72
- package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
- package/dist/components/Tournaments/useTournamentItemData.js +0 -64
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -33
- package/dist/icons/index.d.ts +0 -65
- package/dist/icons/index.js +0 -65
- package/dist/images/hacksaw-gaming.png +0 -0
- package/dist/server/services/index.d.ts +0 -4
- package/dist/server/services/index.js +0 -4
- package/dist/server/utils/index.d.ts +0 -29
- package/dist/server/utils/index.js +0 -29
- package/dist/ui/Prose.d.ts +0 -2
- package/dist/ui/Prose.js +0 -5
- package/dist/ui/index.d.ts +0 -26
- package/dist/ui/index.js +0 -26
- package/dist/utils/index.d.ts +0 -17
- package/dist/utils/index.js +0 -17
- package/dist/utils/isMobile.d.ts +0 -5
- package/dist/utils/isMobile.js +0 -9
- /package/dist/components/KYC/{Header.d.ts → backup/Header.d.ts} +0 -0
- /package/dist/components/KYC/{Step1.d.ts → backup/Step1.d.ts} +0 -0
- /package/dist/components/KYC/{Step2.d.ts → backup/Step2.d.ts} +0 -0
- /package/dist/components/KYC/{Step3.d.ts → backup/Step3.d.ts} +0 -0
- /package/dist/components/KYC/{Step4.d.ts → backup/Step4.d.ts} +0 -0
- /package/dist/ui/{Presence.d.ts → Presence/Presence.d.ts} +0 -0
- /package/dist/ui/{Presence.js → Presence/Presence.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Image from 'next/image';
|
|
3
|
-
import { CheckIcon } from '
|
|
4
|
-
import { XIcon } from '
|
|
5
|
-
import uploadId from '
|
|
6
|
-
import { Button } from '
|
|
3
|
+
import { CheckIcon } from '../../../icons/CheckIcon.js';
|
|
4
|
+
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
|
+
import uploadId from '../../../images/capture-id-banner.png';
|
|
6
|
+
import { Button } from '../../../ui/Button/index.js';
|
|
7
7
|
import { useKYCContext } from './KYCContext.js';
|
|
8
8
|
export function Step1() {
|
|
9
9
|
const context = useKYCContext();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Image from 'next/image';
|
|
3
|
-
import { CheckIcon } from '
|
|
4
|
-
import { XIcon } from '
|
|
5
|
-
import selfie from '
|
|
6
|
-
import { Button } from '
|
|
3
|
+
import { CheckIcon } from '../../../icons/CheckIcon.js';
|
|
4
|
+
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
|
+
import selfie from '../../../images/capture-selfie-banner.png';
|
|
6
|
+
import { Button } from '../../../ui/Button/index.js';
|
|
7
7
|
import { useKYCContext } from './KYCContext.js';
|
|
8
8
|
export function Step2() {
|
|
9
9
|
const context = useKYCContext();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CheckIcon } from '
|
|
3
|
-
import { Button } from '
|
|
4
|
-
import { Checkbox } from '
|
|
5
|
-
import { Field } from '
|
|
2
|
+
import { CheckIcon } from '../../../icons/CheckIcon.js';
|
|
3
|
+
import { Button } from '../../../ui/Button/index.js';
|
|
4
|
+
import { Checkbox } from '../../../ui/Checkbox/index.js';
|
|
5
|
+
import { Field } from '../../../ui/Field/index.js';
|
|
6
6
|
import { useKYCContext } from './KYCContext.js';
|
|
7
7
|
export function Step3() {
|
|
8
8
|
const context = useKYCContext();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CheckCircleIcon } from '
|
|
3
|
-
import { Button } from '
|
|
4
|
-
import { Dialog } from '
|
|
2
|
+
import { CheckCircleIcon } from '../../../icons/CheckCircleIcon.js';
|
|
3
|
+
import { Button } from '../../../ui/Button/index.js';
|
|
4
|
+
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
5
5
|
export function Step4() {
|
|
6
6
|
return (_jsxs("div", { children: [_jsx("div", { className: "bg-bg-success-secondary text-text-featured-icon-light-success mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(CheckCircleIcon, {}) }), _jsx("h2", { className: "mt-3 text-center", children: "Submission Successful" }), _jsx("p", { className: "text-text-tertiary-600 text-center", children: "Your documents have been submitted successfully. They\u2019re now under review, and you\u2019ll receive a notification as soon as your account is verified." }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { className: "mt-3xl", onClick: () => api.setOpen(false), children: "Ok" })) })] }));
|
|
7
7
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
type Step = 1 | 2 | 3 | 4;
|
|
2
1
|
export interface UseKYCReturn {
|
|
3
|
-
step:
|
|
4
|
-
setStep: (step:
|
|
2
|
+
step: number;
|
|
3
|
+
setStep: (step: number) => void;
|
|
4
|
+
done: boolean;
|
|
5
|
+
setDone: (done: boolean) => void;
|
|
5
6
|
}
|
|
6
|
-
export declare function useKYC():
|
|
7
|
-
step: Step;
|
|
8
|
-
setStep: import("react").Dispatch<import("react").SetStateAction<Step>>;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
7
|
+
export declare function useKYC(): UseKYCReturn;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import Link from 'next/link';
|
|
5
4
|
import { useShallow } from 'zustand/shallow';
|
|
6
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
7
6
|
import { XIcon } from '../../icons/XIcon.js';
|
|
8
7
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
8
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
9
9
|
import { getMessageIcon } from './utils.js';
|
|
10
10
|
export const MessagePopup = () => {
|
|
11
11
|
const globalStore = useGlobalStore(useShallow((ctx) => ({ message: ctx.message })));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { ark } from '@ark-ui/react';
|
|
3
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
6
6
|
import { useMarkMessageAsReadMutation } from '../../client/hooks/useMarkMessageAsReadMutation.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import { twMerge } from 'tailwind-merge';
|
|
5
4
|
import { z } from 'zod';
|
|
6
5
|
import { useShallow } from 'zustand/shallow';
|
|
@@ -10,6 +9,7 @@ import { useUnreadMessagesCountQuery } from '../../client/hooks/useUnreadMessage
|
|
|
10
9
|
import { SpinnerIcon } from '../../icons/SpinnerIcon.js';
|
|
11
10
|
import { XIcon } from '../../icons/XIcon.js';
|
|
12
11
|
import { Drawer } from '../../ui/Drawer/index.js';
|
|
12
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
13
13
|
import { Tabs } from '../../ui/Tabs/index.js';
|
|
14
14
|
import { InfiniteScroll } from '../InfiniteScroll.js';
|
|
15
15
|
import { Message } from './Message.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { ark } from '@ark-ui/react';
|
|
3
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
6
6
|
import { useUnreadMessagesCountQuery } from '../../client/hooks/useUnreadMessagesCountQuery.js';
|
|
@@ -11,7 +11,7 @@ import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
|
|
|
11
11
|
import { usePromoQuery } from '../../client/hooks/usePromoQuery.js';
|
|
12
12
|
import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.js';
|
|
13
13
|
import { Button } from '../../ui/Button/index.js';
|
|
14
|
-
import { Prose } from '../../ui/Prose.js';
|
|
14
|
+
import { Prose } from '../../ui/Prose/index.js';
|
|
15
15
|
export function Promo__client(props) {
|
|
16
16
|
const localeInfo = useLocaleInfo();
|
|
17
17
|
const availablePromosQuery = useAvailablePromosQuery();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
4
|
import { Button } from '../../../ui/Button/index.js';
|
|
6
5
|
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
6
|
+
import { Portal } from '../../../ui/Portal/index.js';
|
|
7
7
|
export function DailyCheckInQuestModal(props) {
|
|
8
8
|
return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: props.modalState.isOpen, onOpenChange: ({ open }) => props.modalState.setIsOpen(open), closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto max-w-[343px] rounded-xl px-4 pb-0 pt-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col space-y-5", children: [_jsx("p", { className: "text-text-primary-900 text-lg font-semibold", children: "Daily Check-In Rules" }), _jsxs("ul", { className: "text-text-tertiary-600 group list-disc text-wrap pl-4 text-sm font-normal", children: [_jsx("li", { children: "Earn rewards just for checking in each day!" }), _jsx("li", { children: "Stay consistent to unlock special rewards on the 3rd, 5th, and 7th day." }), _jsx("li", { children: "Missing a day will reset your streak, starting again from Day 1." }), _jsx("li", { children: "Each check-in unlocks the next one on the following day." }), _jsx("li", { children: "Successfully check in for 7 consecutive days to complete the quest and reset the cycle." })] })] }), _jsx("div", { className: "pb-4 pt-6", children: _jsx(Button, { onClick: () => props.modalState.setIsOpen(false), children: "Ok" }) })] }) })] }) }));
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
4
|
import { Button } from '../../../ui/Button/index.js';
|
|
6
5
|
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
6
|
+
import { Portal } from '../../../ui/Portal/index.js';
|
|
7
7
|
export function WageringQuestModal(props) {
|
|
8
8
|
return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: props.modalState.isOpen, onOpenChange: ({ open }) => props.modalState.setIsOpen(open), closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto max-w-[343px] rounded-xl px-4 pb-0 pt-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col space-y-5", children: [_jsx("p", { className: "text-text-primary-900 text-lg font-semibold", children: props.questName }), _jsxs("ul", { className: "text-text-tertiary-600 group list-disc text-wrap pl-4 text-sm font-normal", children: [_jsx("li", { children: "Earn extra rewards just by playing Slots, every bet counts, win or lose!" }), _jsx("li", { children: "Reach the wagering requirement in bets to complete the quest and claim your reward." })] })] }), _jsx("div", { className: "pb-4 pt-6", children: _jsx(Button, { onClick: () => props.modalState.setIsOpen(false), children: "Ok" }) })] }) })] }) }));
|
|
9
9
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import Image, {} from 'next/image';
|
|
5
4
|
import Link from 'next/link';
|
|
6
5
|
import { useRef, useState } from 'react';
|
|
@@ -14,7 +13,8 @@ import { Button } from '../../ui/Button/index.js';
|
|
|
14
13
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
15
14
|
import { Field } from '../../ui/Field/index.js';
|
|
16
15
|
import { IconButton } from '../../ui/IconButton/index.js';
|
|
17
|
-
import {
|
|
16
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
17
|
+
import { Presence } from '../../ui/Presence/index.js';
|
|
18
18
|
import { callIfFn } from '../../utils/callIfFn.js';
|
|
19
19
|
import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
|
|
20
20
|
import { GameLaunchTrigger } from '../GameLaunch/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { ark } from '@ark-ui/react';
|
|
3
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
6
6
|
export function SearchTrigger(props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useDialogContext } from '@ark-ui/react';
|
|
2
|
+
import { useDialogContext } from '@ark-ui/react/dialog';
|
|
3
3
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
4
|
import { useRef } from 'react';
|
|
5
5
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useDialogContext } from '@ark-ui/react';
|
|
2
|
+
import { useDialogContext } from '@ark-ui/react/dialog';
|
|
3
3
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import Image, {} from 'next/image';
|
|
5
4
|
import { useShallow } from 'zustand/shallow';
|
|
6
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
7
6
|
import { XIcon } from '../../icons/XIcon.js';
|
|
8
7
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
8
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
9
9
|
import { SignInContext } from './SignInContext.js';
|
|
10
10
|
import { SignInForm } from './SignInForm.js';
|
|
11
11
|
import { useSignIn } from './useSignIn.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { ark } from '@ark-ui/react';
|
|
3
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
6
6
|
export function SignInTrigger(props) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Portal } from '@ark-ui/react';
|
|
4
3
|
import Image, {} from 'next/image';
|
|
5
4
|
import { Suspense } from 'react';
|
|
6
5
|
import { useShallow } from 'zustand/shallow';
|
|
7
6
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
8
7
|
import { XIcon } from '../../icons/XIcon.js';
|
|
9
8
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
9
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
10
10
|
import { SignUpForm } from './SignUpForm.js';
|
|
11
11
|
export function SignUp(props) {
|
|
12
12
|
const signUpStore = useGlobalStore(useShallow((ctx) => ctx.signUp));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { useDialogContext } from '@ark-ui/react';
|
|
3
|
+
import { useDialogContext } from '@ark-ui/react/dialog';
|
|
4
4
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
5
5
|
import { ObjectId } from '@opexa/object-id';
|
|
6
6
|
import { useSearchParams } from 'next/navigation';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { ark } from '@ark-ui/react';
|
|
3
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
4
|
import { useShallow } from 'zustand/shallow';
|
|
5
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
6
6
|
export function SignUpTrigger(props) {
|