@opexa/portal-components 0.0.878 → 0.0.880
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/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.js +11 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.js +11 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.js +126 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.js +10 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.js +12 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.d.ts +17 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.js +2 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.js +41 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.d.ts +13 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.js +91 -0
- package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashStandardCashInWithdrawal/GCashStandardCashInWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayGCashWithdrawal/InstapayGcashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayPaymayaWithdrawal/InstapayPaymayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/PisoPayWithdrawal/PisoPayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.js +1 -1
- package/dist/components/DigitainLauncher/Loading.js +1 -1
- package/dist/components/Disclaimer/ResponsibleGaming.d.ts +10 -0
- package/dist/components/Disclaimer/ResponsibleGaming.js +13 -0
- package/dist/components/Disclaimer/TermsOfUse.d.ts +11 -0
- package/dist/components/Disclaimer/TermsOfUse.js +13 -0
- package/dist/components/FeatureFlag/FeatureFlag.d.ts +1 -0
- package/dist/components/FeatureFlag/FeatureFlag.js +29 -0
- package/dist/components/FeatureFlag/index.d.ts +1 -0
- package/dist/components/FeatureFlag/index.js +1 -0
- package/dist/components/Jackpots/Jackpots.module.css +288 -288
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/KYC/AutoOpen.d.ts +1 -0
- package/dist/components/KYC/AutoOpen.js +40 -0
- package/dist/components/KYC/BasicInformation.js +1 -1
- package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/KYC/CaptureIdDocument.js +219 -0
- package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/KYC/CaptureSelfie.js +285 -0
- package/dist/components/KYC/DisplayImage.d.ts +5 -0
- package/dist/components/KYC/DisplayImage.js +8 -0
- package/dist/components/KYC/FileUpload.d.ts +10 -0
- package/dist/components/KYC/FileUpload.js +72 -0
- package/dist/components/KYC/IdentityVerification.js +1 -1
- package/dist/components/KYC/KYC.lazy.js +1 -1
- package/dist/components/KYC/KYCDefault/KYCVerificationStatus.lazy.js +2 -2
- package/dist/components/KYC/KYCNonPagCor/KYCVerificationStatus.lazy.js +2 -2
- package/dist/components/KYC/KYCVerificationStatus.lazy.js +8 -5
- package/dist/components/KYC/NoCameraError.d.ts +7 -0
- package/dist/components/KYC/NoCameraError.js +6 -0
- package/dist/components/KYC/PersonOverlayDesktop.d.ts +7 -0
- package/dist/components/KYC/PersonOverlayDesktop.js +9 -0
- package/dist/components/KYC/PersonalInformation.js +1 -1
- package/dist/components/KYC/backup/Header.d.ts +1 -0
- package/dist/components/KYC/backup/Header.js +8 -0
- 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 +6 -0
- package/dist/components/KYC/backup/KYCContext.js +2 -0
- package/dist/components/KYC/backup/Step1.d.ts +1 -0
- package/dist/components/KYC/backup/Step1.js +13 -0
- package/dist/components/KYC/backup/Step2.d.ts +1 -0
- package/dist/components/KYC/backup/Step2.js +13 -0
- package/dist/components/KYC/backup/Step3.d.ts +1 -0
- package/dist/components/KYC/backup/Step3.js +13 -0
- package/dist/components/KYC/backup/Step4.d.ts +1 -0
- package/dist/components/KYC/backup/Step4.js +7 -0
- package/dist/components/KYC/backup/useKYC.d.ts +10 -0
- package/dist/components/KYC/backup/useKYC.js +8 -0
- package/dist/components/KYC/loadModels.d.ts +1 -0
- package/dist/components/KYC/loadModels.js +9 -0
- package/dist/components/KYC/utils.d.ts +9 -0
- package/dist/components/KYC/utils.js +79 -0
- package/dist/components/Messages/Message.d.ts +1 -0
- package/dist/components/Messages/Message.js +35 -0
- package/dist/components/Messages/MessageContext.d.ts +6 -0
- package/dist/components/Messages/MessageContext.js +2 -0
- package/dist/components/Messages/MessagePopup.d.ts +1 -0
- package/dist/components/Messages/MessagePopup.js +20 -0
- package/dist/components/Messages/MessageTrigger.d.ts +8 -0
- package/dist/components/Messages/MessageTrigger.js +19 -0
- package/dist/components/PortalProvider/CXDTokenObserver.js +11 -11
- package/dist/components/Quests/CountdownTimer.d.ts +15 -0
- package/dist/components/Quests/CountdownTimer.js +33 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +4 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +78 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +9 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +4 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +4 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +4 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.js +20 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +9 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +9 -0
- package/dist/components/SignIn/MobileNumberField.js +2 -1
- package/dist/components/SignIn/MobileNumberSignInternational.js +3 -2
- package/dist/components/SignUp/SignUp.lazy.d.ts +12 -0
- package/dist/components/SignUp/SignUp.lazy.js +18 -0
- package/dist/components/SignUp/SignUpContext.d.ts +6 -0
- package/dist/components/SignUp/SignUpContext.js +2 -0
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +17 -0
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +18 -0
- package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +6 -0
- package/dist/components/SignUp/SignUpDefault/SignUpContext.js +2 -0
- package/dist/components/SignUp/SignUpDefault/SignUpDefaultFormInternational.js +12 -1
- package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpDefault/SignUpForm.js +310 -0
- package/dist/components/SignUp/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpForm.js +284 -0
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +198 -0
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +251 -0
- package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +10 -0
- package/dist/components/SignUp/SignUpKYC/ImageUploader.js +42 -0
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +7 -0
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +9 -0
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +464 -0
- package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +11 -0
- package/dist/components/SignUp/SignUpKYC/useImageUploader.js +20 -0
- package/dist/components/SignUp/SignUpKYC/utils.d.ts +9 -0
- package/dist/components/SignUp/SignUpKYC/utils.js +79 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/shared/IdDocumentField.client.d.ts +25 -0
- package/dist/components/shared/IdDocumentField.client.js +204 -0
- package/dist/components/shared/IdDocumentField.d.ts +2 -0
- package/dist/components/shared/IdDocumentField.js +11 -0
- package/dist/components/shared/SelfieField.client.d.ts +20 -0
- package/dist/components/shared/SelfieField.client.js +327 -0
- package/dist/components/shared/SelfieField.d.ts +2 -0
- package/dist/components/shared/SelfieField.js +11 -0
- package/dist/constants/BranchCode.d.ts +4 -0
- package/dist/constants/BranchCode.js +42 -0
- package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
- package/dist/handlers/postTransformIdFrontImage.js +67 -0
- package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
- package/dist/handlers/postTransformSelfieImage.js +71 -0
- package/dist/handlers.d.ts +43 -0
- package/dist/handlers.js +297 -0
- package/dist/icons/BellRingIcon.d.ts +2 -0
- package/dist/icons/BellRingIcon.js +4 -0
- package/dist/images/phone-icon.svg +10 -10
- package/dist/services/queries.js +3153 -3153
- package/dist/styles/theme.css +776 -776
- package/dist/ui/AlertDialog/AlertDialog.d.ts +55 -55
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +5 -5
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Carousel/Carousel.d.ts +45 -45
- package/dist/ui/Carousel/carousel.recipe.d.ts +5 -5
- package/dist/ui/Dialog/Dialog.d.ts +33 -33
- package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Menu/Menu.d.ts +252 -252
- package/dist/ui/Menu/menu.recipe.d.ts +14 -14
- package/dist/ui/Popover/Popover.d.ts +121 -121
- package/dist/ui/Popover/popover.recipe.d.ts +11 -11
- package/dist/ui/QrCode/QrCode.d.ts +25 -25
- package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/utils/countries/types.d.ts +1 -1
- package/dist/utils/countries/validateMobileNumber.d.ts +1 -0
- package/dist/utils/countries/validateMobileNumber.js +159 -0
- package/dist/utils/dataUrlToBlob.d.ts +1 -0
- package/dist/utils/dataUrlToBlob.js +11 -0
- package/dist/utils/gamesAvailable3pmTo3am.d.ts +1 -0
- package/dist/utils/gamesAvailable3pmTo3am.js +1 -0
- package/dist/utils/getGameName.d.ts +1 -0
- package/dist/utils/getGameName.js +6 -0
- package/dist/utils/isBetween3amAnd3pm.d.ts +1 -0
- package/dist/utils/isBetween3amAnd3pm.js +5 -0
- package/dist/utils/resizeImageSize.d.ts +2 -0
- package/dist/utils/resizeImageSize.js +11 -0
- package/package.json +177 -177
- package/dist/components/Banner/Banner.client.d.ts +0 -12
- package/dist/components/Banner/Banner.client.js +0 -49
- package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +0 -1
- package/dist/components/PortalProvider/AndroidOnlyComponents.js +0 -12
package/dist/ui/Table/Table.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
12
12
|
body: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"body" | "footer" | "header" | "
|
|
15
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
16
16
|
size: {
|
|
17
17
|
md: {
|
|
18
18
|
root: string;
|
|
@@ -26,7 +26,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
26
26
|
body: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
}, Record<"body" | "footer" | "header" | "
|
|
29
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
30
30
|
size: {
|
|
31
31
|
md: {
|
|
32
32
|
root: string;
|
|
@@ -40,7 +40,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
40
40
|
body: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"body" | "footer" | "header" | "
|
|
43
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
44
44
|
export declare const Header: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
45
45
|
size: {
|
|
46
46
|
md: {
|
|
@@ -55,7 +55,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
|
|
|
55
55
|
body: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
}, Record<"body" | "footer" | "header" | "
|
|
58
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
59
59
|
size: {
|
|
60
60
|
md: {
|
|
61
61
|
root: string;
|
|
@@ -69,7 +69,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
|
|
|
69
69
|
body: string;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
}, Record<"body" | "footer" | "header" | "
|
|
72
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
73
73
|
size: {
|
|
74
74
|
md: {
|
|
75
75
|
root: string;
|
|
@@ -83,7 +83,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
|
|
|
83
83
|
body: string;
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
-
}, Record<"body" | "footer" | "header" | "
|
|
86
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
87
87
|
export declare const Body: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
88
88
|
size: {
|
|
89
89
|
md: {
|
|
@@ -98,7 +98,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
|
|
|
98
98
|
body: string;
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
}, Record<"body" | "footer" | "header" | "
|
|
101
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
102
102
|
size: {
|
|
103
103
|
md: {
|
|
104
104
|
root: string;
|
|
@@ -112,7 +112,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
|
|
|
112
112
|
body: string;
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
}, Record<"body" | "footer" | "header" | "
|
|
115
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
116
116
|
size: {
|
|
117
117
|
md: {
|
|
118
118
|
root: string;
|
|
@@ -126,7 +126,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
|
|
|
126
126
|
body: string;
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
}, Record<"body" | "footer" | "header" | "
|
|
129
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
130
130
|
export declare const Footer: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
131
131
|
size: {
|
|
132
132
|
md: {
|
|
@@ -141,7 +141,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
|
|
|
141
141
|
body: string;
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
}, Record<"body" | "footer" | "header" | "
|
|
144
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
145
145
|
size: {
|
|
146
146
|
md: {
|
|
147
147
|
root: string;
|
|
@@ -155,7 +155,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
|
|
|
155
155
|
body: string;
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
}, Record<"body" | "footer" | "header" | "
|
|
158
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
159
159
|
size: {
|
|
160
160
|
md: {
|
|
161
161
|
root: string;
|
|
@@ -169,7 +169,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
|
|
|
169
169
|
body: string;
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
}, Record<"body" | "footer" | "header" | "
|
|
172
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
173
173
|
export declare const Row: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
174
174
|
size: {
|
|
175
175
|
md: {
|
|
@@ -184,7 +184,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
|
|
|
184
184
|
body: string;
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
}, Record<"body" | "footer" | "header" | "
|
|
187
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
188
188
|
size: {
|
|
189
189
|
md: {
|
|
190
190
|
root: string;
|
|
@@ -198,7 +198,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
|
|
|
198
198
|
body: string;
|
|
199
199
|
};
|
|
200
200
|
};
|
|
201
|
-
}, Record<"body" | "footer" | "header" | "
|
|
201
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
202
202
|
size: {
|
|
203
203
|
md: {
|
|
204
204
|
root: string;
|
|
@@ -212,7 +212,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
|
|
|
212
212
|
body: string;
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
|
-
}, Record<"body" | "footer" | "header" | "
|
|
215
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
216
216
|
export declare const Heading: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableHeaderCellElement> & import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
217
217
|
size: {
|
|
218
218
|
md: {
|
|
@@ -227,7 +227,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
|
|
|
227
227
|
body: string;
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
|
-
}, Record<"body" | "footer" | "header" | "
|
|
230
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
231
231
|
size: {
|
|
232
232
|
md: {
|
|
233
233
|
root: string;
|
|
@@ -241,7 +241,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
|
|
|
241
241
|
body: string;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
|
-
}, Record<"body" | "footer" | "header" | "
|
|
244
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
245
245
|
size: {
|
|
246
246
|
md: {
|
|
247
247
|
root: string;
|
|
@@ -255,7 +255,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
|
|
|
255
255
|
body: string;
|
|
256
256
|
};
|
|
257
257
|
};
|
|
258
|
-
}, Record<"body" | "footer" | "header" | "
|
|
258
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
259
259
|
export declare const Cell: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
260
260
|
size: {
|
|
261
261
|
md: {
|
|
@@ -270,7 +270,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
|
|
|
270
270
|
body: string;
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
}, Record<"body" | "footer" | "header" | "
|
|
273
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
274
274
|
size: {
|
|
275
275
|
md: {
|
|
276
276
|
root: string;
|
|
@@ -284,7 +284,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
|
|
|
284
284
|
body: string;
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
|
-
}, Record<"body" | "footer" | "header" | "
|
|
287
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
288
288
|
size: {
|
|
289
289
|
md: {
|
|
290
290
|
root: string;
|
|
@@ -298,4 +298,4 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
|
|
|
298
298
|
body: string;
|
|
299
299
|
};
|
|
300
300
|
};
|
|
301
|
-
}, Record<"body" | "footer" | "header" | "
|
|
301
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "footer" | "header" | "
|
|
1
|
+
export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row">;
|
|
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
body: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"body" | "footer" | "header" | "
|
|
15
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
|
|
16
16
|
size: {
|
|
17
17
|
md: {
|
|
18
18
|
root: string;
|
|
@@ -26,7 +26,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
26
26
|
body: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
}, Record<"body" | "footer" | "header" | "
|
|
29
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
30
30
|
size: {
|
|
31
31
|
md: {
|
|
32
32
|
root: string;
|
|
@@ -40,4 +40,4 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
body: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"body" | "footer" | "header" | "
|
|
43
|
+
}, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validateMobileNumber(countryCode: string, mobileNumber: string): boolean;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
export function validateMobileNumber(countryCode, mobileNumber) {
|
|
2
|
+
const cleaned = mobileNumber.replace(/[\s\-()]/g, '');
|
|
3
|
+
if (!/^\+?\d+$/.test(cleaned)) {
|
|
4
|
+
return false;
|
|
5
|
+
}
|
|
6
|
+
// Remove the country code if it's already in the number
|
|
7
|
+
let numberWithoutCode = cleaned;
|
|
8
|
+
if (cleaned.startsWith(countryCode)) {
|
|
9
|
+
numberWithoutCode = cleaned.substring(countryCode.length);
|
|
10
|
+
}
|
|
11
|
+
else if (cleaned.startsWith(countryCode.substring(1))) {
|
|
12
|
+
numberWithoutCode = cleaned.substring(countryCode.length - 1);
|
|
13
|
+
}
|
|
14
|
+
else if (cleaned.startsWith('+')) {
|
|
15
|
+
// Number has a different country code
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
// Country-specific validation rules
|
|
19
|
+
switch (countryCode) {
|
|
20
|
+
case '+63': // Philippines
|
|
21
|
+
return /^9\d{9}$/.test(numberWithoutCode);
|
|
22
|
+
case '+34': // Spain
|
|
23
|
+
return /^[67]\d{8}$/.test(numberWithoutCode);
|
|
24
|
+
case '+1': // US/Canada
|
|
25
|
+
return /^\d{10}$/.test(numberWithoutCode);
|
|
26
|
+
case '+1671': // Guam
|
|
27
|
+
case '+1670': // Northern Mariana Islands
|
|
28
|
+
case '+1868': // Trinidad and Tobago
|
|
29
|
+
return /^\d{7}$/.test(numberWithoutCode);
|
|
30
|
+
case '+44': // UK
|
|
31
|
+
return /^7\d{9}$/.test(numberWithoutCode);
|
|
32
|
+
case '+61': // Australia
|
|
33
|
+
return /^4\d{8}$/.test(numberWithoutCode);
|
|
34
|
+
case '+91': // India
|
|
35
|
+
return /^[6-9]\d{9}$/.test(numberWithoutCode);
|
|
36
|
+
case '+86': // China
|
|
37
|
+
return /^1\d{10}$/.test(numberWithoutCode);
|
|
38
|
+
case '+81': // Japan
|
|
39
|
+
return /^[789]0\d{8}$/.test(numberWithoutCode);
|
|
40
|
+
case '+82': // South Korea
|
|
41
|
+
return /^10\d{7,8}$/.test(numberWithoutCode);
|
|
42
|
+
case '+65': // Singapore
|
|
43
|
+
return /^[89]\d{7}$/.test(numberWithoutCode);
|
|
44
|
+
case '+60': // Malaysia
|
|
45
|
+
return /^1\d{8,9}$/.test(numberWithoutCode);
|
|
46
|
+
case '+62': // Indonesia
|
|
47
|
+
return /^8\d{8,11}$/.test(numberWithoutCode);
|
|
48
|
+
case '+66': // Thailand
|
|
49
|
+
return /^[689]\d{8}$/.test(numberWithoutCode);
|
|
50
|
+
case '+84': // Vietnam
|
|
51
|
+
return /^[3579]\d{8}$/.test(numberWithoutCode);
|
|
52
|
+
case '+852': // Hong Kong
|
|
53
|
+
return /^[4-79]\d{7}$/.test(numberWithoutCode);
|
|
54
|
+
case '+853': // Macau
|
|
55
|
+
return /^6\d{7}$/.test(numberWithoutCode);
|
|
56
|
+
case '+886': // Taiwan
|
|
57
|
+
return /^9\d{8}$/.test(numberWithoutCode);
|
|
58
|
+
case '+971': // UAE
|
|
59
|
+
return /^5\d{8}$/.test(numberWithoutCode);
|
|
60
|
+
case '+966': // Saudi Arabia
|
|
61
|
+
return /^5\d{8}$/.test(numberWithoutCode);
|
|
62
|
+
case '+974': // Qatar
|
|
63
|
+
return /^[3567]\d{7}$/.test(numberWithoutCode);
|
|
64
|
+
case '+973': // Bahrain
|
|
65
|
+
return /^3\d{7}$/.test(numberWithoutCode);
|
|
66
|
+
case '+968': // Oman
|
|
67
|
+
return /^9\d{7}$/.test(numberWithoutCode);
|
|
68
|
+
case '+965': // Kuwait
|
|
69
|
+
return /^[569]\d{7}$/.test(numberWithoutCode);
|
|
70
|
+
case '+962': // Jordan
|
|
71
|
+
return /^7\d{8}$/.test(numberWithoutCode);
|
|
72
|
+
case '+961': // Lebanon
|
|
73
|
+
return /^[378]\d{6,7}$/.test(numberWithoutCode);
|
|
74
|
+
case '+972': // Israel
|
|
75
|
+
return /^5\d{8}$/.test(numberWithoutCode);
|
|
76
|
+
case '+20': // Egypt
|
|
77
|
+
return /^1\d{9}$/.test(numberWithoutCode);
|
|
78
|
+
case '+27': // South Africa
|
|
79
|
+
return /^[678]\d{8}$/.test(numberWithoutCode);
|
|
80
|
+
case '+234': // Nigeria
|
|
81
|
+
return /^[789]0\d{8}$/.test(numberWithoutCode);
|
|
82
|
+
case '+55': // Brazil
|
|
83
|
+
return /^\d{2}9\d{8}$/.test(numberWithoutCode);
|
|
84
|
+
case '+52': // Mexico
|
|
85
|
+
return /^\d{10}$/.test(numberWithoutCode);
|
|
86
|
+
case '+54': // Argentina
|
|
87
|
+
return /^9\d{9}$/.test(numberWithoutCode);
|
|
88
|
+
case '+33': // France
|
|
89
|
+
return /^[67]\d{8}$/.test(numberWithoutCode);
|
|
90
|
+
case '+49': // Germany
|
|
91
|
+
return /^1\d{9,10}$/.test(numberWithoutCode);
|
|
92
|
+
case '+39': // Italy
|
|
93
|
+
return /^3\d{8,9}$/.test(numberWithoutCode);
|
|
94
|
+
case '+31': // Netherlands
|
|
95
|
+
return /^6\d{8}$/.test(numberWithoutCode);
|
|
96
|
+
case '+32': // Belgium
|
|
97
|
+
return /^4\d{8}$/.test(numberWithoutCode);
|
|
98
|
+
case '+41': // Switzerland
|
|
99
|
+
return /^7\d{8}$/.test(numberWithoutCode);
|
|
100
|
+
case '+43': // Austria
|
|
101
|
+
return /^6\d{9,12}$/.test(numberWithoutCode);
|
|
102
|
+
case '+45': // Denmark
|
|
103
|
+
return /^\d{8}$/.test(numberWithoutCode);
|
|
104
|
+
case '+46': // Sweden
|
|
105
|
+
return /^7\d{8}$/.test(numberWithoutCode);
|
|
106
|
+
case '+47': // Norway
|
|
107
|
+
return /^[49]\d{7}$/.test(numberWithoutCode);
|
|
108
|
+
case '+48': // Poland
|
|
109
|
+
return /^[45678]\d{8}$/.test(numberWithoutCode);
|
|
110
|
+
case '+351': // Portugal
|
|
111
|
+
return /^9\d{8}$/.test(numberWithoutCode);
|
|
112
|
+
case '+353': // Ireland
|
|
113
|
+
return /^8\d{8}$/.test(numberWithoutCode);
|
|
114
|
+
case '+30': // Greece
|
|
115
|
+
return /^6\d{9}$/.test(numberWithoutCode);
|
|
116
|
+
case '+90': // Turkey
|
|
117
|
+
return /^5\d{9}$/.test(numberWithoutCode);
|
|
118
|
+
case '+40': // Romania
|
|
119
|
+
return /^7\d{8}$/.test(numberWithoutCode);
|
|
120
|
+
case '+36': // Hungary
|
|
121
|
+
return /^[237]0\d{7}$/.test(numberWithoutCode);
|
|
122
|
+
case '+385': // Croatia
|
|
123
|
+
return /^9\d{7,8}$/.test(numberWithoutCode);
|
|
124
|
+
case '+421': // Slovakia
|
|
125
|
+
return /^9\d{8}$/.test(numberWithoutCode);
|
|
126
|
+
case '+358': // Finland
|
|
127
|
+
return /^[45]\d{8,9}$/.test(numberWithoutCode);
|
|
128
|
+
case '+370': // Lithuania
|
|
129
|
+
return /^6\d{7}$/.test(numberWithoutCode);
|
|
130
|
+
case '+371': // Latvia
|
|
131
|
+
return /^2\d{7}$/.test(numberWithoutCode);
|
|
132
|
+
case '+357': // Cyprus
|
|
133
|
+
return /^9\d{7}$/.test(numberWithoutCode);
|
|
134
|
+
case '+356': // Malta
|
|
135
|
+
return /^[79]\d{7}$/.test(numberWithoutCode);
|
|
136
|
+
case '+352': // Luxembourg
|
|
137
|
+
return /^6\d{8}$/.test(numberWithoutCode);
|
|
138
|
+
case '+64': // New Zealand
|
|
139
|
+
return /^2\d{7,9}$/.test(numberWithoutCode);
|
|
140
|
+
case '+673': // Brunei
|
|
141
|
+
return /^[789]\d{6}$/.test(numberWithoutCode);
|
|
142
|
+
case '+855': // Cambodia
|
|
143
|
+
return /^[16789]\d{7,8}$/.test(numberWithoutCode);
|
|
144
|
+
case '+998': // Uzbekistan
|
|
145
|
+
return /^9\d{8}$/.test(numberWithoutCode);
|
|
146
|
+
case '+964': // Iraq
|
|
147
|
+
return /^7\d{9}$/.test(numberWithoutCode);
|
|
148
|
+
case '+255': // Tanzania
|
|
149
|
+
return /^[67]\d{8}$/.test(numberWithoutCode);
|
|
150
|
+
case '+239': // São Tomé and Príncipe
|
|
151
|
+
return /^9[89]\d{5}$/.test(numberWithoutCode);
|
|
152
|
+
case '+213': // Algeria
|
|
153
|
+
return /^[567]\d{8}$/.test(numberWithoutCode);
|
|
154
|
+
case '+297': // Aruba
|
|
155
|
+
return /^[5679]\d{6}$/.test(numberWithoutCode);
|
|
156
|
+
default:
|
|
157
|
+
return /^\d{6,15}$/.test(numberWithoutCode);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dataURLtoBlob(dataURL: string): Blob;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function dataURLtoBlob(dataURL) {
|
|
2
|
+
const parts = dataURL.split(';base64,');
|
|
3
|
+
const contentType = parts[0].split(':')[1];
|
|
4
|
+
const raw = window.atob(parts[1]);
|
|
5
|
+
const rawLength = raw.length;
|
|
6
|
+
const uInt8Array = new Uint8Array(rawLength);
|
|
7
|
+
for (let i = 0; i < rawLength; ++i) {
|
|
8
|
+
uInt8Array[i] = raw.charCodeAt(i);
|
|
9
|
+
}
|
|
10
|
+
return new Blob([uInt8Array], { type: contentType });
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GAMES_AVAILABLE_3PM_TO_3AM: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const GAMES_AVAILABLE_3PM_TO_3AM = ['Marble Race', 'Rainbow Ball'];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getGameName(reference: string, defaultName: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isBetween3amAnd3pm: () => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Resizer from 'react-image-file-resizer';
|
|
2
|
+
export const resizeFile = (file) => new Promise((resolve) => {
|
|
3
|
+
Resizer.imageFileResizer(file, 300, 300, 'jpeg', 100, 0, (uri) => {
|
|
4
|
+
resolve(uri);
|
|
5
|
+
}, 'file');
|
|
6
|
+
});
|
|
7
|
+
export const resizeFileBase64 = (file) => new Promise((resolve) => {
|
|
8
|
+
Resizer.imageFileResizer(file, 1200, 300, 'WEBP', 100, 0, (uri) => {
|
|
9
|
+
resolve(uri);
|
|
10
|
+
}, 'base64');
|
|
11
|
+
});
|