@opexa/portal-components 0.0.102 → 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/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 +2 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.js +2 -1
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +1 -23
- 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/KYC.lazy.js +1 -1
- package/dist/components/KYC/KYCTrigger.js +1 -1
- package/dist/components/KYC/backup/KYC.lazy.js +1 -1
- 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/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -1
- package/dist/components/Search/Search.lazy.js +1 -1
- 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/TournamentsList/TournamentsListItemRules.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.js +3 -1
- 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/Prose/Prose.d.ts +5 -1
- package/dist/ui/Prose/Prose.js +3 -1
- 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 +1 -1
|
@@ -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 { twMerge } from 'tailwind-merge';
|
|
@@ -27,6 +26,7 @@ import { Badge } from '../../ui/Badge/index.js';
|
|
|
27
26
|
import { Button } from '../../ui/Button/index.js';
|
|
28
27
|
import { Drawer } from '../../ui/Drawer/index.js';
|
|
29
28
|
import { Popover } from '../../ui/Popover/index.js';
|
|
29
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
30
30
|
import { formatNumber } from '../../utils/formatNumber.js';
|
|
31
31
|
import { parseDecimal } from '../../utils/parseDecimal.js';
|
|
32
32
|
import { accountRecipe } from './account.recipe.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 Image from 'next/image';
|
|
5
5
|
import { useMediaQuery } from 'usehooks-ts';
|
|
6
6
|
import { useShallow } from 'zustand/shallow';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { createListCollection } from '@ark-ui/react/collection';
|
|
4
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
5
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
5
6
|
import { useForm } from 'react-hook-form';
|
|
6
7
|
import { twMerge } from 'tailwind-merge';
|
|
@@ -18,6 +19,7 @@ import { EyeOffIcon } from '../../icons/EyeOffIcon.js';
|
|
|
18
19
|
import { Button } from '../../ui/Button/index.js';
|
|
19
20
|
import { Field } from '../../ui/Field/index.js';
|
|
20
21
|
import { PasswordInput } from '../../ui/PasswordInput/index.js';
|
|
22
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
21
23
|
import { Select } from '../../ui/Select/index.js';
|
|
22
24
|
export function AccountSecurity(props) {
|
|
23
25
|
return (_jsxs("div", { className: twMerge('space-y-3xl', props.className), children: [_jsx(LoginPassword, {}), _jsx(TransactionPassword, {})] }));
|
|
@@ -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 { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { useShallow } from 'zustand/shallow';
|
|
6
6
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { createListCollection
|
|
3
|
+
import { createListCollection } from '@ark-ui/react/collection';
|
|
4
|
+
import { parseDate } from '@ark-ui/react/date-picker';
|
|
4
5
|
import { tz, TZDateMini } from '@date-fns/tz';
|
|
5
6
|
import { endOfDay, format, startOfDay } from 'date-fns';
|
|
6
7
|
import { useReducer, useState } from 'react';
|
|
@@ -19,6 +20,7 @@ import { SpinnerIcon } from '../../icons/SpinnerIcon.js';
|
|
|
19
20
|
import { Badge } from '../../ui/Badge/index.js';
|
|
20
21
|
import { DatePicker } from '../../ui/DatePicker/index.js';
|
|
21
22
|
import { IconButton } from '../../ui/IconButton/index.js';
|
|
23
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
22
24
|
import { SegmentGroup } from '../../ui/SegmentGroup/index.js';
|
|
23
25
|
import { Select } from '../../ui/Select/index.js';
|
|
24
26
|
import { Table } from '../../ui/Table/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { createListCollection } from '@ark-ui/react';
|
|
2
|
+
import { createListCollection } from '@ark-ui/react/collection';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { useAvailablePromosQuery } from '../../../client/hooks/useAvailablePromosQuery.js';
|
|
5
5
|
import { useControllableState } from '../../../client/hooks/useControllableState.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -20,6 +19,7 @@ import { AlertDialog } from '../../../../ui/AlertDialog/index.js';
|
|
|
20
19
|
import { Button } from '../../../../ui/Button/index.js';
|
|
21
20
|
import { Field } from '../../../../ui/Field/index.js';
|
|
22
21
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
22
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
23
23
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
24
24
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
25
25
|
import { AvailablePromos } from '../AvailablePromos.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -19,6 +18,7 @@ import { AlertDialog } from '../../../../ui/AlertDialog/index.js';
|
|
|
19
18
|
import { Button } from '../../../../ui/Button/index.js';
|
|
20
19
|
import { Field } from '../../../../ui/Field/index.js';
|
|
21
20
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
21
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
22
22
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
23
23
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
24
24
|
import { AvailablePromos } from '../AvailablePromos.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -20,6 +19,7 @@ import { AlertDialog } from '../../../../ui/AlertDialog/index.js';
|
|
|
20
19
|
import { Button } from '../../../../ui/Button/index.js';
|
|
21
20
|
import { Field } from '../../../../ui/Field/index.js';
|
|
22
21
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
22
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
23
23
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
24
24
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
25
25
|
import { AvailablePromos } from '../AvailablePromos.js';
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { AlertCircleIcon } from '../../../../icons/AlertCircleIcon.js';
|
|
4
3
|
import { SpinnerIcon } from '../../../../icons/SpinnerIcon.js';
|
|
5
4
|
import { XIcon } from '../../../../icons/XIcon.js';
|
|
6
5
|
import { AlertDialog } from '../../../../ui/AlertDialog/index.js';
|
|
7
6
|
import { Button } from '../../../../ui/Button/index.js';
|
|
7
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
8
8
|
import { useOnlineBankDepositContext } from './OnlineBankDepositContext.js';
|
|
9
9
|
export function OnlineBankDepositAlert() {
|
|
10
10
|
const context = useOnlineBankDepositContext();
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import Image from 'next/image';
|
|
4
3
|
import { BankIcon } from '../../../../icons/BankIcon.js';
|
|
5
4
|
import { XIcon } from '../../../../icons/XIcon.js';
|
|
@@ -7,6 +6,7 @@ import bankIcon from '../../../../images/bank-icon.png';
|
|
|
7
6
|
import { Button } from '../../../../ui/Button/index.js';
|
|
8
7
|
import { Clipboard } from '../../../../ui/Clipboard/index.js';
|
|
9
8
|
import { Dialog } from '../../../../ui/Dialog/index.js';
|
|
9
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
10
10
|
import { useOnlineBankDepositContext } from './OnlineBankDepositContext.js';
|
|
11
11
|
export function OnlineBankDepositDetails() {
|
|
12
12
|
const context = useOnlineBankDepositContext();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { AlertCircleIcon } from '../../../../icons/AlertCircleIcon.js';
|
|
4
3
|
import { SpinnerIcon } from '../../../../icons/SpinnerIcon.js';
|
|
5
4
|
import { XIcon } from '../../../../icons/XIcon.js';
|
|
6
5
|
import { AlertDialog } from '../../../../ui/AlertDialog/index.js';
|
|
7
6
|
import { Button } from '../../../../ui/Button/index.js';
|
|
7
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
8
8
|
import { useQRPHDepositContext } from './QRPHDepositContext.js';
|
|
9
9
|
export function QRPHDepositAlert() {
|
|
10
10
|
const context = useQRPHDepositContext();
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal, QrCode } from '@ark-ui/react';
|
|
3
2
|
import Image from 'next/image';
|
|
4
3
|
import { QrCode02Icon } from '../../../../icons/QrCode02Icon.js';
|
|
5
4
|
import { XIcon } from '../../../../icons/XIcon.js';
|
|
6
5
|
import qrphIcon from '../../../../images/qrph-icon.png';
|
|
7
6
|
import { Button } from '../../../../ui/Button/index.js';
|
|
8
7
|
import { Dialog } from '../../../../ui/Dialog/index.js';
|
|
8
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
9
|
+
import { QrCode } from '../../../../ui/QrCode/index.js';
|
|
9
10
|
import { useQRPHDepositContext } from './QRPHDepositContext.js';
|
|
10
11
|
export function QRPHDepositDetails() {
|
|
11
12
|
const context = useQRPHDepositContext();
|
|
@@ -1,6 +1,5 @@
|
|
|
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 { z } from 'zod';
|
|
5
4
|
import { useShallow } from 'zustand/shallow';
|
|
6
5
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
@@ -10,6 +9,7 @@ import { Wallet02Icon } from '../../icons/Wallet02Icon.js';
|
|
|
10
9
|
import { XIcon } from '../../icons/XIcon.js';
|
|
11
10
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
12
11
|
import { IconButton } from '../../ui/IconButton/index.js';
|
|
12
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
13
13
|
import { Tabs } from '../../ui/Tabs/index.js';
|
|
14
14
|
import { formatNumber } from '../../utils/formatNumber.js';
|
|
15
15
|
import { Deposit } from './Deposit/Deposit.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 { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -20,6 +19,7 @@ import { Button } from '../../../../ui/Button/index.js';
|
|
|
20
19
|
import { Field } from '../../../../ui/Field/index.js';
|
|
21
20
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
22
21
|
import { PasswordInput } from '../../../../ui/PasswordInput/index.js';
|
|
22
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
23
23
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
24
24
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
25
25
|
export function GCashWithdrawal() {
|
package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { createListCollection
|
|
2
|
+
import { createListCollection } from '@ark-ui/react/collection';
|
|
3
3
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
4
|
import { useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -20,6 +20,7 @@ import { Button } from '../../../../ui/Button/index.js';
|
|
|
20
20
|
import { Field } from '../../../../ui/Field/index.js';
|
|
21
21
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
22
22
|
import { PasswordInput } from '../../../../ui/PasswordInput/index.js';
|
|
23
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
23
24
|
import { Select } from '../../../../ui/Select/index.js';
|
|
24
25
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
25
26
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -18,6 +17,7 @@ import { Button } from '../../../../ui/Button/index.js';
|
|
|
18
17
|
import { Field } from '../../../../ui/Field/index.js';
|
|
19
18
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
20
19
|
import { PasswordInput } from '../../../../ui/PasswordInput/index.js';
|
|
20
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
21
21
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
22
22
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
23
23
|
export function MayaAppWithdrawal() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
4
3
|
import { useEffect, useState } from 'react';
|
|
5
4
|
import { Controller, useForm } from 'react-hook-form';
|
|
@@ -20,6 +19,7 @@ import { Button } from '../../../../ui/Button/index.js';
|
|
|
20
19
|
import { Field } from '../../../../ui/Field/index.js';
|
|
21
20
|
import { NumberInput } from '../../../../ui/NumberInput/index.js';
|
|
22
21
|
import { PasswordInput } from '../../../../ui/PasswordInput/index.js';
|
|
22
|
+
import { Portal } from '../../../../ui/Portal/index.js';
|
|
23
23
|
import { parseDecimal } from '../../../../utils/parseDecimal.js';
|
|
24
24
|
import { AmountChoices } from '../../AmountChoices.js';
|
|
25
25
|
export function MayaWithdrawal() {
|
|
@@ -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 { useRef } from 'react';
|
|
6
5
|
import pagcorLogo from '../../images/pagcor.png';
|
|
7
6
|
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
8
7
|
import { Button } from '../../ui/Button/index.js';
|
|
9
8
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
9
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
10
10
|
import { useDisclaimer } from './useDisclaimer.js';
|
|
11
11
|
export function DisclaimerV1(props) {
|
|
12
12
|
const disclaimer = useDisclaimer();
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { useRef, useState } from 'react';
|
|
6
5
|
import pagcorLogo from '../../images/pagcor.png';
|
|
7
6
|
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
8
7
|
import { Button } from '../../ui/Button/index.js';
|
|
9
8
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
9
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
10
10
|
import { ResponsibleGaming } from './ResponsibleGaming.js';
|
|
11
11
|
import { TermsOfUse } from './TermsOfUse.js';
|
|
12
12
|
import { useDisclaimer } from './useDisclaimer.js';
|
|
@@ -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 pagcorLogo from '../../images/pagcor.png';
|
|
6
5
|
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
7
6
|
import { Button } from '../../ui/Button/index.js';
|
|
8
7
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
8
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
9
9
|
export function ResponsibleGaming({ logo, open, responsibleGamingContent, onCloseAction, }) {
|
|
10
10
|
return (_jsx(Dialog.Root, { open: open, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsx(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: "Responsible Gaming" }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: responsibleGamingContent }), _jsxs("div", { className: "mt-5 flex items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[88px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[62px] w-auto shrink-0", draggable: false })] })] }), _jsx(Button, { type: "button", className: "mt-3", onClick: () => {
|
|
11
11
|
onCloseAction();
|
|
@@ -1,6 +1,5 @@
|
|
|
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';
|
|
@@ -8,6 +7,7 @@ import pagcorLogo from '../../images/pagcor.png';
|
|
|
8
7
|
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
9
8
|
import { Button } from '../../ui/Button/index.js';
|
|
10
9
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
10
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
11
11
|
export function TermsOfUse({ logo, open, onCloseAction, siteName, termsOfUseContent, }) {
|
|
12
12
|
const disclaimerStore = useGlobalStore(useShallow((state) => state.disclaimer));
|
|
13
13
|
return (_jsx(Dialog.Root, { open: open, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsxs(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: [siteName, " Terms of Use"] }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: termsOfUseContent }), _jsxs("div", { className: "mt-5 flex items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[88px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[62px] w-auto shrink-0", draggable: false })] })] }), _jsx(Button, { type: "button", className: "mt-3", onClick: () => {
|
|
@@ -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 { Dialog
|
|
3
|
+
import { Dialog } from '@ark-ui/react/dialog';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { useShallow } from 'zustand/shallow';
|
|
6
6
|
import { useDisclosure } from '../../client/hooks/useDisclosure.js';
|
|
@@ -20,6 +20,7 @@ import { XIcon } from '../../icons/XIcon.js';
|
|
|
20
20
|
import { AlertDialog } from '../../ui/AlertDialog/index.js';
|
|
21
21
|
import { Button } from '../../ui/Button/index.js';
|
|
22
22
|
import { IconButton } from '../../ui/IconButton/index.js';
|
|
23
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
23
24
|
import { Presence } from '../../ui/Presence/index.js';
|
|
24
25
|
export function GameLaunch() {
|
|
25
26
|
const globalStore = useGlobalStore(useShallow((ctx) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '@ark-ui/react';
|
|
1
|
+
import { type HTMLArkProps } from '@ark-ui/react/factory';
|
|
2
2
|
import type { FavoriteGame, Game } from '../../types';
|
|
3
3
|
export interface GameLaunchTriggerProps extends HTMLArkProps<'button'> {
|
|
4
4
|
game: Game | FavoriteGame;
|
|
@@ -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 { useCreateGameSessionMutation } from '../../client/hooks/useCreateGameSessionMutation.js';
|
|
6
6
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { createListCollection
|
|
3
|
+
import { createListCollection } from '@ark-ui/react/collection';
|
|
4
4
|
import Image from 'next/image';
|
|
5
5
|
import { useState } from 'react';
|
|
6
6
|
import { useGamesQuery } from '../../client/hooks/useGamesQuery.js';
|
|
7
7
|
import { SearchLgIcon } from '../../icons/SearchLgIcon.js';
|
|
8
8
|
import { Button } from '../../ui/Button/index.js';
|
|
9
9
|
import { Combobox } from '../../ui/Combobox/index.js';
|
|
10
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
10
11
|
import { Presence } from '../../ui/Presence/index.js';
|
|
11
12
|
import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
|
|
12
13
|
import { GameLaunchTrigger } from '../GameLaunch/index.js';
|
|
@@ -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 { Progress } from '@ark-ui/react';
|
|
3
|
+
import { Progress } from '@ark-ui/react/progress';
|
|
4
4
|
import Image from 'next/image';
|
|
5
5
|
import Link from 'next/link';
|
|
6
6
|
import { useCallback, useMemo } from 'react';
|
|
@@ -88,25 +88,3 @@ const getAccumulatingJackpotDescription = (part, total) => {
|
|
|
88
88
|
? 'The jackpot is heating up! Keep playing to stay in the action and watch it grow!'
|
|
89
89
|
: '🔥 It’s about to pop! Stay in the game for your shot at the prize!';
|
|
90
90
|
};
|
|
91
|
-
const starTierStyles = [
|
|
92
|
-
{
|
|
93
|
-
starColor: 'text-yellow-400',
|
|
94
|
-
numberColor: 'text-bg-primary',
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
starColor: 'text-utility-gray-700',
|
|
98
|
-
numberColor: 'text-bg-primary',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
starColor: 'text-yellow-700',
|
|
102
|
-
numberColor: 'text-bg-primary',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
starColor: 'text-bg-quaternary',
|
|
106
|
-
numberColor: 'text-text-primary-900',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
starColor: 'text-bg-quaternary',
|
|
110
|
-
numberColor: 'text-text-primary-900',
|
|
111
|
-
},
|
|
112
|
-
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Progress } from '@ark-ui/react';
|
|
2
|
+
import { Progress } from '@ark-ui/react/progress';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { ArrowNarrowUpRightIcon } from '../../../icons/ArrowNarrowUpRightIcon.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Progress } from '@ark-ui/react';
|
|
2
|
+
import { Progress } from '@ark-ui/react/progress';
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import { Flag06Icon } from '../../../icons/Flag06Icon.js';
|
|
4
3
|
import { XIcon } from '../../../icons/XIcon.js';
|
|
5
4
|
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
5
|
+
import { Portal } from '../../../ui/Portal/index.js';
|
|
6
6
|
import { useJackpotsListItemContext } from './JackpotsListContext.js';
|
|
7
7
|
export function JackpotsListItemRules(props) {
|
|
8
8
|
const jackpot = useJackpotsListItemContext();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
2
|
import Image from 'next/image';
|
|
4
3
|
import { useShallow } from 'zustand/shallow';
|
|
5
4
|
import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
|
|
6
5
|
import { XIcon } from '../../icons/XIcon.js';
|
|
7
6
|
import { Dialog } from '../../ui/Dialog/index.js';
|
|
7
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
8
8
|
import { BasicInformation } from './BasicInformation.js';
|
|
9
9
|
import { IdentityVerification } from './IdentityVerification.js';
|
|
10
10
|
import { Indicator } from './Indicator.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 KYCTrigger(props) {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { twMerge } from 'tailwind-merge';
|
|
5
4
|
import { useShallow } from 'zustand/shallow';
|
|
6
5
|
import { useGlobalStore } from '../../../client/hooks/useGlobalStore.js';
|
|
7
6
|
import { Dialog } from '../../../ui/Dialog/index.js';
|
|
7
|
+
import { Portal } from '../../../ui/Portal/index.js';
|
|
8
8
|
import { Header } from './Header.js';
|
|
9
9
|
import { Indicator } from './Indicator.js';
|
|
10
10
|
import { KYCContext } from './KYCContext.js';
|
|
@@ -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';
|
|
@@ -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,6 +13,7 @@ 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';
|
|
16
|
+
import { Portal } from '../../ui/Portal/index.js';
|
|
17
17
|
import { Presence } from '../../ui/Presence/index.js';
|
|
18
18
|
import { callIfFn } from '../../utils/callIfFn.js';
|
|
19
19
|
import { getGameImageUrl } from '../../utils/getGameImageUrl.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';
|