@opexa/portal-components 0.0.3 → 0.0.4

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 (333) hide show
  1. package/dist/components/Account/Account.jsx +10 -10
  2. package/dist/components/Account/index.d.ts +1 -1
  3. package/dist/components/Account/index.js +1 -1
  4. package/dist/components/Banner/Banner.jsx +1 -1
  5. package/dist/components/Banner/index.d.ts +1 -1
  6. package/dist/components/Banner/index.js +1 -1
  7. package/dist/components/BetRecords/BetRecords.jsx +1 -1
  8. package/dist/components/BetRecords/BetRecordsContent.d.ts +1 -1
  9. package/dist/components/BetRecords/BetRecordsContent.jsx +13 -13
  10. package/dist/components/BetRecords/index.d.ts +1 -1
  11. package/dist/components/BetRecords/index.js +1 -1
  12. package/dist/components/DepositWithdrawal/AmountChoices.jsx +5 -5
  13. package/dist/components/DepositWithdrawal/AvailablePromos.jsx +7 -7
  14. package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +12 -12
  15. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +16 -16
  16. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +18 -18
  17. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.jsx +1 -1
  18. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +16 -16
  19. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +6 -6
  20. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +15 -15
  21. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +1 -1
  22. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +1 -1
  23. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +5 -5
  24. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +3 -3
  25. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +6 -6
  26. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +13 -13
  27. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +1 -1
  28. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +5 -5
  29. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +3 -3
  30. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +3 -3
  31. package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +9 -9
  32. package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +3 -3
  33. package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +1 -1
  34. package/dist/components/DepositWithdrawal/PaymentMethods.jsx +4 -4
  35. package/dist/components/DepositWithdrawal/index.d.ts +1 -1
  36. package/dist/components/DepositWithdrawal/index.js +1 -1
  37. package/dist/components/Disclaimer/Disclaimer.jsx +2 -2
  38. package/dist/components/Disclaimer/index.d.ts +1 -1
  39. package/dist/components/Disclaimer/index.js +1 -1
  40. package/dist/components/Disclaimer/useDisclaimer.jsx +2 -2
  41. package/dist/components/Empty/Empty.jsx +1 -1
  42. package/dist/components/Empty/index.d.ts +1 -1
  43. package/dist/components/Empty/index.js +1 -1
  44. package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +1 -1
  45. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.jsx +3 -3
  46. package/dist/components/FeatureFlagProvider/index.d.ts +2 -2
  47. package/dist/components/FeatureFlagProvider/index.js +2 -2
  48. package/dist/components/GameLaunch/GameLaunch.jsx +9 -9
  49. package/dist/components/GameLaunch/GameLaunchTrigger.jsx +5 -5
  50. package/dist/components/Games/Games.jsx +2 -2
  51. package/dist/components/Games/GamesContent.d.ts +1 -1
  52. package/dist/components/Games/GamesContent.jsx +7 -7
  53. package/dist/components/Games/index.d.ts +1 -1
  54. package/dist/components/Games/index.js +1 -1
  55. package/dist/components/JackpotCounter/JackpotCounter.jsx +1 -1
  56. package/dist/components/JackpotCounter/JackpotCounterContent.d.ts +1 -1
  57. package/dist/components/JackpotCounter/JackpotCounterContent.jsx +6 -6
  58. package/dist/components/JackpotCounter/JackpotCounterItem.jsx +5 -5
  59. package/dist/components/JackpotCounter/index.d.ts +1 -1
  60. package/dist/components/JackpotCounter/index.js +1 -1
  61. package/dist/components/Marquee/index.d.ts +1 -1
  62. package/dist/components/Marquee/index.js +1 -1
  63. package/dist/components/PortalProvider/PortalProvider.jsx +6 -6
  64. package/dist/components/PortalProvider/Providers.jsx +4 -4
  65. package/dist/components/PortalProvider/index.d.ts +1 -1
  66. package/dist/components/PortalProvider/index.js +1 -1
  67. package/dist/components/Promo/Promo.jsx +2 -2
  68. package/dist/components/Promo/PromoContent.d.ts +1 -1
  69. package/dist/components/Promo/PromoContent.jsx +1 -1
  70. package/dist/components/Promo/index.d.ts +1 -1
  71. package/dist/components/Promo/index.js +1 -1
  72. package/dist/components/Promos/PromoCarousel.d.ts +1 -1
  73. package/dist/components/Promos/PromoCarousel.jsx +8 -8
  74. package/dist/components/Promos/PromoGrid.d.ts +1 -1
  75. package/dist/components/Promos/PromoGrid.jsx +4 -4
  76. package/dist/components/Promos/PromoItem.jsx +1 -1
  77. package/dist/components/Promos/Promos.jsx +3 -3
  78. package/dist/components/Promos/PromosContent.d.ts +1 -1
  79. package/dist/components/Promos/PromosContent.jsx +8 -8
  80. package/dist/components/Promos/index.d.ts +1 -1
  81. package/dist/components/Promos/index.js +1 -1
  82. package/dist/components/Protected/Protected.jsx +1 -1
  83. package/dist/components/Protected/index.d.ts +1 -1
  84. package/dist/components/Protected/index.js +1 -1
  85. package/dist/components/SignIn/SignIn.jsx +4 -4
  86. package/dist/components/SignIn/SignInForm.jsx +12 -12
  87. package/dist/components/SignIn/index.d.ts +1 -1
  88. package/dist/components/SignIn/index.js +1 -1
  89. package/dist/components/SignUp/SignUp.jsx +4 -4
  90. package/dist/components/SignUp/SignUpForm.jsx +11 -11
  91. package/dist/components/SignUp/index.d.ts +1 -1
  92. package/dist/components/SignUp/index.js +1 -1
  93. package/dist/components/TopWins/TopWins.jsx +1 -1
  94. package/dist/components/TopWins/TopWinsContent.d.ts +1 -1
  95. package/dist/components/TopWins/TopWinsContent.jsx +4 -4
  96. package/dist/components/TopWins/index.d.ts +1 -1
  97. package/dist/components/TopWins/index.js +1 -1
  98. package/dist/components/TournamentCounter/TournamentCounter.jsx +1 -1
  99. package/dist/components/TournamentCounter/TournamentCounterContent.d.ts +1 -1
  100. package/dist/components/TournamentCounter/TournamentCounterContent.jsx +6 -6
  101. package/dist/components/TournamentCounter/TournamentCounterItem.jsx +3 -3
  102. package/dist/components/TournamentCounter/index.d.ts +1 -1
  103. package/dist/components/TournamentCounter/index.js +1 -1
  104. package/dist/components/TransactionRecords/DepositRecordsTable.jsx +13 -13
  105. package/dist/components/TransactionRecords/TableFilters.d.ts +1 -1
  106. package/dist/components/TransactionRecords/TableFilters.jsx +7 -7
  107. package/dist/components/TransactionRecords/TransactionRecords.jsx +4 -4
  108. package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +13 -13
  109. package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +13 -13
  110. package/dist/components/TransactionRecords/index.d.ts +1 -1
  111. package/dist/components/TransactionRecords/index.js +1 -1
  112. package/dist/handlers.js +1 -1
  113. package/dist/hooks/useAccountQuery/prefetchAccountQuery.js +4 -4
  114. package/dist/hooks/useAccountQuery/useAccountQuery.d.ts +1 -1
  115. package/dist/hooks/useAccountQuery/useAccountQuery.js +6 -6
  116. package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.d.ts +1 -1
  117. package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.js +3 -3
  118. package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.js +4 -4
  119. package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.d.ts +1 -1
  120. package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.js +6 -6
  121. package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.js +4 -4
  122. package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.d.ts +1 -1
  123. package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.js +6 -6
  124. package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.js +3 -3
  125. package/dist/hooks/useCashbacksQuery/useCashbacksQuery.d.ts +1 -1
  126. package/dist/hooks/useCashbacksQuery/useCashbacksQuery.js +2 -2
  127. package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.d.ts +1 -1
  128. package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.js +6 -6
  129. package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.d.ts +1 -1
  130. package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.js +6 -6
  131. package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.d.ts +1 -1
  132. package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.js +6 -6
  133. package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.d.ts +1 -1
  134. package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.js +6 -6
  135. package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.d.ts +1 -1
  136. package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.js +6 -6
  137. package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.d.ts +1 -1
  138. package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.js +6 -6
  139. package/dist/hooks/useDepositQuery/prefetchDepositQuery.js +4 -4
  140. package/dist/hooks/useDepositQuery/useDepositQuery.d.ts +1 -1
  141. package/dist/hooks/useDepositQuery/useDepositQuery.js +6 -6
  142. package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.js +4 -4
  143. package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.d.ts +1 -1
  144. package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.js +6 -6
  145. package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.js +4 -4
  146. package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.d.ts +1 -1
  147. package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.js +6 -6
  148. package/dist/hooks/useDisclosure.js +1 -1
  149. package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.d.ts +1 -1
  150. package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.js +5 -5
  151. package/dist/hooks/useGamesQuery/prefetchGamesQuery.js +3 -3
  152. package/dist/hooks/useGamesQuery/useGamesQuery.d.ts +1 -1
  153. package/dist/hooks/useGamesQuery/useGamesQuery.js +2 -2
  154. package/dist/hooks/useInfiniteQueryHelper.d.ts +1 -1
  155. package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.js +4 -4
  156. package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.d.ts +1 -1
  157. package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.js +6 -6
  158. package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.js +4 -4
  159. package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.d.ts +1 -1
  160. package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.js +6 -6
  161. package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.js +3 -3
  162. package/dist/hooks/useJackpotsQuery/useJackpotsQuery.d.ts +1 -1
  163. package/dist/hooks/useJackpotsQuery/useJackpotsQuery.js +2 -2
  164. package/dist/hooks/useLocaleInfo.d.ts +1 -1
  165. package/dist/hooks/useLocaleInfo.js +2 -2
  166. package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.js +4 -4
  167. package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.d.ts +1 -1
  168. package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.js +6 -6
  169. package/dist/hooks/useMobileNumberParser.js +2 -2
  170. package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.js +4 -4
  171. package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.d.ts +1 -1
  172. package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.js +6 -6
  173. package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.js +3 -3
  174. package/dist/hooks/usePlatformQuery/usePlatformQuery.d.ts +1 -1
  175. package/dist/hooks/usePlatformQuery/usePlatformQuery.js +2 -2
  176. package/dist/hooks/usePromoQuery/prefetchPromoQuery.js +3 -3
  177. package/dist/hooks/usePromoQuery/usePromoQuery.d.ts +1 -1
  178. package/dist/hooks/usePromoQuery/usePromoQuery.js +2 -2
  179. package/dist/hooks/usePromosQuery/prefetchPromosQuery.js +3 -3
  180. package/dist/hooks/usePromosQuery/usePromosQuery.d.ts +1 -1
  181. package/dist/hooks/usePromosQuery/usePromosQuery.js +2 -2
  182. package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.d.ts +1 -1
  183. package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js +2 -2
  184. package/dist/hooks/useSessionQuery/prefetchSessionQuery.js +3 -3
  185. package/dist/hooks/useSessionQuery/useSessionQuery.d.ts +1 -1
  186. package/dist/hooks/useSessionQuery/useSessionQuery.js +2 -2
  187. package/dist/hooks/useSignOutMutation/useSignOutMutation.d.ts +1 -1
  188. package/dist/hooks/useSignOutMutation/useSignOutMutation.js +4 -4
  189. package/dist/hooks/useSignUpMutation/useSignUpMutation.d.ts +1 -1
  190. package/dist/hooks/useSignUpMutation/useSignUpMutation.js +2 -2
  191. package/dist/hooks/useSigninMutation/useSignInMutation.d.ts +2 -2
  192. package/dist/hooks/useSigninMutation/useSignInMutation.js +4 -4
  193. package/dist/hooks/useSiteQuery/prefetchSiteQuery.js +3 -3
  194. package/dist/hooks/useSiteQuery/useSiteQuery.d.ts +1 -1
  195. package/dist/hooks/useSiteQuery/useSiteQuery.js +2 -2
  196. package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.js +3 -3
  197. package/dist/hooks/useTopWinsQuery/useTopWinsQuery.d.ts +1 -1
  198. package/dist/hooks/useTopWinsQuery/useTopWinsQuery.js +2 -2
  199. package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.js +3 -3
  200. package/dist/hooks/useTournamentsQuery/useTournamentsQuery.d.ts +1 -1
  201. package/dist/hooks/useTournamentsQuery/useTournamentsQuery.js +2 -2
  202. package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.js +4 -4
  203. package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.d.ts +1 -1
  204. package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.js +6 -6
  205. package/dist/hooks/useWalletQuery/prefetchWalletQuery.js +4 -4
  206. package/dist/hooks/useWalletQuery/useWalletQuery.d.ts +1 -1
  207. package/dist/hooks/useWalletQuery/useWalletQuery.js +6 -6
  208. package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.js +1 -4
  209. package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.js +4 -4
  210. package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.d.ts +1 -1
  211. package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.js +6 -6
  212. package/dist/images/QRPh.png +0 -0
  213. package/dist/images/ball.png +0 -0
  214. package/dist/images/bank-icon.png +0 -0
  215. package/dist/images/card.png +0 -0
  216. package/dist/images/close-chest.png +0 -0
  217. package/dist/images/gcash.png +0 -0
  218. package/dist/images/images/QRPh.png +0 -0
  219. package/dist/images/images/ball.png +0 -0
  220. package/dist/images/images/bank-icon.png +0 -0
  221. package/dist/images/images/card.png +0 -0
  222. package/dist/images/images/close-chest.png +0 -0
  223. package/dist/images/images/gcash.png +0 -0
  224. package/dist/images/images/maya.png +0 -0
  225. package/dist/images/images/online-bank.png +0 -0
  226. package/dist/images/images/open-chest.png +0 -0
  227. package/dist/images/images/pagcor.png +0 -0
  228. package/dist/images/images/qrph-icon.png +0 -0
  229. package/dist/images/images/responsible-gaming.png +0 -0
  230. package/dist/images/images/trophy.png +0 -0
  231. package/dist/images/maya.png +0 -0
  232. package/dist/images/online-bank.png +0 -0
  233. package/dist/images/open-chest.png +0 -0
  234. package/dist/images/pagcor.png +0 -0
  235. package/dist/images/qrph-icon.png +0 -0
  236. package/dist/images/responsible-gaming.png +0 -0
  237. package/dist/images/trophy.png +0 -0
  238. package/dist/services/client/authenticate.js +1 -1
  239. package/dist/services/client/getSession.d.ts +1 -1
  240. package/dist/services/client/signIn.js +1 -1
  241. package/dist/services/server/authenticate.js +2 -2
  242. package/dist/services/server/getSession.d.ts +1 -1
  243. package/dist/services/server/getSession.js +1 -1
  244. package/dist/services/server/signIn.js +2 -2
  245. package/dist/services/server/signOut.js +1 -1
  246. package/dist/tsconfig.build.tsbuildinfo +1 -1
  247. package/dist/ui/AlertDialog/AlertDialog.jsx +2 -2
  248. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  249. package/dist/ui/AlertDialog/index.d.ts +1 -1
  250. package/dist/ui/AlertDialog/index.js +1 -1
  251. package/dist/ui/Avatar/Avatar.jsx +2 -2
  252. package/dist/ui/Avatar/avatar.recipe.js +1 -1
  253. package/dist/ui/Avatar/index.d.ts +1 -1
  254. package/dist/ui/Avatar/index.js +1 -1
  255. package/dist/ui/Badge/Badge.jsx +3 -3
  256. package/dist/ui/Badge/badge.recipe.js +2 -2
  257. package/dist/ui/Badge/index.d.ts +1 -1
  258. package/dist/ui/Badge/index.js +1 -1
  259. package/dist/ui/Button/Button.d.ts +1 -1
  260. package/dist/ui/Button/Button.jsx +2 -3
  261. package/dist/ui/Checkbox/Checkbox.jsx +2 -2
  262. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  263. package/dist/ui/Checkbox/index.d.ts +1 -1
  264. package/dist/ui/Checkbox/index.js +1 -1
  265. package/dist/ui/Clipboard/Clipboard.jsx +2 -2
  266. package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
  267. package/dist/ui/Clipboard/index.d.ts +1 -1
  268. package/dist/ui/Clipboard/index.js +1 -1
  269. package/dist/ui/DatePicker/DatePicker.jsx +2 -2
  270. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  271. package/dist/ui/DatePicker/index.d.ts +1 -1
  272. package/dist/ui/DatePicker/index.js +1 -1
  273. package/dist/ui/Dialog/Dialog.jsx +2 -2
  274. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  275. package/dist/ui/Dialog/index.d.ts +1 -1
  276. package/dist/ui/Dialog/index.js +1 -1
  277. package/dist/ui/Drawer/Drawer.jsx +2 -2
  278. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  279. package/dist/ui/Drawer/index.d.ts +1 -1
  280. package/dist/ui/Drawer/index.js +1 -1
  281. package/dist/ui/Field/Field.jsx +2 -2
  282. package/dist/ui/Field/field.recipe.js +1 -1
  283. package/dist/ui/Field/index.d.ts +1 -1
  284. package/dist/ui/Field/index.js +1 -1
  285. package/dist/ui/IconButton/IconButton.d.ts +1 -1
  286. package/dist/ui/IconButton/IconButton.jsx +2 -3
  287. package/dist/ui/IconButton/iconButton.recipe.js +1 -1
  288. package/dist/ui/IconButton/index.d.ts +1 -1
  289. package/dist/ui/IconButton/index.js +1 -1
  290. package/dist/ui/Menu/Menu.d.ts +1 -2
  291. package/dist/ui/Menu/Menu.jsx +1 -2
  292. package/dist/ui/Menu/index.d.ts +1 -1
  293. package/dist/ui/Menu/index.js +1 -1
  294. package/dist/ui/NumberInput/NumberInput.jsx +2 -2
  295. package/dist/ui/NumberInput/index.d.ts +1 -1
  296. package/dist/ui/NumberInput/index.js +1 -1
  297. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  298. package/dist/ui/PinInput/PinInput.jsx +2 -2
  299. package/dist/ui/PinInput/index.d.ts +1 -1
  300. package/dist/ui/PinInput/index.js +1 -1
  301. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  302. package/dist/ui/Popover/Popover.d.ts +55 -55
  303. package/dist/ui/Popover/Popover.jsx +2 -2
  304. package/dist/ui/Popover/index.d.ts +1 -1
  305. package/dist/ui/Popover/index.js +1 -1
  306. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  307. package/dist/ui/Popover/popover.recipe.js +1 -1
  308. package/dist/ui/Progress/index.d.ts +1 -1
  309. package/dist/ui/Progress/index.js +1 -1
  310. package/dist/ui/SegmentGroup/SegmentGroup.jsx +2 -2
  311. package/dist/ui/SegmentGroup/index.d.ts +1 -1
  312. package/dist/ui/SegmentGroup/index.js +1 -1
  313. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  314. package/dist/ui/Select/Select.jsx +2 -2
  315. package/dist/ui/Select/index.d.ts +1 -1
  316. package/dist/ui/Select/index.js +1 -1
  317. package/dist/ui/Select/select.recipe.js +1 -1
  318. package/dist/ui/Table/Table.jsx +2 -2
  319. package/dist/ui/Table/index.d.ts +1 -1
  320. package/dist/ui/Table/index.js +1 -1
  321. package/dist/ui/Table/table.recipe.js +2 -2
  322. package/dist/ui/Tabs/Tabs.jsx +2 -2
  323. package/dist/ui/Tabs/index.d.ts +1 -1
  324. package/dist/ui/Tabs/index.js +1 -1
  325. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  326. package/dist/ui/index.d.ts +23 -23
  327. package/dist/ui/index.js +23 -23
  328. package/dist/utils/createRecipeContext.jsx +4 -2
  329. package/dist/utils/formatNumber.js +1 -1
  330. package/dist/utils/getGameImageUrl.js +1 -1
  331. package/dist/utils/index.d.ts +13 -0
  332. package/dist/utils/index.js +13 -0
  333. package/package.json +3 -2
@@ -49,12 +49,12 @@ import { createAIOQRPHDeposit, getDeposit, } from '@opexa/portal-sdk-core';
49
49
  import { ObjectId, ObjectType } from '@opexa/portal-sdk-core/object-id';
50
50
  import { useMutation } from '@tanstack/react-query';
51
51
  import invariant from 'tiny-invariant';
52
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
53
- import { getSession } from '../../services/client/getSession';
54
- import { createPoll } from '../../utils/createPoll';
55
- import { getQueryClient } from '../../utils/getQueryClient';
56
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
57
- import { getCreateQRPHDepositMutationKey } from './getCreateQRPHDepositMutationKey';
52
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
53
+ import { getSession } from '../../services/client/getSession.js';
54
+ import { createPoll } from '../../utils/createPoll.js';
55
+ import { getQueryClient } from '../../utils/getQueryClient.js';
56
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
57
+ import { getCreateQRPHDepositMutationKey } from './getCreateQRPHDepositMutationKey.js';
58
58
  export var useCreateQRPHDepositMutation = function (config) {
59
59
  var queryClient = getQueryClient();
60
60
  var mutation = useMutation(__assign(__assign({}, config), { mutationKey: getCreateQRPHDepositMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getDeposit } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getDepositQueryKey } from './getDepositQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getDepositQueryKey } from './getDepositQueryKey.js';
42
42
  export var prefetchDepositQuery = function (id) { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,3 +1,3 @@
1
1
  import { type Deposit } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const useDepositQuery: Query<Deposit | null, string>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { getDeposit } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getDepositQueryKey } from './getDepositQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getDepositQueryKey } from './getDepositQueryKey.js';
57
57
  export var useDepositQuery = function (id, config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getDepositRecords, } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getDepositRecordsQueryKey } from './getDepositRecordsQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getDepositRecordsQueryKey } from './getDepositRecordsQueryKey.js';
42
42
  export var prefetchDepositRecordsQuery = function (input) { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,3 +1,3 @@
1
1
  import { type DepositRecord, type DepositRecordsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '../../types';
2
+ import type { InfiniteQuery } from '../../types/index.js';
3
3
  export declare const useDepositRecordsQuery: InfiniteQuery<PaginatedQueryResult<DepositRecord>, DepositRecordsInput>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { getDepositRecords, } from '@opexa/portal-sdk-core';
49
49
  import { useInfiniteQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getDepositRecordsQueryKey } from './getDepositRecordsQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getDepositRecordsQueryKey } from './getDepositRecordsQueryKey.js';
57
57
  export var useDepositRecordsQuery = function (input, config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getDepositsCount } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getDepositsCountQueryKey } from './getDepositsCountQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getDepositsCountQueryKey } from './getDepositsCountQueryKey.js';
42
42
  export var prefetchDepositsCountQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,2 +1,2 @@
1
- import type { Query } from '../../types';
1
+ import type { Query } from '../../types/index.js';
2
2
  export declare const useDepositsCountQuery: Query<number>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { getDepositsCount } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getDepositsCountQueryKey } from './getDepositsCountQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getDepositsCountQueryKey } from './getDepositsCountQueryKey.js';
57
57
  export var useDepositsCountQuery = function (config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -1,4 +1,4 @@
1
- import { useControllableState } from './useControllableState';
1
+ import { useControllableState } from './useControllableState.js';
2
2
  export function useDisclosure(props) {
3
3
  var _a;
4
4
  var _b = useControllableState({
@@ -1,5 +1,5 @@
1
1
  import { type Game, type GameSession } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '../../types';
2
+ import type { Mutation } from '../../types/index.js';
3
3
  export declare const useEndGameSessionMutation: Mutation<void, {
4
4
  game: Game;
5
5
  session: GameSession;
@@ -48,11 +48,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { endGameSession, endGameSession__legacy, } from '@opexa/portal-sdk-core';
49
49
  import { useMutation } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE, } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { getEndGameSessionMutationKey } from './getEndGameSessionMutationKey';
51
+ import { ENVIRONMENT, LEGACY_GAME_PROVIDERS, PLATFORM_CODE, } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { getEndGameSessionMutationKey } from './getEndGameSessionMutationKey.js';
56
56
  export var useEndGameSessionMutation = function (config) {
57
57
  var queryClient = getQueryClient();
58
58
  return useMutation(__assign(__assign({}, config), { mutationKey: getEndGameSessionMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
@@ -46,9 +46,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
46
46
  }
47
47
  };
48
48
  import { getGames } from '@opexa/portal-sdk-core';
49
- import { ENVIRONMENT, PLATFORM_ID, SITE_ID } from '../../constants';
50
- import { getQueryClient } from '../../utils/getQueryClient';
51
- import { getGamesQueryKey } from './getGamesQueryKey';
49
+ import { ENVIRONMENT, PLATFORM_ID, SITE_ID } from '../../constants/index.js';
50
+ import { getQueryClient } from '../../utils/getQueryClient.js';
51
+ import { getGamesQueryKey } from './getGamesQueryKey.js';
52
52
  export var prefetchGamesQuery = function (input) { return __awaiter(void 0, void 0, void 0, function () {
53
53
  return __generator(this, function (_a) {
54
54
  switch (_a.label) {
@@ -1,3 +1,3 @@
1
1
  import { type Game, type GamesInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '../../types';
2
+ import type { InfiniteQuery } from '../../types/index.js';
3
3
  export declare const useGamesQuery: InfiniteQuery<PaginatedQueryResult<Game>, GamesInput>;
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { getGames, } from '@opexa/portal-sdk-core';
13
13
  import { useInfiniteQuery } from '@tanstack/react-query';
14
- import { ENVIRONMENT, PLATFORM_ID, SITE_ID } from '../../constants';
15
- import { getGamesQueryKey } from './getGamesQueryKey';
14
+ import { ENVIRONMENT, PLATFORM_ID, SITE_ID } from '../../constants/index.js';
15
+ import { getGamesQueryKey } from './getGamesQueryKey.js';
16
16
  export var useGamesQuery = function (input, config) {
17
17
  return useInfiniteQuery(__assign(__assign({ refetchOnMount: false, refetchOnReconnect: false, refetchOnWindowFocus: false }, config), { queryKey: getGamesQueryKey(input), queryFn: function (_a) {
18
18
  var pageParam = _a.pageParam, signal = _a.signal;
@@ -1,5 +1,5 @@
1
1
  import type { PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '../types';
2
+ import type { InfiniteQuery } from '../types/index.js';
3
3
  type KnownVariables = {
4
4
  first?: number;
5
5
  after?: string | null;
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getInstapayBankList } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getInstapayBankListQueryKey } from './getInstapayBankListQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getInstapayBankListQueryKey } from './getInstapayBankListQueryKey.js';
42
42
  export var prefetchInstapayBankListQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,3 +1,3 @@
1
1
  import { type InstapayBank } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const useInstapayBankListQuery: Query<InstapayBank[]>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { getInstapayBankList } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getInstapayBankListQueryKey } from './getInstapayBankListQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getInstapayBankListQueryKey } from './getInstapayBankListQueryKey.js';
57
57
  export var useInstapayBankListQuery = function (config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { validateMayaSession } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getIsMayaSessionValidQueryKey } from './getIsMayaSessionValidQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getIsMayaSessionValidQueryKey } from './getIsMayaSessionValidQueryKey.js';
42
42
  export var prefetchIsMayaSessionValidQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,2 +1,2 @@
1
- import type { Query } from '../../types';
1
+ import type { Query } from '../../types/index.js';
2
2
  export declare const useIsMayaSessionValidQuery: Query<boolean>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { validateMayaSession } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getIsMayaSessionValidQueryKey } from './getIsMayaSessionValidQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getIsMayaSessionValidQueryKey } from './getIsMayaSessionValidQueryKey.js';
57
57
  export var useIsMayaSessionValidQuery = function (config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -35,9 +35,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getJackpots } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getQueryClient } from '../../utils/getQueryClient';
40
- import { getJackpotsQueryKey } from './getJackpotsQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getQueryClient } from '../../utils/getQueryClient.js';
40
+ import { getJackpotsQueryKey } from './getJackpotsQueryKey.js';
41
41
  export var prefetchJackpotsQuery = function (input) { return __awaiter(void 0, void 0, void 0, function () {
42
42
  return __generator(this, function (_a) {
43
43
  switch (_a.label) {
@@ -1,3 +1,3 @@
1
1
  import { type Jackpot, type JackpotsInput, type PaginatedQueryResult } from '@opexa/portal-sdk-core';
2
- import type { InfiniteQuery } from '../../types';
2
+ import type { InfiniteQuery } from '../../types/index.js';
3
3
  export declare const useJackpotsQuery: InfiniteQuery<PaginatedQueryResult<Jackpot>, JackpotsInput>;
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { getJackpots, } from '@opexa/portal-sdk-core';
13
13
  import { useInfiniteQuery } from '@tanstack/react-query';
14
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
15
- import { getJackpotsQueryKey } from './getJackpotsQueryKey';
14
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
15
+ import { getJackpotsQueryKey } from './getJackpotsQueryKey.js';
16
16
  export var useJackpotsQuery = function (input, config) {
17
17
  var query = useInfiniteQuery(__assign(__assign({}, config), { queryKey: getJackpotsQueryKey(input), queryFn: function (_a) {
18
18
  var pageParam = _a.pageParam, signal = _a.signal;
@@ -1 +1 @@
1
- export declare const useLocaleInfo: () => import("../utils/getLocaleInfo").LocaleInfo;
1
+ export declare const useLocaleInfo: () => import("../utils/getLocaleInfo.jsx").LocaleInfo;
@@ -1,5 +1,5 @@
1
- import { getLocaleInfo } from '../utils/getLocaleInfo';
2
- import { usePlatformQuery } from './usePlatformQuery/usePlatformQuery';
1
+ import { getLocaleInfo } from '../utils/index.js';
2
+ import { usePlatformQuery } from './usePlatformQuery/usePlatformQuery.js';
3
3
  export var useLocaleInfo = function () {
4
4
  var _a, _b;
5
5
  var query = usePlatformQuery();
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getMemberVerification } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getMemberVerificationQueryKey } from './getMemberVerificationQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getMemberVerificationQueryKey } from './getMemberVerificationQueryKey.js';
42
42
  export var prefetchMemberVerificationQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,3 +1,3 @@
1
1
  import { type MemberVerification } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const useMemberVerificationQuery: Query<MemberVerification | null>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { getMemberVerification, } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getMemberVerificationQueryKey } from './getMemberVerificationQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getMemberVerificationQueryKey } from './getMemberVerificationQueryKey.js';
57
57
  export var useMemberVerificationQuery = function (config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -1,4 +1,4 @@
1
- import { useLocaleInfo } from './useLocaleInfo';
1
+ import { useLocaleInfo } from './useLocaleInfo.js';
2
2
  export function useMobileNumberParser() {
3
3
  var localeInfo = useLocaleInfo();
4
4
  /**
@@ -53,7 +53,7 @@ export function useMobileNumberParser() {
53
53
  * ```
54
54
  */
55
55
  var validate = function (value) {
56
- return typeof value === 'string' && localeInfo.mobileNumber.pattern.test(value);
56
+ return (typeof value === 'string' && localeInfo.mobileNumber.pattern.test(value));
57
57
  };
58
58
  return {
59
59
  validate: validate,
@@ -35,10 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getPaymentSettings } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getSession } from '../../services/server/getSession';
40
- import { getQueryClient } from '../../utils/getQueryClient';
41
- import { getPaymentSettingsQueryKey } from './getPaymentSettingsQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getSession } from '../../services/server/getSession.js';
40
+ import { getQueryClient } from '../../utils/getQueryClient.js';
41
+ import { getPaymentSettingsQueryKey } from './getPaymentSettingsQueryKey.js';
42
42
  export var prefetchPaymentSettingsQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
43
43
  var session;
44
44
  return __generator(this, function (_a) {
@@ -1,3 +1,3 @@
1
1
  import { type PaymentSettings } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const usePaymentSettingsQuery: Query<PaymentSettings>;
@@ -48,12 +48,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
48
48
  import { getPaymentSettings, } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
50
  import invariant from 'tiny-invariant';
51
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
52
- import { getSession } from '../../services/client/getSession';
53
- import { getQueryClient } from '../../utils/getQueryClient';
54
- import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey';
55
- import { useSessionQuery } from '../useSessionQuery/useSessionQuery';
56
- import { getPaymentSettingsQueryKey } from './getPaymentSettingsQueryKey';
51
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
52
+ import { getSession } from '../../services/client/getSession.js';
53
+ import { getQueryClient } from '../../utils/getQueryClient.js';
54
+ import { getSessionQueryKey } from '../useSessionQuery/getSessionQueryKey.js';
55
+ import { useSessionQuery } from '../useSessionQuery/useSessionQuery.js';
56
+ import { getPaymentSettingsQueryKey } from './getPaymentSettingsQueryKey.js';
57
57
  export var usePaymentSettingsQuery = function (config) {
58
58
  var _a;
59
59
  var queryClient = getQueryClient();
@@ -35,9 +35,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getPlatform } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getQueryClient } from '../../utils/getQueryClient';
40
- import { getPlatformQueryKey } from './getPlatformQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getQueryClient } from '../../utils/getQueryClient.js';
40
+ import { getPlatformQueryKey } from './getPlatformQueryKey.js';
41
41
  export function prefetchPlatformQuery() {
42
42
  return __awaiter(this, void 0, void 0, function () {
43
43
  var _this = this;
@@ -1,3 +1,3 @@
1
1
  import { type Platform } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const usePlatformQuery: Query<Platform>;
@@ -47,8 +47,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  import { getPlatform } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
- import { PLATFORM_CODE } from '../../constants';
51
- import { getPlatformQueryKey } from './getPlatformQueryKey';
50
+ import { PLATFORM_CODE } from '../../constants/index.js';
51
+ import { getPlatformQueryKey } from './getPlatformQueryKey.js';
52
52
  export var usePlatformQuery = function (config) {
53
53
  return useQuery(__assign(__assign({}, config), { queryKey: getPlatformQueryKey(), queryFn: function () { return __awaiter(void 0, void 0, void 0, function () {
54
54
  return __generator(this, function (_a) {
@@ -35,9 +35,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getPromo } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getQueryClient } from '../../utils/getQueryClient';
40
- import { getPromoQueryKey } from './getPromoQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getQueryClient } from '../../utils/getQueryClient.js';
40
+ import { getPromoQueryKey } from './getPromoQueryKey.js';
41
41
  export var prefetchPromoQuery = function (id) { return __awaiter(void 0, void 0, void 0, function () {
42
42
  return __generator(this, function (_a) {
43
43
  switch (_a.label) {
@@ -1,3 +1,3 @@
1
1
  import { type Promo } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const usePromoQuery: Query<Promo | null, string>;
@@ -47,8 +47,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  import { getPromo } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
51
- import { getPromoQueryKey } from './getPromoQueryKey';
50
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
51
+ import { getPromoQueryKey } from './getPromoQueryKey.js';
52
52
  export var usePromoQuery = function (id, config) {
53
53
  return useQuery(__assign(__assign({}, config), { queryKey: getPromoQueryKey(id), queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
54
54
  var signal = _b.signal;
@@ -35,9 +35,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { getPromos } from '@opexa/portal-sdk-core';
38
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
39
- import { getQueryClient } from '../../utils/getQueryClient';
40
- import { getPromosQueryKey } from './getPromosQueryKey';
38
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
39
+ import { getQueryClient } from '../../utils/getQueryClient.js';
40
+ import { getPromosQueryKey } from './getPromosQueryKey.js';
41
41
  export var prefetchPromosQuery = function () { return __awaiter(void 0, void 0, void 0, function () {
42
42
  return __generator(this, function (_a) {
43
43
  switch (_a.label) {
@@ -1,3 +1,3 @@
1
1
  import { type Promo } from '@opexa/portal-sdk-core';
2
- import type { Query } from '../../types';
2
+ import type { Query } from '../../types/index.js';
3
3
  export declare const usePromosQuery: Query<Promo[]>;
@@ -47,8 +47,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  import { getPromos } from '@opexa/portal-sdk-core';
49
49
  import { useQuery } from '@tanstack/react-query';
50
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
51
- import { getPromosQueryKey } from './getPromosQueryKey';
50
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
51
+ import { getPromosQueryKey } from './getPromosQueryKey.js';
52
52
  export var usePromosQuery = function (config) {
53
53
  return useQuery(__assign(__assign({}, config), { queryKey: getPromosQueryKey(), queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
54
54
  var signal = _b.signal;
@@ -1,3 +1,3 @@
1
1
  import { type SendVerificationCodeInput } from '@opexa/portal-sdk-core';
2
- import type { Mutation } from '../../types';
2
+ import type { Mutation } from '../../types/index.js';
3
3
  export declare const useSendVerificationCodeMutation: Mutation<void, SendVerificationCodeInput>;
@@ -47,8 +47,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  import { sendVerificationCode, } from '@opexa/portal-sdk-core';
49
49
  import { useMutation } from '@tanstack/react-query';
50
- import { ENVIRONMENT, PLATFORM_CODE } from '../../constants';
51
- import { getSendVerificationCodeMutationKey } from './getSendVerificationCodeMutationKey';
50
+ import { ENVIRONMENT, PLATFORM_CODE } from '../../constants/index.js';
51
+ import { getSendVerificationCodeMutationKey } from './getSendVerificationCodeMutationKey.js';
52
52
  export var useSendVerificationCodeMutation = function (config) {
53
53
  return useMutation(__assign(__assign({}, config), { mutationKey: getSendVerificationCodeMutationKey(), mutationFn: function (input) { return __awaiter(void 0, void 0, void 0, function () {
54
54
  return __generator(this, function (_a) {
@@ -34,9 +34,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
34
34
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
35
  }
36
36
  };
37
- import { getSession } from '../../services/server/getSession';
38
- import { getQueryClient } from '../../utils/getQueryClient';
39
- import { getSessionQueryKey } from './getSessionQueryKey';
37
+ import { getSession } from '../../services/server/getSession.js';
38
+ import { getQueryClient } from '../../utils/getQueryClient.js';
39
+ import { getSessionQueryKey } from './getSessionQueryKey.js';
40
40
  export function prefetchSessionQuery() {
41
41
  var _this = this;
42
42
  return getQueryClient().prefetchQuery({
@@ -1,2 +1,2 @@
1
- import type { Query, Session } from '../../types';
1
+ import type { Query, Session } from '../../types/index.js';
2
2
  export declare const useSessionQuery: Query<Session>;