@opexa/portal-components 0.0.259 → 0.0.261

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 (227) hide show
  1. package/dist/client/hooks/useCamera.d.ts +11 -16
  2. package/dist/client/hooks/useCamera.js +29 -57
  3. package/dist/client/hooks/useUploadFileMutation.d.ts +4 -0
  4. package/dist/client/hooks/useUploadFileMutation.js +24 -0
  5. package/dist/client/hooks/useUploadImageFileMutation.d.ts +2 -2
  6. package/dist/client/hooks/useUploadImageFileMutation.js +2 -2
  7. package/dist/client/hooks/useUploadPrivateImageFileMutation.d.ts +4 -0
  8. package/dist/client/hooks/useUploadPrivateImageFileMutation.js +24 -0
  9. package/dist/components/Bonus/Bonus.client.js +1 -1
  10. package/dist/components/Cashback/Cashback.client.js +1 -1
  11. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  12. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  13. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  14. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  15. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  16. package/dist/components/Disclaimer/Disclaimer.d.ts +1 -1
  17. package/dist/components/Disclaimer/DisclaimerV2.d.ts +1 -1
  18. package/dist/components/Disclaimer/DisclaimerV2.js +7 -5
  19. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  20. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  21. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  22. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  23. package/dist/components/KYC/AutoOpen.js +3 -8
  24. package/dist/components/KYC/utils.js +18 -18
  25. package/dist/components/Messages/Message.js +3 -2
  26. package/dist/components/Messages/MessagePopup.js +3 -2
  27. package/dist/components/News/News.js +1 -1
  28. package/dist/components/PortalProvider/FeatureFlag.js +1 -1
  29. package/dist/components/Promo/Promo.client.js +1 -1
  30. package/dist/components/Search/Search.lazy.js +1 -1
  31. package/dist/components/SignUp/SignUpForm.js +0 -4
  32. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  33. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  34. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  35. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  36. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  37. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  38. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  39. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  40. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  41. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  42. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  43. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  44. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  45. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  46. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  47. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  48. package/dist/components/shared/IdFrontImageField/IdFrontImageField.client.d.ts +15 -0
  49. package/dist/components/shared/IdFrontImageField/IdFrontImageField.client.js +140 -0
  50. package/dist/components/shared/IdFrontImageField/IdFrontImageField.d.ts +2 -0
  51. package/dist/components/shared/IdFrontImageField/IdFrontImageField.js +11 -0
  52. package/dist/components/shared/IdFrontImageField/IdFrontImageFieldContext.d.ts +6 -0
  53. package/dist/components/shared/IdFrontImageField/IdFrontImageFieldContext.js +2 -0
  54. package/dist/components/shared/IdFrontImageField/index.d.ts +1 -0
  55. package/dist/components/shared/IdFrontImageField/index.js +1 -0
  56. package/dist/components/shared/IdFrontImageField/useIdFrontImageField.d.ts +22 -0
  57. package/dist/components/shared/IdFrontImageField/useIdFrontImageField.js +111 -0
  58. package/dist/components/shared/SelfieImageField/SelfieImageField.client.d.ts +15 -0
  59. package/dist/components/shared/SelfieImageField/SelfieImageField.client.js +170 -0
  60. package/dist/components/shared/SelfieImageField/SelfieImageField.d.ts +2 -0
  61. package/dist/components/shared/SelfieImageField/SelfieImageField.js +11 -0
  62. package/dist/components/shared/SelfieImageField/SelfieImageFieldContext.d.ts +6 -0
  63. package/dist/components/shared/SelfieImageField/SelfieImageFieldContext.js +2 -0
  64. package/dist/components/shared/SelfieImageField/index.d.ts +1 -0
  65. package/dist/components/shared/SelfieImageField/index.js +1 -0
  66. package/dist/components/shared/SelfieImageField/useSelfieImageField.d.ts +23 -0
  67. package/dist/components/shared/SelfieImageField/useSelfieImageField.js +208 -0
  68. package/dist/handlers/deleteSession.d.ts +9 -0
  69. package/dist/handlers/deleteSession.js +19 -0
  70. package/dist/handlers/getHealthCheck.d.ts +9 -0
  71. package/dist/handlers/getHealthCheck.js +16 -0
  72. package/dist/handlers/getSession.d.ts +10 -0
  73. package/dist/handlers/getSession.js +63 -0
  74. package/dist/handlers/index.d.ts +40 -0
  75. package/dist/handlers/index.js +56 -0
  76. package/dist/handlers/patchSession.d.ts +10 -0
  77. package/dist/handlers/patchSession.js +26 -0
  78. package/dist/handlers/postAuthenticate.d.ts +10 -0
  79. package/dist/handlers/postAuthenticate.js +51 -0
  80. package/dist/handlers/postSession.d.ts +17 -0
  81. package/dist/handlers/postSession.js +78 -0
  82. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  83. package/dist/handlers/postTransformIdFrontImage.js +67 -0
  84. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  85. package/dist/handlers/postTransformSelfieImage.js +71 -0
  86. package/dist/services/file.d.ts +17 -12
  87. package/dist/services/file.js +21 -1
  88. package/dist/services/queries.d.ts +3 -1
  89. package/dist/services/queries.js +2568 -2532
  90. package/dist/styles/theme.css +694 -694
  91. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  92. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  93. package/dist/utils/mutationKeys.d.ts +2 -0
  94. package/dist/utils/mutationKeys.js +8 -0
  95. package/dist/utils/resizeImageSize.d.ts +1 -0
  96. package/dist/utils/resizeImageSize.js +5 -0
  97. package/package.json +166 -165
  98. package/dist/client/hooks/index.d.ts +0 -65
  99. package/dist/client/hooks/index.js +0 -65
  100. package/dist/client/services/index.d.ts +0 -4
  101. package/dist/client/services/index.js +0 -4
  102. package/dist/client/utils/index.d.ts +0 -3
  103. package/dist/client/utils/index.js +0 -3
  104. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  105. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  106. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  107. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  108. package/dist/components/CashbackBonus/index.d.ts +0 -1
  109. package/dist/components/CashbackBonus/index.js +0 -1
  110. package/dist/components/Empty.d.ts +0 -9
  111. package/dist/components/Empty.js +0 -7
  112. package/dist/components/Games/GameContext.d.ts +0 -2
  113. package/dist/components/Games/GameContext.js +0 -2
  114. package/dist/components/InfiniteScroll.d.ts +0 -10
  115. package/dist/components/InfiniteScroll.js +0 -25
  116. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  117. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  118. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  119. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  120. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  121. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  122. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  123. package/dist/components/JackpotCounter/index.d.ts +0 -1
  124. package/dist/components/JackpotCounter/index.js +0 -1
  125. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  126. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  127. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  128. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  129. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  130. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  131. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  132. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  133. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  134. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  135. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  136. package/dist/components/Jackpots/JackpotRules.js +0 -11
  137. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  138. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  139. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  140. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  141. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  142. package/dist/components/Jackpots/useJackpotData.js +0 -93
  143. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  144. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  145. package/dist/components/KYC/Header.d.ts +0 -1
  146. package/dist/components/KYC/Header.js +0 -8
  147. package/dist/components/KYC/Step1.d.ts +0 -1
  148. package/dist/components/KYC/Step1.js +0 -13
  149. package/dist/components/KYC/Step2.d.ts +0 -1
  150. package/dist/components/KYC/Step2.js +0 -13
  151. package/dist/components/KYC/Step3.d.ts +0 -1
  152. package/dist/components/KYC/Step3.js +0 -13
  153. package/dist/components/KYC/Step4.d.ts +0 -1
  154. package/dist/components/KYC/Step4.js +0 -7
  155. package/dist/components/Messages/MessageItem.d.ts +0 -4
  156. package/dist/components/Messages/MessageItem.js +0 -34
  157. package/dist/components/Promo/PromoContent.d.ts +0 -2
  158. package/dist/components/Promo/PromoContent.js +0 -9
  159. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  160. package/dist/components/Promos/PromoCarousel.js +0 -41
  161. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  162. package/dist/components/Promos/PromoGrid.js +0 -12
  163. package/dist/components/Promos/PromoItem.d.ts +0 -7
  164. package/dist/components/Promos/PromoItem.js +0 -10
  165. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  166. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  167. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  168. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  169. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  170. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  171. package/dist/components/TournamentCounter/index.d.ts +0 -1
  172. package/dist/components/TournamentCounter/index.js +0 -1
  173. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  174. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  175. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  176. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  177. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  178. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  179. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  180. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  181. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  182. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  183. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  184. package/dist/components/Tournaments/TournamentRules.js +0 -11
  185. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  186. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  187. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  188. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  189. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  190. package/dist/components/Tournaments/useTournamentData.js +0 -72
  191. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  192. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  193. package/dist/components/index.d.ts +0 -33
  194. package/dist/components/index.js +0 -33
  195. package/dist/constants/endpoints.d.ts +0 -10
  196. package/dist/constants/endpoints.js +0 -41
  197. package/dist/constants/envVars.d.ts +0 -5
  198. package/dist/constants/envVars.js +0 -28
  199. package/dist/constants/gameProviders.d.ts +0 -76
  200. package/dist/constants/gameProviders.js +0 -361
  201. package/dist/constants/gameTypes.d.ts +0 -3
  202. package/dist/constants/gameTypes.js +0 -64
  203. package/dist/constants/headerKeys.d.ts +0 -2
  204. package/dist/constants/headerKeys.js +0 -2
  205. package/dist/constants/secretQuestions.d.ts +0 -3
  206. package/dist/constants/secretQuestions.js +0 -24
  207. package/dist/constants/storageKeys.d.ts +0 -2
  208. package/dist/constants/storageKeys.js +0 -2
  209. package/dist/icons/index.d.ts +0 -65
  210. package/dist/icons/index.js +0 -65
  211. package/dist/images/hacksaw-gaming.png +0 -0
  212. package/dist/server/services/index.d.ts +0 -4
  213. package/dist/server/services/index.js +0 -4
  214. package/dist/server/utils/index.d.ts +0 -29
  215. package/dist/server/utils/index.js +0 -29
  216. package/dist/ui/Presence.d.ts +0 -2
  217. package/dist/ui/Presence.js +0 -7
  218. package/dist/ui/Prose.d.ts +0 -2
  219. package/dist/ui/Prose.js +0 -5
  220. package/dist/ui/index.d.ts +0 -26
  221. package/dist/ui/index.js +0 -26
  222. package/dist/utils/createErrorFromCode.d.ts +0 -2
  223. package/dist/utils/createErrorFromCode.js +0 -11
  224. package/dist/utils/index.d.ts +0 -17
  225. package/dist/utils/index.js +0 -17
  226. package/dist/utils/isMobile.d.ts +0 -5
  227. package/dist/utils/isMobile.js +0 -9
@@ -13,7 +13,7 @@ export declare const datePickerRecipe: import("tailwind-variants").TVReturnType<
13
13
  trigger: string;
14
14
  };
15
15
  };
16
- }, Record<"content" | "input" | "table" | "label" | "view" | "root" | "trigger" | "positioner" | "control" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl", string | string[]>, undefined, {
16
+ }, Record<"content" | "input" | "label" | "table" | "view" | "root" | "trigger" | "positioner" | "control" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl", string | string[]>, undefined, {
17
17
  size: {
18
18
  md: {
19
19
  control: string;
@@ -28,7 +28,7 @@ export declare const datePickerRecipe: import("tailwind-variants").TVReturnType<
28
28
  trigger: string;
29
29
  };
30
30
  };
31
- }, Record<"content" | "input" | "table" | "label" | "view" | "root" | "trigger" | "positioner" | "control" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl", string | string[]>, import("tailwind-variants").TVReturnType<{
31
+ }, Record<"content" | "input" | "label" | "table" | "view" | "root" | "trigger" | "positioner" | "control" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl", string | string[]>, import("tailwind-variants").TVReturnType<{
32
32
  size: {
33
33
  md: {
34
34
  control: string;
@@ -43,4 +43,4 @@ export declare const datePickerRecipe: import("tailwind-variants").TVReturnType<
43
43
  trigger: string;
44
44
  };
45
45
  };
46
- }, Record<"content" | "input" | "table" | "label" | "view" | "root" | "trigger" | "positioner" | "control" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl", string | string[]>, undefined, unknown, unknown, undefined>>;
46
+ }, Record<"content" | "input" | "label" | "table" | "view" | "root" | "trigger" | "positioner" | "control" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -32,6 +32,8 @@ export declare const getSignOutMutationKey: () => MutationKey;
32
32
  export declare const getSignUpMutationKey: () => MutationKey;
33
33
  export declare const getCompleteOnboardingMutationKey: () => MutationKey;
34
34
  export declare const getSkipOnboardingMutationKey: () => MutationKey;
35
+ export declare const getUploadFileMutationKey: () => MutationKey;
35
36
  export declare const getUploadImageFileMutationKey: () => MutationKey;
37
+ export declare const getUploadPrivateImageFileMutationKey: () => MutationKey;
36
38
  export declare const getResetPasswordMutationKey: () => MutationKey;
37
39
  export declare const getUpdateSessionMutationKey: () => MutationKey;
@@ -122,10 +122,18 @@ export const getSkipOnboardingMutationKey = () => [
122
122
  PARENT_KEY,
123
123
  'skipOnboarding',
124
124
  ];
125
+ export const getUploadFileMutationKey = () => [
126
+ PARENT_KEY,
127
+ 'uploadFile',
128
+ ];
125
129
  export const getUploadImageFileMutationKey = () => [
126
130
  PARENT_KEY,
127
131
  'uploadImageFile',
128
132
  ];
133
+ export const getUploadPrivateImageFileMutationKey = () => [
134
+ PARENT_KEY,
135
+ 'uploadPrivateImageFile',
136
+ ];
129
137
  export const getResetPasswordMutationKey = () => [
130
138
  PARENT_KEY,
131
139
  'resetPassword',
@@ -1 +1,2 @@
1
1
  export declare const resizeFile: (file: File) => Promise<unknown>;
2
+ export declare const resizeFileBase64: (file: File) => Promise<string>;
@@ -4,3 +4,8 @@ export const resizeFile = (file) => new Promise((resolve) => {
4
4
  resolve(uri);
5
5
  }, 'file');
6
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,165 +1,166 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.259",
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.d.ts",
19
- "default": "./dist/handlers.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
- "lint": "next lint",
77
- "release": "release-it"
78
- },
79
- "dependencies": {
80
- "@ark-ui/react": "^5.16.0",
81
- "@date-fns/tz": "^1.2.0",
82
- "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
- "@next/third-parties": "^15.3.4",
84
- "@tailwindcss/typography": "^0.5.16",
85
- "date-fns": "^4.1.0",
86
- "embla-carousel-autoplay": "^8.6.0",
87
- "embla-carousel-react": "^8.6.0",
88
- "face-api.js": "^0.22.2",
89
- "is-mobile": "^5.0.0",
90
- "lodash-es": "^4.17.21",
91
- "react-image-file-resizer": "^0.4.8",
92
- "tailwind-merge": "^3.3.1",
93
- "tailwind-variants": "^1.0.0",
94
- "tailwind-zag": "^1.0.2",
95
- "tiny-invariant": "^1.3.3",
96
- "type-fest": "^4.41.0",
97
- "usehooks-ts": "^3.1.1",
98
- "zustand": "^5.0.6"
99
- },
100
- "devDependencies": {
101
- "@eslint/eslintrc": "3",
102
- "@hookform/resolvers": "5.1.1",
103
- "@opexa/object-id": "0.1.6",
104
- "@tailwindcss/postcss": "4",
105
- "@tanstack/react-query": "5.81.5",
106
- "@tanstack/react-query-devtools": "5.81.5",
107
- "@total-typescript/ts-reset": "0.6.1",
108
- "@types/lodash-es": "4.17.12",
109
- "@types/node": "24",
110
- "@types/react": "19",
111
- "@types/react-dom": "19",
112
- "copy-files-from-to": "3.12.1",
113
- "eslint": "9",
114
- "eslint-config-next": "15.3.4",
115
- "next": "15.4.0-canary.61",
116
- "react": "19.1.0",
117
- "react-dom": "19.1.0",
118
- "react-hook-form": "7.59.0",
119
- "release-it": "19.0.3",
120
- "tailwindcss": "4.1.11",
121
- "tsc-alias": "1.8.16",
122
- "typescript": "5",
123
- "zod": "3.25.71"
124
- },
125
- "peerDependencies": {
126
- "@hookform/resolvers": "^4.0.0 || ^5.0.0",
127
- "@opexa/object-id": "^0.1.0",
128
- "@tanstack/react-query": "^5.0.0",
129
- "next": "^15.4.0-canary.1",
130
- "react": "^19.0.0",
131
- "react-dom": "^19.0.0",
132
- "react-hook-form": "^7.0.0",
133
- "tailwindcss": "^4.0.0",
134
- "zod": "^3.0.0"
135
- },
136
- "release-it": {
137
- "git": {
138
- "commitMessage": "chore: release ${npm.name} v${version}",
139
- "tagName": "${npm.name}@${version}"
140
- },
141
- "github": {
142
- "release": false
143
- },
144
- "hooks": {
145
- "before:bump": [
146
- "pnpm lint"
147
- ],
148
- "after:bump": [
149
- "pnpm build"
150
- ]
151
- }
152
- },
153
- "copyFiles": [
154
- {
155
- "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
156
- "to": "dist/",
157
- "toFlat": false
158
- }
159
- ],
160
- "copyFilesSettings": {
161
- "whenFileExists": "overwrite",
162
- "removeSourceMappingURL": true,
163
- "ignoreDotFilesAndFolders": false
164
- }
165
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.261",
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
+ "lint": "next lint",
77
+ "release": "release-it"
78
+ },
79
+ "dependencies": {
80
+ "@ark-ui/react": "^5.16.0",
81
+ "@date-fns/tz": "^1.2.0",
82
+ "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
+ "@next/third-parties": "^15.3.4",
84
+ "@tailwindcss/typography": "^0.5.16",
85
+ "date-fns": "^4.1.0",
86
+ "embla-carousel-autoplay": "^8.6.0",
87
+ "embla-carousel-react": "^8.6.0",
88
+ "face-api.js": "^0.22.2",
89
+ "is-mobile": "^5.0.0",
90
+ "lodash-es": "^4.17.21",
91
+ "react-image-file-resizer": "^0.4.8",
92
+ "sharp": "^0.34.2",
93
+ "tailwind-merge": "^3.3.1",
94
+ "tailwind-variants": "^1.0.0",
95
+ "tailwind-zag": "^1.0.2",
96
+ "tiny-invariant": "^1.3.3",
97
+ "type-fest": "^4.41.0",
98
+ "usehooks-ts": "^3.1.1",
99
+ "zustand": "^5.0.6"
100
+ },
101
+ "devDependencies": {
102
+ "@eslint/eslintrc": "3",
103
+ "@hookform/resolvers": "5.1.1",
104
+ "@opexa/object-id": "0.1.6",
105
+ "@tailwindcss/postcss": "4",
106
+ "@tanstack/react-query": "5.81.5",
107
+ "@tanstack/react-query-devtools": "5.81.5",
108
+ "@total-typescript/ts-reset": "0.6.1",
109
+ "@types/lodash-es": "4.17.12",
110
+ "@types/node": "24",
111
+ "@types/react": "19",
112
+ "@types/react-dom": "19",
113
+ "copy-files-from-to": "3.12.1",
114
+ "eslint": "9",
115
+ "eslint-config-next": "15.3.4",
116
+ "next": "15.4.0-canary.61",
117
+ "react": "19.1.0",
118
+ "react-dom": "19.1.0",
119
+ "react-hook-form": "7.59.0",
120
+ "release-it": "19.0.3",
121
+ "tailwindcss": "4.1.11",
122
+ "tsc-alias": "1.8.16",
123
+ "typescript": "5",
124
+ "zod": "3.25.71"
125
+ },
126
+ "peerDependencies": {
127
+ "@hookform/resolvers": "^4.0.0 || ^5.0.0",
128
+ "@opexa/object-id": "^0.1.0",
129
+ "@tanstack/react-query": "^5.0.0",
130
+ "next": "^15.4.0-canary.1",
131
+ "react": "^19.0.0",
132
+ "react-dom": "^19.0.0",
133
+ "react-hook-form": "^7.0.0",
134
+ "tailwindcss": "^4.0.0",
135
+ "zod": "^3.0.0"
136
+ },
137
+ "release-it": {
138
+ "git": {
139
+ "commitMessage": "chore: release ${npm.name} v${version}",
140
+ "tagName": "${npm.name}@${version}"
141
+ },
142
+ "github": {
143
+ "release": false
144
+ },
145
+ "hooks": {
146
+ "before:bump": [
147
+ "pnpm lint"
148
+ ],
149
+ "after:bump": [
150
+ "pnpm build"
151
+ ]
152
+ }
153
+ },
154
+ "copyFiles": [
155
+ {
156
+ "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
157
+ "to": "dist/",
158
+ "toFlat": false
159
+ }
160
+ ],
161
+ "copyFilesSettings": {
162
+ "whenFileExists": "overwrite",
163
+ "removeSourceMappingURL": true,
164
+ "ignoreDotFilesAndFolders": false
165
+ }
166
+ }
@@ -1,65 +0,0 @@
1
- export * from './useAccountQuery';
2
- export * from './useAuthenticateMutation';
3
- export * from './useAvailablePromosQuery';
4
- export * from './useAvailableQuestsQuery';
5
- export * from './useBetRecordsQuery';
6
- export * from './useBonusesQuery';
7
- export * from './useBonusQuery';
8
- export * from './useCashbackBonusesQuery';
9
- export * from './useCashbackBonusQuery';
10
- export * from './useCashbackQuery';
11
- export * from './useCashbacksQuery';
12
- export * from './useCheckInDailyCheckInQuestMutation';
13
- export * from './useChunk';
14
- export * from './useClaimCashbackBonusMutation';
15
- export * from './useClaimSpotBonusMutation';
16
- export * from './useControllableState';
17
- export * from './useCooldown';
18
- export * from './useCreateGameSessionMutation';
19
- export * from './useCreateGCashDepositMutation';
20
- export * from './useCreateGCashWithdrawalMutation';
21
- export * from './useCreateInstapayWithdrawalMutation';
22
- export * from './useCreateMayaAppDepositMutation';
23
- export * from './useCreateMayaAppWithdrawalMutation';
24
- export * from './useCreateMayaDepositMutation';
25
- export * from './useCreateMayaWithdrawalMutation';
26
- export * from './useCreateOnlineBankDepositMutation';
27
- export * from './useCreateQRPHDepositMutation';
28
- export * from './useDepositQuery';
29
- export * from './useDepositRecordsQuery';
30
- export * from './useDepositsCountQuery';
31
- export * from './useDisclosure';
32
- export * from './useEndGameSessionMutation';
33
- export * from './useFavoriteGamesQuery';
34
- export * from './useGamesQuery';
35
- export * from './useGlobalStore';
36
- export * from './useInfiniteQueryHelper';
37
- export * from './useInstapayBankListQuery';
38
- export * from './useIsMayaSessionValidQuery';
39
- export * from './useJackpotsQuery';
40
- export * from './useLocaleInfo';
41
- export * from './useMarkGameAsFavoriteMutation';
42
- export * from './useMarkMessageAsReadMutation';
43
- export * from './useMemberVerificationQuery';
44
- export * from './useMessagesQuery';
45
- export * from './useMobileNumberParser';
46
- export * from './useOnMMA';
47
- export * from './usePaymentSettingsQuery';
48
- export * from './usePlatformQuery';
49
- export * from './useProfileCompletionQuery';
50
- export * from './usePromoQuery';
51
- export * from './usePromosQuery';
52
- export * from './useRemainingTime';
53
- export * from './useSendVerificationCodeMutation';
54
- export * from './useSessionQuery';
55
- export * from './useSignInMutation';
56
- export * from './useSignOutMutation';
57
- export * from './useSignUpMutation';
58
- export * from './useTopWinsQuery';
59
- export * from './useTournamentsQuery';
60
- export * from './useTransactionRecordsQuery';
61
- export * from './useUnmarkGameAsFavoriteMutation';
62
- export * from './useUnreadMessagesCountQuery';
63
- export * from './useUpdateAccountMutation';
64
- export * from './useWalletQuery';
65
- export * from './useWithdrawalRecordsQuery';
@@ -1,65 +0,0 @@
1
- export * from './useAccountQuery.js';
2
- export * from './useAuthenticateMutation.js';
3
- export * from './useAvailablePromosQuery.js';
4
- export * from './useAvailableQuestsQuery.js';
5
- export * from './useBetRecordsQuery.js';
6
- export * from './useBonusesQuery.js';
7
- export * from './useBonusQuery.js';
8
- export * from './useCashbackBonusesQuery.js';
9
- export * from './useCashbackBonusQuery.js';
10
- export * from './useCashbackQuery.js';
11
- export * from './useCashbacksQuery.js';
12
- export * from './useCheckInDailyCheckInQuestMutation.js';
13
- export * from './useChunk.js';
14
- export * from './useClaimCashbackBonusMutation.js';
15
- export * from './useClaimSpotBonusMutation.js';
16
- export * from './useControllableState.js';
17
- export * from './useCooldown.js';
18
- export * from './useCreateGameSessionMutation.js';
19
- export * from './useCreateGCashDepositMutation.js';
20
- export * from './useCreateGCashWithdrawalMutation.js';
21
- export * from './useCreateInstapayWithdrawalMutation.js';
22
- export * from './useCreateMayaAppDepositMutation.js';
23
- export * from './useCreateMayaAppWithdrawalMutation.js';
24
- export * from './useCreateMayaDepositMutation.js';
25
- export * from './useCreateMayaWithdrawalMutation.js';
26
- export * from './useCreateOnlineBankDepositMutation.js';
27
- export * from './useCreateQRPHDepositMutation.js';
28
- export * from './useDepositQuery.js';
29
- export * from './useDepositRecordsQuery.js';
30
- export * from './useDepositsCountQuery.js';
31
- export * from './useDisclosure.js';
32
- export * from './useEndGameSessionMutation.js';
33
- export * from './useFavoriteGamesQuery.js';
34
- export * from './useGamesQuery.js';
35
- export * from './useGlobalStore.js';
36
- export * from './useInfiniteQueryHelper.js';
37
- export * from './useInstapayBankListQuery.js';
38
- export * from './useIsMayaSessionValidQuery.js';
39
- export * from './useJackpotsQuery.js';
40
- export * from './useLocaleInfo.js';
41
- export * from './useMarkGameAsFavoriteMutation.js';
42
- export * from './useMarkMessageAsReadMutation.js';
43
- export * from './useMemberVerificationQuery.js';
44
- export * from './useMessagesQuery.js';
45
- export * from './useMobileNumberParser.js';
46
- export * from './useOnMMA.js';
47
- export * from './usePaymentSettingsQuery.js';
48
- export * from './usePlatformQuery.js';
49
- export * from './useProfileCompletionQuery.js';
50
- export * from './usePromoQuery.js';
51
- export * from './usePromosQuery.js';
52
- export * from './useRemainingTime.js';
53
- export * from './useSendVerificationCodeMutation.js';
54
- export * from './useSessionQuery.js';
55
- export * from './useSignInMutation.js';
56
- export * from './useSignOutMutation.js';
57
- export * from './useSignUpMutation.js';
58
- export * from './useTopWinsQuery.js';
59
- export * from './useTournamentsQuery.js';
60
- export * from './useTransactionRecordsQuery.js';
61
- export * from './useUnmarkGameAsFavoriteMutation.js';
62
- export * from './useUnreadMessagesCountQuery.js';
63
- export * from './useUpdateAccountMutation.js';
64
- export * from './useWalletQuery.js';
65
- export * from './useWithdrawalRecordsQuery.js';
@@ -1,4 +0,0 @@
1
- export * from './authenticate';
2
- export * from './getSession';
3
- export * from './signIn';
4
- export * from './signOut';
@@ -1,4 +0,0 @@
1
- export * from './authenticate.js';
2
- export * from './getSession.js';
3
- export * from './signIn.js';
4
- export * from './signOut.js';
@@ -1,3 +0,0 @@
1
- export * from './createContext';
2
- export * from './createRecipeContext';
3
- export * from './toaster';
@@ -1,3 +0,0 @@
1
- export * from './createContext.js';
2
- export * from './createRecipeContext.js';
3
- export * from './toaster.js';
@@ -1,2 +0,0 @@
1
- import type { CashbackBonusProps } from './CashbackBonus';
2
- export declare function CashbackBonus__client(props: CashbackBonusProps): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import Image from 'next/image';
4
- import Link from 'next/link';
5
- import { ChevronLeftIcon, ChevronRightIcon, StopWatchIcon } from '../../icons/index.js';
6
- import { Badge, Collapsible, Progress, Prose } from '../../ui/index.js';
7
- export function CashbackBonus__client(props) {
8
- return (_jsxs("div", { className: props.className, children: [_jsxs(Link, { href: props.viewAllUrl ?? '/rewards', className: "text-button-tertiary-fg flex items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to Rewards"] }), _jsx(Image, { src: "https://s3.ap-east-1.amazonaws.com/opexa-assets.opexasystem.com/assets/BSxIXEsa59_zzMAR27-ALLDAYREBATE06-STATIC-WEB-HB-1920x1080.png", alt: "", width: 1024, height: 600, className: "mt-3xl h-auto w-full rounded-xl" }), _jsxs(Badge.Root, { size: "lg", round: false, colorScheme: "brand", className: "mt-xl lg:mt-6", children: [_jsx(Badge.Icon, { children: _jsx(StopWatchIcon, {}) }), _jsx(Badge.Label, { children: "9d:10h:11m" })] }), _jsx("h1", { className: "text-text-primary-900 mt-xl text-2xl font-semibold lg:mt-6 lg:text-3xl", children: "50 PHP First Deposit Bonus" }), _jsx("p", { className: "text-text-primary-brand mt-xl text-base lg:mt-6 lg:text-lg", children: "Complete the wagering before time runs out to convert your bonus balance into real money!" }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl flex items-center justify-between rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsx("p", { children: "Your bonus" }), _jsxs("p", { children: [_jsx("span", { className: "text-text-primary-900", children: "20.00" }), " / 50.00 PHP"] })] }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl flex items-center justify-between rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsx("p", { children: "Required Turnover" }), _jsx("p", { children: "5x" })] }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { children: "Wagering" }), _jsx("p", { children: "400/1000" })] }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) })] }), _jsxs(Collapsible.Root, { className: "mt-xl lg:mt-6", children: [_jsxs(Collapsible.Trigger, { className: "text-button-tertiary-fg flex w-fit items-center justify-center gap-sm text-sm font-semibold lg:mx-auto", children: ["Game Provider Contribution", _jsx(Collapsible.Indicator, { asChild: true, children: _jsx(ChevronRightIcon, { className: "size-5" }) })] }), _jsxs(Collapsible.Content, { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl space-y-1.5 rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Playson" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "25%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Betsoft Gaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "13%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Microgaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "50%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Realtime Gaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "10%" })] })] })] }), _jsxs(Prose, { className: "mt-xl lg:mt-6", children: [_jsx("h3", { children: "How to get bonus" }), _jsxs("ol", { children: [_jsx("li", { children: "All OFWin members are eligible for this program." }), _jsx("li", { children: "50 PHP of game credit will be automatically credited to the new member account upon completion of first deposit Auctor vel in vitae placerat." }), _jsx("li", { children: "Member must reach a 5x turnover requirement before a withdrawal can be made. Attempting to make a withdrawal before this turnover requirement is completed could cause your bonus to be voided." }), _jsx("li", { children: "Players will have 10 days from the date the bonus is awarded to complete the rollover requirement." }), _jsx("li", { children: "Bets used to meet other bonus rollover requirements will not count toward this promotion." })] }), _jsx("h3", { children: "Terms and Conditions" }), _jsxs("ul", { children: [_jsx("li", { children: "Only one account per player is allowed. No same IP address/bank account name allowed. Players who have multiple or fraudulent accounts will not be qualified for the promotion." }), _jsx("li", { children: "Players that are found to have any duplicate accounts or those who participate in fraudulent activities may have their funds forfeited and their accounts closed." }), _jsx("li", { children: "OFWin reserves the right to amend or cancel this Referral Program at any time. OFWin General Terms and Conditions apply." })] })] })] }));
9
- }
@@ -1,10 +0,0 @@
1
- export interface CashbackBonusProps {
2
- id: string;
3
- className?: string;
4
- /**
5
- * @description URL for the bonuses details page
6
- * @default "/rewards"
7
- */
8
- viewAllUrl?: string;
9
- }
10
- export declare function CashbackBonus(props: CashbackBonusProps): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CashbackBonus__client } from './CashbackBonus.client.js';
3
- export async function CashbackBonus(props) {
4
- return _jsx(CashbackBonus__client, { ...props });
5
- }
@@ -1 +0,0 @@
1
- export * from './CashbackBonus';
@@ -1 +0,0 @@
1
- export * from './CashbackBonus.js';
@@ -1,9 +0,0 @@
1
- import type { ComponentProps, ComponentType } from 'react';
2
- export interface EmptyProps {
3
- icon: ComponentType<ComponentProps<'svg'>>;
4
- title: string;
5
- message: string;
6
- style?: React.CSSProperties;
7
- className?: string;
8
- }
9
- export declare function Empty(props: EmptyProps): import("react/jsx-runtime").JSX.Element;