@opexa/portal-components 0.0.407 → 0.0.408

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 (190) hide show
  1. package/dist/components/DigitainLauncher/Loading.js +1 -1
  2. package/dist/components/Disclaimer/DisclaimerV2.js +1 -1
  3. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +10 -0
  4. package/dist/components/Disclaimer/ResponsibleGaming.js +13 -0
  5. package/dist/components/Disclaimer/TermsOfUse.d.ts +11 -0
  6. package/dist/components/Disclaimer/TermsOfUse.js +13 -0
  7. package/dist/components/FeatureFlag/FeatureFlag.d.ts +1 -0
  8. package/dist/components/FeatureFlag/FeatureFlag.js +29 -0
  9. package/dist/components/FeatureFlag/index.d.ts +1 -0
  10. package/dist/components/FeatureFlag/index.js +1 -0
  11. package/dist/components/Jackpots/Jackpots.module.css +184 -184
  12. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  13. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  14. package/dist/components/KYC/AutoOpen.d.ts +1 -0
  15. package/dist/components/KYC/AutoOpen.js +40 -0
  16. package/dist/components/KYC/BasicInformation.js +1 -1
  17. package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
  18. package/dist/components/KYC/CaptureIdDocument.js +219 -0
  19. package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
  20. package/dist/components/KYC/CaptureSelfie.js +285 -0
  21. package/dist/components/KYC/DisplayImage.d.ts +5 -0
  22. package/dist/components/KYC/DisplayImage.js +8 -0
  23. package/dist/components/KYC/FileUpload.d.ts +10 -0
  24. package/dist/components/KYC/FileUpload.js +72 -0
  25. package/dist/components/KYC/IdentityVerification.js +1 -1
  26. package/dist/components/KYC/KYC.lazy.js +1 -1
  27. package/dist/components/KYC/NoCameraError.d.ts +7 -0
  28. package/dist/components/KYC/NoCameraError.js +6 -0
  29. package/dist/components/KYC/PersonOverlayDesktop.d.ts +7 -0
  30. package/dist/components/KYC/PersonOverlayDesktop.js +9 -0
  31. package/dist/components/KYC/PersonalInformation.js +1 -1
  32. package/dist/components/KYC/backup/Header.d.ts +1 -0
  33. package/dist/components/KYC/backup/Header.js +8 -0
  34. package/dist/components/KYC/backup/Indicator.d.ts +1 -0
  35. package/dist/components/KYC/backup/Indicator.js +9 -0
  36. package/dist/components/KYC/backup/KYC.d.ts +1 -0
  37. package/dist/components/KYC/backup/KYC.js +14 -0
  38. package/dist/components/KYC/backup/KYC.lazy.d.ts +1 -0
  39. package/dist/components/KYC/backup/KYC.lazy.js +26 -0
  40. package/dist/components/KYC/backup/KYCContext.d.ts +6 -0
  41. package/dist/components/KYC/backup/KYCContext.js +2 -0
  42. package/dist/components/KYC/backup/Step1.d.ts +1 -0
  43. package/dist/components/KYC/backup/Step1.js +13 -0
  44. package/dist/components/KYC/backup/Step2.d.ts +1 -0
  45. package/dist/components/KYC/backup/Step2.js +13 -0
  46. package/dist/components/KYC/backup/Step3.d.ts +1 -0
  47. package/dist/components/KYC/backup/Step3.js +13 -0
  48. package/dist/components/KYC/backup/Step4.d.ts +1 -0
  49. package/dist/components/KYC/backup/Step4.js +7 -0
  50. package/dist/components/KYC/backup/useKYC.d.ts +10 -0
  51. package/dist/components/KYC/backup/useKYC.js +8 -0
  52. package/dist/components/KYC/loadModels.d.ts +1 -0
  53. package/dist/components/KYC/loadModels.js +9 -0
  54. package/dist/components/KYC/utils.d.ts +9 -0
  55. package/dist/components/KYC/utils.js +79 -0
  56. package/dist/components/Messages/Message.d.ts +1 -0
  57. package/dist/components/Messages/Message.js +35 -0
  58. package/dist/components/Messages/MessageContext.d.ts +6 -0
  59. package/dist/components/Messages/MessageContext.js +2 -0
  60. package/dist/components/Messages/MessagePopup.d.ts +1 -0
  61. package/dist/components/Messages/MessagePopup.js +20 -0
  62. package/dist/components/Messages/MessageTrigger.d.ts +8 -0
  63. package/dist/components/Messages/MessageTrigger.js +19 -0
  64. package/dist/components/PortalProvider/SetupCellxpertCxd.js +2 -1
  65. package/dist/components/Quests/CountdownTimer.d.ts +15 -0
  66. package/dist/components/Quests/CountdownTimer.js +33 -0
  67. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +4 -0
  68. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +78 -0
  69. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
  70. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +9 -0
  71. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +4 -0
  72. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +4 -0
  73. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +4 -0
  74. package/dist/components/Quests/WageringQuest/WageringQuest.js +20 -0
  75. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +9 -0
  76. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +9 -0
  77. package/dist/components/SignIn/utils.d.ts +8 -0
  78. package/dist/components/SignIn/utils.js +26 -0
  79. package/dist/components/SignUp/SignUp.lazy.d.ts +12 -0
  80. package/dist/components/SignUp/SignUp.lazy.js +18 -0
  81. package/dist/components/SignUp/SignUpContext.d.ts +6 -0
  82. package/dist/components/SignUp/SignUpContext.js +2 -0
  83. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +17 -0
  84. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +18 -0
  85. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +6 -0
  86. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +2 -0
  87. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +1 -0
  88. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +310 -0
  89. package/dist/components/SignUp/SignUpForm.d.ts +1 -0
  90. package/dist/components/SignUp/SignUpForm.js +284 -0
  91. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +1 -0
  92. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +198 -0
  93. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +1 -0
  94. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +251 -0
  95. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +10 -0
  96. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +42 -0
  97. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +7 -0
  98. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +9 -0
  99. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +1 -0
  100. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +464 -0
  101. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +11 -0
  102. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +20 -0
  103. package/dist/components/SignUp/SignUpKYC/utils.d.ts +9 -0
  104. package/dist/components/SignUp/SignUpKYC/utils.js +79 -0
  105. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  106. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  107. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  108. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  109. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  110. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  111. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  112. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  113. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  114. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  115. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  116. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  117. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  118. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  119. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  120. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  121. package/dist/components/shared/IdDocumentField.client.d.ts +25 -0
  122. package/dist/components/shared/IdDocumentField.client.js +204 -0
  123. package/dist/components/shared/IdDocumentField.d.ts +2 -0
  124. package/dist/components/shared/IdDocumentField.js +11 -0
  125. package/dist/components/shared/SelfieField.client.d.ts +20 -0
  126. package/dist/components/shared/SelfieField.client.js +327 -0
  127. package/dist/components/shared/SelfieField.d.ts +2 -0
  128. package/dist/components/shared/SelfieField.js +11 -0
  129. package/dist/constants/BranchCode.d.ts +4 -0
  130. package/dist/constants/BranchCode.js +42 -0
  131. package/dist/constants/Branches.d.ts +2 -0
  132. package/dist/constants/Branches.js +42 -0
  133. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  134. package/dist/handlers/postTransformIdFrontImage.js +67 -0
  135. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  136. package/dist/handlers/postTransformSelfieImage.js +71 -0
  137. package/dist/handlers.d.ts +43 -0
  138. package/dist/handlers.js +297 -0
  139. package/dist/icons/BellRingIcon.d.ts +2 -0
  140. package/dist/icons/BellRingIcon.js +4 -0
  141. package/dist/services/queries.js +2674 -2674
  142. package/dist/styles/theme.css +719 -719
  143. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
  144. package/dist/third-parties/FacebookPixel/FacebookPixel.js +4 -0
  145. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  146. package/dist/third-parties/FacebookPixel/api.js +1 -0
  147. package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
  148. package/dist/third-parties/FacebookPixel/index.js +1 -0
  149. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
  150. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +4 -0
  151. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  152. package/dist/third-parties/GoogleRecaptcha/api.js +1 -0
  153. package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
  154. package/dist/third-parties/GoogleRecaptcha/index.js +1 -0
  155. package/dist/third-parties/index.d.ts +2 -0
  156. package/dist/third-parties/index.js +2 -0
  157. package/dist/ui/Carousel/Carousel.d.ts +45 -45
  158. package/dist/ui/Carousel/carousel.recipe.d.ts +5 -5
  159. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  160. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  161. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  162. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  163. package/dist/ui/Menu/Menu.d.ts +90 -90
  164. package/dist/ui/Menu/menu.recipe.d.ts +5 -5
  165. package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
  166. package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
  167. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  168. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  169. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  170. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  171. package/dist/ui/Select/Select.d.ts +45 -45
  172. package/dist/ui/Select/select.recipe.d.ts +3 -3
  173. package/dist/ui/Table/Table.d.ts +21 -21
  174. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  175. package/dist/ui/Table/table.recipe.d.ts +3 -3
  176. package/dist/utils/dataUrlToBlob.d.ts +1 -0
  177. package/dist/utils/dataUrlToBlob.js +11 -0
  178. package/dist/utils/gamesAvailable3pmTo3am.d.ts +1 -0
  179. package/dist/utils/gamesAvailable3pmTo3am.js +1 -0
  180. package/dist/utils/getGameName.d.ts +1 -0
  181. package/dist/utils/getGameName.js +6 -0
  182. package/dist/utils/isBetween3amAnd3pm.d.ts +1 -0
  183. package/dist/utils/isBetween3amAnd3pm.js +5 -0
  184. package/dist/utils/resizeImageSize.d.ts +2 -0
  185. package/dist/utils/resizeImageSize.js +11 -0
  186. package/package.json +161 -161
  187. package/dist/components/AccountInfo/GoogleDisconnect.d.ts +0 -7
  188. package/dist/components/AccountInfo/GoogleDisconnect.js +0 -11
  189. package/dist/icons/LinkBrokenIcon.d.ts +0 -2
  190. package/dist/icons/LinkBrokenIcon.js +0 -4
@@ -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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
15
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
43
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
58
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
72
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
86
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
101
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
115
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
129
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
144
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
158
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
172
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
187
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
201
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
215
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
230
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
244
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
258
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
273
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
287
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
301
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
@@ -1 +1 @@
1
- export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "root" | "header" | "footer" | "cell" | "heading" | "row">;
1
+ export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "root" | "header" | "footer" | "heading" | "cell" | "row">;
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
15
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "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" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
43
+ }, Record<"body" | "root" | "header" | "footer" | "heading" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -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
+ });
package/package.json CHANGED
@@ -1,161 +1,161 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.407",
4
- "exports": {
5
- "./ui/*": {
6
- "types": "./dist/ui/*/index.d.ts",
7
- "default": "./dist/ui/*/index.js"
8
- },
9
- "./utils/*": {
10
- "types": "./dist/utils/*.d.ts",
11
- "import": "./dist/utils/*.js"
12
- },
13
- "./types": {
14
- "types": "./dist/types/index.d.ts",
15
- "import": "./dist/types/index.js"
16
- },
17
- "./handlers": {
18
- "types": "./dist/handlers/index.d.ts",
19
- "default": "./dist/handlers/index.js"
20
- },
21
- "./middleware": {
22
- "types": "./dist/middleware.d.ts",
23
- "default": "./dist/middleware.js"
24
- },
25
- "./constants": {
26
- "types": "./dist/constants/index.d.ts",
27
- "default": "./dist/constants/index.js"
28
- },
29
- "./services/*": {
30
- "types": "./dist/services/*.d.ts",
31
- "default": "./dist/services/*.js"
32
- },
33
- "./client-utils/*": {
34
- "types": "./dist/client/utils/*.d.ts",
35
- "default": "./dist/client/utils/*.js"
36
- },
37
- "./client-hooks/*": {
38
- "types": "./dist/client/hooks/*.d.ts",
39
- "default": "./dist/client/hooks/*.js"
40
- },
41
- "./client-services/*": {
42
- "types": "./dist/client/services/*.d.ts",
43
- "default": "./dist/client/services/*.js"
44
- },
45
- "./server-utils/*": {
46
- "types": "./dist/server/utils/*.d.ts",
47
- "default": "./dist/server/utils/*.js"
48
- },
49
- "./server-services/*": {
50
- "types": "./dist/server/services/*.d.ts",
51
- "default": "./dist/server/services/*.js"
52
- },
53
- "./next.config": {
54
- "types": "./dist/next.config.d.ts",
55
- "default": "./dist/next.config.js"
56
- },
57
- "./theme.css": "./dist/styles/theme.css",
58
- "./*": {
59
- "types": "./dist/components/*/index.d.ts",
60
- "default": "./dist/components/*/index.js"
61
- }
62
- },
63
- "files": [
64
- "dist",
65
- "!dist/tsconfig.tsbuildinfo",
66
- "!dist/tsconfig.build.tsbuildinfo"
67
- ],
68
- "publishConfig": {
69
- "access": "public"
70
- },
71
- "scripts": {
72
- "dev": "next dev --port 4000",
73
- "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
74
- "build:app": "next build",
75
- "start": "next start",
76
- "release": "release-it"
77
- },
78
- "dependencies": {
79
- "@ark-ui/react": "^5.16.0",
80
- "@date-fns/tz": "^1.2.0",
81
- "@greatsumini/react-facebook-login": "^3.4.0",
82
- "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
- "@next/third-parties": "^15.4.1",
84
- "@react-oauth/google": "^0.12.2",
85
- "@sumsub/websdk": "^2.3.18",
86
- "@sumsub/websdk-react": "^2.3.18",
87
- "@tailwindcss/typography": "^0.5.16",
88
- "date-fns": "^4.1.0",
89
- "embla-carousel-autoplay": "^8.6.0",
90
- "embla-carousel-react": "^8.6.0",
91
- "is-mobile": "^5.0.0",
92
- "lodash-es": "^4.17.21",
93
- "next-recaptcha-v3": "^1.5.2",
94
- "tailwind-merge": "^3.3.1",
95
- "tailwind-variants": "^1.0.0",
96
- "tailwind-zag": "^1.0.2",
97
- "tiny-invariant": "^1.3.3",
98
- "type-fest": "^4.41.0",
99
- "usehooks-ts": "^3.1.1",
100
- "zustand": "^5.0.6"
101
- },
102
- "devDependencies": {
103
- "@hookform/resolvers": "5.1.1",
104
- "@opexa/object-id": "0.1.6",
105
- "@tailwindcss/postcss": "4",
106
- "@tanstack/react-query": "5.83.0",
107
- "@tanstack/react-query-devtools": "5.83.0",
108
- "@total-typescript/ts-reset": "0.6.1",
109
- "@types/lodash-es": "4.17.12",
110
- "@types/node": "24",
111
- "@types/react": "19.1.8",
112
- "@types/react-dom": "19.1.6",
113
- "copy-files-from-to": "3.12.1",
114
- "next": "15.4.2-canary.0",
115
- "react": "19.1.0",
116
- "react-dom": "19.1.0",
117
- "react-hook-form": "7.60.0",
118
- "release-it": "19.0.3",
119
- "tailwindcss": "4.1.11",
120
- "tsc-alias": "1.8.16",
121
- "typescript": "5",
122
- "zod": "4.0.5"
123
- },
124
- "peerDependencies": {
125
- "@hookform/resolvers": "^4.0.0 || ^5.0.0",
126
- "@opexa/object-id": "^0.1.0",
127
- "@tanstack/react-query": "^5.0.0",
128
- "next": "^15.4.0-canary.1",
129
- "react": "^19.0.0",
130
- "react-dom": "^19.0.0",
131
- "react-hook-form": "^7.0.0",
132
- "tailwindcss": "^4.0.0",
133
- "zod": "^3.0.0"
134
- },
135
- "release-it": {
136
- "git": {
137
- "commitMessage": "chore: release ${npm.name} v${version}",
138
- "tagName": "${npm.name}@${version}"
139
- },
140
- "github": {
141
- "release": false
142
- },
143
- "hooks": {
144
- "after:bump": [
145
- "pnpm build"
146
- ]
147
- }
148
- },
149
- "copyFiles": [
150
- {
151
- "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
152
- "to": "dist/",
153
- "toFlat": false
154
- }
155
- ],
156
- "copyFilesSettings": {
157
- "whenFileExists": "overwrite",
158
- "removeSourceMappingURL": true,
159
- "ignoreDotFilesAndFolders": false
160
- }
161
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.408",
4
+ "exports": {
5
+ "./ui/*": {
6
+ "types": "./dist/ui/*/index.d.ts",
7
+ "default": "./dist/ui/*/index.js"
8
+ },
9
+ "./utils/*": {
10
+ "types": "./dist/utils/*.d.ts",
11
+ "import": "./dist/utils/*.js"
12
+ },
13
+ "./types": {
14
+ "types": "./dist/types/index.d.ts",
15
+ "import": "./dist/types/index.js"
16
+ },
17
+ "./handlers": {
18
+ "types": "./dist/handlers/index.d.ts",
19
+ "default": "./dist/handlers/index.js"
20
+ },
21
+ "./middleware": {
22
+ "types": "./dist/middleware.d.ts",
23
+ "default": "./dist/middleware.js"
24
+ },
25
+ "./constants": {
26
+ "types": "./dist/constants/index.d.ts",
27
+ "default": "./dist/constants/index.js"
28
+ },
29
+ "./services/*": {
30
+ "types": "./dist/services/*.d.ts",
31
+ "default": "./dist/services/*.js"
32
+ },
33
+ "./client-utils/*": {
34
+ "types": "./dist/client/utils/*.d.ts",
35
+ "default": "./dist/client/utils/*.js"
36
+ },
37
+ "./client-hooks/*": {
38
+ "types": "./dist/client/hooks/*.d.ts",
39
+ "default": "./dist/client/hooks/*.js"
40
+ },
41
+ "./client-services/*": {
42
+ "types": "./dist/client/services/*.d.ts",
43
+ "default": "./dist/client/services/*.js"
44
+ },
45
+ "./server-utils/*": {
46
+ "types": "./dist/server/utils/*.d.ts",
47
+ "default": "./dist/server/utils/*.js"
48
+ },
49
+ "./server-services/*": {
50
+ "types": "./dist/server/services/*.d.ts",
51
+ "default": "./dist/server/services/*.js"
52
+ },
53
+ "./next.config": {
54
+ "types": "./dist/next.config.d.ts",
55
+ "default": "./dist/next.config.js"
56
+ },
57
+ "./theme.css": "./dist/styles/theme.css",
58
+ "./*": {
59
+ "types": "./dist/components/*/index.d.ts",
60
+ "default": "./dist/components/*/index.js"
61
+ }
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "!dist/tsconfig.tsbuildinfo",
66
+ "!dist/tsconfig.build.tsbuildinfo"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "scripts": {
72
+ "dev": "next dev --port 4000",
73
+ "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
74
+ "build:app": "next build",
75
+ "start": "next start",
76
+ "release": "release-it"
77
+ },
78
+ "dependencies": {
79
+ "@ark-ui/react": "^5.16.0",
80
+ "@date-fns/tz": "^1.2.0",
81
+ "@greatsumini/react-facebook-login": "^3.4.0",
82
+ "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
+ "@next/third-parties": "^15.4.1",
84
+ "@react-oauth/google": "^0.12.2",
85
+ "@sumsub/websdk": "^2.3.18",
86
+ "@sumsub/websdk-react": "^2.3.18",
87
+ "@tailwindcss/typography": "^0.5.16",
88
+ "date-fns": "^4.1.0",
89
+ "embla-carousel-autoplay": "^8.6.0",
90
+ "embla-carousel-react": "^8.6.0",
91
+ "is-mobile": "^5.0.0",
92
+ "lodash-es": "^4.17.21",
93
+ "next-recaptcha-v3": "^1.5.2",
94
+ "tailwind-merge": "^3.3.1",
95
+ "tailwind-variants": "^1.0.0",
96
+ "tailwind-zag": "^1.0.2",
97
+ "tiny-invariant": "^1.3.3",
98
+ "type-fest": "^4.41.0",
99
+ "usehooks-ts": "^3.1.1",
100
+ "zustand": "^5.0.6"
101
+ },
102
+ "devDependencies": {
103
+ "@hookform/resolvers": "5.1.1",
104
+ "@opexa/object-id": "0.1.6",
105
+ "@tailwindcss/postcss": "4",
106
+ "@tanstack/react-query": "5.83.0",
107
+ "@tanstack/react-query-devtools": "5.83.0",
108
+ "@total-typescript/ts-reset": "0.6.1",
109
+ "@types/lodash-es": "4.17.12",
110
+ "@types/node": "24",
111
+ "@types/react": "19.1.8",
112
+ "@types/react-dom": "19.1.6",
113
+ "copy-files-from-to": "3.12.1",
114
+ "next": "15.4.2-canary.0",
115
+ "react": "19.1.0",
116
+ "react-dom": "19.1.0",
117
+ "react-hook-form": "7.60.0",
118
+ "release-it": "19.0.3",
119
+ "tailwindcss": "4.1.11",
120
+ "tsc-alias": "1.8.16",
121
+ "typescript": "5",
122
+ "zod": "4.0.5"
123
+ },
124
+ "peerDependencies": {
125
+ "@hookform/resolvers": "^4.0.0 || ^5.0.0",
126
+ "@opexa/object-id": "^0.1.0",
127
+ "@tanstack/react-query": "^5.0.0",
128
+ "next": "^15.4.0-canary.1",
129
+ "react": "^19.0.0",
130
+ "react-dom": "^19.0.0",
131
+ "react-hook-form": "^7.0.0",
132
+ "tailwindcss": "^4.0.0",
133
+ "zod": "^3.0.0"
134
+ },
135
+ "release-it": {
136
+ "git": {
137
+ "commitMessage": "chore: release ${npm.name} v${version}",
138
+ "tagName": "${npm.name}@${version}"
139
+ },
140
+ "github": {
141
+ "release": false
142
+ },
143
+ "hooks": {
144
+ "after:bump": [
145
+ "pnpm build"
146
+ ]
147
+ }
148
+ },
149
+ "copyFiles": [
150
+ {
151
+ "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
152
+ "to": "dist/",
153
+ "toFlat": false
154
+ }
155
+ ],
156
+ "copyFilesSettings": {
157
+ "whenFileExists": "overwrite",
158
+ "removeSourceMappingURL": true,
159
+ "ignoreDotFilesAndFolders": false
160
+ }
161
+ }
@@ -1,7 +0,0 @@
1
- import { type UseDisclosureReturn } from '../../client/hooks/useDisclosure';
2
- interface GoogleDisconnectProps {
3
- onConfirmAction?: (ctx: UseDisclosureReturn) => React.ReactNode;
4
- children?: (ctx: UseDisclosureReturn) => React.ReactNode;
5
- }
6
- export declare function GoogleDisconnect(props: GoogleDisconnectProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,11 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { useDisclosure, } from '../../client/hooks/useDisclosure.js';
4
- import { LinkBrokenIcon } from '../../icons/LinkBrokenIcon.js';
5
- import { XIcon } from '../../icons/XIcon.js';
6
- import { Dialog } from '../../ui/Dialog/index.js';
7
- import { Portal } from '../../ui/Portal/index.js';
8
- export function GoogleDisconnect(props) {
9
- const disclosure = useDisclosure();
10
- return (_jsxs(_Fragment, { children: [props.children?.(disclosure), _jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: disclosure.open, onOpenChange: (details) => disclosure.setOpen(details.open), closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "mx-auto min-h-auto max-w-[25rem] overflow-y-auto rounded-xl p-6", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col ", children: [_jsx("div", { className: "mx-auto flex size-12 items-center justify-center rounded-full bg-bg-brand-secondary text-text-brand", children: _jsx(LinkBrokenIcon, {}) }), _jsx("h2", { className: "mb-1 text-center font-semibold text-lg xl:mt-xl", children: "Disconnect Google Account" }), _jsx("p", { className: "text-center text-sm text-text-tertiary-600 leading-2xl", children: "Are you sure you want to disconnect your Google account? This may affect your ability to log in or sync data." })] }), _jsx("div", { className: "pt-6", children: props.onConfirmAction?.(disclosure) })] }) })] }) })] }));
11
- }
@@ -1,2 +0,0 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
- export declare function LinkBrokenIcon(props: ComponentPropsWithRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function LinkBrokenIcon(props) {
3
- return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", ...props, children: _jsx("path", { d: "M8.5 15.5L15.5 8.49998M9 4V2M15 20V22M4 9H2M20 15H22M4.91421 4.91421L3.5 3.5M19.0858 19.0857L20.5 20.4999M12 17.6568L9.87871 19.7781C8.31662 21.3402 5.78396 21.3402 4.22186 19.7781C2.65976 18.216 2.65976 15.6833 4.22186 14.1212L6.34318 11.9999M17.6569 11.9999L19.7782 9.87859C21.3403 8.31649 21.3403 5.78383 19.7782 4.22174C18.2161 2.65964 15.6835 2.65964 14.1214 4.22174L12 6.34306", stroke: "#FEDF89", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
4
- }