@opexa/portal-components 0.0.15 → 0.0.16
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/client/hooks/index.d.ts +4 -0
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +1 -0
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.mjs +38 -0
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +1 -0
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.mjs +38 -0
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +1 -0
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.mjs +38 -0
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +1 -0
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.mjs +38 -0
- package/dist/client/hooks/useDepositQuery.js +1 -1
- package/dist/client/hooks/useDepositQuery.mjs +12 -13
- package/dist/client/hooks/usePromoQuery.js +1 -1
- package/dist/client/hooks/usePromoQuery.mjs +13 -13
- package/dist/client-hooks.js +1 -1
- package/dist/client-hooks.mjs +84 -76
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -0
- package/dist/components/DepositWithdrawal/{AvailablePromos.mjs → Deposit/AvailablePromos.mjs} +31 -31
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +4 -4
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +75 -98
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +1 -1
- package/dist/components/DepositWithdrawal/MayaSessionExpired.d.ts +1 -0
- package/dist/components/DepositWithdrawal/MayaSessionExpired.js +1 -0
- package/dist/components/DepositWithdrawal/{Deposit/MayaAppDeposit/SessionExpired.mjs → MayaSessionExpired.mjs} +3 -3
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +23 -17
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +205 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +264 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +186 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +205 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +81 -3
- package/dist/components/DepositWithdrawal/utils.d.ts +1 -1
- package/dist/components/DepositWithdrawal/utils.js +1 -1
- package/dist/components/DepositWithdrawal/utils.mjs +2 -1
- package/dist/images/instapay.png.js +1 -0
- package/dist/images/instapay.png.mjs +4 -0
- package/dist/theme.css +21 -2
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/field.recipe.mjs +3 -3
- package/dist/ui/PasswordInput/PasswordInput.d.ts +1 -0
- package/dist/ui/PasswordInput/index.d.ts +1 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +52 -0
- package/dist/utils/queryKeys.d.ts +4 -0
- package/dist/utils/queryKeys.js +1 -1
- package/dist/utils/queryKeys.mjs +50 -38
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +48 -44
- package/package.json +3 -3
- package/dist/components/DepositWithdrawal/AvailablePromos.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.js +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.d.ts +0 -1
- /package/dist/components/DepositWithdrawal/{AvailablePromos.d.ts → Deposit/AvailablePromos.d.ts} +0 -0
package/dist/utils/queryKeys.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const t = () => ["queries/account"], s = () => [
|
|
2
2
|
"mutations/authenticate"
|
|
3
|
-
],
|
|
3
|
+
], a = (e) => ["queries/availablePromos", e], o = (e) => [
|
|
4
4
|
"queries/betRecords",
|
|
5
5
|
e
|
|
6
|
-
], i = () => ["queries/cashbacks"],
|
|
6
|
+
], i = () => ["queries/cashbacks"], n = () => [
|
|
7
7
|
"mutations/createGameSession"
|
|
8
8
|
], r = () => [
|
|
9
9
|
"mutations/createGCashDeposit"
|
|
@@ -18,64 +18,76 @@ const t = () => ["queries/account"], s = () => [
|
|
|
18
18
|
], K = (e) => [
|
|
19
19
|
"queries/deposit",
|
|
20
20
|
e
|
|
21
|
-
],
|
|
21
|
+
], p = (e) => ["queries/depositRecords", e], m = () => [
|
|
22
22
|
"queries/depositsCount"
|
|
23
|
-
],
|
|
23
|
+
], d = () => [
|
|
24
24
|
"mutations/endGameSession"
|
|
25
|
-
],
|
|
25
|
+
], M = (e) => [
|
|
26
26
|
"queries/games",
|
|
27
27
|
e
|
|
28
|
-
],
|
|
28
|
+
], Q = () => [
|
|
29
29
|
"queries/instapayBankList"
|
|
30
|
-
],
|
|
30
|
+
], l = () => [
|
|
31
31
|
"queries/isMayaSessionValidQueryKey"
|
|
32
|
-
],
|
|
32
|
+
], q = (e) => [
|
|
33
33
|
"queries/jackpots",
|
|
34
34
|
e
|
|
35
|
-
], S = () => [
|
|
36
|
-
"queries/memberVerification"
|
|
37
35
|
], C = () => [
|
|
36
|
+
"queries/memberVerification"
|
|
37
|
+
], h = () => [
|
|
38
38
|
"queries/paymentSettings"
|
|
39
|
-
],
|
|
39
|
+
], S = () => ["queries/platform"], D = (e) => ["queries/promo", e], w = () => ["queries/promos"], W = () => [
|
|
40
40
|
"mutations/sendVerificationCode"
|
|
41
|
-
],
|
|
41
|
+
], R = () => ["queries/session"], G = () => ["mutations/signIn"], k = () => ["mutations/signOut"], P = () => ["mutations/signUp"], b = () => ["queries/site"], A = () => ["queries/topWins"], f = (e) => [
|
|
42
42
|
"queries/tournaments",
|
|
43
43
|
e
|
|
44
|
-
],
|
|
44
|
+
], I = (e) => ["queries/transactionRecords", e], V = () => ["queries/wallet"], B = (e) => ["queries/withdrawalRecords", e], O = () => [
|
|
45
|
+
"mutations/createGCashWithdrawal"
|
|
46
|
+
], T = () => [
|
|
47
|
+
"mutations/createMayaWithdrawal"
|
|
48
|
+
], v = () => [
|
|
49
|
+
"mutations/createMayaAppWithdrawal"
|
|
50
|
+
], H = () => [
|
|
51
|
+
"mutations/createInstapayWithdrawal"
|
|
52
|
+
];
|
|
45
53
|
export {
|
|
46
54
|
t as getAccountQueryKey,
|
|
47
55
|
s as getAuthenticateMutationKey,
|
|
48
|
-
|
|
49
|
-
|
|
56
|
+
a as getAvailablePromosQueryKey,
|
|
57
|
+
o as getBetRecordsQueryKey,
|
|
50
58
|
i as getCashbacksQueryKey,
|
|
51
59
|
r as getCreateGCashDepositMutationKey,
|
|
52
|
-
|
|
60
|
+
O as getCreateGCashWithdrawalMutationKey,
|
|
61
|
+
n as getCreateGameSessionMutationKey,
|
|
62
|
+
H as getCreateInstapayWithdrawalMutationKey,
|
|
53
63
|
u as getCreateMayaAppDepositMutationKey,
|
|
64
|
+
v as getCreateMayaAppWithdrawalMutationKey,
|
|
54
65
|
y as getCreateMayaDepositMutationKey,
|
|
66
|
+
T as getCreateMayaWithdrawalMutationKey,
|
|
55
67
|
c as getCreateOnlineBankDepositMutationKey,
|
|
56
68
|
g as getCreateQRPHDepositMutationKey,
|
|
57
69
|
K as getDepositQueryKey,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
p as getDepositRecordsQueryKey,
|
|
71
|
+
m as getDepositsCountQueryKey,
|
|
72
|
+
d as getEndGameSessionMutationKey,
|
|
73
|
+
M as getGamesQueryKey,
|
|
74
|
+
Q as getInstapayBankListQueryKey,
|
|
75
|
+
l as getIsMayaSessionValidQueryKey,
|
|
76
|
+
q as getJackpotsQueryKey,
|
|
77
|
+
C as getMemberVerificationQueryKey,
|
|
78
|
+
h as getPaymentSettingsQueryKey,
|
|
79
|
+
S as getPlatformQueryKey,
|
|
80
|
+
D as getPromoQueryKey,
|
|
81
|
+
w as getPromosQueryKey,
|
|
82
|
+
W as getSendVerificationCodeMutationKey,
|
|
83
|
+
R as getSessionQueryKey,
|
|
84
|
+
G as getSignInMutationKey,
|
|
85
|
+
k as getSignOutMutationKey,
|
|
86
|
+
P as getSignUpMutationKey,
|
|
87
|
+
b as getSiteQueryKey,
|
|
76
88
|
A as getTopWinsQueryKey,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
89
|
+
f as getTournamentsQueryKey,
|
|
90
|
+
I as getTransactionRecordsQueryKey,
|
|
91
|
+
V as getWalletQueryKey,
|
|
92
|
+
B as getWithdrawalRecordsQueryKey
|
|
81
93
|
};
|
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./utils/anatomyToRecipeSlots.js"),a=require("./utils/capitalize.js"),r=require("./utils/createPoll.js"),y=require("./utils/createSplitProps.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./utils/anatomyToRecipeSlots.js"),a=require("./utils/capitalize.js"),r=require("./utils/createPoll.js"),y=require("./utils/createSplitProps.js"),i=require("./utils/dataAttr.js"),o=require("./utils/formatNumber.js"),n=require("./utils/getGameImageUrl.js"),u=require("./utils/getLocaleInfo.js"),g=require("./utils/getQueryClient.js"),s=require("./utils/isMobile.js"),K=require("./utils/parseDecimal.js"),e=require("./utils/queryKeys.js");exports.anatomyToRecipeSlots=t.anatomyToRecipeSlots;exports.capitalize=a.capitalize;exports.createPoll=r.createPoll;exports.createSplitProps=y.createSplitProps;exports.dataAttr=i.dataAttr;exports.formatNumber=o.formatNumber;exports.getGameImageUrl=n.getGameImageUrl;exports.getLocaleInfo=u.getLocaleInfo;exports.getQueryClient=g.getQueryClient;exports.onMobileDevice=s.onMobileDevice;exports.parseDecimal=K.parseDecimal;exports.getAccountQueryKey=e.getAccountQueryKey;exports.getAuthenticateMutationKey=e.getAuthenticateMutationKey;exports.getAvailablePromosQueryKey=e.getAvailablePromosQueryKey;exports.getBetRecordsQueryKey=e.getBetRecordsQueryKey;exports.getCashbacksQueryKey=e.getCashbacksQueryKey;exports.getCreateGCashDepositMutationKey=e.getCreateGCashDepositMutationKey;exports.getCreateGCashWithdrawalMutationKey=e.getCreateGCashWithdrawalMutationKey;exports.getCreateGameSessionMutationKey=e.getCreateGameSessionMutationKey;exports.getCreateInstapayWithdrawalMutationKey=e.getCreateInstapayWithdrawalMutationKey;exports.getCreateMayaAppDepositMutationKey=e.getCreateMayaAppDepositMutationKey;exports.getCreateMayaAppWithdrawalMutationKey=e.getCreateMayaAppWithdrawalMutationKey;exports.getCreateMayaDepositMutationKey=e.getCreateMayaDepositMutationKey;exports.getCreateMayaWithdrawalMutationKey=e.getCreateMayaWithdrawalMutationKey;exports.getCreateOnlineBankDepositMutationKey=e.getCreateOnlineBankDepositMutationKey;exports.getCreateQRPHDepositMutationKey=e.getCreateQRPHDepositMutationKey;exports.getDepositQueryKey=e.getDepositQueryKey;exports.getDepositRecordsQueryKey=e.getDepositRecordsQueryKey;exports.getDepositsCountQueryKey=e.getDepositsCountQueryKey;exports.getEndGameSessionMutationKey=e.getEndGameSessionMutationKey;exports.getGamesQueryKey=e.getGamesQueryKey;exports.getInstapayBankListQueryKey=e.getInstapayBankListQueryKey;exports.getIsMayaSessionValidQueryKey=e.getIsMayaSessionValidQueryKey;exports.getJackpotsQueryKey=e.getJackpotsQueryKey;exports.getMemberVerificationQueryKey=e.getMemberVerificationQueryKey;exports.getPaymentSettingsQueryKey=e.getPaymentSettingsQueryKey;exports.getPlatformQueryKey=e.getPlatformQueryKey;exports.getPromoQueryKey=e.getPromoQueryKey;exports.getPromosQueryKey=e.getPromosQueryKey;exports.getSendVerificationCodeMutationKey=e.getSendVerificationCodeMutationKey;exports.getSessionQueryKey=e.getSessionQueryKey;exports.getSignInMutationKey=e.getSignInMutationKey;exports.getSignOutMutationKey=e.getSignOutMutationKey;exports.getSignUpMutationKey=e.getSignUpMutationKey;exports.getSiteQueryKey=e.getSiteQueryKey;exports.getTopWinsQueryKey=e.getTopWinsQueryKey;exports.getTournamentsQueryKey=e.getTournamentsQueryKey;exports.getTransactionRecordsQueryKey=e.getTransactionRecordsQueryKey;exports.getWalletQueryKey=e.getWalletQueryKey;exports.getWithdrawalRecordsQueryKey=e.getWithdrawalRecordsQueryKey;
|
package/dist/utils.mjs
CHANGED
|
@@ -1,60 +1,64 @@
|
|
|
1
|
-
import { anatomyToRecipeSlots as
|
|
2
|
-
import { capitalize as
|
|
1
|
+
import { anatomyToRecipeSlots as a } from "./utils/anatomyToRecipeSlots.mjs";
|
|
2
|
+
import { capitalize as o } from "./utils/capitalize.mjs";
|
|
3
3
|
import { createPoll as i } from "./utils/createPoll.mjs";
|
|
4
|
-
import { createSplitProps as
|
|
4
|
+
import { createSplitProps as g } from "./utils/createSplitProps.mjs";
|
|
5
5
|
import { dataAttr as s } from "./utils/dataAttr.mjs";
|
|
6
6
|
import { formatNumber as p } from "./utils/formatNumber.mjs";
|
|
7
7
|
import { getGameImageUrl as Q } from "./utils/getGameImageUrl.mjs";
|
|
8
8
|
import { getLocaleInfo as l } from "./utils/getLocaleInfo.mjs";
|
|
9
|
-
import { getQueryClient as
|
|
10
|
-
import { onMobileDevice as
|
|
11
|
-
import { parseDecimal as
|
|
12
|
-
import { getAccountQueryKey as
|
|
9
|
+
import { getQueryClient as f } from "./utils/getQueryClient.mjs";
|
|
10
|
+
import { onMobileDevice as d } from "./utils/isMobile.mjs";
|
|
11
|
+
import { parseDecimal as S } from "./utils/parseDecimal.mjs";
|
|
12
|
+
import { getAccountQueryKey as h, getAuthenticateMutationKey as P, getAvailablePromosQueryKey as W, getBetRecordsQueryKey as A, getCashbacksQueryKey as G, getCreateGCashDepositMutationKey as I, getCreateGCashWithdrawalMutationKey as R, getCreateGameSessionMutationKey as b, getCreateInstapayWithdrawalMutationKey as w, getCreateMayaAppDepositMutationKey as k, getCreateMayaAppWithdrawalMutationKey as T, getCreateMayaDepositMutationKey as B, getCreateMayaWithdrawalMutationKey as V, getCreateOnlineBankDepositMutationKey as v, getCreateQRPHDepositMutationKey as L, getDepositQueryKey as O, getDepositRecordsQueryKey as U, getDepositsCountQueryKey as z, getEndGameSessionMutationKey as E, getGamesQueryKey as H, getInstapayBankListQueryKey as J, getIsMayaSessionValidQueryKey as N, getJackpotsQueryKey as j, getMemberVerificationQueryKey as q, getPaymentSettingsQueryKey as F, getPlatformQueryKey as X, getPromoQueryKey as Y, getPromosQueryKey as Z, getSendVerificationCodeMutationKey as _, getSessionQueryKey as $, getSignInMutationKey as ee, getSignOutMutationKey as te, getSignUpMutationKey as ae, getSiteQueryKey as re, getTopWinsQueryKey as oe, getTournamentsQueryKey as ye, getTransactionRecordsQueryKey as ie, getWalletQueryKey as ne, getWithdrawalRecordsQueryKey as ge } from "./utils/queryKeys.mjs";
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
a as anatomyToRecipeSlots,
|
|
15
|
+
o as capitalize,
|
|
16
16
|
i as createPoll,
|
|
17
|
-
|
|
17
|
+
g as createSplitProps,
|
|
18
18
|
s as dataAttr,
|
|
19
19
|
p as formatNumber,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
h as getAccountQueryKey,
|
|
21
|
+
P as getAuthenticateMutationKey,
|
|
22
|
+
W as getAvailablePromosQueryKey,
|
|
23
23
|
A as getBetRecordsQueryKey,
|
|
24
24
|
G as getCashbacksQueryKey,
|
|
25
25
|
I as getCreateGCashDepositMutationKey,
|
|
26
|
-
|
|
26
|
+
R as getCreateGCashWithdrawalMutationKey,
|
|
27
|
+
b as getCreateGameSessionMutationKey,
|
|
28
|
+
w as getCreateInstapayWithdrawalMutationKey,
|
|
27
29
|
k as getCreateMayaAppDepositMutationKey,
|
|
28
|
-
T as
|
|
29
|
-
B as
|
|
30
|
-
V as
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
T as getCreateMayaAppWithdrawalMutationKey,
|
|
31
|
+
B as getCreateMayaDepositMutationKey,
|
|
32
|
+
V as getCreateMayaWithdrawalMutationKey,
|
|
33
|
+
v as getCreateOnlineBankDepositMutationKey,
|
|
34
|
+
L as getCreateQRPHDepositMutationKey,
|
|
35
|
+
O as getDepositQueryKey,
|
|
36
|
+
U as getDepositRecordsQueryKey,
|
|
37
|
+
z as getDepositsCountQueryKey,
|
|
38
|
+
E as getEndGameSessionMutationKey,
|
|
35
39
|
Q as getGameImageUrl,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
H as getGamesQueryKey,
|
|
41
|
+
J as getInstapayBankListQueryKey,
|
|
42
|
+
N as getIsMayaSessionValidQueryKey,
|
|
43
|
+
j as getJackpotsQueryKey,
|
|
40
44
|
l as getLocaleInfo,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
45
|
+
q as getMemberVerificationQueryKey,
|
|
46
|
+
F as getPaymentSettingsQueryKey,
|
|
47
|
+
X as getPlatformQueryKey,
|
|
48
|
+
Y as getPromoQueryKey,
|
|
49
|
+
Z as getPromosQueryKey,
|
|
50
|
+
f as getQueryClient,
|
|
51
|
+
_ as getSendVerificationCodeMutationKey,
|
|
52
|
+
$ as getSessionQueryKey,
|
|
53
|
+
ee as getSignInMutationKey,
|
|
54
|
+
te as getSignOutMutationKey,
|
|
55
|
+
ae as getSignUpMutationKey,
|
|
56
|
+
re as getSiteQueryKey,
|
|
57
|
+
oe as getTopWinsQueryKey,
|
|
58
|
+
ye as getTournamentsQueryKey,
|
|
59
|
+
ie as getTransactionRecordsQueryKey,
|
|
60
|
+
ne as getWalletQueryKey,
|
|
61
|
+
ge as getWithdrawalRecordsQueryKey,
|
|
62
|
+
d as onMobileDevice,
|
|
63
|
+
S as parseDecimal
|
|
60
64
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opexa/portal-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/components/index.d.ts",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@eslint/eslintrc": "3",
|
|
87
87
|
"@hookform/resolvers": "5.0.1",
|
|
88
|
-
"@opexa/portal-sdk-core": "0.0.
|
|
88
|
+
"@opexa/portal-sdk-core": "0.0.23",
|
|
89
89
|
"@tailwindcss/postcss": "4",
|
|
90
90
|
"@tanstack/react-query": "5.77.0",
|
|
91
91
|
"@tanstack/react-query-devtools": "5.77.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
},
|
|
115
115
|
"peerDependencies": {
|
|
116
116
|
"@hookform/resolvers": "^4.0.0",
|
|
117
|
-
"@opexa/portal-sdk-core": "^0.0.
|
|
117
|
+
"@opexa/portal-sdk-core": "^0.0.23",
|
|
118
118
|
"@tanstack/react-query": "^5.0.0",
|
|
119
119
|
"next": "^15.0.0",
|
|
120
120
|
"react": "^19.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@ark-ui/react"),h=require("next/image"),q=require("next/link"),g=require("tailwind-merge"),m=require("zustand/shallow");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const x=require("../../client/hooks/useAvailablePromosQuery.js"),b=require("../../client/hooks/useControllableState.js");require("lodash-es");require("react");require("@opexa/portal-sdk-core/object-id");const C=require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");const j=require("../../icons/CheckIcon.js"),v=require("../../icons/ChevronLeftIcon.js"),N=require("../../icons/ChevronRightIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("../../ui/Button/button.recipe.js");const s=require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");const a=require("../../ui/IconButton/IconButton.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");function w(l){const n=C.useGlobalStore(m.useShallow(r=>({depositWithdrawal:r.depositWithdrawal}))),t=x.useAvailablePromosQuery().data??[],[o,u]=b.useControllableState({value:l.value,defaultValue:l.defaultValue??null,onChange:l.onChange});return e.jsxs(i.Carousel.Root,{slideCount:t.length,className:l.className,spacing:"16px",slidesPerPage:2,children:[e.jsxs("div",{className:"flex items-center gap-xl",children:[e.jsxs("div",{className:"grow",children:[e.jsx("h2",{className:"text-lg font-semibold leading-tight",children:"Available Promotions"}),e.jsx("p",{className:"text-gray-500 mt-1 text-sm leading-tight",children:"Select a promotion with your deposit. Only one can be active at a time."})]}),e.jsxs(i.Carousel.Control,{children:[e.jsx(i.Carousel.PrevTrigger,{asChild:!0,children:e.jsx(a.IconButton,{variant:"outline",colorScheme:"gray",className:"rounded-r-none border-r-0",children:e.jsx(v.ChevronLeftIcon,{})})}),e.jsx(i.Carousel.NextTrigger,{asChild:!0,children:e.jsx(a.IconButton,{variant:"outline",colorScheme:"gray",className:"rounded-l-none",children:e.jsx(N.ChevronRightIcon,{})})})]})]}),e.jsx(i.Carousel.ItemGroup,{className:"mt-3xl",children:t.map((r,c)=>e.jsx(i.Carousel.Item,{index:c,children:e.jsxs("div",{className:"relative select-none p-0.5",children:[e.jsx("div",{className:g.twMerge("block rounded-lg",r.id===o&&"ring-gray-500/25 ring-2"),children:r.banner.url&&e.jsx(h,{src:r.banner.url,alt:"",width:288,height:184,className:"rounded-lg"})}),e.jsxs(s.Root,{checked:r.id===o,onCheckedChange:d=>{u(d.checked?r.id:null)},className:"absolute right-3 top-3 rounded-md border border-white/50 bg-white/60 p-lg backdrop-blur-sm",children:[e.jsx(s.Control,{className:"bg-white",children:e.jsx(s.Indicator,{asChild:!0,children:e.jsx(j.CheckIcon,{})})}),e.jsx(s.HiddenInput,{})]}),e.jsx(q,{href:`/promos/${r.id}`,className:"absolute bottom-3 right-3 rounded-md border border-white/50 bg-white/60 px-lg py-md text-sm font-semibold backdrop-blur-sm",onClick:()=>{n.depositWithdrawal.setOpen(!1)},children:"Promo Details"})]})},r.id))})]})}exports.AvailablePromos=w;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function SessionExpired(): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../../../icons/AlertTriangle.js");function s(){return e.jsxs("div",{className:"bg-gray-50 mt-3xl rounded-lg px-5 py-16 lg:mt-4xl",children:[e.jsx(t.AlertTriangleIcon,{className:"text-amber-500 mx-auto size-10"}),e.jsx("h2",{className:"mt-3 text-center text-lg font-semibold",children:"Session Expired"}),e.jsx("p",{className:"text-gray-700 mx-auto mt-2 max-w-[30rem] text-center text-sm",children:"Your session has timed out. To continue with deposits or withdrawals, Please try reloading the app."})]})}exports.SessionExpired=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
/package/dist/components/DepositWithdrawal/{AvailablePromos.d.ts → Deposit/AvailablePromos.d.ts}
RENAMED
|
File without changes
|