@opexa/portal-components 0.0.926 → 0.0.928
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__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/DigitainLauncher/Loading.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV2.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/ForgotPassword/Crazywin/ForgotPassword.module.css +42 -42
- 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/KYCNonPagCor/PersonalInformation.js +1 -1
- 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/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/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 +3369 -3369
- package/dist/styles/theme.css +776 -776
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- 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 +179 -179
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Checkbox } from '@ark-ui/react/checkbox';
|
|
2
2
|
export declare const withContext: <Props extends {
|
|
3
3
|
[x: string]: any;
|
|
4
|
-
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "
|
|
4
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "group" | "control" | "indicator") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
5
5
|
size: {
|
|
6
6
|
md: {
|
|
7
7
|
control: string;
|
|
@@ -15,7 +15,7 @@ export declare const withContext: <Props extends {
|
|
|
15
15
|
gray: {};
|
|
16
16
|
neutral: {};
|
|
17
17
|
};
|
|
18
|
-
}, Record<"label" | "root" | "
|
|
18
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
19
19
|
size: {
|
|
20
20
|
md: {
|
|
21
21
|
control: string;
|
|
@@ -29,7 +29,7 @@ export declare const withContext: <Props extends {
|
|
|
29
29
|
gray: {};
|
|
30
30
|
neutral: {};
|
|
31
31
|
};
|
|
32
|
-
}, Record<"label" | "root" | "
|
|
32
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
33
33
|
size: {
|
|
34
34
|
md: {
|
|
35
35
|
control: string;
|
|
@@ -43,9 +43,9 @@ export declare const withContext: <Props extends {
|
|
|
43
43
|
gray: {};
|
|
44
44
|
neutral: {};
|
|
45
45
|
};
|
|
46
|
-
}, Record<"label" | "root" | "
|
|
46
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>, withProvider: <Props extends {
|
|
47
47
|
[x: string]: any;
|
|
48
|
-
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "
|
|
48
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "group" | "control" | "indicator") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
49
49
|
size: {
|
|
50
50
|
md: {
|
|
51
51
|
control: string;
|
|
@@ -59,7 +59,7 @@ export declare const withContext: <Props extends {
|
|
|
59
59
|
gray: {};
|
|
60
60
|
neutral: {};
|
|
61
61
|
};
|
|
62
|
-
}, Record<"label" | "root" | "
|
|
62
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
63
63
|
size: {
|
|
64
64
|
md: {
|
|
65
65
|
control: string;
|
|
@@ -73,7 +73,7 @@ export declare const withContext: <Props extends {
|
|
|
73
73
|
gray: {};
|
|
74
74
|
neutral: {};
|
|
75
75
|
};
|
|
76
|
-
}, Record<"label" | "root" | "
|
|
76
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
77
77
|
size: {
|
|
78
78
|
md: {
|
|
79
79
|
control: string;
|
|
@@ -87,7 +87,7 @@ export declare const withContext: <Props extends {
|
|
|
87
87
|
gray: {};
|
|
88
88
|
neutral: {};
|
|
89
89
|
};
|
|
90
|
-
}, Record<"label" | "root" | "
|
|
90
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
91
91
|
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.RootProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
92
92
|
size: {
|
|
93
93
|
md: {
|
|
@@ -102,7 +102,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
102
102
|
gray: {};
|
|
103
103
|
neutral: {};
|
|
104
104
|
};
|
|
105
|
-
}, Record<"label" | "root" | "
|
|
105
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
106
106
|
size: {
|
|
107
107
|
md: {
|
|
108
108
|
control: string;
|
|
@@ -116,7 +116,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
116
116
|
gray: {};
|
|
117
117
|
neutral: {};
|
|
118
118
|
};
|
|
119
|
-
}, Record<"label" | "root" | "
|
|
119
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
120
120
|
size: {
|
|
121
121
|
md: {
|
|
122
122
|
control: string;
|
|
@@ -130,7 +130,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
130
130
|
gray: {};
|
|
131
131
|
neutral: {};
|
|
132
132
|
};
|
|
133
|
-
}, Record<"label" | "root" | "
|
|
133
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
134
134
|
export declare const Control: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.ControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
135
135
|
size: {
|
|
136
136
|
md: {
|
|
@@ -145,7 +145,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
145
145
|
gray: {};
|
|
146
146
|
neutral: {};
|
|
147
147
|
};
|
|
148
|
-
}, Record<"label" | "root" | "
|
|
148
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
149
149
|
size: {
|
|
150
150
|
md: {
|
|
151
151
|
control: string;
|
|
@@ -159,7 +159,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
159
159
|
gray: {};
|
|
160
160
|
neutral: {};
|
|
161
161
|
};
|
|
162
|
-
}, Record<"label" | "root" | "
|
|
162
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
163
163
|
size: {
|
|
164
164
|
md: {
|
|
165
165
|
control: string;
|
|
@@ -173,7 +173,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
173
173
|
gray: {};
|
|
174
174
|
neutral: {};
|
|
175
175
|
};
|
|
176
|
-
}, Record<"label" | "root" | "
|
|
176
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
177
177
|
export declare const Group: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.GroupProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
178
178
|
size: {
|
|
179
179
|
md: {
|
|
@@ -188,7 +188,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
188
188
|
gray: {};
|
|
189
189
|
neutral: {};
|
|
190
190
|
};
|
|
191
|
-
}, Record<"label" | "root" | "
|
|
191
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
192
192
|
size: {
|
|
193
193
|
md: {
|
|
194
194
|
control: string;
|
|
@@ -202,7 +202,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
202
202
|
gray: {};
|
|
203
203
|
neutral: {};
|
|
204
204
|
};
|
|
205
|
-
}, Record<"label" | "root" | "
|
|
205
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
206
206
|
size: {
|
|
207
207
|
md: {
|
|
208
208
|
control: string;
|
|
@@ -216,7 +216,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
216
216
|
gray: {};
|
|
217
217
|
neutral: {};
|
|
218
218
|
};
|
|
219
|
-
}, Record<"label" | "root" | "
|
|
219
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
220
220
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
221
221
|
size: {
|
|
222
222
|
md: {
|
|
@@ -231,7 +231,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
231
231
|
gray: {};
|
|
232
232
|
neutral: {};
|
|
233
233
|
};
|
|
234
|
-
}, Record<"label" | "root" | "
|
|
234
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
235
235
|
size: {
|
|
236
236
|
md: {
|
|
237
237
|
control: string;
|
|
@@ -245,7 +245,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
245
245
|
gray: {};
|
|
246
246
|
neutral: {};
|
|
247
247
|
};
|
|
248
|
-
}, Record<"label" | "root" | "
|
|
248
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
249
249
|
size: {
|
|
250
250
|
md: {
|
|
251
251
|
control: string;
|
|
@@ -259,7 +259,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
259
259
|
gray: {};
|
|
260
260
|
neutral: {};
|
|
261
261
|
};
|
|
262
|
-
}, Record<"label" | "root" | "
|
|
262
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
263
263
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.LabelProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
264
264
|
size: {
|
|
265
265
|
md: {
|
|
@@ -274,7 +274,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
274
274
|
gray: {};
|
|
275
275
|
neutral: {};
|
|
276
276
|
};
|
|
277
|
-
}, Record<"label" | "root" | "
|
|
277
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
278
278
|
size: {
|
|
279
279
|
md: {
|
|
280
280
|
control: string;
|
|
@@ -288,7 +288,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
288
288
|
gray: {};
|
|
289
289
|
neutral: {};
|
|
290
290
|
};
|
|
291
|
-
}, Record<"label" | "root" | "
|
|
291
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
292
292
|
size: {
|
|
293
293
|
md: {
|
|
294
294
|
control: string;
|
|
@@ -302,6 +302,6 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
302
302
|
gray: {};
|
|
303
303
|
neutral: {};
|
|
304
304
|
};
|
|
305
|
-
}, Record<"label" | "root" | "
|
|
305
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
306
306
|
export declare const HiddenInput: import("react").ForwardRefExoticComponent<Checkbox.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
307
307
|
export declare const Context: (props: Checkbox.ContextProps) => import("react").ReactNode;
|
|
@@ -12,7 +12,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
gray: {};
|
|
13
13
|
neutral: {};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"label" | "root" | "
|
|
15
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
16
16
|
size: {
|
|
17
17
|
md: {
|
|
18
18
|
control: string;
|
|
@@ -26,7 +26,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
26
26
|
gray: {};
|
|
27
27
|
neutral: {};
|
|
28
28
|
};
|
|
29
|
-
}, Record<"label" | "root" | "
|
|
29
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
30
30
|
size: {
|
|
31
31
|
md: {
|
|
32
32
|
control: string;
|
|
@@ -40,4 +40,4 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
gray: {};
|
|
41
41
|
neutral: {};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"label" | "root" | "
|
|
43
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -36,7 +36,7 @@ export const checkboxRecipe = tv({
|
|
|
36
36
|
variant: 'outline',
|
|
37
37
|
colorScheme: 'neutral',
|
|
38
38
|
className: {
|
|
39
|
-
control: 'ui-disabled:cursor-not-allowed ui-readonly:cursor-not-allowed border border-border-brand ui-checked:border-border-checkbox-primary bg-bg-checkbox-primary ui-checked:bg-brand-400 ui-disabled:opacity-60 ui-readonly:opacity-50 shadow-xs ui-disabled:shadow-none ui-readonly:shadow-none',
|
|
39
|
+
control: 'ui-disabled:cursor-not-allowed ui-readonly:cursor-not-allowed border border-2 border-border-brand ui-checked:border-border-checkbox-primary bg-bg-checkbox-primary ui-checked:bg-brand-400 ui-disabled:opacity-60 ui-readonly:opacity-50 shadow-xs ui-disabled:shadow-none ui-readonly:shadow-none',
|
|
40
40
|
indicator: 'text-text-checkbox-indicator-primary',
|
|
41
41
|
label: 'text-text-checkbox-label-primary text-xs leading-tight',
|
|
42
42
|
},
|
|
@@ -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
|
+
});
|