@opexa/portal-components 0.0.11 → 0.0.13

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 (533) hide show
  1. package/dist/{hooks → client/hooks}/useAccountQuery.d.ts +1 -1
  2. package/dist/client/hooks/useAccountQuery.js +1 -0
  3. package/dist/client/hooks/useAccountQuery.mjs +38 -0
  4. package/dist/{hooks → client/hooks}/useAuthenticateMutation.d.ts +1 -1
  5. package/dist/client/hooks/useAuthenticateMutation.js +1 -0
  6. package/dist/client/hooks/useAuthenticateMutation.mjs +24 -0
  7. package/dist/{hooks → client/hooks}/useAvailablePromosQuery.d.ts +1 -1
  8. package/dist/client/hooks/useAvailablePromosQuery.js +1 -0
  9. package/dist/client/hooks/useAvailablePromosQuery.mjs +38 -0
  10. package/dist/{hooks → client/hooks}/useBetRecordsQuery.d.ts +1 -1
  11. package/dist/client/hooks/useBetRecordsQuery.js +1 -0
  12. package/dist/client/hooks/useBetRecordsQuery.mjs +47 -0
  13. package/dist/{hooks → client/hooks}/useCashbacksQuery.d.ts +1 -1
  14. package/dist/client/hooks/useCashbacksQuery.js +1 -0
  15. package/dist/client/hooks/useCashbacksQuery.mjs +23 -0
  16. package/dist/{hooks → client/hooks}/useCreateGCashDepositMutation.d.ts +1 -1
  17. package/dist/client/hooks/useCreateGCashDepositMutation.js +1 -0
  18. package/dist/{hooks → client/hooks}/useCreateGCashDepositMutation.mjs +16 -19
  19. package/dist/{hooks → client/hooks}/useCreateGameSessionMutation.d.ts +1 -1
  20. package/dist/client/hooks/useCreateGameSessionMutation.js +1 -0
  21. package/dist/{hooks → client/hooks}/useCreateGameSessionMutation.mjs +21 -24
  22. package/dist/{hooks → client/hooks}/useCreateMayaAppDepositMutation.d.ts +1 -1
  23. package/dist/client/hooks/useCreateMayaAppDepositMutation.js +1 -0
  24. package/dist/client/hooks/useCreateMayaAppDepositMutation.mjs +66 -0
  25. package/dist/{hooks → client/hooks}/useCreateMayaDepositMutation.d.ts +1 -1
  26. package/dist/client/hooks/useCreateMayaDepositMutation.js +1 -0
  27. package/dist/client/hooks/useCreateMayaDepositMutation.mjs +66 -0
  28. package/dist/{hooks → client/hooks}/useCreateOnlineBankDepositMutation.d.ts +1 -1
  29. package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +1 -0
  30. package/dist/{hooks → client/hooks}/useCreateOnlineBankDepositMutation.mjs +15 -18
  31. package/dist/{hooks → client/hooks}/useCreateQRPHDepositMutation.d.ts +1 -1
  32. package/dist/client/hooks/useCreateQRPHDepositMutation.js +1 -0
  33. package/dist/{hooks → client/hooks}/useCreateQRPHDepositMutation.mjs +15 -18
  34. package/dist/{hooks → client/hooks}/useDepositQuery.d.ts +1 -1
  35. package/dist/client/hooks/useDepositQuery.js +1 -0
  36. package/dist/client/hooks/useDepositQuery.mjs +39 -0
  37. package/dist/{hooks → client/hooks}/useDepositRecordsQuery.d.ts +1 -1
  38. package/dist/client/hooks/useDepositRecordsQuery.js +1 -0
  39. package/dist/client/hooks/useDepositRecordsQuery.mjs +47 -0
  40. package/dist/{hooks → client/hooks}/useDepositsCountQuery.d.ts +1 -1
  41. package/dist/client/hooks/useDepositsCountQuery.js +1 -0
  42. package/dist/client/hooks/useDepositsCountQuery.mjs +38 -0
  43. package/dist/{hooks → client/hooks}/useEndGameSessionMutation.d.ts +1 -1
  44. package/dist/client/hooks/useEndGameSessionMutation.js +1 -0
  45. package/dist/{hooks → client/hooks}/useEndGameSessionMutation.mjs +12 -15
  46. package/dist/{hooks → client/hooks}/useGamesQuery.d.ts +1 -1
  47. package/dist/client/hooks/useGamesQuery.js +1 -0
  48. package/dist/client/hooks/useGamesQuery.mjs +39 -0
  49. package/dist/{hooks → client/hooks}/useInfiniteQueryHelper.d.ts +1 -1
  50. package/dist/{hooks → client/hooks}/useInstapayBankListQuery.d.ts +1 -1
  51. package/dist/client/hooks/useInstapayBankListQuery.js +1 -0
  52. package/dist/client/hooks/useInstapayBankListQuery.mjs +38 -0
  53. package/dist/{hooks → client/hooks}/useIsMayaSessionValidQuery.d.ts +1 -1
  54. package/dist/client/hooks/useIsMayaSessionValidQuery.js +1 -0
  55. package/dist/client/hooks/useIsMayaSessionValidQuery.mjs +48 -0
  56. package/dist/{hooks → client/hooks}/useJackpotsQuery.d.ts +1 -1
  57. package/dist/client/hooks/useJackpotsQuery.js +1 -0
  58. package/dist/client/hooks/useJackpotsQuery.mjs +31 -0
  59. package/dist/client/hooks/useLocaleInfo.d.ts +1 -0
  60. package/dist/client/hooks/useLocaleInfo.js +1 -0
  61. package/dist/client/hooks/useLocaleInfo.mjs +15 -0
  62. package/dist/{hooks → client/hooks}/useMemberVerificationQuery.d.ts +1 -1
  63. package/dist/client/hooks/useMemberVerificationQuery.js +1 -0
  64. package/dist/client/hooks/useMemberVerificationQuery.mjs +38 -0
  65. package/dist/{hooks → client/hooks}/usePaymentSettingsQuery.d.ts +1 -1
  66. package/dist/client/hooks/usePaymentSettingsQuery.js +1 -0
  67. package/dist/client/hooks/usePaymentSettingsQuery.mjs +38 -0
  68. package/dist/{hooks → client/hooks}/usePlatformQuery.d.ts +1 -1
  69. package/dist/client/hooks/usePlatformQuery.js +1 -0
  70. package/dist/client/hooks/usePlatformQuery.mjs +21 -0
  71. package/dist/{hooks → client/hooks}/usePromoQuery.d.ts +1 -1
  72. package/dist/client/hooks/usePromoQuery.js +1 -0
  73. package/dist/client/hooks/usePromoQuery.mjs +24 -0
  74. package/dist/{hooks → client/hooks}/usePromosQuery.d.ts +1 -1
  75. package/dist/client/hooks/usePromosQuery.js +1 -0
  76. package/dist/client/hooks/usePromosQuery.mjs +23 -0
  77. package/dist/{hooks → client/hooks}/useSendVerificationCodeMutation.d.ts +1 -1
  78. package/dist/client/hooks/useSendVerificationCodeMutation.js +1 -0
  79. package/dist/client/hooks/useSendVerificationCodeMutation.mjs +24 -0
  80. package/dist/{hooks → client/hooks}/useSessionQuery.d.ts +1 -1
  81. package/dist/client/hooks/useSessionQuery.js +1 -0
  82. package/dist/client/hooks/useSessionQuery.mjs +19 -0
  83. package/dist/{hooks → client/hooks}/useSignInMutation.d.ts +1 -1
  84. package/dist/client/hooks/useSignInMutation.js +1 -0
  85. package/dist/client/hooks/useSignInMutation.mjs +25 -0
  86. package/dist/{hooks → client/hooks}/useSignOutMutation.d.ts +1 -1
  87. package/dist/client/hooks/useSignOutMutation.js +1 -0
  88. package/dist/client/hooks/useSignOutMutation.mjs +22 -0
  89. package/dist/{hooks → client/hooks}/useSignUpMutation.d.ts +1 -1
  90. package/dist/client/hooks/useSignUpMutation.js +1 -0
  91. package/dist/client/hooks/useSignUpMutation.mjs +25 -0
  92. package/dist/{hooks → client/hooks}/useSiteQuery.d.ts +1 -1
  93. package/dist/client/hooks/useSiteQuery.js +1 -0
  94. package/dist/client/hooks/useSiteQuery.mjs +23 -0
  95. package/dist/{hooks → client/hooks}/useTopWinsQuery.d.ts +1 -1
  96. package/dist/client/hooks/useTopWinsQuery.js +1 -0
  97. package/dist/client/hooks/useTopWinsQuery.mjs +22 -0
  98. package/dist/{hooks → client/hooks}/useTournamentsQuery.d.ts +1 -1
  99. package/dist/client/hooks/useTournamentsQuery.js +1 -0
  100. package/dist/client/hooks/useTournamentsQuery.mjs +32 -0
  101. package/dist/{hooks → client/hooks}/useTransactionRecordsQuery.d.ts +1 -1
  102. package/dist/client/hooks/useTransactionRecordsQuery.js +1 -0
  103. package/dist/{hooks → client/hooks}/useTransactionRecordsQuery.mjs +17 -20
  104. package/dist/{hooks → client/hooks}/useWalletQuery.d.ts +1 -1
  105. package/dist/client/hooks/useWalletQuery.js +1 -0
  106. package/dist/client/hooks/useWalletQuery.mjs +38 -0
  107. package/dist/{hooks → client/hooks}/useWithdrawalRecordsQuery.d.ts +1 -1
  108. package/dist/client/hooks/useWithdrawalRecordsQuery.js +1 -0
  109. package/dist/client/hooks/useWithdrawalRecordsQuery.mjs +47 -0
  110. package/dist/client/services/authenticate.js +1 -0
  111. package/dist/{services → client/services}/authenticate.mjs +1 -1
  112. package/dist/{services → client/services}/getSession.d.ts +1 -1
  113. package/dist/client/services/signIn.js +1 -0
  114. package/dist/{services → client/services}/signIn.mjs +1 -1
  115. package/dist/client/utils/createRecipeContext.js +1 -0
  116. package/dist/client/utils/createRecipeContext.mjs +55 -0
  117. package/dist/client/utils/index.d.ts +2 -0
  118. package/dist/client/utils/toaster.d.ts +2 -0
  119. package/dist/client/utils/toaster.js +1 -0
  120. package/dist/client/utils/toaster.mjs +11 -0
  121. package/dist/client-hooks.d.ts +2 -0
  122. package/dist/client-hooks.js +1 -0
  123. package/dist/client-hooks.mjs +88 -0
  124. package/dist/client-services.d.ts +2 -0
  125. package/dist/client-services.js +1 -0
  126. package/dist/client-services.mjs +10 -0
  127. package/dist/client-utils.d.ts +2 -0
  128. package/dist/client-utils.js +1 -0
  129. package/dist/client-utils.mjs +6 -0
  130. package/dist/components/Account/Account.js +1 -1
  131. package/dist/components/Account/Account.mjs +21 -22
  132. package/dist/components/Banner/Banner.js +1 -1
  133. package/dist/components/Banner/Banner.mjs +16 -17
  134. package/dist/components/BetRecords/BetRecords.js +1 -1
  135. package/dist/components/BetRecords/BetRecords.mjs +7 -8
  136. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  137. package/dist/components/DepositWithdrawal/AmountChoices.mjs +11 -12
  138. package/dist/components/DepositWithdrawal/AvailablePromos.js +1 -1
  139. package/dist/components/DepositWithdrawal/AvailablePromos.mjs +21 -22
  140. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
  141. package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +31 -55
  142. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  143. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +43 -43
  144. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  145. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +48 -48
  146. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  147. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +43 -43
  148. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  149. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +10 -11
  150. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  151. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +6 -8
  152. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
  153. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +10 -10
  154. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  155. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +9 -10
  156. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  157. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +6 -8
  158. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  159. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +6 -8
  160. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
  161. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +10 -10
  162. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  163. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +29 -30
  164. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  165. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +11 -12
  166. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  167. package/dist/components/Disclaimer/Disclaimer.mjs +2 -3
  168. package/dist/components/Disclaimer/useDisclaimer.js +1 -1
  169. package/dist/components/Disclaimer/useDisclaimer.mjs +5 -5
  170. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  171. package/dist/components/GameLaunch/GameLaunch.mjs +34 -35
  172. package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
  173. package/dist/components/GameLaunch/GameLaunchTrigger.mjs +12 -12
  174. package/dist/components/Games/Games.client.d.ts +2 -0
  175. package/dist/components/Games/Games.client.js +1 -0
  176. package/dist/components/Games/Games.client.mjs +150 -0
  177. package/dist/components/Games/Games.d.ts +1 -1
  178. package/dist/components/Games/Games.js +1 -1
  179. package/dist/components/Games/Games.mjs +11 -140
  180. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  181. package/dist/components/JackpotCounter/JackpotCounter.mjs +6 -7
  182. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  183. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +15 -16
  184. package/dist/components/PortalProvider/PortalProvider.d.ts +1 -1
  185. package/dist/components/PortalProvider/PortalProvider.js +1 -1
  186. package/dist/components/PortalProvider/PortalProvider.mjs +18 -58
  187. package/dist/components/PortalProvider/Providers.d.ts +2 -0
  188. package/dist/components/PortalProvider/Providers.js +1 -0
  189. package/dist/components/PortalProvider/Providers.mjs +65 -0
  190. package/dist/components/Promo/PromoContent.js +1 -1
  191. package/dist/components/Promo/PromoContent.mjs +7 -8
  192. package/dist/components/Promos/PromoCarousel.js +1 -1
  193. package/dist/components/Promos/PromoCarousel.mjs +17 -18
  194. package/dist/components/Promos/PromoGrid.js +1 -1
  195. package/dist/components/Promos/PromoGrid.mjs +11 -12
  196. package/dist/components/Promos/PromoItem.js +1 -1
  197. package/dist/components/Promos/PromoItem.mjs +2 -4
  198. package/dist/components/Protected/Protected.js +1 -1
  199. package/dist/components/Protected/Protected.mjs +7 -9
  200. package/dist/components/SignIn/SignIn.js +1 -1
  201. package/dist/components/SignIn/SignIn.mjs +17 -18
  202. package/dist/components/SignIn/SignInForm.js +1 -1
  203. package/dist/components/SignIn/SignInForm.mjs +33 -33
  204. package/dist/components/SignUp/SignUp.js +1 -1
  205. package/dist/components/SignUp/SignUp.mjs +27 -28
  206. package/dist/components/SignUp/SignUpForm.js +1 -1
  207. package/dist/components/SignUp/SignUpForm.mjs +30 -30
  208. package/dist/components/TopWins/TopWins.client.d.ts +2 -0
  209. package/dist/components/TopWins/TopWins.client.js +1 -0
  210. package/dist/components/TopWins/TopWins.client.mjs +64 -0
  211. package/dist/components/TopWins/TopWins.d.ts +1 -1
  212. package/dist/components/TopWins/TopWins.js +1 -1
  213. package/dist/components/TopWins/TopWins.mjs +12 -61
  214. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  215. package/dist/components/TournamentCounter/TournamentCounter.mjs +6 -7
  216. package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
  217. package/dist/components/TournamentCounter/TournamentCounterItem.mjs +6 -7
  218. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  219. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +7 -8
  220. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  221. package/dist/components/TransactionRecords/TableFilters.mjs +6 -7
  222. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  223. package/dist/components/TransactionRecords/TransactionRecords.mjs +4 -6
  224. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  225. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +7 -8
  226. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  227. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +7 -8
  228. package/dist/components/index.d.ts +0 -1
  229. package/dist/components.js +1 -1
  230. package/dist/components.mjs +34 -39
  231. package/dist/dist/constants/index.js +1 -0
  232. package/dist/dist/constants/index.mjs +27 -0
  233. package/dist/dist/server/utils/prefetchTopWinsQuery.js +1 -0
  234. package/dist/dist/server/utils/prefetchTopWinsQuery.mjs +22 -0
  235. package/dist/dist/utils/getLocaleInfo.js +1 -0
  236. package/dist/dist/utils/getLocaleInfo.mjs +397 -0
  237. package/dist/dist/utils/getQueryClient.js +1 -0
  238. package/dist/dist/utils/getQueryClient.mjs +23 -0
  239. package/dist/dist/utils/isMobile.js +1 -0
  240. package/dist/dist/utils/isMobile.mjs +7 -0
  241. package/dist/dist/utils/parseDecimal.js +1 -0
  242. package/dist/dist/utils/parseDecimal.mjs +8 -0
  243. package/dist/dist/utils/queryKeys.js +1 -0
  244. package/dist/dist/utils/queryKeys.mjs +4 -0
  245. package/dist/handlers.d.ts +1 -1
  246. package/dist/server/utils/prefetchAccountQuery.js +1 -1
  247. package/dist/server/utils/prefetchAccountQuery.mjs +9 -12
  248. package/dist/server/utils/prefetchAvailablePromosQuery.js +1 -1
  249. package/dist/server/utils/prefetchAvailablePromosQuery.mjs +10 -13
  250. package/dist/server/utils/prefetchBetRecordsQuery.js +1 -1
  251. package/dist/server/utils/prefetchBetRecordsQuery.mjs +8 -11
  252. package/dist/server/utils/prefetchCashbacksQuery.js +1 -1
  253. package/dist/server/utils/prefetchCashbacksQuery.mjs +10 -13
  254. package/dist/server/utils/prefetchDepositQuery.js +1 -1
  255. package/dist/server/utils/prefetchDepositQuery.mjs +13 -16
  256. package/dist/server/utils/prefetchDepositRecordsQuery.js +1 -1
  257. package/dist/server/utils/prefetchDepositRecordsQuery.mjs +13 -16
  258. package/dist/server/utils/prefetchGamesQuery.js +1 -1
  259. package/dist/server/utils/prefetchGamesQuery.mjs +9 -12
  260. package/dist/server/utils/prefetchInstapayBankListQuery.js +1 -1
  261. package/dist/server/utils/prefetchInstapayBankListQuery.mjs +8 -11
  262. package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +1 -1
  263. package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +12 -15
  264. package/dist/server/utils/prefetchJackpotsQuery.js +1 -1
  265. package/dist/server/utils/prefetchJackpotsQuery.mjs +9 -12
  266. package/dist/server/utils/prefetchMemberVerificationQuery.js +1 -1
  267. package/dist/server/utils/prefetchMemberVerificationQuery.mjs +8 -11
  268. package/dist/server/utils/prefetchPaymentSettingsQuery.js +1 -1
  269. package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +2 -5
  270. package/dist/server/utils/prefetchPlatformQuery.js +1 -1
  271. package/dist/server/utils/prefetchPlatformQuery.mjs +2 -5
  272. package/dist/server/utils/prefetchPromoQuery.js +1 -1
  273. package/dist/server/utils/prefetchPromoQuery.mjs +7 -10
  274. package/dist/server/utils/prefetchPromosQuery.js +1 -1
  275. package/dist/server/utils/prefetchPromosQuery.mjs +7 -10
  276. package/dist/server/utils/prefetchSessionQuery.js +1 -1
  277. package/dist/server/utils/prefetchSessionQuery.mjs +2 -5
  278. package/dist/server/utils/prefetchSiteQuery.js +1 -1
  279. package/dist/server/utils/prefetchSiteQuery.mjs +6 -9
  280. package/dist/server/utils/prefetchTopWinsQuery.js +1 -1
  281. package/dist/server/utils/prefetchTopWinsQuery.mjs +6 -9
  282. package/dist/server/utils/prefetchTournamentsQuery.js +1 -1
  283. package/dist/server/utils/prefetchTournamentsQuery.mjs +2 -5
  284. package/dist/server/utils/prefetchTransactionRecordsQuery.js +1 -1
  285. package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +6 -9
  286. package/dist/server/utils/prefetchWalletQuery.js +1 -1
  287. package/dist/server/utils/prefetchWalletQuery.mjs +11 -14
  288. package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +1 -1
  289. package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +2 -5
  290. package/dist/ui/AlertDialog/AlertDialog.js +1 -1
  291. package/dist/ui/AlertDialog/AlertDialog.mjs +15 -21
  292. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  293. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +2 -5
  294. package/dist/ui/Avatar/Avatar.js +1 -1
  295. package/dist/ui/Avatar/Avatar.mjs +8 -14
  296. package/dist/ui/Avatar/avatar.recipe.js +1 -1
  297. package/dist/ui/Avatar/avatar.recipe.mjs +5 -8
  298. package/dist/ui/Badge/Badge.js +1 -1
  299. package/dist/ui/Badge/Badge.mjs +10 -16
  300. package/dist/ui/Badge/badge.recipe.js +1 -1
  301. package/dist/ui/Badge/badge.recipe.mjs +2 -5
  302. package/dist/ui/Button/Button.js +1 -1
  303. package/dist/ui/Button/Button.mjs +2 -4
  304. package/dist/ui/Checkbox/Checkbox.js +1 -1
  305. package/dist/ui/Checkbox/Checkbox.mjs +12 -18
  306. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  307. package/dist/ui/Checkbox/checkbox.recipe.mjs +5 -8
  308. package/dist/ui/Clipboard/Clipboard.js +1 -1
  309. package/dist/ui/Clipboard/Clipboard.mjs +11 -17
  310. package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
  311. package/dist/ui/Clipboard/clipboard.recipe.mjs +2 -5
  312. package/dist/ui/DatePicker/DatePicker.js +1 -1
  313. package/dist/ui/DatePicker/DatePicker.mjs +31 -37
  314. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  315. package/dist/ui/DatePicker/datePicker.recipe.mjs +2 -5
  316. package/dist/ui/Dialog/Dialog.js +1 -1
  317. package/dist/ui/Dialog/Dialog.mjs +15 -21
  318. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  319. package/dist/ui/Dialog/dialog.recipe.mjs +2 -5
  320. package/dist/ui/Drawer/Drawer.js +1 -1
  321. package/dist/ui/Drawer/Drawer.mjs +15 -21
  322. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  323. package/dist/ui/Drawer/drawer.recipe.mjs +5 -8
  324. package/dist/ui/Field/Field.js +1 -1
  325. package/dist/ui/Field/Field.mjs +11 -17
  326. package/dist/ui/Field/field.recipe.js +1 -1
  327. package/dist/ui/Field/field.recipe.mjs +2 -5
  328. package/dist/ui/IconButton/IconButton.js +1 -1
  329. package/dist/ui/IconButton/IconButton.mjs +2 -4
  330. package/dist/ui/NumberInput/NumberInput.js +1 -1
  331. package/dist/ui/NumberInput/NumberInput.mjs +17 -23
  332. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  333. package/dist/ui/NumberInput/numberInput.recipe.mjs +2 -5
  334. package/dist/ui/PinInput/PinInput.js +1 -1
  335. package/dist/ui/PinInput/PinInput.mjs +10 -16
  336. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  337. package/dist/ui/PinInput/pinInput.recipe.mjs +2 -5
  338. package/dist/ui/Popover/Popover.js +1 -1
  339. package/dist/ui/Popover/Popover.mjs +15 -21
  340. package/dist/ui/Popover/popover.recipe.js +1 -1
  341. package/dist/ui/Popover/popover.recipe.mjs +5 -8
  342. package/dist/ui/Presence.js +1 -1
  343. package/dist/ui/Presence.mjs +7 -6
  344. package/dist/ui/SegmentGroup/SegmentGroup.js +1 -1
  345. package/dist/ui/SegmentGroup/SegmentGroup.mjs +12 -18
  346. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  347. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +4 -7
  348. package/dist/ui/Select/Select.js +1 -1
  349. package/dist/ui/Select/Select.mjs +23 -29
  350. package/dist/ui/Select/select.recipe.js +1 -1
  351. package/dist/ui/Select/select.recipe.mjs +5 -8
  352. package/dist/ui/Table/Table.js +1 -1
  353. package/dist/ui/Table/Table.mjs +10 -16
  354. package/dist/ui/Table/table.recipe.js +1 -1
  355. package/dist/ui/Table/table.recipe.mjs +2 -5
  356. package/dist/ui/Tabs/Tabs.js +1 -1
  357. package/dist/ui/Tabs/Tabs.mjs +10 -16
  358. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  359. package/dist/ui/Tabs/tabs.recipe.mjs +4 -7
  360. package/dist/utils/index.d.ts +0 -2
  361. package/dist/utils.js +1 -1
  362. package/dist/utils.mjs +54 -58
  363. package/package.json +143 -128
  364. package/dist/_virtual/_commonjsHelpers.js +0 -1
  365. package/dist/_virtual/_commonjsHelpers.mjs +0 -8
  366. package/dist/_virtual/browser.js +0 -1
  367. package/dist/_virtual/browser.mjs +0 -5
  368. package/dist/_virtual/browser2.js +0 -1
  369. package/dist/_virtual/browser2.mjs +0 -7
  370. package/dist/_virtual/browser3.js +0 -1
  371. package/dist/_virtual/browser3.mjs +0 -4
  372. package/dist/_virtual/browser4.js +0 -1
  373. package/dist/_virtual/browser4.mjs +0 -4
  374. package/dist/_virtual/index.js +0 -1
  375. package/dist/_virtual/index.mjs +0 -7
  376. package/dist/_virtual/index2.js +0 -1
  377. package/dist/_virtual/index2.mjs +0 -4
  378. package/dist/_virtual/index3.js +0 -1
  379. package/dist/_virtual/index3.mjs +0 -4
  380. package/dist/_virtual/index4.js +0 -1
  381. package/dist/_virtual/index4.mjs +0 -4
  382. package/dist/_virtual/index5.js +0 -1
  383. package/dist/_virtual/index5.mjs +0 -4
  384. package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +0 -6
  385. package/dist/components/FeatureFlagProvider/FeatureFlagContext.js +0 -1
  386. package/dist/components/FeatureFlagProvider/FeatureFlagContext.mjs +0 -13
  387. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.d.ts +0 -6
  388. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.js +0 -1
  389. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.mjs +0 -64
  390. package/dist/components/FeatureFlagProvider/index.d.ts +0 -2
  391. package/dist/components/FeatureFlagProvider/useFeatureFlag.d.ts +0 -8
  392. package/dist/components/FeatureFlagProvider/useFeatureFlag.js +0 -1
  393. package/dist/components/FeatureFlagProvider/useFeatureFlag.mjs +0 -22
  394. package/dist/hooks/useAccountQuery.js +0 -1
  395. package/dist/hooks/useAccountQuery.mjs +0 -41
  396. package/dist/hooks/useAuthenticateMutation.js +0 -1
  397. package/dist/hooks/useAuthenticateMutation.mjs +0 -27
  398. package/dist/hooks/useAvailablePromosQuery.js +0 -1
  399. package/dist/hooks/useAvailablePromosQuery.mjs +0 -41
  400. package/dist/hooks/useBetRecordsQuery.js +0 -1
  401. package/dist/hooks/useBetRecordsQuery.mjs +0 -50
  402. package/dist/hooks/useCashbacksQuery.js +0 -1
  403. package/dist/hooks/useCashbacksQuery.mjs +0 -26
  404. package/dist/hooks/useCreateGCashDepositMutation.js +0 -1
  405. package/dist/hooks/useCreateGameSessionMutation.js +0 -1
  406. package/dist/hooks/useCreateMayaAppDepositMutation.js +0 -1
  407. package/dist/hooks/useCreateMayaAppDepositMutation.mjs +0 -69
  408. package/dist/hooks/useCreateMayaDepositMutation.js +0 -1
  409. package/dist/hooks/useCreateMayaDepositMutation.mjs +0 -69
  410. package/dist/hooks/useCreateOnlineBankDepositMutation.js +0 -1
  411. package/dist/hooks/useCreateQRPHDepositMutation.js +0 -1
  412. package/dist/hooks/useDepositQuery.js +0 -1
  413. package/dist/hooks/useDepositQuery.mjs +0 -42
  414. package/dist/hooks/useDepositRecordsQuery.js +0 -1
  415. package/dist/hooks/useDepositRecordsQuery.mjs +0 -50
  416. package/dist/hooks/useDepositsCountQuery.js +0 -1
  417. package/dist/hooks/useDepositsCountQuery.mjs +0 -41
  418. package/dist/hooks/useEndGameSessionMutation.js +0 -1
  419. package/dist/hooks/useGamesQuery.js +0 -1
  420. package/dist/hooks/useGamesQuery.mjs +0 -42
  421. package/dist/hooks/useInstapayBankListQuery.js +0 -1
  422. package/dist/hooks/useInstapayBankListQuery.mjs +0 -41
  423. package/dist/hooks/useIsMayaSessionValidQuery.js +0 -1
  424. package/dist/hooks/useIsMayaSessionValidQuery.mjs +0 -51
  425. package/dist/hooks/useJackpotsQuery.js +0 -1
  426. package/dist/hooks/useJackpotsQuery.mjs +0 -34
  427. package/dist/hooks/useLocaleInfo.d.ts +0 -1
  428. package/dist/hooks/useLocaleInfo.js +0 -1
  429. package/dist/hooks/useLocaleInfo.mjs +0 -18
  430. package/dist/hooks/useMemberVerificationQuery.js +0 -1
  431. package/dist/hooks/useMemberVerificationQuery.mjs +0 -41
  432. package/dist/hooks/usePaymentSettingsQuery.js +0 -1
  433. package/dist/hooks/usePaymentSettingsQuery.mjs +0 -41
  434. package/dist/hooks/usePlatformQuery.js +0 -1
  435. package/dist/hooks/usePlatformQuery.mjs +0 -24
  436. package/dist/hooks/usePromoQuery.js +0 -1
  437. package/dist/hooks/usePromoQuery.mjs +0 -27
  438. package/dist/hooks/usePromosQuery.js +0 -1
  439. package/dist/hooks/usePromosQuery.mjs +0 -26
  440. package/dist/hooks/useSendVerificationCodeMutation.js +0 -1
  441. package/dist/hooks/useSendVerificationCodeMutation.mjs +0 -27
  442. package/dist/hooks/useSessionQuery.js +0 -1
  443. package/dist/hooks/useSessionQuery.mjs +0 -22
  444. package/dist/hooks/useSignInMutation.js +0 -1
  445. package/dist/hooks/useSignInMutation.mjs +0 -28
  446. package/dist/hooks/useSignOutMutation.js +0 -1
  447. package/dist/hooks/useSignOutMutation.mjs +0 -25
  448. package/dist/hooks/useSignUpMutation.js +0 -1
  449. package/dist/hooks/useSignUpMutation.mjs +0 -28
  450. package/dist/hooks/useSiteQuery.js +0 -1
  451. package/dist/hooks/useSiteQuery.mjs +0 -26
  452. package/dist/hooks/useTopWinsQuery.js +0 -1
  453. package/dist/hooks/useTopWinsQuery.mjs +0 -25
  454. package/dist/hooks/useTournamentsQuery.js +0 -1
  455. package/dist/hooks/useTournamentsQuery.mjs +0 -35
  456. package/dist/hooks/useTransactionRecordsQuery.js +0 -1
  457. package/dist/hooks/useWalletQuery.js +0 -1
  458. package/dist/hooks/useWalletQuery.mjs +0 -41
  459. package/dist/hooks/useWithdrawalRecordsQuery.js +0 -1
  460. package/dist/hooks/useWithdrawalRecordsQuery.mjs +0 -50
  461. package/dist/hooks.d.ts +0 -2
  462. package/dist/hooks.js +0 -1
  463. package/dist/hooks.mjs +0 -88
  464. package/dist/node_modules/.pnpm/@ark-ui_react@5.9.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@ark-ui/react/dist/components/toast/create-toaster.js +0 -1
  465. package/dist/node_modules/.pnpm/@ark-ui_react@5.9.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@ark-ui/react/dist/components/toast/create-toaster.mjs +0 -6
  466. package/dist/node_modules/.pnpm/@opexa_portal-sdk-core@0.0.22/node_modules/@opexa/portal-sdk-core/dist/object-id.js +0 -1
  467. package/dist/node_modules/.pnpm/@opexa_portal-sdk-core@0.0.22/node_modules/@opexa/portal-sdk-core/dist/object-id.mjs +0 -66
  468. package/dist/node_modules/.pnpm/@zag-js_anatomy@1.12.4/node_modules/@zag-js/anatomy/dist/index.js +0 -1
  469. package/dist/node_modules/.pnpm/@zag-js_anatomy@1.12.4/node_modules/@zag-js/anatomy/dist/index.mjs +0 -25
  470. package/dist/node_modules/.pnpm/@zag-js_toast@1.12.4/node_modules/@zag-js/toast/dist/index.js +0 -1
  471. package/dist/node_modules/.pnpm/@zag-js_toast@1.12.4/node_modules/@zag-js/toast/dist/index.mjs +0 -123
  472. package/dist/node_modules/.pnpm/@zag-js_utils@1.12.4/node_modules/@zag-js/utils/dist/index.js +0 -1
  473. package/dist/node_modules/.pnpm/@zag-js_utils@1.12.4/node_modules/@zag-js/utils/dist/index.mjs +0 -21
  474. package/dist/node_modules/.pnpm/base-x@4.0.0/node_modules/base-x/src/index.js +0 -1
  475. package/dist/node_modules/.pnpm/base-x@4.0.0/node_modules/base-x/src/index.mjs +0 -76
  476. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +0 -1
  477. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.mjs +0 -52
  478. package/dist/node_modules/.pnpm/bs58@5.0.0/node_modules/bs58/index.js +0 -1
  479. package/dist/node_modules/.pnpm/bs58@5.0.0/node_modules/bs58/index.mjs +0 -8
  480. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js +0 -6
  481. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.mjs +0 -953
  482. package/dist/node_modules/.pnpm/crypto-hash@1.3.0/node_modules/crypto-hash/browser.js +0 -1
  483. package/dist/node_modules/.pnpm/crypto-hash@1.3.0/node_modules/crypto-hash/browser.mjs +0 -34
  484. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +0 -1
  485. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.mjs +0 -30
  486. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/browser.js +0 -2
  487. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/browser.mjs +0 -32
  488. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +0 -1
  489. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.mjs +0 -38
  490. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/react/shallow.js +0 -1
  491. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/react/shallow.mjs +0 -12
  492. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/vanilla/shallow.js +0 -1
  493. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/vanilla/shallow.mjs +0 -30
  494. package/dist/services/authenticate.js +0 -1
  495. package/dist/services/signIn.js +0 -1
  496. package/dist/services.d.ts +0 -2
  497. package/dist/services.js +0 -1
  498. package/dist/services.mjs +0 -10
  499. package/dist/utils/createRecipeContext.js +0 -1
  500. package/dist/utils/createRecipeContext.mjs +0 -49
  501. package/dist/utils/toaster.d.ts +0 -2
  502. package/dist/utils/toaster.js +0 -1
  503. package/dist/utils/toaster.mjs +0 -11
  504. /package/dist/{hooks → client/hooks}/index.d.ts +0 -0
  505. /package/dist/{hooks → client/hooks}/useControllableState.d.ts +0 -0
  506. /package/dist/{hooks → client/hooks}/useControllableState.js +0 -0
  507. /package/dist/{hooks → client/hooks}/useControllableState.mjs +0 -0
  508. /package/dist/{hooks → client/hooks}/useCooldown.d.ts +0 -0
  509. /package/dist/{hooks → client/hooks}/useCooldown.js +0 -0
  510. /package/dist/{hooks → client/hooks}/useCooldown.mjs +0 -0
  511. /package/dist/{hooks → client/hooks}/useDisclosure.d.ts +0 -0
  512. /package/dist/{hooks → client/hooks}/useDisclosure.js +0 -0
  513. /package/dist/{hooks → client/hooks}/useDisclosure.mjs +0 -0
  514. /package/dist/{hooks → client/hooks}/useGlobalStore.d.ts +0 -0
  515. /package/dist/{hooks → client/hooks}/useGlobalStore.js +0 -0
  516. /package/dist/{hooks → client/hooks}/useGlobalStore.mjs +0 -0
  517. /package/dist/{hooks → client/hooks}/useInfiniteQueryHelper.js +0 -0
  518. /package/dist/{hooks → client/hooks}/useInfiniteQueryHelper.mjs +0 -0
  519. /package/dist/{hooks → client/hooks}/useMobileNumberParser.d.ts +0 -0
  520. /package/dist/{hooks → client/hooks}/useMobileNumberParser.js +0 -0
  521. /package/dist/{hooks → client/hooks}/useMobileNumberParser.mjs +0 -0
  522. /package/dist/{hooks → client/hooks}/useOnMMA.d.ts +0 -0
  523. /package/dist/{hooks → client/hooks}/useOnMMA.js +0 -0
  524. /package/dist/{hooks → client/hooks}/useOnMMA.mjs +0 -0
  525. /package/dist/{services → client/services}/authenticate.d.ts +0 -0
  526. /package/dist/{services → client/services}/getSession.js +0 -0
  527. /package/dist/{services → client/services}/getSession.mjs +0 -0
  528. /package/dist/{services → client/services}/index.d.ts +0 -0
  529. /package/dist/{services → client/services}/signIn.d.ts +0 -0
  530. /package/dist/{services → client/services}/signOut.d.ts +0 -0
  531. /package/dist/{services → client/services}/signOut.js +0 -0
  532. /package/dist/{services → client/services}/signOut.mjs +0 -0
  533. /package/dist/{utils → client/utils}/createRecipeContext.d.ts +0 -0
package/dist/utils.mjs CHANGED
@@ -1,64 +1,60 @@
1
1
  import { anatomyToRecipeSlots as o } from "./utils/anatomyToRecipeSlots.mjs";
2
- import { capitalize as a } from "./utils/capitalize.mjs";
2
+ import { capitalize as y } from "./utils/capitalize.mjs";
3
3
  import { createPoll as i } from "./utils/createPoll.mjs";
4
- import { createRecipeContext as g } from "./utils/createRecipeContext.mjs";
5
- import { createSplitProps as s } from "./utils/createSplitProps.mjs";
6
- import { dataAttr as p } from "./utils/dataAttr.mjs";
7
- import { formatNumber as Q } from "./utils/formatNumber.mjs";
8
- import { getGameImageUrl as f } from "./utils/getGameImageUrl.mjs";
9
- import { getLocaleInfo as M } from "./utils/getLocaleInfo.mjs";
10
- import { getQueryClient as C } from "./utils/getQueryClient.mjs";
11
- import { onMobileDevice as d } from "./utils/isMobile.mjs";
12
- import { parseDecimal as P } from "./utils/parseDecimal.mjs";
13
- import { getAccountQueryKey as b, getAuthenticateMutationKey as A, getAvailablePromosQueryKey as G, getBetRecordsQueryKey as I, getCashbacksQueryKey as h, getCreateGCashDepositMutationKey as k, getCreateGameSessionMutationKey as T, getCreateMayaAppDepositMutationKey as B, getCreateMayaDepositMutationKey as V, getCreateOnlineBankDepositMutationKey as W, getCreateQRPHDepositMutationKey as v, getDepositQueryKey as L, getDepositRecordsQueryKey as O, getDepositsCountQueryKey as U, getEndGameSessionMutationKey as w, getGamesQueryKey as z, getInstapayBankListQueryKey as E, getIsMayaSessionValidQueryKey as H, getJackpotsQueryKey as J, getMemberVerificationQueryKey as N, getPaymentSettingsQueryKey as j, getPlatformQueryKey as q, getPromoQueryKey as F, getPromosQueryKey as X, getSendVerificationCodeMutationKey as Y, getSessionQueryKey as Z, getSignInMutationKey as _, getSignOutMutationKey as $, getSignUpMutationKey as ee, getSiteQueryKey as te, getTopWinsQueryKey as oe, getTournamentsQueryKey as re, getTransactionRecordsQueryKey as ae, getWalletQueryKey as ye, getWithdrawalRecordsQueryKey as ie } from "./utils/queryKeys.mjs";
14
- import { toaster as ge } from "./utils/toaster.mjs";
4
+ import { createSplitProps as n } from "./utils/createSplitProps.mjs";
5
+ import { dataAttr as s } from "./utils/dataAttr.mjs";
6
+ import { formatNumber as p } from "./utils/formatNumber.mjs";
7
+ import { getGameImageUrl as Q } from "./utils/getGameImageUrl.mjs";
8
+ import { getLocaleInfo as l } from "./utils/getLocaleInfo.mjs";
9
+ import { getQueryClient as M } from "./utils/getQueryClient.mjs";
10
+ import { onMobileDevice as S } from "./utils/isMobile.mjs";
11
+ import { parseDecimal as d } from "./utils/parseDecimal.mjs";
12
+ import { getAccountQueryKey as P, getAuthenticateMutationKey as R, getAvailablePromosQueryKey as b, getBetRecordsQueryKey as A, getCashbacksQueryKey as G, getCreateGCashDepositMutationKey as I, getCreateGameSessionMutationKey as h, getCreateMayaAppDepositMutationKey as k, getCreateMayaDepositMutationKey as T, getCreateOnlineBankDepositMutationKey as B, getCreateQRPHDepositMutationKey as V, getDepositQueryKey as W, getDepositRecordsQueryKey as v, getDepositsCountQueryKey as L, getEndGameSessionMutationKey as O, getGamesQueryKey as U, getInstapayBankListQueryKey as w, getIsMayaSessionValidQueryKey as z, getJackpotsQueryKey as E, getMemberVerificationQueryKey as H, getPaymentSettingsQueryKey as J, getPlatformQueryKey as N, getPromoQueryKey as j, getPromosQueryKey as q, getSendVerificationCodeMutationKey as F, getSessionQueryKey as X, getSignInMutationKey as Y, getSignOutMutationKey as Z, getSignUpMutationKey as _, getSiteQueryKey as $, getTopWinsQueryKey as ee, getTournamentsQueryKey as te, getTransactionRecordsQueryKey as oe, getWalletQueryKey as re, getWithdrawalRecordsQueryKey as ye } from "./utils/queryKeys.mjs";
15
13
  export {
16
14
  o as anatomyToRecipeSlots,
17
- a as capitalize,
15
+ y as capitalize,
18
16
  i as createPoll,
19
- g as createRecipeContext,
20
- s as createSplitProps,
21
- p as dataAttr,
22
- Q as formatNumber,
23
- b as getAccountQueryKey,
24
- A as getAuthenticateMutationKey,
25
- G as getAvailablePromosQueryKey,
26
- I as getBetRecordsQueryKey,
27
- h as getCashbacksQueryKey,
28
- k as getCreateGCashDepositMutationKey,
29
- T as getCreateGameSessionMutationKey,
30
- B as getCreateMayaAppDepositMutationKey,
31
- V as getCreateMayaDepositMutationKey,
32
- W as getCreateOnlineBankDepositMutationKey,
33
- v as getCreateQRPHDepositMutationKey,
34
- L as getDepositQueryKey,
35
- O as getDepositRecordsQueryKey,
36
- U as getDepositsCountQueryKey,
37
- w as getEndGameSessionMutationKey,
38
- f as getGameImageUrl,
39
- z as getGamesQueryKey,
40
- E as getInstapayBankListQueryKey,
41
- H as getIsMayaSessionValidQueryKey,
42
- J as getJackpotsQueryKey,
43
- M as getLocaleInfo,
44
- N as getMemberVerificationQueryKey,
45
- j as getPaymentSettingsQueryKey,
46
- q as getPlatformQueryKey,
47
- F as getPromoQueryKey,
48
- X as getPromosQueryKey,
49
- C as getQueryClient,
50
- Y as getSendVerificationCodeMutationKey,
51
- Z as getSessionQueryKey,
52
- _ as getSignInMutationKey,
53
- $ as getSignOutMutationKey,
54
- ee as getSignUpMutationKey,
55
- te as getSiteQueryKey,
56
- oe as getTopWinsQueryKey,
57
- re as getTournamentsQueryKey,
58
- ae as getTransactionRecordsQueryKey,
59
- ye as getWalletQueryKey,
60
- ie as getWithdrawalRecordsQueryKey,
61
- d as onMobileDevice,
62
- P as parseDecimal,
63
- ge as toaster
17
+ n as createSplitProps,
18
+ s as dataAttr,
19
+ p as formatNumber,
20
+ P as getAccountQueryKey,
21
+ R as getAuthenticateMutationKey,
22
+ b as getAvailablePromosQueryKey,
23
+ A as getBetRecordsQueryKey,
24
+ G as getCashbacksQueryKey,
25
+ I as getCreateGCashDepositMutationKey,
26
+ h as getCreateGameSessionMutationKey,
27
+ k as getCreateMayaAppDepositMutationKey,
28
+ T as getCreateMayaDepositMutationKey,
29
+ B as getCreateOnlineBankDepositMutationKey,
30
+ V as getCreateQRPHDepositMutationKey,
31
+ W as getDepositQueryKey,
32
+ v as getDepositRecordsQueryKey,
33
+ L as getDepositsCountQueryKey,
34
+ O as getEndGameSessionMutationKey,
35
+ Q as getGameImageUrl,
36
+ U as getGamesQueryKey,
37
+ w as getInstapayBankListQueryKey,
38
+ z as getIsMayaSessionValidQueryKey,
39
+ E as getJackpotsQueryKey,
40
+ l as getLocaleInfo,
41
+ H as getMemberVerificationQueryKey,
42
+ J as getPaymentSettingsQueryKey,
43
+ N as getPlatformQueryKey,
44
+ j as getPromoQueryKey,
45
+ q as getPromosQueryKey,
46
+ M as getQueryClient,
47
+ F as getSendVerificationCodeMutationKey,
48
+ X as getSessionQueryKey,
49
+ Y as getSignInMutationKey,
50
+ Z as getSignOutMutationKey,
51
+ _ as getSignUpMutationKey,
52
+ $ as getSiteQueryKey,
53
+ ee as getTopWinsQueryKey,
54
+ te as getTournamentsQueryKey,
55
+ oe as getTransactionRecordsQueryKey,
56
+ re as getWalletQueryKey,
57
+ ye as getWithdrawalRecordsQueryKey,
58
+ S as onMobileDevice,
59
+ d as parseDecimal
64
60
  };
package/package.json CHANGED
@@ -1,128 +1,143 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.11",
4
- "exports": {
5
- ".": {
6
- "types": "./dist/components/index.d.ts",
7
- "import": "./dist/components.mjs",
8
- "require": "./dist/components.js"
9
- },
10
- "./handlers": {
11
- "types": "./dist/handlers.d.ts",
12
- "import": "./dist/handlers.mjs",
13
- "require": "./dist/handlers.js"
14
- },
15
- "./middleware": {
16
- "types": "./dist/middleware.d.ts",
17
- "import": "./dist/middleware.mjs",
18
- "require": "./dist/middleware.js"
19
- },
20
- "./ui": {
21
- "types": "./dist/ui/index.d.ts",
22
- "import": "./dist/ui.mjs",
23
- "require": "./dist/ui.js"
24
- },
25
- "./server/utils": {
26
- "types": "./dist/server-utils.d.ts",
27
- "import": "./dist/server-utils.mjs",
28
- "require": "./dist/server-utils.js"
29
- },
30
- "./server/services": {
31
- "types": "./dist/server-services.d.ts",
32
- "import": "./dist/server-services.mjs",
33
- "require": "./dist/server-services.js"
34
- },
35
- "./theme.css": "./dist/theme.css",
36
- "./package.json": "./package.json"
37
- },
38
- "files": [
39
- "dist"
40
- ],
41
- "publishConfig": {
42
- "access": "public"
43
- },
44
- "scripts": {
45
- "dev": "next dev --port 4000 --turbopack",
46
- "build": "vite build",
47
- "build:app": "next build",
48
- "start": "next start",
49
- "lint": "next lint",
50
- "release": "release-it"
51
- },
52
- "dependencies": {
53
- "@ark-ui/anatomy": "3.5.0",
54
- "@ark-ui/react": "5.9.2",
55
- "@date-fns/tz": "^1.2.0",
56
- "@tailwindcss/typography": "0.5.15",
57
- "date-fns": "4.1.0",
58
- "embla-carousel-autoplay": "8.6.0",
59
- "embla-carousel-react": "8.6.0",
60
- "is-mobile": "^5.0.0",
61
- "lodash-es": "4.17.21",
62
- "react-fast-marquee": "^1.6.5",
63
- "tailwind-merge": "3.3.0",
64
- "tailwind-variants": "1.0.0",
65
- "tailwindcss-plugin-zag": "0.1.0",
66
- "tiny-invariant": "1.3.3",
67
- "usehooks-ts": "3.1.1",
68
- "zustand": "5.0.5"
69
- },
70
- "devDependencies": {
71
- "@eslint/eslintrc": "3",
72
- "@hookform/resolvers": "5.0.1",
73
- "@opexa/portal-sdk-core": "0.0.22",
74
- "@tailwindcss/postcss": "4",
75
- "@tanstack/react-query": "5.77.0",
76
- "@tanstack/react-query-devtools": "5.77.0",
77
- "@total-typescript/ts-reset": "0.6.1",
78
- "@tsconfig/vite-react": "^6.3.5",
79
- "@types/lodash-es": "4.17.12",
80
- "@types/node": "22",
81
- "@types/react": "19",
82
- "@types/react-dom": "19",
83
- "@vitejs/plugin-react": "^4.5.0",
84
- "eslint": "9",
85
- "eslint-config-next": "15.3.2",
86
- "next": "15.1.8",
87
- "react": "19.1.0",
88
- "react-dom": "19.1.0",
89
- "react-hook-form": "7.56.4",
90
- "release-it": "19.0.2",
91
- "rollup-preserve-directives": "^1.1.3",
92
- "tailwindcss": "4",
93
- "type-fest": "4.41.0",
94
- "typescript": "5",
95
- "vite": "^6.3.5",
96
- "vite-plugin-dts": "^4.5.4",
97
- "vite-tsconfig-paths": "^5.1.4",
98
- "zod": "3.25.28"
99
- },
100
- "peerDependencies": {
101
- "@hookform/resolvers": "^4.0.0",
102
- "@opexa/portal-sdk-core": "^0.0.22",
103
- "@tanstack/react-query": "^5.0.0",
104
- "next": "^15.0.0",
105
- "react": "^19.0.0",
106
- "react-dom": "^19.0.0",
107
- "react-hook-form": "^7.0.0",
108
- "tailwindcss": "^4.0.0",
109
- "zod": "^3.0.0"
110
- },
111
- "release-it": {
112
- "git": {
113
- "commitMessage": "chore: release ${npm.name} v${version}",
114
- "tagName": "${npm.name}@${version}"
115
- },
116
- "github": {
117
- "release": false
118
- },
119
- "hooks": {
120
- "before:bump": [
121
- "pnpm lint"
122
- ],
123
- "after:bump": [
124
- "pnpm build"
125
- ]
126
- }
127
- }
128
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.13",
4
+ "exports": {
5
+ ".": {
6
+ "types": "./dist/components/index.d.ts",
7
+ "import": "./dist/components.mjs",
8
+ "require": "./dist/components.js"
9
+ },
10
+ "./ui": {
11
+ "types": "./dist/ui/index.d.ts",
12
+ "import": "./dist/ui.mjs",
13
+ "require": "./dist/ui.js"
14
+ },
15
+ "./handlers": {
16
+ "types": "./dist/handlers.d.ts",
17
+ "import": "./dist/handlers.mjs",
18
+ "require": "./dist/handlers.js"
19
+ },
20
+ "./middleware": {
21
+ "types": "./dist/middleware.d.ts",
22
+ "import": "./dist/middleware.mjs",
23
+ "require": "./dist/middleware.js"
24
+ },
25
+ "./client/utils": {
26
+ "types": "./dist/client-utils.d.ts",
27
+ "import": "./dist/client-utils.mjs",
28
+ "require": "./dist/client-utils.js"
29
+ },
30
+ "./client/hooks": {
31
+ "types": "./dist/client-hooks.d.ts",
32
+ "import": "./dist/client-hooks.mjs",
33
+ "require": "./dist/client-hooks.js"
34
+ },
35
+ "./client/services": {
36
+ "types": "./dist/client-services.d.ts",
37
+ "import": "./dist/client-services.mjs",
38
+ "require": "./dist/client-services.js"
39
+ },
40
+ "./server/utils": {
41
+ "types": "./dist/server-utils.d.ts",
42
+ "import": "./dist/server-utils.mjs",
43
+ "require": "./dist/server-utils.js"
44
+ },
45
+ "./server/services": {
46
+ "types": "./dist/server-services.d.ts",
47
+ "import": "./dist/server-services.mjs",
48
+ "require": "./dist/server-services.js"
49
+ },
50
+ "./theme.css": "./dist/theme.css",
51
+ "./package.json": "./package.json"
52
+ },
53
+ "files": [
54
+ "dist"
55
+ ],
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "scripts": {
60
+ "dev": "next dev --port 4000 --turbopack",
61
+ "build": "vite build",
62
+ "build:app": "next build",
63
+ "start": "next start",
64
+ "lint": "next lint",
65
+ "release": "release-it"
66
+ },
67
+ "dependencies": {
68
+ "@ark-ui/anatomy": "3.5.0",
69
+ "@ark-ui/react": "5.9.2",
70
+ "@date-fns/tz": "^1.2.0",
71
+ "@tailwindcss/typography": "0.5.15",
72
+ "date-fns": "4.1.0",
73
+ "embla-carousel-autoplay": "8.6.0",
74
+ "embla-carousel-react": "8.6.0",
75
+ "is-mobile": "^5.0.0",
76
+ "lodash-es": "4.17.21",
77
+ "react-fast-marquee": "^1.6.5",
78
+ "tailwind-merge": "3.3.0",
79
+ "tailwind-variants": "1.0.0",
80
+ "tailwindcss-plugin-zag": "0.1.0",
81
+ "tiny-invariant": "1.3.3",
82
+ "usehooks-ts": "3.1.1",
83
+ "zustand": "5.0.5"
84
+ },
85
+ "devDependencies": {
86
+ "@eslint/eslintrc": "3",
87
+ "@hookform/resolvers": "5.0.1",
88
+ "@opexa/portal-sdk-core": "0.0.22",
89
+ "@tailwindcss/postcss": "4",
90
+ "@tanstack/react-query": "5.77.0",
91
+ "@tanstack/react-query-devtools": "5.77.0",
92
+ "@total-typescript/ts-reset": "0.6.1",
93
+ "@tsconfig/vite-react": "^6.3.5",
94
+ "@types/lodash-es": "4.17.12",
95
+ "@types/node": "22",
96
+ "@types/react": "19",
97
+ "@types/react-dom": "19",
98
+ "@vitejs/plugin-react": "^4.5.0",
99
+ "eslint": "9",
100
+ "eslint-config-next": "15.3.2",
101
+ "next": "15.1.8",
102
+ "react": "19.1.0",
103
+ "react-dom": "19.1.0",
104
+ "react-hook-form": "7.56.4",
105
+ "release-it": "19.0.2",
106
+ "rollup-preserve-directives": "^1.1.3",
107
+ "tailwindcss": "4",
108
+ "type-fest": "4.41.0",
109
+ "typescript": "5",
110
+ "vite": "^6.3.5",
111
+ "vite-plugin-dts": "^4.5.4",
112
+ "vite-tsconfig-paths": "^5.1.4",
113
+ "zod": "3.25.28"
114
+ },
115
+ "peerDependencies": {
116
+ "@hookform/resolvers": "^4.0.0",
117
+ "@opexa/portal-sdk-core": "^0.0.22",
118
+ "@tanstack/react-query": "^5.0.0",
119
+ "next": "^15.0.0",
120
+ "react": "^19.0.0",
121
+ "react-dom": "^19.0.0",
122
+ "react-hook-form": "^7.0.0",
123
+ "tailwindcss": "^4.0.0",
124
+ "zod": "^3.0.0"
125
+ },
126
+ "release-it": {
127
+ "git": {
128
+ "commitMessage": "chore: release ${npm.name} v${version}",
129
+ "tagName": "${npm.name}@${version}"
130
+ },
131
+ "github": {
132
+ "release": false
133
+ },
134
+ "hooks": {
135
+ "before:bump": [
136
+ "pnpm lint"
137
+ ],
138
+ "after:bump": [
139
+ "pnpm build"
140
+ ]
141
+ }
142
+ }
143
+ }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}exports.commonjsGlobal=o;exports.getDefaultExportFromCjs=l;
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as commonjsGlobal,
7
- l as getDefaultExportFromCjs
8
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../node_modules/.pnpm/crypto-hash@1.3.0/node_modules/crypto-hash/browser.js");var e=r.__require();exports.browserExports=e;
@@ -1,5 +0,0 @@
1
- import { __require as r } from "../node_modules/.pnpm/crypto-hash@1.3.0/node_modules/crypto-hash/browser.mjs";
2
- var o = r();
3
- export {
4
- o as b
5
- };
@@ -1 +0,0 @@
1
- "use strict";const r=require("./_commonjsHelpers.js"),e=require("../node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/browser.js");var s=e.__require();const o=r.getDefaultExportFromCjs(s);module.exports=o;
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.mjs";
2
- import { __require as o } from "../node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/browser.mjs";
3
- var e = o();
4
- const a = /* @__PURE__ */ r(e);
5
- export {
6
- a as default
7
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -1,4 +0,0 @@
1
- var r = { exports: {} };
2
- export {
3
- r as __module
4
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./_commonjsHelpers.js"),r=require("../node_modules/.pnpm/bs58@5.0.0/node_modules/bs58/index.js");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.mjs";
2
- import { __require as o } from "../node_modules/.pnpm/bs58@5.0.0/node_modules/bs58/index.mjs";
3
- var t = o();
4
- const a = /* @__PURE__ */ r(t);
5
- export {
6
- a as default
7
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
@@ -1,4 +0,0 @@
1
- var s = {};
2
- export {
3
- s as __exports
4
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
@@ -1,6 +0,0 @@
1
- import { UseFeatureFlagReturn } from './useFeatureFlag';
2
- export declare const FeatureFlagContext: import('react').Context<UseFeatureFlagReturn | null>;
3
- export declare const useFeatureFlagContext: () => UseFeatureFlagReturn | {
4
- disable: (...args: any[]) => void;
5
- enabled: false;
6
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("lodash-es"),e=require("react"),t=e.createContext(null),o=()=>e.useContext(t)??{disable:n.noop,enabled:!1};exports.FeatureFlagContext=t;exports.useFeatureFlagContext=o;
@@ -1,13 +0,0 @@
1
- "use client";
2
- import { noop as t } from "lodash-es";
3
- import { createContext as e, useContext as o } from "react";
4
- const n = e(
5
- null
6
- ), s = () => o(n) ?? {
7
- disable: t,
8
- enabled: !1
9
- };
10
- export {
11
- n as FeatureFlagContext,
12
- s as useFeatureFlagContext
13
- };
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface FeatureFlagProviderProps {
3
- children: ReactNode;
4
- }
5
- export declare function FeatureFlagProvider(props: FeatureFlagProviderProps): import("react").JSX.Element;
6
- export {};
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@ark-ui/react");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("../../utils/capitalize.js");require("react");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/toaster.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");const i=require("../../ui/Presence.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const n=require("./FeatureFlagContext.js"),a=require("./useFeatureFlag.js");function l(u){const r=a.useFeatureFlag();return e.jsxs(n.FeatureFlagContext,{value:r,children:[u.children,e.jsx(t.Portal,{children:e.jsxs(i.Presence,{lazyMount:!0,unmountOnExit:!0,present:r.enabled,className:"fixed bottom-2 left-1/2 z-toast flex -translate-x-1/2 gap-1 rounded-full bg-black/50 px-1.5 py-0.5 text-2xs leading-tight text-white backdrop-blur-sm",suppressHydrationWarning:!0,children:["Experimental features are enabled."," ",e.jsx("button",{type:"button",onClick:r.disable,className:"underline underline-offset-2",children:"Disable"})]})})]})}exports.FeatureFlagProvider=l;
@@ -1,64 +0,0 @@
1
- "use client";
2
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
- import { Portal as i } from "@ark-ui/react";
4
- import "../../ui/AlertDialog/AlertDialog.mjs";
5
- import "../../ui/Avatar/Avatar.mjs";
6
- import "../../ui/Badge/Badge.mjs";
7
- import "../../utils/capitalize.mjs";
8
- import "react";
9
- import "../../utils/parseDecimal.mjs";
10
- import "../../constants/index.mjs";
11
- import "../../utils/getLocaleInfo.mjs";
12
- import "../../utils/getQueryClient.mjs";
13
- import "../../utils/isMobile.mjs";
14
- import "../../utils/toaster.mjs";
15
- import "../../ui/Button/button.recipe.mjs";
16
- import "../../ui/Checkbox/Checkbox.mjs";
17
- import "../../ui/Clipboard/Clipboard.mjs";
18
- import "../../ui/DatePicker/DatePicker.mjs";
19
- import "../../ui/Dialog/Dialog.mjs";
20
- import "../../ui/Drawer/Drawer.mjs";
21
- import "../../ui/Field/Field.mjs";
22
- import "../../ui/IconButton/iconButton.recipe.mjs";
23
- import "../../ui/NumberInput/NumberInput.mjs";
24
- import "../../ui/PinInput/PinInput.mjs";
25
- import "../../ui/Popover/Popover.mjs";
26
- import { Presence as m } from "../../ui/Presence.mjs";
27
- import "../../ui/SegmentGroup/SegmentGroup.mjs";
28
- import "../../ui/Select/Select.mjs";
29
- import "../../ui/Table/Table.mjs";
30
- import "../../ui/Tabs/Tabs.mjs";
31
- import { FeatureFlagContext as p } from "./FeatureFlagContext.mjs";
32
- import { useFeatureFlag as n } from "./useFeatureFlag.mjs";
33
- function I(o) {
34
- const t = n();
35
- return /* @__PURE__ */ r(p, { value: t, children: [
36
- o.children,
37
- /* @__PURE__ */ e(i, { children: /* @__PURE__ */ r(
38
- m,
39
- {
40
- lazyMount: !0,
41
- unmountOnExit: !0,
42
- present: t.enabled,
43
- className: "fixed bottom-2 left-1/2 z-toast flex -translate-x-1/2 gap-1 rounded-full bg-black/50 px-1.5 py-0.5 text-2xs leading-tight text-white backdrop-blur-sm",
44
- suppressHydrationWarning: !0,
45
- children: [
46
- "Experimental features are enabled.",
47
- " ",
48
- /* @__PURE__ */ e(
49
- "button",
50
- {
51
- type: "button",
52
- onClick: t.disable,
53
- className: "underline underline-offset-2",
54
- children: "Disable"
55
- }
56
- )
57
- ]
58
- }
59
- ) })
60
- ] });
61
- }
62
- export {
63
- I as FeatureFlagProvider
64
- };
@@ -1,2 +0,0 @@
1
- export * from './FeatureFlagContext';
2
- export * from './FeatureFlagProvider';
@@ -1,8 +0,0 @@
1
- export interface UseFeatureFlagReturn {
2
- enabled: boolean;
3
- disable: () => void;
4
- }
5
- export declare function useFeatureFlag(): {
6
- enabled: boolean;
7
- disable: () => Promise<void>;
8
- };