@opexa/portal-components 0.0.889 → 0.0.890

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 (260) hide show
  1. package/dist/client/hooks/useCreateAurixPayGCashDepositMutation.d.ts +4 -0
  2. package/dist/client/hooks/useCreateAurixPayGCashDepositMutation.js +82 -0
  3. package/dist/client/hooks/useCreateAurixPayGrabPayDepositMutation.d.ts +4 -0
  4. package/dist/client/hooks/useCreateAurixPayGrabPayDepositMutation.js +88 -0
  5. package/dist/client/hooks/useCreateAurixPayPayMayaDepositMutation.d.ts +4 -0
  6. package/dist/client/hooks/useCreateAurixPayPayMayaDepositMutation.js +88 -0
  7. package/dist/client/hooks/useCreateAurixPayQrphDepositMutation.d.ts +4 -0
  8. package/dist/client/hooks/useCreateAurixPayQrphDepositMutation.js +88 -0
  9. package/dist/components/DepositWithdrawal/Deposit/AiOGCashDeposit/AiOGCashDeposit.js +1 -1
  10. package/dist/components/DepositWithdrawal/Deposit/AiOGrabPayDeposit/AiOGrabPayDeposit.js +1 -1
  11. package/dist/components/DepositWithdrawal/Deposit/AiOPalawanPayDeposit/AiOPalawanPayDeposit.js +1 -1
  12. package/dist/components/DepositWithdrawal/Deposit/AiOPayMayaDeposit/AiOPayMayaDeposit.js +1 -1
  13. package/dist/components/DepositWithdrawal/Deposit/AurixPayGCashDeposit/AurixPayGCashDeposit.d.ts +1 -0
  14. package/dist/components/DepositWithdrawal/{Deposit__legacy/AiOGCashDeposit/AiOGCashDeposit.js → Deposit/AurixPayGCashDeposit/AurixPayGCashDeposit.js} +90 -22
  15. package/dist/components/DepositWithdrawal/Deposit/AurixPayGrabPayDeposit/AurixPayGrabPayDeposit.d.ts +1 -0
  16. package/dist/components/DepositWithdrawal/{Deposit__legacy/AiOPalawanPayDeposit/AiOPalawanPayDeposit.js → Deposit/AurixPayGrabPayDeposit/AurixPayGrabPayDeposit.js} +94 -24
  17. package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.d.ts +1 -0
  18. package/dist/components/DepositWithdrawal/{Deposit__legacy/AiOGrabPayDeposit/AiOGrabPayDeposit.js → Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.js} +94 -24
  19. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/AurixPayQRPHDeposit.d.ts +1 -0
  20. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/AurixPayQRPHDeposit.js +12 -0
  21. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/AurixPayQRPHDepositContext.d.ts +25 -0
  22. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/AurixPayQRPHDepositContext.js +2 -0
  23. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/Confirmed.d.ts +1 -0
  24. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/Confirmed.js +11 -0
  25. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/Failed.d.ts +1 -0
  26. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/Failed.js +13 -0
  27. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/Form.d.ts +1 -0
  28. package/dist/components/DepositWithdrawal/Deposit/{QRPHDeposit__legacy/QRPHDepositForm.js → AurixPayQRPHDeposit/Form.js} +17 -7
  29. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/GeneratingQrCode.d.ts +1 -0
  30. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/GeneratingQrCode.js +10 -0
  31. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/QrCodeGenerated.d.ts +1 -0
  32. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/QrCodeGenerated.js +41 -0
  33. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/useAurixPayQRPHDeposit.d.ts +17 -0
  34. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/useAurixPayQRPHDeposit.js +117 -0
  35. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +23 -1
  36. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  37. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  38. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  39. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QrCodeGenerated.js +37 -1
  40. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  41. package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.d.ts +6 -0
  42. package/dist/components/DepositWithdrawal/PaymentMethods.js +20 -0
  43. package/dist/components/DepositWithdrawal/utils.d.ts +1 -1
  44. package/dist/components/DepositWithdrawal/utils.js +4 -0
  45. package/dist/components/ForgotPassword/ForgotPassword.lazy.d.ts +2 -2
  46. package/dist/components/ForgotPassword/ForgotPassword.lazy.js +14 -3
  47. package/dist/components/ForgotPassword/ForgotPasswordForm.d.ts +5 -1
  48. package/dist/components/ForgotPassword/ForgotPasswordForm.js +68 -33
  49. package/dist/components/SignUp/SignUpDefault/SignUpDefaultFormInternational.js +4 -1
  50. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarousel.d.ts +1 -0
  51. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarousel.js +3 -2
  52. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.HappyBingo.d.ts +1 -0
  53. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.HappyBingo.js +54 -0
  54. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.js +2 -2
  55. package/dist/components/TransactionRecords/DepositRecordsTable.js +6 -21
  56. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  57. package/dist/schemas/forgotPasswordSchema.d.ts +8 -8
  58. package/dist/services/queries.d.ts +6 -2
  59. package/dist/services/queries.js +177 -1
  60. package/dist/services/wallet.d.ts +55 -0
  61. package/dist/services/wallet.js +44 -1
  62. package/dist/types/index.d.ts +4 -0
  63. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  64. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  65. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  66. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  67. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  68. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  69. package/dist/ui/Dialog/Dialog.d.ts +33 -33
  70. package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
  71. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  72. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  73. package/dist/ui/Field/Field.d.ts +21 -21
  74. package/dist/ui/Field/field.recipe.d.ts +3 -3
  75. package/dist/ui/Popover/Popover.d.ts +55 -55
  76. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  77. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  78. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  79. package/dist/ui/Select/Select.d.ts +45 -45
  80. package/dist/ui/Select/select.recipe.d.ts +3 -3
  81. package/dist/ui/Table/Table.d.ts +21 -21
  82. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  83. package/dist/ui/Table/table.recipe.d.ts +3 -3
  84. package/dist/utils/capitalize.d.ts +11 -0
  85. package/dist/utils/capitalize.js +48 -5
  86. package/dist/utils/countries/types.d.ts +1 -1
  87. package/dist/utils/downloadImage.d.ts +4 -0
  88. package/dist/utils/downloadImage.js +47 -0
  89. package/dist/utils/mutationKeys.d.ts +4 -0
  90. package/dist/utils/mutationKeys.js +16 -0
  91. package/package.json +1 -1
  92. package/dist/assets/providers/alize.png +0 -0
  93. package/dist/assets/providers/bigtime-gaming.png +0 -0
  94. package/dist/assets/providers/bng.png +0 -0
  95. package/dist/assets/providers/boongo.png +0 -0
  96. package/dist/assets/providers/btg.png +0 -0
  97. package/dist/assets/providers/cq9.png +0 -0
  98. package/dist/assets/providers/darwin.png +0 -0
  99. package/dist/assets/providers/digitain.png +0 -0
  100. package/dist/assets/providers/evolution.png +0 -0
  101. package/dist/assets/providers/fantasma-games.png +0 -0
  102. package/dist/assets/providers/fc.png +0 -0
  103. package/dist/assets/providers/fp.png +0 -0
  104. package/dist/assets/providers/habanero.png +0 -0
  105. package/dist/assets/providers/hacksaw.png +0 -0
  106. package/dist/assets/providers/jdb.png +0 -0
  107. package/dist/assets/providers/jili.png +0 -0
  108. package/dist/assets/providers/leap.png +0 -0
  109. package/dist/assets/providers/live-22-metaverse.png +0 -0
  110. package/dist/assets/providers/netent.png +0 -0
  111. package/dist/assets/providers/no-limit.png +0 -0
  112. package/dist/assets/providers/pg.png +0 -0
  113. package/dist/assets/providers/pgsoft.png +0 -0
  114. package/dist/assets/providers/pragmatic-play.png +0 -0
  115. package/dist/assets/providers/realtime-gaming.png +0 -0
  116. package/dist/assets/providers/redtiger.png +0 -0
  117. package/dist/assets/providers/rtg.png +0 -0
  118. package/dist/assets/providers/sagaming.png +0 -0
  119. package/dist/components/Banner/Banner.client.d.ts +0 -12
  120. package/dist/components/Banner/Banner.client.js +0 -49
  121. package/dist/components/DepositWithdrawal/AiOPaymentMethods.d.ts +0 -11
  122. package/dist/components/DepositWithdrawal/AiOPaymentMethods.js +0 -55
  123. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.d.ts +0 -1
  124. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +0 -99
  125. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.d.ts +0 -1
  126. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +0 -17
  127. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +0 -1
  128. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +0 -116
  129. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHQRCode.d.ts +0 -3
  130. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHQRCode.js +0 -69
  131. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDeposit.d.ts +0 -1
  132. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDeposit.js +0 -10
  133. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositAlert.d.ts +0 -1
  134. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositAlert.js +0 -99
  135. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.d.ts +0 -25
  136. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.js +0 -2
  137. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositDetails.d.ts +0 -1
  138. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositDetails.js +0 -17
  139. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositForm.d.ts +0 -1
  140. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHQRCode.d.ts +0 -3
  141. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHQRCode.js +0 -69
  142. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.d.ts +0 -13
  143. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.js +0 -85
  144. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGCashDeposit/AiOGCashDeposit.d.ts +0 -1
  145. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGrabPayDeposit/AiOGrabPayDeposit.d.ts +0 -1
  146. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPalawanPayDeposit/AiOPalawanPayDeposit.d.ts +0 -1
  147. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPayMayaDeposit/AiOPayMayaDeposit.d.ts +0 -1
  148. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPayMayaDeposit/AiOPayMayaDeposit.js +0 -171
  149. package/dist/components/DepositWithdrawal/Deposit__legacy/AvailablePromos.d.ts +0 -8
  150. package/dist/components/DepositWithdrawal/Deposit__legacy/AvailablePromos.js +0 -33
  151. package/dist/components/DepositWithdrawal/Deposit__legacy/Deposit.d.ts +0 -1
  152. package/dist/components/DepositWithdrawal/Deposit__legacy/Deposit.js +0 -120
  153. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashDeposit/GCashDeposit.d.ts +0 -1
  154. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashDeposit/GCashDeposit.js +0 -163
  155. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashWebpayDeposit/GCashWebpayDeposit.d.ts +0 -1
  156. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashWebpayDeposit/GCashWebpayDeposit.js +0 -165
  157. package/dist/components/DepositWithdrawal/Deposit__legacy/LibanganDeposit/LibanganDeposit.d.ts +0 -1
  158. package/dist/components/DepositWithdrawal/Deposit__legacy/LibanganDeposit/LibanganDeposit.js +0 -186
  159. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaAppDeposit/MayaAppDeposit.d.ts +0 -1
  160. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaAppDeposit/MayaAppDeposit.js +0 -157
  161. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaDeposit/MayaDeposit.d.ts +0 -1
  162. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaDeposit/MayaDeposit.js +0 -163
  163. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaWebpayDeposit/MayaWebpayDeposit.d.ts +0 -1
  164. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaWebpayDeposit/MayaWebpayDeposit.js +0 -166
  165. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDeposit.d.ts +0 -1
  166. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDeposit.js +0 -10
  167. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositAlert.d.ts +0 -1
  168. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositAlert.js +0 -99
  169. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.d.ts +0 -25
  170. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.js +0 -2
  171. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositDetails.d.ts +0 -1
  172. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositDetails.js +0 -19
  173. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositForm.d.ts +0 -1
  174. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositForm.js +0 -115
  175. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.d.ts +0 -13
  176. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.js +0 -81
  177. package/dist/components/DepositWithdrawal/Deposit__legacy/PisoPayDeposit/PisoPayDeposit.d.ts +0 -1
  178. package/dist/components/DepositWithdrawal/Deposit__legacy/PisoPayDeposit/PisoPayDeposit.js +0 -180
  179. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDeposit.d.ts +0 -1
  180. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDeposit.js +0 -10
  181. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositAlert.d.ts +0 -1
  182. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositAlert.js +0 -99
  183. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.d.ts +0 -25
  184. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.js +0 -2
  185. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositDetails.d.ts +0 -1
  186. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositDetails.js +0 -17
  187. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositForm.d.ts +0 -1
  188. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositForm.js +0 -116
  189. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHQRCode.d.ts +0 -3
  190. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHQRCode.js +0 -69
  191. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.d.ts +0 -13
  192. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.js +0 -85
  193. package/dist/components/DigitainLauncher/Loading.d.ts +0 -1
  194. package/dist/components/DigitainLauncher/Loading.js +0 -5
  195. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +0 -184
  196. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +0 -184
  197. package/dist/components/KYC/BasicInformation.d.ts +0 -1
  198. package/dist/components/KYC/BasicInformation.js +0 -101
  199. package/dist/components/KYC/IdentityVerification.d.ts +0 -1
  200. package/dist/components/KYC/IdentityVerification.js +0 -120
  201. package/dist/components/KYC/Indicator.d.ts +0 -1
  202. package/dist/components/KYC/Indicator.js +0 -8
  203. package/dist/components/KYC/KYC.lazy.d.ts +0 -6
  204. package/dist/components/KYC/KYC.lazy.js +0 -45
  205. package/dist/components/KYC/KYCContext.d.ts +0 -6
  206. package/dist/components/KYC/KYCContext.js +0 -2
  207. package/dist/components/KYC/KYCDefault/BasicInformation.d.ts +0 -1
  208. package/dist/components/KYC/KYCDefault/BasicInformation.js +0 -101
  209. package/dist/components/KYC/KYCVerificationStatus.d.ts +0 -1
  210. package/dist/components/KYC/KYCVerificationStatus.js +0 -10
  211. package/dist/components/KYC/KYCVerificationStatus.lazy.d.ts +0 -1
  212. package/dist/components/KYC/KYCVerificationStatus.lazy.js +0 -36
  213. package/dist/components/KYC/PersonalInformation.d.ts +0 -1
  214. package/dist/components/KYC/PersonalInformation.js +0 -122
  215. package/dist/components/KYC/useKYC.d.ts +0 -25
  216. package/dist/components/KYC/useKYC.js +0 -38
  217. package/dist/components/KYCNotRequired/KYCNotRequired.d.ts +0 -0
  218. package/dist/components/KYCNotRequired/KYCNotRequired.js +0 -1
  219. package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +0 -1
  220. package/dist/components/PortalProvider/AndroidOnlyComponents.js +0 -12
  221. package/dist/components/PortalProvider/CXDTokenObserver.d.ts +0 -1
  222. package/dist/components/PortalProvider/CXDTokenObserver.js +0 -30
  223. package/dist/components/PortalProvider/LinkGoogleAccountObserver.d.ts +0 -1
  224. package/dist/components/PortalProvider/LinkGoogleAccountObserver.js +0 -29
  225. package/dist/components/Quests/MultiWageringQuest.d.ts +0 -1
  226. package/dist/components/Quests/MultiWageringQuest.js +0 -111
  227. package/dist/components/SessionWatcher/SessionWatcher.d.ts +0 -1
  228. package/dist/components/SessionWatcher/SessionWatcher.js +0 -20
  229. package/dist/components/SessionWatcher/index.d.ts +0 -1
  230. package/dist/components/SessionWatcher/index.js +0 -1
  231. package/dist/components/SignIn/utils.d.ts +0 -8
  232. package/dist/components/SignIn/utils.js +0 -26
  233. package/dist/constants/Branches.d.ts +0 -2
  234. package/dist/constants/Branches.js +0 -42
  235. package/dist/images/game-providers/ALPHACHINKO.png +0 -0
  236. package/dist/images/responsible-gaming-yellow.png +0 -0
  237. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
  238. package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
  239. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  240. package/dist/third-parties/FacebookPixel/api.js +0 -1
  241. package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
  242. package/dist/third-parties/FacebookPixel/index.js +0 -1
  243. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
  244. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
  245. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  246. package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
  247. package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
  248. package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
  249. package/dist/third-parties/index.d.ts +0 -2
  250. package/dist/third-parties/index.js +0 -2
  251. package/dist/utils/getLocaleInfo.d.ts +0 -79
  252. package/dist/utils/getLocaleInfo.js +0 -175
  253. /package/dist/client/hooks/{useAiOGCashDepositMutation.d.ts → useCreateAiOGCashDepositMutation.d.ts} +0 -0
  254. /package/dist/client/hooks/{useAiOGCashDepositMutation.js → useCreateAiOGCashDepositMutation.js} +0 -0
  255. /package/dist/client/hooks/{useAiOGrabPayDepositMutation.d.ts → useCreateAiOGrabPayDepositMutation.d.ts} +0 -0
  256. /package/dist/client/hooks/{useAiOGrabPayDepositMutation.js → useCreateAiOGrabPayDepositMutation.js} +0 -0
  257. /package/dist/client/hooks/{useAiOPalawanPayDepositMutation.d.ts → useCreateAiOPalawanPayDepositMutation.d.ts} +0 -0
  258. /package/dist/client/hooks/{useAiOPalawanPayDepositMutation.js → useCreateAiOPalawanPayDepositMutation.js} +0 -0
  259. /package/dist/client/hooks/{useAiOPayMayaDepositMutation.d.ts → useCreateAiOPayMayaDepositMutation.d.ts} +0 -0
  260. /package/dist/client/hooks/{useAiOPayMayaDepositMutation.js → useCreateAiOPayMayaDepositMutation.js} +0 -0
@@ -12,7 +12,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
15
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
16
16
  size: {
17
17
  md: {
18
18
  root: string;
@@ -26,7 +26,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
26
26
  body: string;
27
27
  };
28
28
  };
29
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
30
30
  size: {
31
31
  md: {
32
32
  root: string;
@@ -40,7 +40,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
40
40
  body: string;
41
41
  };
42
42
  };
43
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
43
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
44
44
  export declare const Header: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
45
45
  size: {
46
46
  md: {
@@ -55,7 +55,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
55
55
  body: string;
56
56
  };
57
57
  };
58
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
58
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
59
59
  size: {
60
60
  md: {
61
61
  root: string;
@@ -69,7 +69,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
69
69
  body: string;
70
70
  };
71
71
  };
72
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
72
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
73
73
  size: {
74
74
  md: {
75
75
  root: string;
@@ -83,7 +83,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
83
83
  body: string;
84
84
  };
85
85
  };
86
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
86
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
87
87
  export declare const Body: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
88
88
  size: {
89
89
  md: {
@@ -98,7 +98,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
98
98
  body: string;
99
99
  };
100
100
  };
101
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
101
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
102
102
  size: {
103
103
  md: {
104
104
  root: string;
@@ -112,7 +112,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
112
112
  body: string;
113
113
  };
114
114
  };
115
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
115
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
116
116
  size: {
117
117
  md: {
118
118
  root: string;
@@ -126,7 +126,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
126
126
  body: string;
127
127
  };
128
128
  };
129
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
129
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
130
130
  export declare const Footer: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
131
131
  size: {
132
132
  md: {
@@ -141,7 +141,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
141
141
  body: string;
142
142
  };
143
143
  };
144
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
144
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
145
145
  size: {
146
146
  md: {
147
147
  root: string;
@@ -155,7 +155,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
155
155
  body: string;
156
156
  };
157
157
  };
158
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
158
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
159
159
  size: {
160
160
  md: {
161
161
  root: string;
@@ -169,7 +169,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
169
169
  body: string;
170
170
  };
171
171
  };
172
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
172
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
173
173
  export declare const Row: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
174
174
  size: {
175
175
  md: {
@@ -184,7 +184,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
184
184
  body: string;
185
185
  };
186
186
  };
187
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
187
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
188
188
  size: {
189
189
  md: {
190
190
  root: string;
@@ -198,7 +198,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
198
198
  body: string;
199
199
  };
200
200
  };
201
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
201
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
202
202
  size: {
203
203
  md: {
204
204
  root: string;
@@ -212,7 +212,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
212
212
  body: string;
213
213
  };
214
214
  };
215
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
215
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
216
216
  export declare const Heading: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableHeaderCellElement> & import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
217
217
  size: {
218
218
  md: {
@@ -227,7 +227,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
227
227
  body: string;
228
228
  };
229
229
  };
230
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
230
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
231
231
  size: {
232
232
  md: {
233
233
  root: string;
@@ -241,7 +241,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
241
241
  body: string;
242
242
  };
243
243
  };
244
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
244
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
245
245
  size: {
246
246
  md: {
247
247
  root: string;
@@ -255,7 +255,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
255
255
  body: string;
256
256
  };
257
257
  };
258
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
258
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
259
259
  export declare const Cell: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
260
260
  size: {
261
261
  md: {
@@ -270,7 +270,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
270
270
  body: string;
271
271
  };
272
272
  };
273
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
273
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
274
274
  size: {
275
275
  md: {
276
276
  root: string;
@@ -284,7 +284,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
284
284
  body: string;
285
285
  };
286
286
  };
287
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
287
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
288
288
  size: {
289
289
  md: {
290
290
  root: string;
@@ -298,4 +298,4 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
298
298
  body: string;
299
299
  };
300
300
  };
301
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
301
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
@@ -1 +1 @@
1
- export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row">;
1
+ export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row">;
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, {
15
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
16
16
  size: {
17
17
  md: {
18
18
  root: string;
@@ -26,7 +26,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
26
26
  body: string;
27
27
  };
28
28
  };
29
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
30
30
  size: {
31
31
  md: {
32
32
  root: string;
@@ -40,4 +40,4 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
40
40
  body: string;
41
41
  };
42
42
  };
43
- }, Record<"body" | "footer" | "header" | "heading" | "root" | "cell" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
43
+ }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -14,12 +14,23 @@ export interface CapitalizeConfig {
14
14
  * @default true
15
15
  */
16
16
  trim?: boolean;
17
+ /**
18
+ * @description A record of known words to return as is, without modification.
19
+ * @example
20
+ * ```ts
21
+ * {
22
+ * Foo: 'Bar',
23
+ * Bar: 'Baz',
24
+ * }
25
+ */
26
+ knownWords?: Record<string, string>;
17
27
  }
18
28
  /**
19
29
  * @example
20
30
  * ```ts
21
31
  * capitalize('foo bar baz') // 'Foo Bar Baz'
22
32
  * capitalize('foo_bar_baz', { delimiter: capitalize.delimiters.UNDERSCORE }) // 'Foo Bar Baz'
33
+ * capitalize('foo', { knownWords: { foo: 'Bar' } }) // 'Bar'
23
34
  * ```
24
35
  */
25
36
  export declare function capitalize(subject: string, config?: CapitalizeConfig): string;
@@ -2,30 +2,73 @@ const SPACE = /\s/g;
2
2
  const UNDERSCORE = /_/g;
3
3
  const DASH = /-/g;
4
4
  const PASCAL = /(?=[A-Z])/;
5
+ const KNOWN_WORDS = {
6
+ GCASH: 'GCash',
7
+ GCASH_STANDARD_CASH_IN: 'GCash Standard Cash In',
8
+ QR_PH: 'QR PH',
9
+ PISOPAY_CHECKOUT: 'Pisopay',
10
+ PISOPAY_REMITTANCE: 'PisoPay Remittance',
11
+ PISO_PAY_CHECKOUT: 'PisoPay',
12
+ PISO_PAY_REMITTANCE: ' PisoPay Remittance',
13
+ BTI: 'BTI',
14
+ DRBINGO: 'Dr Bingo',
15
+ CQ9: 'CQ9',
16
+ E2E: 'E2E',
17
+ RTG: 'RTG',
18
+ BNG: 'BNG',
19
+ HOLLYWOODTV: 'Hollywood TV',
20
+ KINGMIDAS: 'King Midas',
21
+ SAGAMING: 'SA Gaming',
22
+ DG: 'Dynasty Gaming',
23
+ JDB: 'JDB',
24
+ MEGA2SPIN: 'Mega2Spin',
25
+ YELLOWBAT: 'Yellow Bat',
26
+ PGSOFT: 'PG Soft',
27
+ ONEAPI_SPADEGAMING: 'OneAPI Spade Gaming',
28
+ ONEAPI_EVOLUTION: 'OneAPI Evolution',
29
+ MANUAL_BANK: 'Bank Account',
30
+ MANUAL_UPI: 'UPI ID',
31
+ JK8: 'JK8',
32
+ };
5
33
  /**
6
34
  * @example
7
35
  * ```ts
8
36
  * capitalize('foo bar baz') // 'Foo Bar Baz'
9
37
  * capitalize('foo_bar_baz', { delimiter: capitalize.delimiters.UNDERSCORE }) // 'Foo Bar Baz'
38
+ * capitalize('foo', { knownWords: { foo: 'Bar' } }) // 'Bar'
10
39
  * ```
11
40
  */
12
41
  export function capitalize(subject, config) {
42
+ let copy = subject;
43
+ if (typeof copy !== 'string')
44
+ return copy;
13
45
  const trim = config?.trim ?? true;
14
46
  const lower = config?.lower ?? true;
15
47
  const delimiter = config?.delimiter ?? SPACE;
48
+ const knownWords = {
49
+ ...KNOWN_WORDS,
50
+ ...config?.knownWords,
51
+ };
52
+ if (knownWords[copy]) {
53
+ return knownWords[copy];
54
+ }
16
55
  if (trim)
17
- subject = subject.trim();
18
- if (subject.length < 2) {
19
- return subject.toUpperCase();
56
+ copy = copy.trim();
57
+ if (copy.length < 2) {
58
+ return copy.toUpperCase();
20
59
  }
21
60
  if (delimiter instanceof RegExp) {
22
61
  delimiter.lastIndex = 0;
23
62
  }
24
- return subject
63
+ return copy
25
64
  .split(delimiter)
26
65
  .map((word) => {
27
- if (word.length < 2)
66
+ if (knownWords[word]) {
67
+ return knownWords[word];
68
+ }
69
+ if (word.length < 2) {
28
70
  return word.toUpperCase();
71
+ }
29
72
  const firstChar = word.charAt(0).toUpperCase();
30
73
  const otherChars = lower
31
74
  ? word.substring(1).toLowerCase()
@@ -3,7 +3,7 @@ export type CountryCode = 'DZ' | 'AW' | 'AU' | 'AT' | 'BH' | 'BE' | 'BR' | 'BN'
3
3
  export interface CountryInfo {
4
4
  /**
5
5
  * @description The country code
6
- * @example 'PHL'
6
+ * @example 'PH'
7
7
  */
8
8
  code: CountryCode;
9
9
  /**
@@ -0,0 +1,4 @@
1
+ export declare function downloadImage(dataUrl: string, fileName: string): Promise<{
2
+ success: boolean;
3
+ message: string;
4
+ }>;
@@ -0,0 +1,47 @@
1
+ import { Capacitor } from '@capacitor/core';
2
+ export async function downloadImage(dataUrl, fileName) {
3
+ if (Capacitor.isNativePlatform()) {
4
+ try {
5
+ const { Filesystem, Directory } = await import('@capacitor/filesystem');
6
+ const base64Data = dataUrl.split(',')[1];
7
+ await Filesystem.writeFile({
8
+ path: fileName,
9
+ data: base64Data,
10
+ directory: Directory.Documents,
11
+ recursive: true,
12
+ });
13
+ return {
14
+ success: true,
15
+ message: 'QR Code saved successfully to Documents folder',
16
+ };
17
+ }
18
+ catch (error) {
19
+ console.error('Error downloading image on mobile:', error);
20
+ return {
21
+ success: false,
22
+ message: 'Failed to save QR Code. Please try again.',
23
+ };
24
+ }
25
+ }
26
+ else {
27
+ try {
28
+ const link = document.createElement('a');
29
+ link.href = dataUrl;
30
+ link.download = fileName;
31
+ document.body.appendChild(link);
32
+ link.click();
33
+ document.body.removeChild(link);
34
+ return {
35
+ success: true,
36
+ message: 'QR Code downloaded successfully',
37
+ };
38
+ }
39
+ catch (error) {
40
+ console.error('Error downloading image on web:', error);
41
+ return {
42
+ success: false,
43
+ message: 'Failed to download QR Code. Please try again.',
44
+ };
45
+ }
46
+ }
47
+ }
@@ -48,3 +48,7 @@ export declare const getUpdateSessionMutationKey: () => MutationKey;
48
48
  export declare const getUnlinkGoogleMutationKey: () => MutationKey;
49
49
  export declare const getGenerateSumsubVerificationTokenMutationKey: () => MutationKey;
50
50
  export declare const getUnlinkFacebookMutationKey: () => MutationKey;
51
+ export declare const getCreateAurixPayGCashDepositMutationKey: () => MutationKey;
52
+ export declare const getCreateAurixPayQrphDepositMutationKey: () => MutationKey;
53
+ export declare const getCreateAurixPayGrabPayDepositMutationKey: () => MutationKey;
54
+ export declare const getCreateAurixPayPayMayaDepositMutationKey: () => MutationKey;
@@ -177,3 +177,19 @@ export const getUnlinkFacebookMutationKey = () => [
177
177
  PARENT_KEY,
178
178
  'unlinkFacebook',
179
179
  ];
180
+ export const getCreateAurixPayGCashDepositMutationKey = () => [
181
+ PARENT_KEY,
182
+ 'createAurixPayGcashDeposit',
183
+ ];
184
+ export const getCreateAurixPayQrphDepositMutationKey = () => [
185
+ PARENT_KEY,
186
+ 'createAurixPayQRPHDeposit',
187
+ ];
188
+ export const getCreateAurixPayGrabPayDepositMutationKey = () => [
189
+ PARENT_KEY,
190
+ 'createAurixPayGrabPayDeposit',
191
+ ];
192
+ export const getCreateAurixPayPayMayaDepositMutationKey = () => [
193
+ PARENT_KEY,
194
+ 'createAurixPayGrabPayDeposit',
195
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.889",
3
+ "version": "0.0.890",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,12 +0,0 @@
1
- import type { ImageProps } from 'next/image';
2
- export interface BannerEntry {
3
- src: ImageProps['src'];
4
- redirectUrl?: string;
5
- }
6
- export interface BannerProps {
7
- banners: BannerEntry[];
8
- imageWidth?: number | [mobile: number, desktop: number];
9
- imageHeight?: number | [mobile: number, desktop: number];
10
- className?: string;
11
- }
12
- export declare function Banner__client(props: BannerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,49 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import emblaCarouselAutoplay from 'embla-carousel-autoplay';
4
- import useEmblaCarousel, {} from 'embla-carousel-react';
5
- import isMobile from 'is-mobile';
6
- import Image from 'next/image';
7
- import Link from 'next/link';
8
- import { Fragment, useEffect, useState } from 'react';
9
- import { twMerge } from 'tailwind-merge';
10
- import { dataAttr } from '../../utils/dataAttr.js';
11
- export function Banner__client(props) {
12
- const [emblaRef, emblaApi] = useEmblaCarousel({
13
- loop: true,
14
- align: 'start',
15
- }, [
16
- emblaCarouselAutoplay({
17
- playOnInit: true,
18
- delay: 5000,
19
- }),
20
- ]);
21
- const [currentIndex, setCurrentIndex] = useState(0);
22
- useEffect(() => {
23
- function handler(detail) {
24
- setCurrentIndex(detail?.selectedScrollSnap() ?? 0);
25
- }
26
- emblaApi?.on('scroll', handler);
27
- emblaApi?.on('init', handler);
28
- return () => {
29
- emblaApi?.on('init', handler);
30
- emblaApi?.off('scroll', handler);
31
- };
32
- }, [emblaApi]);
33
- const imageWidth = !props.imageWidth
34
- ? [400, 1200]
35
- : Array.isArray(props.imageWidth)
36
- ? props.imageWidth
37
- : [props.imageWidth, props.imageWidth];
38
- const imageHeight = !props.imageHeight
39
- ? [225, 300]
40
- : Array.isArray(props.imageHeight)
41
- ? props.imageHeight
42
- : [props.imageHeight, props.imageHeight];
43
- return (_jsxs("div", { className: twMerge('relative', props.className), children: [_jsx("div", { ref: emblaRef, className: "overflow-hidden", children: _jsx("div", { className: "flex gap-2", children: props.banners.map((banner, index) => {
44
- const img = (_jsx(Image, { src: banner.src, alt: "", width: isMobile() ? imageWidth[0] : imageWidth[1], height: isMobile() ? imageHeight[0] : imageHeight[1], className: "block h-auto w-full", priority: index === 0 }));
45
- return (_jsx(Fragment, { children: !banner.redirectUrl ? (_jsx("div", { className: "w-full shrink-0", children: img })) : (_jsx(Link, { href: banner.redirectUrl, className: "block w-full shrink-0", "aria-label": `Open ${banner.redirectUrl}`, children: img })) }, index));
46
- }) }) }), _jsx("div", { className: "absolute bottom-lg left-1/2 flex w-fit -translate-x-1/2 gap-2", children: props.banners.map((_, index) => (_jsx("button", { type: "button", className: "ui-active:bg-brand-500 bg-gray-300 size-3 shrink-0 rounded-full border border-white transition-all duration-300 ui-active:w-9", onClick: () => {
47
- emblaApi?.scrollTo(index);
48
- }, "aria-label": `Go to slide ${index + 1}`, "data-active": dataAttr(index === currentIndex) }, index))) })] }));
49
- }
@@ -1,11 +0,0 @@
1
- import { type AiOeWalletPaymentMethod } from './utils';
2
- interface AiOPaymentMethodsProps {
3
- value?: AiOeWalletPaymentMethod;
4
- onChange?: (value: AiOeWalletPaymentMethod) => void;
5
- defaultValue?: AiOeWalletPaymentMethod;
6
- options?: AiOeWalletPaymentMethod[];
7
- className?: string;
8
- label?: string;
9
- }
10
- export declare function AiOPaymentMethods(props: AiOPaymentMethodsProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,55 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import Image from 'next/image';
3
- import { twMerge } from 'tailwind-merge';
4
- import { useControllableState } from '../../client/hooks/useControllableState.js';
5
- import { CheckIcon } from '../../icons/CheckIcon.js';
6
- import gcash from '../../images/gcash.png';
7
- import grabPay from '../../images/grabpay.png';
8
- import maya from '../../images/maya.png';
9
- import palawanPay from '../../images/palawanpay.png';
10
- import { Checkbox } from '../../ui/Checkbox/index.js';
11
- import { Field } from '../../ui/Field/index.js';
12
- import { AiOeWalletPaymentMethodDefinition, } from './utils.js';
13
- const AIO_EWALLET_OPTIONS = [
14
- {
15
- value: 'AIO_GCASH',
16
- label: 'GCash',
17
- image: gcash,
18
- },
19
- {
20
- value: 'AIO_PAY_MAYA',
21
- label: 'Maya',
22
- image: maya,
23
- },
24
- {
25
- value: 'AIO_GRAB_PAY',
26
- label: 'GrabPay',
27
- image: grabPay,
28
- },
29
- {
30
- value: 'AIO_PALAWAN_PAY',
31
- label: 'Palawan Pay',
32
- image: palawanPay,
33
- },
34
- ];
35
- export function AiOPaymentMethods(props) {
36
- const options = props.options && props.options.length > 0
37
- ? AIO_EWALLET_OPTIONS.filter((option) => props.options?.includes(option.value))
38
- : AIO_EWALLET_OPTIONS;
39
- const [value, setValue] = useControllableState({
40
- value: props.value,
41
- defaultValue: props.defaultValue ?? options[0]?.value,
42
- onChange: props.onChange,
43
- });
44
- const parseValue = (val) => {
45
- return AiOeWalletPaymentMethodDefinition.parse(val);
46
- };
47
- return (_jsxs("div", { className: props.className, children: [_jsx(Field.Label, { asChild: true, children: _jsx("div", { children: props.label || 'AIO eWallet payment methods' }) }), _jsx(Checkbox.Group, { value: [value], onValueChange: (newValue) => {
48
- const lastValue = newValue.at(-1);
49
- if (!lastValue)
50
- return;
51
- setValue(parseValue(lastValue));
52
- }, className: "grid grid-cols-2 gap-x-4 gap-y-3", children: options.map((option) => (_jsxs(Checkbox.Root, { value: option.value, className: "flex cursor-pointer items-center justify-between rounded-xl border border-border-secondary ui-checked:border-border-brand-solid p-lg", children: [_jsx("div", { className: twMerge('rounded-xs', option.value === 'AIO_GRAB_PAY'
53
- ? 'bg-transparent px-0 py-0'
54
- : 'bg-white px-sm py-[0.688rem]', option.value === 'AIO_GCASH' && 'bg-[#017EFF]', option.value === 'AIO_PALAWAN_PAY' && 'bg-[#026308]', option.value === 'AIO_PAY_MAYA' && 'bg-black'), children: _jsx(Image, { src: option.image, alt: "", width: 200, height: 40, className: twMerge('h-[1.063rem] w-auto', option.value === 'AIO_GRAB_PAY' && 'h-[3rem] rounded-[4px]', option.value === 'AIO_PALAWAN_PAY' && 'h-[2rem]'), draggable: false }) }), _jsx(Checkbox.Control, { className: "shrink-0", children: _jsx(Checkbox.Indicator, { asChild: true, children: _jsx(CheckIcon, {}) }) }), _jsx(Checkbox.HiddenInput, {})] }, option.value))) })] }));
55
- }
@@ -1 +0,0 @@
1
- export declare function QRPHDepositAlert(): import("react/jsx-runtime").JSX.Element;