@opexa/portal-components 0.0.927 → 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.
Files changed (183) hide show
  1. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.d.ts +2 -2
  2. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.d.ts +1 -1
  3. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.d.ts +1 -0
  4. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.js +11 -0
  5. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.d.ts +1 -0
  6. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.js +11 -0
  7. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.d.ts +1 -0
  8. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.js +126 -0
  9. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.d.ts +1 -0
  10. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.js +10 -0
  11. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.d.ts +1 -0
  12. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.js +12 -0
  13. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.d.ts +17 -0
  14. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.js +2 -0
  15. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.d.ts +1 -0
  16. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.js +41 -0
  17. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.d.ts +13 -0
  18. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.js +91 -0
  19. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  20. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  21. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  22. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  23. package/dist/components/DigitainLauncher/Loading.js +1 -1
  24. package/dist/components/Disclaimer/DisclaimerV2.js +1 -1
  25. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +10 -0
  26. package/dist/components/Disclaimer/ResponsibleGaming.js +13 -0
  27. package/dist/components/Disclaimer/TermsOfUse.d.ts +11 -0
  28. package/dist/components/Disclaimer/TermsOfUse.js +13 -0
  29. package/dist/components/FeatureFlag/FeatureFlag.d.ts +1 -0
  30. package/dist/components/FeatureFlag/FeatureFlag.js +29 -0
  31. package/dist/components/FeatureFlag/index.d.ts +1 -0
  32. package/dist/components/FeatureFlag/index.js +1 -0
  33. package/dist/components/ForgotPassword/Crazywin/ForgotPassword.module.css +42 -42
  34. package/dist/components/Jackpots/Jackpots.module.css +288 -288
  35. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  36. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  37. package/dist/components/KYC/AutoOpen.d.ts +1 -0
  38. package/dist/components/KYC/AutoOpen.js +40 -0
  39. package/dist/components/KYC/BasicInformation.js +1 -1
  40. package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
  41. package/dist/components/KYC/CaptureIdDocument.js +219 -0
  42. package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
  43. package/dist/components/KYC/CaptureSelfie.js +285 -0
  44. package/dist/components/KYC/DisplayImage.d.ts +5 -0
  45. package/dist/components/KYC/DisplayImage.js +8 -0
  46. package/dist/components/KYC/FileUpload.d.ts +10 -0
  47. package/dist/components/KYC/FileUpload.js +72 -0
  48. package/dist/components/KYC/IdentityVerification.js +1 -1
  49. package/dist/components/KYC/KYC.lazy.js +1 -1
  50. package/dist/components/KYC/KYCDefault/KYCVerificationStatus.lazy.js +2 -2
  51. package/dist/components/KYC/KYCNonPagCor/KYCVerificationStatus.lazy.js +2 -2
  52. package/dist/components/KYC/KYCVerificationStatus.lazy.js +8 -5
  53. package/dist/components/KYC/NoCameraError.d.ts +7 -0
  54. package/dist/components/KYC/NoCameraError.js +6 -0
  55. package/dist/components/KYC/PersonOverlayDesktop.d.ts +7 -0
  56. package/dist/components/KYC/PersonOverlayDesktop.js +9 -0
  57. package/dist/components/KYC/PersonalInformation.js +1 -1
  58. package/dist/components/KYC/backup/Header.d.ts +1 -0
  59. package/dist/components/KYC/backup/Header.js +8 -0
  60. package/dist/components/KYC/backup/Indicator.d.ts +1 -0
  61. package/dist/components/KYC/backup/Indicator.js +9 -0
  62. package/dist/components/KYC/backup/KYC.d.ts +1 -0
  63. package/dist/components/KYC/backup/KYC.js +14 -0
  64. package/dist/components/KYC/backup/KYC.lazy.d.ts +1 -0
  65. package/dist/components/KYC/backup/KYC.lazy.js +26 -0
  66. package/dist/components/KYC/backup/KYCContext.d.ts +6 -0
  67. package/dist/components/KYC/backup/KYCContext.js +2 -0
  68. package/dist/components/KYC/backup/Step1.d.ts +1 -0
  69. package/dist/components/KYC/backup/Step1.js +13 -0
  70. package/dist/components/KYC/backup/Step2.d.ts +1 -0
  71. package/dist/components/KYC/backup/Step2.js +13 -0
  72. package/dist/components/KYC/backup/Step3.d.ts +1 -0
  73. package/dist/components/KYC/backup/Step3.js +13 -0
  74. package/dist/components/KYC/backup/Step4.d.ts +1 -0
  75. package/dist/components/KYC/backup/Step4.js +7 -0
  76. package/dist/components/KYC/backup/useKYC.d.ts +10 -0
  77. package/dist/components/KYC/backup/useKYC.js +8 -0
  78. package/dist/components/KYC/loadModels.d.ts +1 -0
  79. package/dist/components/KYC/loadModels.js +9 -0
  80. package/dist/components/KYC/utils.d.ts +9 -0
  81. package/dist/components/KYC/utils.js +79 -0
  82. package/dist/components/Messages/Message.d.ts +1 -0
  83. package/dist/components/Messages/Message.js +35 -0
  84. package/dist/components/Messages/MessageContext.d.ts +6 -0
  85. package/dist/components/Messages/MessageContext.js +2 -0
  86. package/dist/components/Messages/MessagePopup.d.ts +1 -0
  87. package/dist/components/Messages/MessagePopup.js +20 -0
  88. package/dist/components/Messages/MessageTrigger.d.ts +8 -0
  89. package/dist/components/Messages/MessageTrigger.js +19 -0
  90. package/dist/components/PortalProvider/CXDTokenObserver.js +11 -11
  91. package/dist/components/Quests/CountdownTimer.d.ts +15 -0
  92. package/dist/components/Quests/CountdownTimer.js +33 -0
  93. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +4 -0
  94. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +78 -0
  95. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
  96. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +9 -0
  97. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +4 -0
  98. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +4 -0
  99. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +4 -0
  100. package/dist/components/Quests/WageringQuest/WageringQuest.js +20 -0
  101. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +9 -0
  102. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +9 -0
  103. package/dist/components/SignUp/SignUp.lazy.d.ts +12 -0
  104. package/dist/components/SignUp/SignUp.lazy.js +18 -0
  105. package/dist/components/SignUp/SignUpContext.d.ts +6 -0
  106. package/dist/components/SignUp/SignUpContext.js +2 -0
  107. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +17 -0
  108. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +18 -0
  109. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +6 -0
  110. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +2 -0
  111. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +1 -0
  112. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +310 -0
  113. package/dist/components/SignUp/SignUpForm.d.ts +1 -0
  114. package/dist/components/SignUp/SignUpForm.js +284 -0
  115. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +1 -0
  116. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +198 -0
  117. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +1 -0
  118. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +251 -0
  119. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +10 -0
  120. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +42 -0
  121. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +7 -0
  122. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +9 -0
  123. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +1 -0
  124. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +464 -0
  125. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +11 -0
  126. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +20 -0
  127. package/dist/components/SignUp/SignUpKYC/utils.d.ts +9 -0
  128. package/dist/components/SignUp/SignUpKYC/utils.js +79 -0
  129. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  130. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  131. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  132. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  133. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  134. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  135. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  136. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  137. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  138. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  139. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  140. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  141. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  142. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  143. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  144. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  145. package/dist/components/shared/IdDocumentField.client.d.ts +25 -0
  146. package/dist/components/shared/IdDocumentField.client.js +204 -0
  147. package/dist/components/shared/IdDocumentField.d.ts +2 -0
  148. package/dist/components/shared/IdDocumentField.js +11 -0
  149. package/dist/components/shared/SelfieField.client.d.ts +20 -0
  150. package/dist/components/shared/SelfieField.client.js +327 -0
  151. package/dist/components/shared/SelfieField.d.ts +2 -0
  152. package/dist/components/shared/SelfieField.js +11 -0
  153. package/dist/constants/BranchCode.d.ts +4 -0
  154. package/dist/constants/BranchCode.js +42 -0
  155. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  156. package/dist/handlers/postTransformIdFrontImage.js +67 -0
  157. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  158. package/dist/handlers/postTransformSelfieImage.js +71 -0
  159. package/dist/handlers.d.ts +43 -0
  160. package/dist/handlers.js +297 -0
  161. package/dist/icons/BellRingIcon.d.ts +2 -0
  162. package/dist/icons/BellRingIcon.js +4 -0
  163. package/dist/images/phone-icon.svg +10 -10
  164. package/dist/services/queries.js +3369 -3369
  165. package/dist/styles/theme.css +776 -776
  166. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  167. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  168. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  169. package/dist/utils/dataUrlToBlob.d.ts +1 -0
  170. package/dist/utils/dataUrlToBlob.js +11 -0
  171. package/dist/utils/gamesAvailable3pmTo3am.d.ts +1 -0
  172. package/dist/utils/gamesAvailable3pmTo3am.js +1 -0
  173. package/dist/utils/getGameName.d.ts +1 -0
  174. package/dist/utils/getGameName.js +6 -0
  175. package/dist/utils/isBetween3amAnd3pm.d.ts +1 -0
  176. package/dist/utils/isBetween3amAnd3pm.js +5 -0
  177. package/dist/utils/resizeImageSize.d.ts +2 -0
  178. package/dist/utils/resizeImageSize.js +11 -0
  179. package/package.json +179 -179
  180. package/dist/components/Banner/Banner.client.d.ts +0 -12
  181. package/dist/components/Banner/Banner.client.js +0 -49
  182. package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +0 -1
  183. 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" | "control" | "indicator" | "group") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>, withProvider: <Props extends {
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" | "control" | "indicator" | "group") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
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" | "control" | "indicator" | "group", string | string[]>, undefined, {
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" | "control" | "indicator" | "group", string | string[]>, import("tailwind-variants").TVReturnType<{
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" | "control" | "indicator" | "group", string | string[]>, undefined, unknown, unknown, undefined>>;
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,6 @@
1
+ export function getGameName(reference, defaultName) {
2
+ if (reference === 'Hwd1wEWHU6Gvfwecuh') {
3
+ return 'Marble Speedway';
4
+ }
5
+ return defaultName;
6
+ }
@@ -0,0 +1 @@
1
+ export declare const isBetween3amAnd3pm: () => boolean;
@@ -0,0 +1,5 @@
1
+ export const isBetween3amAnd3pm = () => {
2
+ const now = new Date();
3
+ const hour = now.getHours();
4
+ return hour >= 15 || hour < 3;
5
+ };
@@ -0,0 +1,2 @@
1
+ export declare const resizeFile: (file: File) => Promise<unknown>;
2
+ export declare const resizeFileBase64: (file: File) => Promise<string>;
@@ -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
+ });