@opexa/portal-components 0.0.550 → 0.0.552
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/Disclaimer/DisclaimerV3.js +1 -1
- package/dist/components/SignIn/MobileNumberSignIn.js +1 -1
- package/dist/components/SignIn/NameAndPasswordSignIn.js +1 -1
- package/dist/components/SignIn/SignInMethod.js +1 -1
- package/dist/components/SignUp/SignUpNameAndPassword/SignUpNameAndPasswordForm.js +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ export function DisclaimerV3(props) {
|
|
|
22
22
|
})));
|
|
23
23
|
const checked = globalStore.termsOfUse.accepted && globalStore.responsibleGaming.accepted;
|
|
24
24
|
const [showWarning, setShowWarning] = useState(false);
|
|
25
|
-
return (_jsx(Dialog.Root, { open: disclaimer.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsxs(Dialog.Content, { className: "flex h-full scrollbar:h-2 scrollbar:w-2 w-full flex-col items-start gap-y-4 overflow-y-auto scrollbar-thumb:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent p-3xl lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width:
|
|
25
|
+
return (_jsx(Dialog.Root, { open: disclaimer.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsxs(Dialog.Content, { className: "flex h-full scrollbar:h-2 scrollbar:w-2 w-full flex-col items-start gap-y-4 overflow-y-auto scrollbar-thumb:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent p-3xl lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 320, height: 120, className: "mx-auto h-auto w-[130px] object-contain", draggable: false, unoptimized: true }), _jsx("div", { className: "w-full text-center font-semibold text-3xl", children: "Notice" }), _jsx("div", { className: "text-sm", children: "By entering this website, you acknowledge and confirm:" }), _jsx("div", { className: "w-full grow", children: _jsxs(Dialog.Description, { className: "space-y-4 text-sm", children: [_jsxs("ul", { className: "space-y-1.5 text-left", children: [_jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are 21 years old and above."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are not a government official, or employee connected directly with the operation of the Government or any of its agencies, member of the Armed Forces of the Philippines including the Army, Navy, Air Force, or the Philippine Nationa Police."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are not included in the PAGCOR's National Database Restricted Persons (NDRP)."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Funds or credits in the account of player who is found ineligible to play shall mean forfeiture of said funds/credits in favor of the Government."] })] }), _jsxs(Checkbox.Root, { checked: checked, onCheckedChange: (e) => {
|
|
26
26
|
if (e.checked === 'indeterminate')
|
|
27
27
|
return;
|
|
28
28
|
globalStore.termsOfUse.setAccepted(e.checked);
|
|
@@ -148,7 +148,7 @@ export function MobileNumberSignIn() {
|
|
|
148
148
|
globalStore.termsAndConditions.setOpen(true);
|
|
149
149
|
globalStore.termsAndConditions.setNext('SIGN_IN');
|
|
150
150
|
}
|
|
151
|
-
}, children: "Terms
|
|
151
|
+
}, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
|
|
152
152
|
if (signInProps.responsibleGamingUrl) {
|
|
153
153
|
globalStore.signIn.setOpen(false);
|
|
154
154
|
router.push(signInProps.responsibleGamingUrl);
|
|
@@ -163,7 +163,7 @@ export function NameAndPasswordSignIn() {
|
|
|
163
163
|
globalStore.termsAndConditions.setOpen(true);
|
|
164
164
|
globalStore.termsAndConditions.setNext('SIGN_IN');
|
|
165
165
|
}
|
|
166
|
-
}, children: "Terms
|
|
166
|
+
}, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
|
|
167
167
|
if (signInProps.responsibleGamingUrl) {
|
|
168
168
|
globalStore.signIn.setOpen(false);
|
|
169
169
|
router.push(signInProps.responsibleGamingUrl);
|
|
@@ -212,7 +212,7 @@ export function SignUpNameAndPasswordForm() {
|
|
|
212
212
|
globalStore.termsAndConditions.setNext('SIGN_UP');
|
|
213
213
|
globalStore.signUp.setOpen(false);
|
|
214
214
|
}
|
|
215
|
-
}, children: "Terms
|
|
215
|
+
}, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
|
|
216
216
|
if (signUpProps.responsibleGamingUrl) {
|
|
217
217
|
globalStore.signUp.setOpen(false);
|
|
218
218
|
router.push(signUpProps.responsibleGamingUrl);
|